Update x86 and x86_64 ulps on AMD FX-8350 with GCC 4.8.1.
[glibc.git] / ChangeLog
blob1845545cb5ea300f8180f74b07ef1f81c0b23c9d
1 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
3         * sysdeps/i386/fpu/libm-test-ulps: Update.
4         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8         * configure.in (--enable-lock-elision): Fix message text.
9         * INSTALL: Regenerate.
10         * configure: Regenerate.
12 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16 2013-07-03  Andreas Jaeger  <aj@suse.de>
18         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19         define.
20         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21         (ptrace_peeksiginfo_args): Add.
22         (__ptrace_peeksiginfo_flags): Add.
23         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27 2013-07-03  Allan McRae  <allan@archlinux.org>
29         * sysdeps/i386/fpu/libm-test-ulps: Update.
31 2013-07-02  David S. Miller  <davem@davemloft.net>
33         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
37         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
41         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44 2013-07-02  Andi Kleen <ak@linux.intel.com>
46         * config.h.in (ENABLE_LOCK_ELISION): Add.
47         * configure.in (--enable-lock-elision): Add option.
48         * manual/install.texi: Document --enable lock elision.
49         * configure: Regenerate
50         * INSTALL: Regenerate.
52 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
54         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
55         SSE4.2 strcasecmp for libc.a.
56         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
58 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
60         [BZ #13304]
61         * soft-fp/op-common.h (_FP_FMA): New macro.
62         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
63         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
64         (_FP_MUL_MEAT_1_imm): ... here.
65         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
66         (_FP_MUL_MEAT_1_wide): ... here.
67         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
68         (_FP_MUL_MEAT_1_hard): ... here.
69         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
70         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
71         (_FP_MUL_MEAT_2_wide): ... here.
72         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
73         (_FP_MUL_MEAT_2_wide_3mul): ... here.
74         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
75         (_FP_MUL_MEAT_2_gmp): ... here.
76         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
77         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
78         (_FP_MUL_MEAT_4_wide): ... here.
79         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
80         (_FP_MUL_MEAT_4_gmp): ... here.
81         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
82         (_FP_WFRACBITS_DW_S): Likewise.
83         (_FP_WFRACXBITS_DW_S): Likewise.
84         (_FP_HIGHBIT_DW_S): Likewise.
85         (FP_FMA_S): Likewise.
86         (_FP_FRAC_HIGH_DW_S): Likewise.
87         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
88         (_FP_WFRACBITS_DW_D): Likewise.
89         (_FP_WFRACXBITS_DW_D): Likewise.
90         (_FP_HIGHBIT_DW_D): Likewise.
91         (FP_FMA_D): Likewise.
92         (_FP_FRAC_HIGH_DW_D): Likewise.
93         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
94         (_FP_WFRACBITS_DW_E): Likewise.
95         (_FP_WFRACXBITS_DW_E): Likewise.
96         (_FP_HIGHBIT_DW_E): Likewise.
97         (FP_FMA_E): Likewise.
98         (_FP_FRAC_HIGH_DW_E): Likewise.
99         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
100         (_FP_WFRACBITS_DW_Q): Likewise.
101         (_FP_WFRACXBITS_DW_Q): Likewise.
102         (_FP_HIGHBIT_DW_Q): Likewise.
103         (FP_FMA_Q): Likewise.
104         (_FP_FRAC_HIGH_DW_Q): Likewise.
105         * soft-fp/fmasf4.c: New file.
106         * soft-fp/fmadf4.c: Likewise.
107         * soft-fp/fmatf4.c: Likewise.
109 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
111         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
112         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
113         Silvermont.
114         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
115         macro.
116         (index_Slow_SSE4_2): Likewise.
117         (index_Prefer_PMINUB_for_stringop): Likewise.
118         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
119         bit_Slow_SSE4_2 is set.
120         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
121         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
123 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
125         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
126         rtld_global._dl_hwcap2.
127         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
128         POWER8.
129         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
130         POWER8 feature descriptions defined in _dl_hwcap2.
131         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
132         string handling for POWER8 feature bits.
133         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
134         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
135         _dl_powerpc_cap_flags.
136         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
137         * sysdeps/powerpc/rtld-global-offsets.sym
138         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
139         _dl_hwcap2 in the rtld_global_ro structure.
141 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
143         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
144         hardware capabilities in support of AT_HWCAP2.
145         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
146         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
147         GLRO(dl_hwcap2).
148         (_dl_show_auxv): Add support for calling _dl_procinfo to display
149         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
150         explicitly the unknown a_type display mechanism is used.
151         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
152         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
153         struct member.
154         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
155         to macro prototype for AT_HWCAP2 support.
156         * sysdeps/i386/dl-procinfo.h: Likewise.
157         * sysdeps/s390/dl-procinfo.h: Likewise.
158         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
159         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
160         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
161         return -1 for unknown a_type display fallback.
162         * sysdeps/sparc/dl-procinfo.h: Likewise.
163         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
164         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
166 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
168         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
169         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
171 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
173         [BZ #12492]
174         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
175         mprotect making __stack_prot writable.
177 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
178             Joseph Myers  <joseph@codesourcery.com>
180         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
181         as being properly aligned.
183 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
185         * dlfcn/modstatic5.c: New file.
186         * dlfcn/tststatic5.c: New file.
187         * dlfcn/Makefile (tests): Add tststatic5.
188         (tests-static): Likewise.
189         (modules-names): Add modstatic5.
190         (tststatic5-ENV): New variable.
191         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
193         [BZ #15022]
194         * elf/dl-support.c (_dl_main_map): New variable.
195         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
196         (_dl_nns, _dl_load_adds): Set to 1.
197         (_dl_initial_searchlist): Refer to _dl_main_map.
198         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
199         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
200         call to _dl_get_origin.
201         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
202         around call_map.
203         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
204         * dlfcn/modstatic3.c: New file.
205         * dlfcn/tststatic3.c: New file.
206         * dlfcn/tststatic4.c: New file.
207         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
208         (tests-static): Likewise.
209         (modules-names): Add modstatic3.
210         (tststatic3-ENV, tststatic4-ENV): New variables.
211         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
212         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
214 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
216         * configure.in (CC): Require GCC version 4.4 or later.
217         * configure: Regenerated.
218         * manual/install.texi (Tools for Compilation): Update GCC version
219         requirement.
220         * INSTALL: Regenerated.
222 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
224         [BZ #15674]
225         * string/test-memcmp.c (check2): New.
226         (main): Call check2.
228         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
230 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
232         [BZ #15022]
233         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
234         over to...
235         (dl_open_worker) [!SHARED]: ... here.
237 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
239         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
241 2013-06-25  Richard Henderson  <rth@redhat.com>
243         * locale/programs/locarchive.c: Include <libc-internal.h>
245 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
247         * manual/texinfo.tex: Update to version 2013-06-21.17, with
248         trailing whitespace removed.
250 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
252         [BZ #10283]
253         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
254         * locale/programs/locarchive.c: Include libc-mmap.h.
255         (prepare_address_space): Take two new outputs (the mmap base and len).
256         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
257         values.
258         (create_archive): Declare new mmap base and len values for
259         prepare_address_space, and store the result in ah.
260         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
261         (enlarge_archive): If ah->mmap_base is not NULL, use that and
262         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
263         Declare new mmap base and len values for
264         prepare_address_space, and store the result in new_ah.
265         (open_archive): Declare new mmap base and len values for
266         prepare_address_space, and store the result in ah.
267         (close_archive): If ah->mmap_base is not NULL, use that and
268         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
269         * sysdeps/generic/libc-mmap.h: New file.
271 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
273         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
274         (ALIGN_UP): Likewise.
275         (PTR_ALIGN_DOWN): Likewise.
276         (PTR_ALIGN_UP): Likewise.
278 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
280         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
281         entry mapped to PPC_PLATFORM_POWER8.
282         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
283         POWER8.
284         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
285         (_dl_string_platform): Add case for exporting platform position for
286         POWER8.
287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
288         search path to sysdeps/powerpc/powerpc32/power8 directory.
289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
290         search path to sysdeps/powerpc/powerpc64/power8 directory.
291         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
292         power7 directories.
293         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
294         power7 directories.
296 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
298         * INSTALL: Regenerate.
300         * nscd/connections.c (nscd_init): Fix comment.
302 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
304         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
306         [BZ #15667]
307         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
308         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
310 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
312         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
313         DL_DST_REQ_STATIC.
314         (DL_DST_REQ_STATIC): Remove macro.
316 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
318         [BZ #7006]
319         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
320         with a shift of 0 bits.
322 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
324         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
325         $(tststatic-ENV).
327 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
329         [BZ #15655]
330         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
332 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
334         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
335         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
336         accepts -fno-tree-loop-distribute-patterns.
337         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
338         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
339         recursive call.
340         * string/memset.c (memset): Likewise.
341         * string/test-memmove.c (simple_memmove): Disable loop transformation
342         to library calls.
343         * string/test-memset.c (simple_memset): Likewise.
344         * benchtests/bench-memmove.c (simple_memmove): Likewise.
345         * benchtests/bench-memset.c (simple_memset): Likewise.
346         * configure: Regenerated.
348 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
350         * math/test-misc.c (main): Ignore fesetround failure when failures
351         of subsequent rounding tests would be ignored.
353         [BZ #15654]
354         * math/fedisblxcpt.c (fedisableexcept): Return 0.
355         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
356         * math/fegetenv.c (__fegetenv): Return 0.
357         * math/fegetexcept.c (fegetexcept): Return 0.
358         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
359         FE_TONEAREST.
360         * math/feholdexcpt.c (feholdexcept): Return 0.
361         * math/fesetenv.c (__fesetenv): Return 0.
362         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
363         argument FE_TONEAREST.
364         * math/feupdateenv.c (__feupdateenv): Return 0.
365         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
367 2013-06-18  Roland McGrath  <roland@hack.frob.com>
369         * elf/rtld-Rules (rtld-compile-command.S): New variable.
370         (rtld-compile-command.s, rtld-compile-command.c): New variables.
371         ($(objpfx)rtld-%.os rules): Use them.
373 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
375         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
376         fields.
378 2013-06-17  Roland McGrath  <roland@hack.frob.com>
380         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
381         length of target pattern, then descending length of dependency pattern.
382         * configure.in (AWK): Require gawk 3.1.2 or newer.
383         * manual/install.texi (Tools for Compilation): Say that we do.
384         * configure: Regenerated.
386         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
387         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
388         * scripts/sysd-rules.awk: ... this new script.
389         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
390         than a glob-style pattern.
392 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
394         * math/test-misc.c (main): Do not treat incorrectly rounded
395         conversions as failure unless ROUNDING_TESTS passes.
397 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
399         [BZ #15631]
400         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
401         restore exception state around main square root computation, then
402         check for inexactness explicitly.
404         * math/libm-test.inc (fma_test_data): Add another test.
406 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
408         * manual/threads.texi (Non-POSIX Extensions): New document
409         node.  Document pthread_getattr_default_np and
410         pthread_setattr_default_np.
412         * Versions.def (libpthread): Add GLIBC_2.18.
413         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
415         Likewise.
416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
417         Likewise.
418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
419         Likewise.
420         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
421         Likewise.
422         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
423         Likewise.
424         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
425         Likewise.
426         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
427         Likewise.
428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
429         Likewise.
430         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
431         Likewise.
433 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
435         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
436         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
438 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
439             H.J. Lu  <hjl.tools@gmail.com>
441         [BZ #15627]
442         * sysdeps/x86_64/rtld-memset.c: Remove file.
443         * sysdeps/x86_64/rtld-memset.S: New file.
445 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
447         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
448         (test_in_one_mode): Take arguments for whether the rounding mode
449         is supported for each floating-point type.
450         (do_test): Pass new arguments to test_in_one_mode using
451         ROUNDING_TESTS.
453 2013-06-13  Roland McGrath  <roland@hack.frob.com>
455         * posix/tst-waitid.c (do_test): Distinguish different instances of
456         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
457         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
458         before entering the kernel for waitpid.
460 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
462         * NEWS: Fix note on clock function precision.  Text by Roland
463         McGrath.
465 2013-06-13  Roland McGrath  <roland@hack.frob.com>
467         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
468         it into place only when and if the sanity check passes.
470 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
472         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
473         output for whether conversion result is exact.  Take argument
474         indicating whether type is IBM long double.
475         (round_for_all): Change need_exact field to ibm_ld.
476         * stdlib/tst-strtod-round.c (struct exactness): New type.
477         (struct test): Change bool ld_ok field to struct exactness exact.
478         (TEST): Update all definitions for change to field.
479         (tests): Regenerate array contents.
480         (test_in_one_mode): Take pointer to new field instead of old ld_ok
481         field value.  Check for IBM long double here.
482         (do_test): Update calls to test_in_one_mode.
484 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
486         [BZ #12515]
487         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
488         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
490 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
492         [BZ #15605]
493         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
494         generated by the compiler on loop optimizations.
495         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
496         general definitions.
498 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
500         * math/bug-nextafter.c: Include <math-tests.h>.
501         (main): Only test for exceptions if EXCEPTION_TESTS is true for
502         the relevant type.
503         * math/bug-nexttoward.c: Include <math-tests.h>.
504         (main): Only test for exceptions if EXCEPTION_TESTS is true for
505         the relevant type.
506         * math/test-misc.c: Include <math-tests.h>.
507         (main): Only test for exceptions if EXCEPTION_TESTS is true for
508         the relevant type.
510 2013-06-12  Andreas Jaeger  <aj@suse.de>
512         * po/ia.po: Update Interlingua translation from translation
513         project.
515 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
517         * include/fenv.h: Include stdbool.h.
518         (struct rm_ctx): New structure.
519         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
520         Define macro.
521         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
522         (SET_RESTORE_ROUNDF): Likewise.
523         (SET_RESTORE_ROUNDL): Likewise.
524         (SET_RESTORE_ROUND_NOEX): Likewise.
525         (SET_RESTORE_ROUND_NOEXF): Likewise.
526         (SET_RESTORE_ROUND_NOEXL): Likewise.
527         (SET_RESTORE_ROUND_53BIT): Likewise.
528         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
529         (libc_feresetround_noexf_ctx): Likewise.
530         (libc_feresetround_noexl_ctx): Likewise.
531         (libc_feholdsetround_53bit_ctx): Likewise.
532         (libc_feresetround_53bit_ctx): Likewise.
533         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
534         (libc_feholdexcept_setround_sse_ctx): New function.
535         (libc_fesetenv_sse_ctx): Likewise.
536         (libc_feupdateenv_sse_ctx): Likewise.
537         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
538         (libc_feholdexcept_setround_387_ctx): Likewise.
539         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
540         (libc_feholdsetround_387_prec_ctx): Likewise.
541         (libc_feholdsetround_387_ctx): Likewise.
542         (libc_feholdsetround_387_53bit_ctx): Likewise.
543         (libc_feholdsetround_sse_ctx): Likewise.
544         (libc_feresetround_sse_ctx): Likewise.
545         (libc_feresetround_387_ctx): Likewise.
546         (libc_feupdateenv_387_ctx): Likewise.
547         (libc_feholdexcept_setroundf_ctx): Define macro.
548         (libc_fesetenvf_ctx): Likewise.
549         (libc_feupdateenvf_ctx): Likewise.
550         (libc_feholdsetroundf_ctx): Likewise.
551         (libc_feresetroundf_ctx): Likewise.
552         (libc_feholdexcept_setround_ctx): Likewise.
553         (libc_fesetenv_ctx): Likewise.
554         (libc_feupdateenv_ctx): Likewise.
555         (libc_feholdsetround_ctx): Likewise.
556         (libc_feresetround_ctx): Likewise.
557         (libc_feholdexcept_setroundl_ctx): Likewise.
558         (libc_feupdateenvl_ctx): Likewise.
559         (libc_feholdsetroundl_ctx): Likewise.
560         (libc_feresetroundl_ctx): Likewise.
561         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
562         (libc_feresetround_53bit_ctx): Likewise.
564 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
566         * locale/iso-639.def: Convert to UTF-8.
568 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
570         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
571         (EXCEPTION_TESTS_double): Likewise.
572         (EXCEPTION_TESTS_long_double): Likewise.
573         (EXCEPTION_TESTS): Likewise.
574         * math/libm-test.inc (test_exceptions): Only test exceptions if
575         EXCEPTION_TESTS (FLOAT).
577 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
579         * benchtests/Makefile (string-bench): Add strcpy_chk and
580         stpcpy_chk.
581         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
582         * benchtests/bench-stpcpy_chk.c: New file.
583         * benchtests/bench-strcpy_chk-ifunc.c: New file.
584         * benchtests/bench-strcpy_chk.c: New file.
585         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
586         code.
587         (do_test): Likewise.
589 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
591         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
592         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
593         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
594         with tabs where appropriate.
595         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
596         dl-procinfo.h.
597         [PPC_PLATFORM_PPC440]: Likewise.
598         [PPC_PLATFORM_PPC464]: Likewise.
599         [PPC_PLATFORM_PPC476]: Likewise.
600         (_dl_string_platform): Add support for detecting ppc405, ppc440,
601         ppc464, and ppc476 platform strings merging from ports/
602         dl-procinfo.h.
604 2013-06-11  Andreas Schwab  <schwab@suse.de>
606         [BZ #14991]
607         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
608         (from_ucs4_idx): Regenerate.
609         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
610         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
611         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
612         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
613         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
614         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
615         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
616         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
617         from FROM_LOOP and TO_LOOP specific macros.
618         (BODY): Handle combining characters.
619         * iconvdata/BIG5HKSCS.irreversible: Update.
620         * iconvdata/BIG5HKSCS.precomposed: New file.
621         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
622         characters.
623         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
625 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
627         * include/sys/time.h: Fix indentation and add copyright header.
629         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
630         (do_test): Likewise.
631         * string/test-memchr.c (do_one_test): Likewise.
632         (do_test): Likewise.
633         * string/test-memcmp.c (do_one_test): Likewise.
634         (do_test): Likewise.
635         * string/test-memcpy.c (do_one_test): Likewise.
636         (do_test): Likewise.
637         * string/test-memmem.c (do_one_test): Likewise.
638         (do_test): Likewise.
639         (do_random_tests): Likewise.
640         * string/test-memmove.c (do_one_test): Likewise.
641         (do_test): Likewise.
642         * string/test-memset.c (do_one_test): Likewise.
643         (do_test): Likewise.
644         * string/test-rawmemchr.c (do_one_test): Likewise.
645         (do_test): Likewise.
646         * string/test-strcasecmp.c (do_one_test): Likewise.
647         (do_test): Likewise.
648         * string/test-strcasestr.c (do_one_test): Likewise.
649         (do_test): Likewise.
650         * string/test-strcat.c (do_one_test): Likewise.
651         (do_test): Likewise.
652         * string/test-strchr.c (do_one_test): Likewise.
653         (do_test): Likewise.
654         * string/test-strcmp.c (do_one_test): Likewise.
655         (do_test): Likewise.
656         * string/test-strcpy.c (do_one_test): Likewise.
657         (do_test): Likewise.
658         * string/test-string.h: Likewise.
659         (test_init): Likewise.
660         * string/test-strlen.c (do_one_test): Likewise.
661         (do_test): Likewise.
662         * string/test-strncasecmp.c (do_one_test): Likewise.
663         (do_test): Likewise.
664         * string/test-strncat.c (do_one_test): Likewise.
665         (do_test): Likewise.
666         * string/test-strncmp.c (do_one_test): Likewise.
667         (do_test_limit): Likewise.
668         (do_test): Likewise.
669         * string/test-strncpy.c (do_one_test): Likewise.
670         (do_test): Likewise.
671         * string/test-strnlen.c (do_one_test): Likewise.
672         (do_test): Likewise.
673         * string/test-strpbrk.c (do_one_test): Likewise.
674         (do_test): Likewise.
675         * string/test-strrchr.c (do_one_test): Likewise.
676         (do_test): Likewise.
677         * string/test-strspn.c (do_one_test): Likewise.
678         (do_test): Likewise.
679         * string/test-strstr.c (do_one_test): Likewise.
680         (do_test): Likewise.
682         * benchtests/Makefile (string-bench): Add string benchmarks.
683         * benchtests/bench-bcopy-ifunc.c: New file.
684         * benchtests/bench-bcopy.c: New file.
685         * benchtests/bench-bzero-ifunc.c: New file.
686         * benchtests/bench-bzero.c: New file.
687         * benchtests/bench-memccpy-ifunc.c: New file.
688         * benchtests/bench-memccpy.c: New file.
689         * benchtests/bench-memchr-ifunc.c: New file.
690         * benchtests/bench-memchr.c: New file.
691         * benchtests/bench-memcmp-ifunc.c: New file.
692         * benchtests/bench-memcmp.c: New file.
693         * benchtests/bench-memmem-ifunc.c: New file.
694         * benchtests/bench-memmem.c: New file.
695         * benchtests/bench-memmove-ifunc.c: New file.
696         * benchtests/bench-memmove.c: New file.
697         * benchtests/bench-mempcpy-ifunc.c: New file.
698         * benchtests/bench-mempcpy.c: New file.
699         * benchtests/bench-memset-ifunc.c: New file.
700         * benchtests/bench-memset.c: New file.
701         * benchtests/bench-rawmemchr-ifunc.c: New file.
702         * benchtests/bench-rawmemchr.c: New file.
703         * benchtests/bench-stpcpy-ifunc.c: New file.
704         * benchtests/bench-stpcpy.c: New file.
705         * benchtests/bench-stpncpy-ifunc.c: New file.
706         * benchtests/bench-stpncpy.c: New file.
707         * benchtests/bench-strcasecmp-ifunc.c: New file.
708         * benchtests/bench-strcasecmp.c: New file.
709         * benchtests/bench-strcasestr-ifunc.c: New file.
710         * benchtests/bench-strcasestr.c: New file.
711         * benchtests/bench-strcat-ifunc.c: New file.
712         * benchtests/bench-strcat.c: New file.
713         * benchtests/bench-strchr-ifunc.c: New file.
714         * benchtests/bench-strchr.c: New file.
715         * benchtests/bench-strchrnul-ifunc.c: New file.
716         * benchtests/bench-strchrnul.c: New file.
717         * benchtests/bench-strcmp-ifunc.c: New file.
718         * benchtests/bench-strcmp.c: New file.
719         * benchtests/bench-strcpy-ifunc.c: New file.
720         * benchtests/bench-strcpy.c: New file.
721         * benchtests/bench-strcspn-ifunc.c: New file.
722         * benchtests/bench-strcspn.c: New file.
723         * benchtests/bench-strlen-ifunc.c: New file.
724         * benchtests/bench-strlen.c: New file.
725         * benchtests/bench-strncasecmp-ifunc.c: New file.
726         * benchtests/bench-strncasecmp.c: New file.
727         * benchtests/bench-strncat-ifunc.c: New file.
728         * benchtests/bench-strncat.c: New file.
729         * benchtests/bench-strncmp-ifunc.c: New file.
730         * benchtests/bench-strncmp.c: New file.
731         * benchtests/bench-strncpy-ifunc.c: New file.
732         * benchtests/bench-strncpy.c: New file.
733         * benchtests/bench-strnlen-ifunc.c: New file.
734         * benchtests/bench-strnlen.c: New file.
735         * benchtests/bench-strpbrk-ifunc.c: New file.
736         * benchtests/bench-strpbrk.c: New file.
737         * benchtests/bench-strrchr-ifunc.c: New file.
738         * benchtests/bench-strrchr.c: New file.
739         * benchtests/bench-strspn-ifunc.c: New file.
740         * benchtests/bench-strspn.c: New file.
741         * benchtests/bench-strstr-ifunc.c: New file.
742         * benchtests/bench-strstr.c: New file.
744         * benchtests/Makefile: Disable parallel execution of targets.
745         (string-bench): Add memcpy.
746         (benchset): New variable to store a list of benchmark sets.
747         (bench-func): Renamed from bench.
748         (bench-set): New target.
749         (bench): Depend on bench-func and bench-set.
750         * benchtests/README: Add section on benchmark sets.
751         * benchtests/bench-memcpy-ifunc.c: New file.
752         * benchtests/bench-memcpy.c: New file.
753         * benchtests/bench-string.h: New file.
755 2013-06-11  Andreas Schwab  <schwab@suse.de>
757         [BZ #15577]
758         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
759         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
760         values in the triple.
761         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
762         terminator in the group key.
764 2013-06-11  Andreas Jaeger  <aj@suse.de>
766         * po/zh_TW.po: Update Chinese (traditional) translation from
767         translation project.
769 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
771         * include/time.h (__clock_gettime): Add libc_hidden_proto.
772         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
773         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
774         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
775         (clock_getcpuclockid): Likewise.
776         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
777         Add weak_alias and libc_hidden_def.
778         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
779         * rt/clock_gettime.c (clock_gettime): Rename to
780         __clock_gettime.  Add weak_alias and libc_hidden_def.
781         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
782         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
783         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
784         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
785         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
786         Likewise.
787         * rt/clock_settime.c (clock_settime): Rename to
788         __clock_settime.  Add weak_alias and libc_hidden_def.
789         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
791 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
793         * mach/err_boot.sub: Remove trailing whitespace.
794         * mach/err_ipc.sub: Likewise.
795         * mach/err_mach.sub: Likewise.
797         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
798         (ROUNDING_TESTS_double): Likewise.
799         (ROUNDING_TESTS_long_double): Likewise.
800         (ROUNDING_TESTS): Likewise.
801         * math/libm-test.inc: Include <math-tests.h>.
802         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
803         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
804         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
805         (IF_ROUND_INIT_FE_UPWARD): Likewise.
807 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
809         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
810         of assigning.
812 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
814         * sysdeps/gnu/errlist.awk: Do not generate space at end of
815         otherwise empty TRANS lines.
816         * sysdeps/gnu/errlist.c: Regenerated.
818         * catgets/gencat.c (error_print): Use (void) in function
819         definition.
820         * crypt/crypt_util.c (__init_des): Likewise.
821         * crypt/speeds.c (Stop): Likewise.
822         (main): Likewise.
823         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
824         * inet/ruserpass.c (token): Likewise.
825         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
826         * intl/localealias.c (extend_alias_table): Likewise.
827         * intl/plural-exp.c (init_germanic_plural): Likewise.
828         * libio/fcloseall.c (__fcloseall): Likewise.
829         * libio/genops.c (_IO_flush_all): Likewise.
830         (_IO_flush_all_linebuffered): Likewise.
831         (_IO_cleanup): Likewise.
832         (_IO_iter_begin): Likewise.
833         (_IO_iter_end): Likewise.
834         (_IO_list_lock): Likewise.
835         (_IO_list_unlock): Likewise.
836         (_IO_list_resetlock): Likewise.
837         * libio/getchar.c (getchar): Likewise.
838         * libio/getchar_u.c (getchar_unlocked): Likewise.
839         * libio/getwchar.c (getwchar): Likewise.
840         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
841         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
842         * login/getpt.c (__getpt): Likewise.
843         * login/tst-utmp.c (main): Likewise.
844         * malloc/hooks.c (__malloc_check_init): Likewise.
845         * malloc/malloc.c (__malloc_stats): Likewise.
846         * malloc/mtrace.c (tr_break): Likewise.
847         (mtrace): Likewise.
848         (muntrace): Likewise.
849         * misc/fstab.c (endfsent): Likewise.
850         * misc/getclktck.c (__getclktck): Likewise.
851         * misc/getdtsz.c (__getdtablesize): Likewise.
852         * misc/gethostid.c (gethostid): Likewise.
853         * misc/getpagesize.c (__getpagesize): Likewise.
854         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
855         (__get_nprocs): Likewise.
856         (__get_phys_pages): Likewise.
857         (__get_avphys_pages): Likewise.
858         * misc/getttyent.c (getttyent): Likewise.
859         (setttyent): Likewise.
860         (endttyent): Likewise.
861         * misc/getusershell.c (getusershell): Likewise.
862         (endusershell): Likewise.
863         (setusershell): Likewise.
864         (initshells): Likewise.
865         * misc/hsearch.c (__hdestroy): Likewise.
866         * misc/sync.c (sync): Likewise.
867         * misc/syslog.c (closelog_internal): Likewise.
868         (closelog): Likewise.
869         * misc/ttyslot.c (ttyslot): Likewise.
870         * misc/vhangup.c (vhangup): Likewise.
871         * posix/fork.c (__fork): Likewise.
872         * posix/getegid.c (__getegid): Likewise.
873         * posix/geteuid.c (__geteuid): Likewise.
874         * posix/getgid.c (__getgid): Likewise.
875         * posix/getpid.c (__getpid): Likewise.
876         * posix/getppid.c (__getppid): Likewise.
877         * posix/getuid.c (__getuid): Likewise.
878         * posix/pause.c (pause): Likewise.
879         * posix/setpgrp.c (setpgrp): Likewise.
880         * posix/setsid.c (__setsid): Likewise.
881         * posix/test-vfork.c (noop): Likewise.
882         * resolv/gethnamaddr.c (_endhtent): Likewise.
883         (_gethtent): Likewise.
884         (ht_endhostent): Likewise.
885         (gethostent): Likewise.
886         (dns_service): Likewise.
887         * stdlib/drand48.c (drand48): Likewise.
888         * stdlib/lrand48.c (lrand48): Likewise.
889         * stdlib/mrand48.c (mrand48): Likewise.
890         * stdlib/rand.c (rand): Likewise.
891         * stdlib/random.c (__random): Likewise.
892         * stdlib/setenv.c (clearenv): Likewise.
893         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
894         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
895         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
896         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
897         (__get_nprocs): Likewise.
898         (__get_phys_pages): Likewise.
899         (__get_avphys_pages): Likewise.
900         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
901         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
902         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
903         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
904         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
905         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
906         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
907         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
908         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
909         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
910         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
911         * sysdeps/mach/hurd/sync.c (sync): Likewise.
912         * sysdeps/posix/clock.c (clock): Likewise.
913         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
914         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
915         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
916         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
917         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
918         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
919         (__get_nprocs_conf): Likewise.
920         (__get_phys_pages): Likewise.
921         (__get_avphys_pages): Likewise.
922         * time/clock.c (clock): Likewise.
923         * time/tzset.c (__tzname_max): Likewise.
925 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
927         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
928         (__bswap_32): Do not use "register".
929         * crypt/crypt.c (_ufc_doit_r): Likewise.
930         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
931         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
932         * gmon/gmon.c (__monstartup): Likewise.
933         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
934         * hurd/hurdmalloc.c (more_memory): Likewise.
935         (malloc): Likewise.
936         (free): Likewise.
937         (realloc): Likewise.
938         (malloc_fork_prepare): Likewise.
939         (malloc_fork_parent): Likewise.
940         (malloc_fork_child): Likewise.
941         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
942         (_svcauth_des): Likewise.
943         * inet/inet_lnaof.c (inet_lnaof): Likewise.
944         * inet/inet_net.c (inet_network): Likewise.
945         * inet/inet_netof.c (inet_netof): Likewise.
946         * inet/rcmd.c (__validuser2_sa): Likewise.
947         * io/fts.c (fts_open): Likewise.
948         (fts_load): Likewise.
949         (fts_close): Likewise.
950         (fts_read): Likewise.
951         (fts_children): Likewise.
952         (fts_build): Likewise.
953         (fts_stat): Likewise.
954         (fts_sort): Likewise.
955         (fts_alloc): Likewise.
956         (fts_lfree): Likewise.
957         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
958         (_IO_file_xsgetn): Likewise.
959         (_IO_file_xsgetn_mmap): Likewise.
960         * libio/iofopncook.c (_IO_cookie_read): Likewise.
961         (_IO_cookie_write): Likewise.
962         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
963         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
964         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
965         * malloc/obstack.c (_obstack_begin): Likewise.
966         (_obstack_begin_1): Likewise.
967         (_obstack_newchunk): Likewise.
968         (_obstack_allocated_p): Likewise.
969         (obstack_free): Likewise.
970         (_obstack_memory_used): Likewise.
971         * misc/getttyent.c (getttynam): Likewise.
972         (getttyent): Likewise.
973         (skip): Likewise.
974         (value): Likewise.
975         * misc/getusershell.c (initshells): Likewise.
976         * misc/syslog.c (__vsyslog_chk): Likewise.
977         * misc/ttyslot.c (ttyslot): Likewise.
978         * nis/nis_hash.c (__nis_hash): Likewise.
979         * posix/fnmatch_loop.c (FCT): Likewise.
980         * posix/getconf.c (print_all): Likewise.
981         (main): Likewise.
982         * posix/getopt.c (exchange): Likewise.
983         * posix/glob.c (globfree): Likewise.
984         (prefix_array): Likewise.
985         (__glob_pattern_type): Likewise.
986         * resolv/arpa/nameser.h (NS_GET16): Likewise.
987         (NS_GET32): Likewise.
988         (NS_PUT16): Likewise.
989         (NS_PUT32): Likewise.
990         * resolv/gethnamaddr.c (getanswer): Likewise.
991         (gethostbyname2): Likewise.
992         (gethostbyaddr): Likewise.
993         (_gethtent): Likewise.
994         (_gethtbyname2): Likewise.
995         (_gethtbyaddr): Likewise.
996         * resolv/ns_print.c (dst_s_get_int16): Likewise.
997         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
998         * resolv/res_init.c (__res_vinit): Likewise.
999         (net_mask): Likewise.
1000         * resolv/res_mkquery.c (outchar): Likewise.
1001         (PRINT): Likewise.
1002         * stdio-common/printf_fp.c (outchar): Likewise.
1003         (PRINT): Likewise.
1004         * stdio-common/printf_fphex.c (outchar): Likewise.
1005         (PRINT): Likewise.
1006         * stdio-common/printf_size.c (outchar): Likewise.
1007         (PRINT): Likewise.
1008         * stdio-common/test_rdwr.c (main): Likewise.
1009         * stdio-common/tfformat.c (matches): Likewise.
1010         * stdio-common/vfprintf.c (outchar): Likewise.
1011         (printf_unknown): Likewise.
1012         (buffered_vfprintf): Likewise.
1013         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1014         * stdio-common/xbug.c (AppendToBuffer): Likewise.
1015         (ReadFile): Likewise.
1016         * stdlib/qsort.c (SWAP): Likewise.
1017         (_quicksort): Likewise.
1018         * stdlib/setenv.c (__add_to_environ): Likewise.
1019         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1020         * stdlib/strtol_l.c (__strtol_l): Likewise.
1021         * stdlib/tst-strtod.c (main): Likewise.
1022         * stdlib/tst-strtol.c (main): Likewise.
1023         * stdlib/tst-strtoll.c (main): Likewise.
1024         * string/bits/string2.h (__strcmp_cc): Likewise.
1025         (__strcmp_cg): Likewise.
1026         (__strcspn_c1): Likewise.
1027         (__strcspn_c2): Likewise.
1028         (__strcspn_c3): Likewise.
1029         (__strspn_c1): Likewise.
1030         (__strspn_c2): Likewise.
1031         (__strspn_c3): Likewise.
1032         (__strsep_1c): Likewise.
1033         (__strsep_2c): Likewise.
1034         (__strsep_3c): Likewise.
1035         * string/memccpy.c (__memccpy): Likewise.
1036         * string/stpcpy.c (__stpcpy): Likewise.
1037         * string/strcmp.c (strcmp): Likewise.
1038         * string/strrchr.c (strrchr): Likewise.
1039         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1040         Likewise.
1041         * sysdeps/mach/hurd/getcwd.c
1042         (_hurd_canonicalize_directory_name_internal): Likewise.
1043         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1044         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1045         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1046         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1047         Likewise, in both definitions.
1048         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1049         definitions.
1050         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1051         64] (__bswap_64): Likewise.
1052         * time/test_time.c (main): Likewise.
1053         * time/tzfile.c (__tzfile_read): Likewise.
1054         (__tzfile_compute): Likewise.
1055         * time/tzset.c (__tzset_parse_tz): Likewise.
1056         (tzset_internal): Likewise.
1057         (compute_change): Likewise.
1058         * wcsmbs/wcscat.c (__wcscat): Likewise.
1059         * wcsmbs/wcschr.c (wcschr): Likewise.
1060         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1061         * wcsmbs/wcscspn.c (wcscspn): Likewise.
1062         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1063         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1064         * wcsmbs/wcsspn.c (wcsspn): Likewise.
1065         * wcsmbs/wcsstr.c (wcsstr): Likewise.
1066         * wcsmbs/wmemchr.c (wmemchr): Likewise.
1067         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1068         * wcsmbs/wmemset.c (wmemset): Likewise.
1070 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
1072         * scripts/config.guess: Update to version 2013-05-16.
1073         * scripts/config.sub: Update to version 2013-04-24.
1074         * scripts/install-sh: Update to version 2011-11-20.07.
1075         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1076         * scripts/move-if-change: Update to version 2012-01-06 07:23.
1078 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
1080         * debug/fgetws_u_chk.c: Fix leading whitespaces.
1081         * elf/sln.c: Likewise.
1082         * hurd/hurd/ioctl.h: Likewise.
1083         * hurd/hurdmalloc.c: Likewise.
1084         * hurd/xattr.c: Likewise.
1085         * include/shlib-compat.h: Likewise.
1086         * inet/ruserpass.c: Likewise.
1087         * libio/iofgets_u.c: Likewise.
1088         * libio/iofgetws_u.c: Likewise.
1089         * locale/programs/ld-identification.c: Likewise.
1090         * locale/programs/ld-time.c: Likewise.
1091         * mach/msg-destroy.c: Likewise.
1092         * nss/nss_files/files-netgrp.c: Likewise.
1093         * resolv/res_data.c: Likewise.
1094         * soft-fp/op-1.h: Likewise.
1095         * soft-fp/op-2.h: Likewise.
1096         * soft-fp/op-4.h: Likewise.
1097         * soft-fp/op-common.h: Likewise.
1098         * stdio-common/printf_fphex.c: Likewise.
1099         * stdlib/strtod_l.c: Likewise.
1100         * sunrpc/rpc/clnt.h: Likewise.
1101         * sysdeps/generic/framestate.c: Likewise.
1102         * sysdeps/i386/bsd-_setjmp.S: Likewise.
1103         * sysdeps/i386/bsd-setjmp.S: Likewise.
1104         * sysdeps/i386/__longjmp.S: Likewise.
1105         * sysdeps/i386/setjmp.S: Likewise.
1106         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1107         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1108         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1109         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1110         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1111         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1112         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1113         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1114         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1115         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1116         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1117         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1118         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1119         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1120         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1121         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1122         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1123         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1124         * sysdeps/ieee754/support.c: Likewise.
1125         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1126         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1127         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1128         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1129         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1130         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1131         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1132         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1133         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1134         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1135         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1136         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1137         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1138         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1139         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1140         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1141         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1144 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
1146         * posix/transbug.c: Remove executable mode.
1148 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
1150         * crypt/speeds.c: Remove trailing whitespace.
1151         * dlfcn/default.c: Likewise.
1152         * elf/ifuncdep2.c: Likewise.
1153         * elf/ifuncmain1.c: Likewise.
1154         * elf/ifuncmain1vis.c: Likewise.
1155         * elf/testobj.h: Likewise.
1156         * elf/tst-stackguard1.c: Likewise.
1157         * gmon/sys/gmon.h: Likewise.
1158         * hurd/hurdmsg.c: Likewise.
1159         * hurd/new-fd.c: Likewise.
1160         * hurd/ports-get.c: Likewise.
1161         * iconvdata/ibm1008_420.c: Likewise.
1162         * inet/tst-getni1.c: Likewise.
1163         * inet/tst-getni2.c: Likewise.
1164         * libio/ioungetc.c: Likewise.
1165         * libio/wfiledoalloc.c: Likewise.
1166         * manual/libm-err-tab.pl: Likewise.
1167         * math/w_dremf.c: Likewise.
1168         * misc/ftruncate.c: Likewise.
1169         * posix/bug-glob2.c: Likewise.
1170         * posix/tst-pcre.c: Likewise.
1171         * posix/wait4.c: Likewise.
1172         * resolv/README: Likewise.
1173         * resolv/res_debug.h: Likewise.
1174         * resolv/tst-inet_ntop.c: Likewise.
1175         * setjmp/bug269-setjmp.c: Likewise.
1176         * soft-fp/extended.h: Likewise.
1177         * soft-fp/op-1.h: Likewise.
1178         * soft-fp/op-2.h: Likewise.
1179         * soft-fp/op-4.h: Likewise.
1180         * soft-fp/op-8.h: Likewise.
1181         * soft-fp/testit.c: Likewise.
1182         * stdio-common/bug16.c: Likewise.
1183         * stdlib/random.c: Likewise.
1184         * sunrpc/rpcsvc/rquota.x: Likewise.
1185         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1186         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1187         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1188         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1189         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1190         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1191         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1192         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1193         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1194         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1195         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1196         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1197         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1198         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1199         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1200         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1201         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1202         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1203         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1204         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1205         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1206         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1207         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1208         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1209         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1210         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1211         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1212         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1213         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1214         * sysdeps/ieee754/s_lib_version.c: Likewise.
1215         * sysdeps/mach/hurd/check_fds.c: Likewise.
1216         * sysdeps/mach/hurd/getsockname.c: Likewise.
1217         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1218         * sysdeps/mach/hurd/recvfrom.c: Likewise.
1219         * sysdeps/powerpc/bits/link.h: Likewise.
1220         * sysdeps/powerpc/dl-procinfo.c: Likewise.
1221         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1222         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1223         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1224         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1225         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1226         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1227         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1228         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1229         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1230         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1231         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1232         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1233         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1234         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1235         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1236         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1237         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1238         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1239         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1240         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1241         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1242         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1243         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1244         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1245         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1246         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1247         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1248         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1249         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1250         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1251         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1252         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1253         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1254         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1255         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1256         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1257         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1258         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1259         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1260         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1261         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1262         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1263         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1264         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1265         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1266         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1267         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1268         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1269         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1270         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1271         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1272         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1273         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1274         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1275         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1276         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1277         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1278         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1279         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1280         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1281         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1282         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1283         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1284         * sysdeps/powerpc/sysdep.h: Likewise.
1285         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1286         * sysdeps/s390/s390-64/sub_n.S: Likewise.
1287         * sysdeps/sh/dl-trampoline.S: Likewise.
1288         * sysdeps/sh/memset.S: Likewise.
1289         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1290         * sysdeps/sh/strlen.S: Likewise.
1291         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1292         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1293         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1294         * sysdeps/sparc/sparc32/rem.S: Likewise.
1295         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1296         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1297         * sysdeps/sparc/sparc32/strchr.S: Likewise.
1298         * sysdeps/sparc/sparc32/udiv.S: Likewise.
1299         * sysdeps/sparc/sparc32/urem.S: Likewise.
1300         * sysdeps/sparc/sparc64/add_n.S: Likewise.
1301         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1302         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1303         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1304         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1305         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1306         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1307         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1308         * sysdeps/unix/bsd/times.c: Likewise.
1309         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1310         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1314         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1315         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1316         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1317         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1318         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1319         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1320         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1321         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1322         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1323         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1324         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1325         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1326         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1327         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1328         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1329         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1330         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1331         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1332         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1333         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1334         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1335         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1336         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1337         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1338         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1339         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1340         * sysdeps/x86_64/strcspn.S: Likewise.
1342 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1344         * locale/C-translit.h: Revert #include <stdint.h> because this is a
1345         generated file.  Regenerate properly from gen-translit.pl.
1346         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
1347         locale/C-translit.h.
1349 2013-06-05  Andreas Schwab  <schwab@suse.de>
1351         [BZ #15100]
1352         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1353         week as 6 instead of -1.
1354         * time/tst-strptime.c (day_tests): Add test case.
1356 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1358         * sysdeps/generic/math_private.h
1359         (libc_feholdexcept_setround_53bit): Replace with
1360         libc_feholdsetround_53bit.
1361         (libc_feupdateenv_53bit): Replace with
1362         libc_feresetround_53bit.
1363         (SET_RESTORE_ROUND_53BIT): Adjust.
1365 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1367         * string/test-strchrnul.c: Add copyright header.
1369         * posix/tst-getaddrinfo4.c: Increase test timeout.
1371 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
1373         [BZ #15536]
1374         * math/libm-test.inc (MAX_EXP): Remove
1375         (MIN_EXP): Define.
1376         (ulp): Use MIN_EXP - MANT_DIG.
1377         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1379 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
1381         * po/be.po: Revert last change.
1382         * po/zh_CN.po: Likewise.
1383         * po/header.pot: Likewise.
1385 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
1387         * Makefile ($(common-objpfx)linkobj/libc.so): Define
1388         link-libc-deps to empty as target-specific variable.
1389         * Makerules (link-libc-args): New variable.
1390         (libc-for-link): Likewise.
1391         (link-libc-deps): Likewise.
1392         (lib%.so): Depend on $(link-libc-deps).  Link with
1393         $(link-libc-args).
1394         (build-module): Link with $(link-libc-args).
1395         (build-module-asneeded): Likewise.
1396         (build-module-helper-objlist): Filter out $(link-libc-deps) from
1397         list of objects.
1398         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1399         target-specific variable.
1400         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1401         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1402         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1403         libc.
1404         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1405         libc and ld.so.
1406         ($(objpfx)libpcprofile.so): Likewise.
1407         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1408         libc_nonshared.a.
1409         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1410         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1411         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1412         $(link-libc-deps).
1413         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1414         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1415         * login/Makefile ($(objpfx)libutil.so): Likewise.
1416         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1417         * math/Makefile ($(objpfx)libm.so): Likewise.
1418         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1419         $(objpfx)libnsl.so): Define libc-for-link as target-specific
1420         variable instead of depending directly on libc.
1421         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1422         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1423         $(link-libc-deps).
1424         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1425         libc.
1426         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1427         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1428         ($(objpfx)libanl.so): Likewise.
1429         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1430         ld.so.
1431         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1432         $(link-libc-deps).
1433         * sysdeps/i386/fpu/Makefile: Remove file.
1434         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1435         ($(objpfx)libm.so): Remove dependency on ld.so.
1437 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
1439         [BZ # 15553]
1440         * nis/yp_xdr.c (XDRMAXNAME): Define.
1441         (XDRMAXRECORD): Define.
1442         (xdr_domainname): Use XDRMAXNAME.
1443         (xdr_mapname): Likewise.
1444         (xdr_peername): Likewise.
1445         (xdr_keydat): Use XDRMAXRECORD.
1446         (xdr_valdat): Likewise.
1448 2013-05-30  Jeff Law  <law@redhat.com>
1450         [BZ #14256]
1451         * manual/errno.texi (ESTALE): Update to account for more than
1452         just NFS file systems.
1453         * sysdeps/gnu/errlist.c: Regenerated.
1455 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1457         [BZ #15465]
1458         * elf/Makefile (tests): Add tst-null-argv.
1459         (modules-names):  Add tst-null-argv-lib.
1460         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1461         (tst-null-argv-ENV): Set environment for tst-null-argv.
1462         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1463         (RTLD_PROGNAME): New macro.
1464         * elf/tst-null-argv.c: New test case.
1465         * elf/tst-null-argv-lib.c: Library for test case.
1466         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1467         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1468         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1469         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1470         * elf/dl-init.c (call_init): Likewise.
1471         (_dl_init): Likewise.
1472         * elf/dl-load.c (print_search_path): Likewise.
1473         (_dl_map_object): Likewise.
1474         * elf/dl-lookup.c (do_lookup_x): Likewise.
1475         (add_dependency): Likewise.
1476         (_dl_lookup_symbol_x): Likewise.
1477         (_dl_debug_bindings): Likewise.
1478         * elf/dl-open.c (_dl_show_scope): Likewise.
1479         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1480         * elf/dl-version.c (match_symbol): Likewise.
1481         (_dl_check_map_versions): Likewise.
1482         * elf/rtld.c (dl_main): Likewise.
1483         (print_unresolved): Use RTLD_PROGNAME.
1484         (print_missing_version): Likewise.
1485         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1486         (elf_machine_rela): Likewise.
1487         * sysdeps/powerpc/powerpc32/dl-machine.c
1488         (__process_machine_rela): Likewise.
1489         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1490         Likewise.
1491         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1492         Likewise.
1493         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1494         Likewise.
1495         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1496         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1497         Likewise.
1498         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1499         Likewise.
1500         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1502 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
1504         * po/be.po: Add descriptive title.
1505         * po/zh_CN.po: Likewise.
1506         * po/header.pot: Likewise.
1508 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
1510         * locale/programs/locarchive.c (create_archive): Inlucde fname in
1511         error message.
1512         (enlarge_archive): Likewise.
1514 2013-05-28  Ben North  <ben@redfrontdoor.org>
1516         * manual/arith.texi (frexp): It is the magnitude of the return
1517         value which lies in [0.5, 1), not the return value itself.
1519 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1523 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
1525         * stdio-common/bug26.c (main): Correct fscanf template.
1527         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1528         declare _dl_skip_args.
1530         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1531         Don't declare.
1533         * manual/platform.texi: Add missing @end deftypefun.
1535 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
1537         [BZ #15529]
1538         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1539         bit of mantissa of 2^16382.
1540         * math/libm-test.inc (hypot_test_data): Add more tests.
1542         * math/libm-test.inc: Add drem and pow10 to list of tested
1543         functions.
1544         (pow10_test): New function.
1545         (drem_test): Likewise.
1546         (drem_test_tonearest): Likewise.
1547         (drem_test_towardzero): Likewise.
1548         (drem_test_downward): Likewise.
1549         (drem_test_upward): Likewise.
1550         (main): Call the new functions.
1552         * math/libm-test.inc (finite_test_data): Remove.
1553         (finite_test): Run tests from isfinite_test_data.
1554         (gamma_test_data): Remove.
1555         (gamma_test): Run tests from lgamma_test_data.
1556         * sysdeps/i386/fpu/libm-test-ulps: Update.
1557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1559 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1561         * manual/platform.texi: Add PowerPC PPR function set documentation.
1562         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1563         implementation.
1565 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
1567         * math/libm-test.inc (MAX_EXP): Define.
1568         (ULPDIFF): Define.
1569         (ulp): New function.
1570         (check_float_internal): Use ULPDIFF.
1571         (cpow_test): Disable failing test.
1572         (check_ulp): Test ulp() implemetnation.
1573         (main): Call check_ulp before starting tests.
1575 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
1577         * math/gen-libm-test.pl (generate_testfile): Do not handle
1578         START_DATA and END_DATA.
1579         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1580         END_DATA.
1581         (acos_tonearest_test_data): Likewise.
1582         (acos_towardzero_test_data): Likewise.
1583         (acos_downward_test_data): Likewise.
1584         (acos_upward_test_data): Likewise.
1585         (acosh_test_data): Likewise.
1586         (asin_test_data): Likewise.
1587         (asin_tonearest_test_data): Likewise.
1588         (asin_towardzero_test_data): Likewise.
1589         (asin_downward_test_data): Likewise.
1590         (asin_upward_test_data): Likewise.
1591         (asinh_test_data): Likewise.
1592         (atan_test_data): Likewise.
1593         (atanh_test_data): Likewise.
1594         (atan2_test_data): Likewise.
1595         (cabs_test_data): Likewise.
1596         (cacos_test_data): Likewise.
1597         (cacosh_test_data): Likewise.
1598         (carg_test_data): Likewise.
1599         (casin_test_data): Likewise.
1600         (casinh_test_data): Likewise.
1601         (catan_test_data): Likewise.
1602         (catanh_test_data): Likewise.
1603         (cbrt_test_data): Likewise.
1604         (ccos_test_data): Likewise.
1605         (ccosh_test_data): Likewise.
1606         (ceil_test_data): Likewise.
1607         (cexp_test_data): Likewise.
1608         (cimag_test_data): Likewise.
1609         (clog_test_data): Likewise.
1610         (clog10_test_data): Likewise.
1611         (conj_test_data): Likewise.
1612         (copysign_test_data): Likewise.
1613         (cos_test_data): Likewise.
1614         (cos_tonearest_test_data): Likewise.
1615         (cos_towardzero_test_data): Likewise.
1616         (cos_downward_test_data): Likewise.
1617         (cos_upward_test_data): Likewise.
1618         (cosh_test_data): Likewise.
1619         (cosh_tonearest_test_data): Likewise.
1620         (cosh_towardzero_test_data): Likewise.
1621         (cosh_downward_test_data): Likewise.
1622         (cosh_upward_test_data): Likewise.
1623         (cpow_test_data): Likewise.
1624         (cproj_test_data): Likewise.
1625         (creal_test_data): Likewise.
1626         (csin_test_data): Likewise.
1627         (csinh_test_data): Likewise.
1628         (csqrt_test_data): Likewise.
1629         (ctan_test_data): Likewise.
1630         (ctan_tonearest_test_data): Likewise.
1631         (ctan_towardzero_test_data): Likewise.
1632         (ctan_downward_test_data): Likewise.
1633         (ctan_upward_test_data): Likewise.
1634         (ctanh_test_data): Likewise.
1635         (ctanh_tonearest_test_data): Likewise.
1636         (ctanh_towardzero_test_data): Likewise.
1637         (ctanh_downward_test_data): Likewise.
1638         (ctanh_upward_test_data): Likewise.
1639         (erf_test_data): Likewise.
1640         (erfc_test_data): Likewise.
1641         (exp_test_data): Likewise.
1642         (exp_tonearest_test_data): Likewise.
1643         (exp_towardzero_test_data): Likewise.
1644         (exp_downward_test_data): Likewise.
1645         (exp_upward_test_data): Likewise.
1646         (exp10_test_data): Likewise.
1647         (exp2_test_data): Likewise.
1648         (expm1_test_data): Likewise.
1649         (fabs_test_data): Likewise.
1650         (fdim_test_data): Likewise.
1651         (finite_test_data): Likewise.
1652         (floor_test_data): Likewise.
1653         (fma_test_data): Likewise.
1654         (fma_towardzero_test_data): Likewise.
1655         (fma_downward_test_data): Likewise.
1656         (fma_upward_test_data): Likewise.
1657         (fmax_test_data): Likewise.
1658         (fmin_test_data): Likewise.
1659         (fmod_test_data): Likewise.
1660         (fpclassify_test_data): Likewise.
1661         (frexp_test_data): Likewise.
1662         (gamma_test_data): Likewise.
1663         (hypot_test_data): Likewise.
1664         (ilogb_test_data): Likewise.
1665         (isfinite_test_data): Likewise.
1666         (isgreater_test_data): Likewise.
1667         (isgreaterequal_test_data): Likewise.
1668         (isinf_test_data): Likewise.
1669         (isless_test_data): Likewise.
1670         (islessequal_test_data): Likewise.
1671         (islessgreater_test_data): Likewise.
1672         (isnan_test_data): Likewise.
1673         (isnormal_test_data): Likewise.
1674         (issignaling_test_data): Likewise.
1675         (isunordered_test_data): Likewise.
1676         (j0_test_data): Likewise.
1677         (j1_test_data): Likewise.
1678         (jn_test_data): Likewise.
1679         (ldexp_test_data): Likewise.
1680         (lgamma_test_data): Likewise.
1681         (lrint_test_data): Likewise.
1682         (lrint_tonearest_test_data): Likewise.
1683         (lrint_towardzero_test_data): Likewise.
1684         (lrint_downward_test_data): Likewise.
1685         (lrint_upward_test_data): Likewise.
1686         (llrint_test_data): Likewise.
1687         (llrint_tonearest_test_data): Likewise.
1688         (llrint_towardzero_test_data): Likewise.
1689         (llrint_downward_test_data): Likewise.
1690         (llrint_upward_test_data): Likewise.
1691         (log_test_data): Likewise.
1692         (log10_test_data): Likewise.
1693         (log1p_test_data): Likewise.
1694         (log2_test_data): Likewise.
1695         (logb_test_data): Likewise.
1696         (logb_downward_test_data): Likewise.
1697         (lround_test_data): Likewise.
1698         (llround_test_data): Likewise.
1699         (modf_test_data): Likewise.
1700         (nearbyint_test_data): Likewise.
1701         (nextafter_test_data): Likewise.
1702         (nexttoward_test_data): Likewise.
1703         (pow_test_data): Likewise.
1704         (pow_tonearest_test_data): Likewise.
1705         (pow_towardzero_test_data): Likewise.
1706         (pow_downward_test_data): Likewise.
1707         (pow_upward_test_data): Likewise.
1708         (remainder_test_data): Likewise.
1709         (remainder_tonearest_test_data): Likewise.
1710         (remainder_towardzero_test_data): Likewise.
1711         (remainder_downward_test_data): Likewise.
1712         (remainder_upward_test_data): Likewise.
1713         (remquo_test_data): Likewise.
1714         (rint_test_data): Likewise.
1715         (rint_tonearest_test_data): Likewise.
1716         (rint_towardzero_test_data): Likewise.
1717         (rint_downward_test_data): Likewise.
1718         (rint_upward_test_data): Likewise.
1719         (round_test_data): Likewise.
1720         (scalb_test_data): Likewise.
1721         (scalbn_test_data): Likewise.
1722         (scalbln_test_data): Likewise.
1723         (signbit_test_data): Likewise.
1724         (sin_test_data): Likewise.
1725         (sin_tonearest_test_data): Likewise.
1726         (sin_towardzero_test_data): Likewise.
1727         (sin_downward_test_data): Likewise.
1728         (sin_upward_test_data): Likewise.
1729         (sincos_test_data): Likewise.
1730         (sinh_test_data): Likewise.
1731         (sinh_tonearest_test_data): Likewise.
1732         (sinh_towardzero_test_data): Likewise.
1733         (sinh_downward_test_data): Likewise.
1734         (sinh_upward_test_data): Likewise.
1735         (sqrt_test_data): Likewise.
1736         (tan_test_data): Likewise.
1737         (tan_tonearest_test_data): Likewise.
1738         (tan_towardzero_test_data): Likewise.
1739         (tan_downward_test_data): Likewise.
1740         (tan_upward_test_data): Likewise.
1741         (tanh_test_data): Likewise.
1742         (tgamma_test_data): Likewise.
1743         (trunc_test_data): Likewise.
1744         (y0_test_data): Likewise.
1745         (y1_test_data): Likewise.
1746         (yn_test_data): Likewise.
1747         (significand_test_data): Likewise.
1749         * math/gen-libm-test.pl (@functions): Remove variable.
1750         (generate_testfile): Don't handle START and END lines.
1751         * math/libm-test.inc (START): New macro.
1752         (END): Likewise.
1753         (END_COMPLEX): Likewise.
1754         (acos_test): Use END macro without arguments.
1755         (acos_test_tonearest): Likewise.
1756         (acos_test_towardzero): Likewise.
1757         (acos_test_downward): Likewise.
1758         (acos_test_upward): Likewise.
1759         (acosh_test): Likewise.
1760         (asin_test): Likewise.
1761         (asin_test_tonearest): Likewise.
1762         (asin_test_towardzero): Likewise.
1763         (asin_test_downward): Likewise.
1764         (asin_test_upward): Likewise.
1765         (asinh_test): Likewise.
1766         (atan_test): Likewise.
1767         (atanh_test): Likewise.
1768         (atan2_test): Likewise.
1769         (cabs_test): Likewise.
1770         (cacos_test): Use END_COMPLEX macro without arguments.
1771         (cacosh_test): Likewise.
1772         (carg_test): Use END macro without arguments.
1773         (casin_test): Use END_COMPLEX macro without arguments.
1774         (casinh_test): Likewise.
1775         (catan_test): Likewise.
1776         (catanh_test): Likewise.
1777         (cbrt_test): Use END macro without arguments.
1778         (ccos_test): Use END_COMPLEX macro without arguments.
1779         (ccosh_test): Likewise.
1780         (ceil_test): Use END macro without arguments.
1781         (cexp_test): Use END_COMPLEX macro without arguments.
1782         (cimag_test): Use END macro without arguments.
1783         (clog_test): Use END_COMPLEX macro without arguments.
1784         (clog10_test): Likewise.
1785         (conj_test): Likewise.
1786         (copysign_test): Use END macro without arguments.
1787         (cos_test): Likewise.
1788         (cos_test_tonearest): Likewise.
1789         (cos_test_towardzero): Likewise.
1790         (cos_test_downward): Likewise.
1791         (cos_test_upward): Likewise.
1792         (cosh_test): Likewise.
1793         (cosh_test_tonearest): Likewise.
1794         (cosh_test_towardzero): Likewise.
1795         (cosh_test_downward): Likewise.
1796         (cosh_test_upward): Likewise.
1797         (cpow_test): Use END_COMPLEX macro without arguments.
1798         (cproj_test): Likewise.
1799         (creal_test): Use END macro without arguments.
1800         (csin_test): Use END_COMPLEX macro without arguments.
1801         (csinh_test): Likewise.
1802         (csqrt_test): Likewise.
1803         (ctan_test): Likewise.
1804         (ctan_test_tonearest): Likewise.
1805         (ctan_test_towardzero): Likewise.
1806         (ctan_test_downward): Likewise.
1807         (ctan_test_upward): Likewise.
1808         (ctanh_test): Likewise.
1809         (ctanh_test_tonearest): Likewise.
1810         (ctanh_test_towardzero): Likewise.
1811         (ctanh_test_downward): Likewise.
1812         (ctanh_test_upward): Likewise.
1813         (erf_test): Use END macro without arguments.
1814         (erfc_test): Likewise.
1815         (exp_test): Likewise.
1816         (exp_test_tonearest): Likewise.
1817         (exp_test_towardzero): Likewise.
1818         (exp_test_downward): Likewise.
1819         (exp_test_upward): Likewise.
1820         (exp10_test): Likewise.
1821         (exp2_test): Likewise.
1822         (expm1_test): Likewise.
1823         (fabs_test): Likewise.
1824         (fdim_test): Likewise.
1825         (finite_test): Likewise.
1826         (floor_test): Likewise.
1827         (fma_test): Likewise.
1828         (fma_test_towardzero): Likewise.
1829         (fma_test_downward): Likewise.
1830         (fma_test_upward): Likewise.
1831         (fmax_test): Likewise.
1832         (fmin_test): Likewise.
1833         (fmod_test): Likewise.
1834         (fpclassify_test): Likewise.
1835         (frexp_test): Likewise.
1836         (gamma_test): Likewise.
1837         (hypot_test): Likewise.
1838         (ilogb_test): Likewise.
1839         (isfinite_test): Likewise.
1840         (isgreater_test): Likewise.
1841         (isgreaterequal_test): Likewise.
1842         (isinf_test): Likewise.
1843         (isless_test): Likewise.
1844         (islessequal_test): Likewise.
1845         (islessgreater_test): Likewise.
1846         (isnan_test): Likewise.
1847         (isnormal_test): Likewise.
1848         (issignaling_test): Likewise.
1849         (isunordered_test): Likewise.
1850         (j0_test): Likewise.
1851         (j1_test): Likewise.
1852         (jn_test): Likewise.
1853         (ldexp_test): Likewise.
1854         (lgamma_test): Likewise.
1855         (lrint_test): Likewise.
1856         (lrint_test_tonearest): Likewise.
1857         (lrint_test_towardzero): Likewise.
1858         (lrint_test_downward): Likewise.
1859         (lrint_test_upward): Likewise.
1860         (llrint_test): Likewise.
1861         (llrint_test_tonearest): Likewise.
1862         (llrint_test_towardzero): Likewise.
1863         (llrint_test_downward): Likewise.
1864         (llrint_test_upward): Likewise.
1865         (log_test): Likewise.
1866         (log10_test): Likewise.
1867         (log1p_test): Likewise.
1868         (log2_test): Likewise.
1869         (logb_test): Likewise.
1870         (logb_test_downward): Likewise.
1871         (lround_test): Likewise.
1872         (llround_test): Likewise.
1873         (modf_test): Likewise.
1874         (nearbyint_test): Likewise.
1875         (nextafter_test): Likewise.
1876         (nexttoward_test): Likewise.
1877         (pow_test): Likewise.
1878         (pow_test_tonearest): Likewise.
1879         (pow_test_towardzero): Likewise.
1880         (pow_test_downward): Likewise.
1881         (pow_test_upward): Likewise.
1882         (remainder_test): Likewise.
1883         (remainder_test_tonearest): Likewise.
1884         (remainder_test_towardzero): Likewise.
1885         (remainder_test_downward): Likewise.
1886         (remainder_test_upward): Likewise.
1887         (remquo_test): Likewise.
1888         (rint_test): Likewise.
1889         (rint_test_tonearest): Likewise.
1890         (rint_test_towardzero): Likewise.
1891         (rint_test_downward): Likewise.
1892         (rint_test_upward): Likewise.
1893         (round_test): Likewise.
1894         (scalb_test): Likewise.
1895         (scalbn_test): Likewise.
1896         (scalbln_test): Likewise.
1897         (signbit_test): Likewise.
1898         (sin_test): Likewise.
1899         (sin_test_tonearest): Likewise.
1900         (sin_test_towardzero): Likewise.
1901         (sin_test_downward): Likewise.
1902         (sin_test_upward): Likewise.
1903         (sincos_test): Likewise.
1904         (sinh_test): Likewise.
1905         (sinh_test_tonearest): Likewise.
1906         (sinh_test_towardzero): Likewise.
1907         (sinh_test_downward): Likewise.
1908         (sinh_test_upward): Likewise.
1909         (sqrt_test): Likewise.
1910         (tan_test): Likewise.
1911         (tan_test_tonearest): Likewise.
1912         (tan_test_towardzero): Likewise.
1913         (tan_test_downward): Likewise.
1914         (tan_test_upward): Likewise.
1915         (tanh_test): Likewise.
1916         (tgamma_test): Likewise.
1917         (trunc_test): Likewise.
1918         (y0_test): Likewise.
1919         (y1_test): Likewise.
1920         (yn_test): Likewise.
1921         (significand_test): Likewise.
1923 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
1925         [BZ #15381]
1926         * libio/genops.c (_IO_no_init): Initialize wide struct info.
1928 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
1930         [BZ #14894]
1931         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1932         __ppc_mdoio and __ppc_mdoom.
1933         * manual/platform.texi: Document new functions __ppc_yield,
1934         __ppc_mdoio and __ppc_mdoom.
1936 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
1938         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1939         (main): Mention "tls" pseudo-hwcap is legacy.
1940         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1942 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
1944         * math/gen-libm-test.pl (parse_args): Output only string of
1945         arguments as text for test name, not full call or descriptions of
1946         tests for extra outputs.
1947         (generate_testfile): Do not pass function name to parse_args.
1948         Generate this_func variable from START.
1949         * math/libm-test.inc (struct test_f_f_data): Rename test_name
1950         field to arg_str.
1951         (struct test_ff_f_data): Likewise.
1952         (test_ff_f_data_nexttoward): Likewise.
1953         (struct test_fi_f_data): Likewise.
1954         (struct test_fl_f_data): Likewise.
1955         (struct test_if_f_data): Likewise.
1956         (struct test_fff_f_data): Likewise.
1957         (struct test_c_f_data): Likewise.
1958         (struct test_f_f1_data): Likewise.  Remove field extra_name.
1959         (struct test_fF_f1_data): Likewise.
1960         (struct test_ffI_f1_data): Likewise.
1961         (struct test_c_c_data): Rename test_name field to arg_str.
1962         (struct test_cc_c_data): Likewise.
1963         (struct test_f_i_data): Likewise.
1964         (struct test_ff_i_data): Likewise.
1965         (struct test_f_l_data): Likewise.
1966         (struct test_f_L_data): Likewise.
1967         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
1968         and extra2_name.
1969         (COMMON_TEST_SETUP): New macro.
1970         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1971         (COMMON_TEST_CLEANUP): Likewise.
1972         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1973         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
1974         macros.
1975         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1976         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
1977         macros.
1978         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1979         (RUN_TEST_fff_f): Take argument string.  Call new setup and
1980         cleanup macros.
1981         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1982         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
1983         macros.
1984         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1985         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
1986         macros.
1987         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1988         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
1989         cleanup macros.
1990         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1991         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
1992         cleanup macros.
1993         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1994         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
1995         cleanup macros.
1996         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1997         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
1998         macros.
1999         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2000         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
2001         macros.
2002         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2003         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
2004         macros.
2005         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2006         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
2007         cleanup macros.
2008         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2009         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
2010         cleanup macros.
2011         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2012         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
2013         macros.
2014         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2015         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
2016         cleanup macros.
2017         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2018         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
2019         macros.
2020         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2021         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
2022         macros.
2023         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2024         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
2025         cleanup macros.
2026         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2028 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
2030         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2031         to _sifields.sigfault.
2032         (si_addr_lsb): Define new macro.
2033         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2034         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2035         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2037 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
2039         [BZ #15441]
2040         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2041         returns -1.
2042         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2043         null return -1.
2044         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2045         loading the domain.
2047 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
2049         * math/gen-libm-test.pl (parse_args): Do not include expected
2050         result in test name.
2051         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2052         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2053         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2054         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2055         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2058 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2060         * benchtests/Makefile: Sort function entries.
2062         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2063         tanh, asinh, acosh, atanh.
2064         * benchtests/acos-inputs: New file.
2065         * benchtests/acosh-inputs: New file.
2066         * benchtests/asin-inputs: New file.
2067         * benchtests/asinh-inputs: New file.
2068         * benchtests/atanh-inputs: New file.
2069         * benchtests/cosh-inputs: New file.
2070         * benchtests/log-inputs: New file.
2071         * benchtests/sinh-inputs: New file.
2072         * benchtests/tanh-inputs: New file.
2074 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
2076         [BZ #15339]
2077         * posix/tst-getaddrinfo4.c: New test.
2078         * posix/Makefile (tests): Add it.
2080 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2082         [BZ #15339]
2083         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2084         when no services were used.
2085         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2086         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2088 2013-05-21  Andreas Schwab  <schwab@suse.de>
2090         [BZ #15014]
2091         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2092         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2093         successful.
2094         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2095         redundant variable declarations and reallocation of buffer when
2096         parsing as IPv6 address.  Always set NSS status when called from
2097         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
2098         buffer too small.  Correct computation of needed size.
2099         * nss/Makefile (tests): Add test-digits-dots.
2100         * nss/test-digits-dots.c: New test.
2102 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2104         * benchtests/Makefile: Remove instructions for adding
2105         benchmark tests.
2106         * benchtests/README: New file to explain how to execute and
2107         enhance the benchmark tests.
2109 2013-05-21  Andreas Schwab  <schwab@suse.de>
2111         [BZ #15493]
2112         * setjmp/Makefile (tests): Add tst-sigsetjmp.
2113         * setjmp/tst-sigsetjmp.c: New test.
2115 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
2117         * sysdeps/x86_64/memset.S (memset): New implementation.
2118         (__bzero): Likewise.
2119         (__memset_tail): New function.
2121 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
2123         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2124         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2125         __memcpy_sse2_unaligned ifunc selection.
2126         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2127         Add memcpy-sse2-unaligned.S.
2128         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2129         Add: __memcpy_sse2_unaligned.
2131 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
2133         [BZ #15490]
2134         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2135         math_force_eval before restoring floating-point envrionment.
2136         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2137         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2138         Likewise.
2139         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2140         <math_private.h>.
2141         (__nearbyintl): Use math_force_eval before restoring
2142         floating-point environment.
2143         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2145         * math/gen-libm-test.pl (special_functions): Remove.
2146         (parse_args): Don't handle TEST_extra.  Handle functions with no
2147         return value.
2148         * math/libm-test.inc (struct test_sincos_data): Replace with
2149         struct test_fFF_11_data.
2150         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2151         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2152         (sincos_test_data): Change element type to struct
2153         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
2154         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2155         RUN_TEST_LOOP_sincos.
2156         * math/README.libm-test: Don't mention special handling of
2157         individual functions.
2158         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2159         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2160         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2161         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2162         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2165         * math/gen-libm-test.pl (get_variable): Remove function.
2166         (parse_args): Don't show pointer parameters to call in test
2167         names.  Use "extra output N" in test names for extra outputs
2168         rather than naming variables.
2170 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
2172         [BZ #15488]
2173         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2174         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2175         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2176         double tests.
2177         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2178         disable.
2179         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2180         check_long_double.
2182         * math/gen-libm-test.pl (@tests): Remove variable.
2183         ($count): Likewise.
2184         (new_test): Remove function.
2185         (show_exceptions): New function.
2186         (special_functions): Use show_exceptions instead of new_test.
2187         (parse_args): Likewise.
2188         (generate_testfile): Pass only function name in generated call to
2189         print_max_error or print_complex_max_error.
2190         (get_ulps): Do not handle complex tests specially.
2191         (output_test): Rename to ...
2192         (get_all_ulps_for_test): ... this.  Return a string rather than
2193         printing to a file.  Require ulps to be present.
2194         (output_ulps): Generate arrays rather than #defines.
2195         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2196         (struct ulp_data): New type.
2197         (BUILD_COMPLEX_ULP): Remove macro.
2198         (compare_ulp_data): New function.
2199         (find_ulps): Likewise.
2200         (find_test_ulps): Likewise.
2201         (find_function_ulps): Likewise.
2202         (find_complex_function_ulps): Likewise.
2203         (print_max_error): Determine allowed ulps using
2204         find_function_ulps.
2205         (print_complex_max_error): Determine allowed ulps using
2206         find_complex_function_ulps.
2207         (check_float_internal): Determine max ulps using find_test_ulps.
2208         (check_float): Do not take max_ulp parameter.  Update call to
2209         check_float_internal.
2210         (check_complex): Likewise.
2211         (check_int): Do not take max_ulp parameter.
2212         (check_long): Likewise.
2213         (check_bool): Likewise.
2214         (check_longlong): Likewise.
2215         (struct test_f_f_data): Remove max_ulp field.
2216         (struct test_ff_f_data): Likewise.
2217         (struct test_ff_f_data_nexttoward): Likewise.
2218         (struct test_fi_f_data): Likewise.
2219         (struct test_fl_f_data): Likewise.
2220         (struct test_if_f_data): Likewise.
2221         (struct test_fff_f_data): Likewise.
2222         (struct test_c_f_data): Likewise.
2223         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2224         (struct test_fF_f1_data): Likewise.
2225         (struct test_ffI_f1_data): Likewise.
2226         (struct test_c_c_data): Remove max_ulp field.
2227         (struct test_cc_c_data): Likewise.
2228         (struct test_f_i_data): Likewise.
2229         (struct test_ff_i_data): Likewise.
2230         (struct test_f_l_data): Likewise.
2231         (struct test_f_L_data): Likewise.
2232         (struct test_sincos_data): Likewise.
2233         (RUN_TEST_f_f): Do not handle ulps.
2234         (RUN_TEST_LOOP_f_f): Likewise.
2235         (RUN_TEST_2_f): Likewise.
2236         (RUN_TEST_LOOP_2_f): Likewise.
2237         (RUN_TEST_fff_f): Likewise.
2238         (RUN_TEST_LOOP_fff_f): Likewise.
2239         (RUN_TEST_c_f): Likewise.
2240         (RUN_TEST_LOOP_c_f): Likewise.
2241         (RUN_TEST_f_f1): Likewise.
2242         (RUN_TEST_LOOP_f_f1): Likewise.
2243         (RUN_TEST_fF_f1): Likewise.
2244         (RUN_TEST_LOOP_fF_f1): Likewise.
2245         (RUN_TEST_fI_f1): Likewise.
2246         (RUN_TEST_LOOP_fI_f1): Likewise.
2247         (RUN_TEST_ffI_f1): Likewise.
2248         (RUN_TEST_LOOP_ffI_f1): Likewise.
2249         (RUN_TEST_c_c): Likewise.
2250         (RUN_TEST_LOOP_c_c): Likewise.
2251         (RUN_TEST_cc_c): Likewise.
2252         (RUN_TEST_LOOP_cc_c): Likewise.
2253         (RUN_TEST_f_i): Likewise.
2254         (RUN_TEST_LOOP_f_i): Likewise.
2255         (RUN_TEST_f_i_tg): Likewise.
2256         (RUN_TEST_LOOP_f_i_tg): Likewise.
2257         (RUN_TEST_ff_i_tg): Likewise.
2258         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2259         (RUN_TEST_f_b): Likewise.
2260         (RUN_TEST_LOOP_f_b): Likewise.
2261         (RUN_TEST_f_b_tg): Likewise.
2262         (RUN_TEST_LOOP_f_b_tg): Likewise.
2263         (RUN_TEST_f_l): Likewise.
2264         (RUN_TEST_LOOP_f_l): Likewise.
2265         (RUN_TEST_f_L): Likewise.
2266         (RUN_TEST_LOOP_f_L): Likewise.
2267         (RUN_TEST_sincos): Likewise.
2268         (RUN_TEST_LOOP_sincos): Likewise.
2270 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
2272         [BZ #15480]
2273         [BZ #15485]
2274         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2275         main case of finite arguments, set rounding mode to FE_TONEAREST
2276         and discard exceptions.
2277         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2278         exceptions.
2279         (remainder_tonearest_test_data): New variable.
2280         (remainder_test_tonearest): New function.
2281         (remainder_towardzero_test_data): New variable.
2282         (remainder_test_towardzero): New function.
2283         (remainder_downward_test_data): New variable.
2284         (remainder_test_downward): New function.
2285         (remainder_upward_test_data): New variable.
2286         (remainder_test_upward): New function.
2287         (main): Call the new test functions.
2289         * math/libm-test.inc (struct test_f_f1_data): Remove field
2290         extra_init.
2291         (struct test_fF_f1_data): Likewise.
2292         (struct test_ffI_f1_data): Likewise.
2293         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
2294         based on value of EXTRA_EXPECTED.
2295         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2296         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
2297         EXTRA_VAR based on value of EXTRA_EXPECTED.
2298         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2299         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
2300         EXTRA_VAR based on value of EXTRA_EXPECTED.
2301         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2302         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
2303         EXTRA_VAR based on value of EXTRA_EXPECTED.
2304         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2305         * math/gen-libm-test.pl (parse_args): Don't output initializers
2306         for extra output values.
2308         * math/libm-test.inc (check_int): Expect result to be exactly
2309         equal to expected value and do not handle ulps.
2310         (check_long): Likewise.
2311         (check_longlong): Likewise.
2313         * math/libm-test.inc (ceil_test_data): Test for "inexact"
2314         exceptions.
2315         (cimag_test_data): Likewise.
2316         (conj_test_data): Likewise.
2317         (copysign_test_data): Likewise.
2318         (cproj_test_data): Likewise.
2319         (creal_test_data): Likewise.
2320         (fabs_test_data): Likewise.
2321         (fdim_test_data): Likewise.
2322         (finite_test_data): Likewise.
2323         (floor_test_data): Likewise.
2324         (fmax_test_data): Likewise.
2325         (fmin_test_data): Likewise.
2326         (fmod_test_data): Likewise.
2327         (fpclassify_test_data): Likewise.
2328         (frexp_test_data): Likewise.
2329         (ilogb_test_data): Likewise.
2330         (isfinite_test_data): Likewise.
2331         (isgreater_test_data): Likewise.
2332         (isgreaterequal_test_data): Likewise.
2333         (isinf_test_data): Likewise.
2334         (isless_test_data): Likewise.
2335         (islessequal_test_data): Likewise.
2336         (islessgreater_test_data): Likewise.
2337         (isnan_test_data): Likewise.
2338         (isnormal_test_data): Likewise.
2339         (issignaling_test_data): Likewise.
2340         (isunordered_test_data): Likewise.
2341         (ldexp_test_data): Likewise.
2342         (lrint_test_data): Likewise.
2343         (lrint_test_data) [TEST_FLOAT]: Disable one test.
2344         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2345         (lrint_tonearest_test_data): Test for "inexact" exceptions.
2346         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2347         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2348         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2349         test input.
2350         (lrint_towardzero_test_data): Test for "inexact" exceptions.
2351         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2352         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2353         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2354         that test input.
2355         (lrint_downward_test_data): Test for "inexact" exceptions.
2356         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2357         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2358         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2359         test input.
2360         (lrint_upward_test_data): Test for "inexact" exceptions.
2361         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2362         test input.
2363         (llrint_test_data): Test for "inexact" exceptions.
2364         (llrint_test_data) [TEST_FLOAT]: Disable one test.
2365         (llrint_tonearest_test_data): Test for "inexact" exceptions.
2366         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2367         (llrint_towardzero_test_data): Test for "inexact" exceptions.
2368         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2369         (llrint_downward_test_data): Test for "inexact" exceptions.
2370         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2371         (llrint_upward_test_data): Test for "inexact" exceptions.
2372         (logb_test_data): Likewise.
2373         (logb_downward_test_data): Likewise.
2374         (nextafter_test_data): Likewise.
2375         (nexttoward_test_data): Likewise.
2376         (remainder_test_data): Likewise.
2377         (remquo_test_data): Likewise.
2378         (scalbn_test_data): Likewise.
2379         (scalbln_test_data): Likewise.
2380         (signbit_test_data): Likewise.
2381         (sqrt_test_data): Likewise.
2382         (significand_test_data): Likewise.
2384 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2386         [BZ #15424]
2387         * benchtests/bench-modf.c (struct args): Mark arg0 as
2388         volatile.
2389         * scripts/bench.pl: Mark members of struct args as volatile.
2391 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2393         [BZ # 15497]
2394         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2395         negative infinity on POWER6 or lower.
2396         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2398 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
2400         [BZ #15442]
2401         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2402         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2403         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2404         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2405         (_FP_SETQNAN): New macro.
2406         (_FP_SETQNAN_SEMIRAW): Likewise.
2407         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2408         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2409         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2410         (FP_EXTEND): Use _FP_FRAC_SNANP.
2411         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2412         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2413         into account.
2414         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2415         New macro.
2416         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2417         Likewise.
2419 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2421         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2422         with DIVIDE_BY_ZERO_EXCEPTION.
2423         (gamma_test_data): Likewise.
2424         (lgamma_test_data): Likewise.
2425         (log_test_data): Likewise.
2426         (log10_test_data): Likewise.
2427         (log2_test_data): Likewise.
2428         (tgamma_test_data): Likewise.
2430         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2431         (acos_test_tonearest): Likewise.
2432         (acos_test_towardzero): Likewise.
2433         (acos_test_downward): Likewise.
2434         (acos_test_upward): Likewise.
2435         (acosh_test): Likewise.
2436         (asin_test): Likewise.
2437         (asin_test_tonearest): Likewise.
2438         (asin_test_towardzero): Likewise.
2439         (asin_test_downward): Likewise.
2440         (asin_test_upward): Likewise.
2441         (asinh_test): Likewise.
2442         (atan_test): Likewise.
2443         (atanh_test): Likewise.
2444         (atan2_test): Likewise.
2445         (cabs_test): Likewise.
2446         (cacos_test): Likewise.
2447         (cacosh_test): Likewise.
2448         (casin_test): Likewise.
2449         (casinh_test): Likewise.
2450         (catan_test): Likewise.
2451         (catanh_test): Likewise.
2452         (cbrt_test): Likewise.
2453         (ccos_test): Likewise.
2454         (ccosh_test): Likewise.
2455         (cexp_test): Likewise.
2456         (clog_test): Likewise.
2457         (clog10_test): Likewise.
2458         (cos_test): Likewise.
2459         (cos_test_tonearest): Likewise.
2460         (cos_test_towardzero): Likewise.
2461         (cos_test_downward): Likewise.
2462         (cos_test_upward): Likewise.
2463         (cosh_test): Likewise.
2464         (cosh_test_tonearest): Likewise.
2465         (cosh_test_towardzero): Likewise.
2466         (cosh_test_downward): Likewise.
2467         (cosh_test_upward): Likewise.
2468         (cpow_test): Likewise.
2469         (csin_test): Likewise.
2470         (csinh_test): Likewise.
2471         (csqrt_test): Likewise.
2472         (ctan_test): Likewise.
2473         (ctan_test_tonearest): Likewise.
2474         (ctan_test_towardzero): Likewise.
2475         (ctan_test_downward): Likewise.
2476         (ctan_test_upward): Likewise.
2477         (ctanh_test): Likewise.
2478         (ctanh_test_tonearest): Likewise.
2479         (ctanh_test_towardzero): Likewise.
2480         (ctanh_test_downward): Likewise.
2481         (ctanh_test_upward): Likewise.
2482         (erf_test): Likewise.
2483         (erfc_test): Likewise.
2484         (exp_test): Likewise.
2485         (exp_test_tonearest): Likewise.
2486         (exp_test_towardzero): Likewise.
2487         (exp_test_downward): Likewise.
2488         (exp_test_upward): Likewise.
2489         (exp10_test): Likewise.
2490         (exp2_test): Likewise.
2491         (expm1_test): Likewise.
2492         (fmod_test): Likewise.
2493         (gamma_test): Likewise.
2494         (hypot_test): Likewise.
2495         (j0_test): Likewise.
2496         (j1_test): Likewise.
2497         (jn_test): Likewise.
2498         (lgamma_test): Likewise.
2499         (log_test): Likewise.
2500         (log10_test): Likewise.
2501         (log1p_test): Likewise.
2502         (log2_test): Likewise.
2503         (logb_test_downward): Likewise.
2504         (pow_test): Likewise.
2505         (pow_test_tonearest): Likewise.
2506         (pow_test_towardzero): Likewise.
2507         (pow_test_downward): Likewise.
2508         (pow_test_upward): Likewise.
2509         (remainder_test): Likewise.
2510         (remquo_test): Likewise.
2511         (sin_test): Likewise.
2512         (sin_test_tonearest): Likewise.
2513         (sin_test_towardzero): Likewise.
2514         (sin_test_downward): Likewise.
2515         (sin_test_upward): Likewise.
2516         (sincos_test): Likewise.
2517         (sinh_test): Likewise.
2518         (sinh_test_tonearest): Likewise.
2519         (sinh_test_towardzero): Likewise.
2520         (sinh_test_downward): Likewise.
2521         (sinh_test_upward): Likewise.
2522         (sqrt_test): Likewise.
2523         (tan_test): Likewise.
2524         (tan_test_tonearest): Likewise.
2525         (tan_test_towardzero): Likewise.
2526         (tan_test_downward): Likewise.
2527         (tan_test_upward): Likewise.
2528         (tanh_test): Likewise.
2529         (tgamma_test): Likewise.
2530         (y0_test): Likewise.
2531         (y1_test): Likewise.
2532         (yn_test): Likewise.
2534         * math/gen-libm-test.pl (adjust_arg): Remove function.
2535         (special_function): Remove argument $in_func.  Only handle
2536         generating output for tables of tests, not inside functions.
2537         (parse_args): Likewise.
2538         (generate_testfile): Remove variable $in_func.  Update call to
2539         parse_args.
2540         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2541         (MINUS_ZERO_INIT): Rename macro to minus_zero.
2542         (PLUS_INFTY_INIT): Rename macro to plus_infty.
2543         (MINUS_INFTY_INIT): Rename macro to minus_infty.
2544         (QNAN_VALUE_INIT): Rename macro to qnan_value.
2545         (MAX_VALUE_INIT): Rename macro to max_value.
2546         (MIN_VALUE_INIT): Rename macro to min_value.
2547         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2548         (plus_zero): Remove variable.
2549         (minus_zero): Likewise.
2550         (plus_infty): Likewise.
2551         (minus_infty): Likewise.
2552         (qnan_value): Likewise.
2553         (max_value): Likewise.
2554         (min_value): Likewise.
2555         (min_subnorm_value): Likewise.
2557 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2559         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2560         uint64_t or uint32_t usage.
2561         * crypt/sha256-block.c: Likewise.
2562         * crypt/sha256-crypt.c: Likewise.
2563         * crypt/sha256.c: Likewise.
2564         * crypt/sha512-block.c: Likewise.
2565         * crypt/sha512-crypt.c: Likewise.
2566         * crypt/sha512.c: Likewise.
2567         * debug/backtrace-tst.c: Likewise.
2568         * debug/pcprofiledump.c: Likewise.
2569         * elf/cache.c: Likewise.
2570         * elf/dl-cache.c: Likewise.
2571         * elf/dl-misc.c: Likewise.
2572         * elf/dl-profile.c: Likewise.
2573         * elf/dl-support.c: Likewise.
2574         * elf/ldconfig.c: Likewise.
2575         * elf/sprof.c: Likewise.
2576         * iconv/dummy-repertoire.c: Likewise.
2577         * iconv/iconv_charmap.c: Likewise.
2578         * iconv/skeleton.c: Likewise.
2579         * iconvdata/8bit-generic.c: Likewise.
2580         * iconvdata/cp737.h: Likewise.
2581         * iconvdata/cp775.h: Likewise.
2582         * iconvdata/ibm1008.h: Likewise.
2583         * iconvdata/ibm1025.h: Likewise.
2584         * iconvdata/ibm1046.h: Likewise.
2585         * iconvdata/ibm1097.h: Likewise.
2586         * iconvdata/ibm1112.h: Likewise.
2587         * iconvdata/ibm1122.h: Likewise.
2588         * iconvdata/ibm1123.h: Likewise.
2589         * iconvdata/ibm1124.h: Likewise.
2590         * iconvdata/ibm1129.h: Likewise.
2591         * iconvdata/ibm1130.h: Likewise.
2592         * iconvdata/ibm1132.h: Likewise.
2593         * iconvdata/ibm1133.h: Likewise.
2594         * iconvdata/ibm1137.h: Likewise.
2595         * iconvdata/ibm1140.h: Likewise.
2596         * iconvdata/ibm1141.h: Likewise.
2597         * iconvdata/ibm1142.h: Likewise.
2598         * iconvdata/ibm1143.h: Likewise.
2599         * iconvdata/ibm1144.h: Likewise.
2600         * iconvdata/ibm1145.h: Likewise.
2601         * iconvdata/ibm1146.h: Likewise.
2602         * iconvdata/ibm1147.h: Likewise.
2603         * iconvdata/ibm1148.h: Likewise.
2604         * iconvdata/ibm1149.h: Likewise.
2605         * iconvdata/ibm1153.h: Likewise.
2606         * iconvdata/ibm1154.h: Likewise.
2607         * iconvdata/ibm1155.h: Likewise.
2608         * iconvdata/ibm1156.h: Likewise.
2609         * iconvdata/ibm1157.h: Likewise.
2610         * iconvdata/ibm1158.h: Likewise.
2611         * iconvdata/ibm1160.h: Likewise.
2612         * iconvdata/ibm1161.h: Likewise.
2613         * iconvdata/ibm1162.h: Likewise.
2614         * iconvdata/ibm1163.h: Likewise.
2615         * iconvdata/ibm1164.h: Likewise.
2616         * iconvdata/ibm1166.h: Likewise.
2617         * iconvdata/ibm1167.h: Likewise.
2618         * iconvdata/ibm12712.h: Likewise.
2619         * iconvdata/ibm1390.h: Likewise.
2620         * iconvdata/ibm1399.h: Likewise.
2621         * iconvdata/ibm16804.h: Likewise.
2622         * iconvdata/ibm4517.h: Likewise.
2623         * iconvdata/ibm4899.h: Likewise.
2624         * iconvdata/ibm4909.h: Likewise.
2625         * iconvdata/ibm4971.h: Likewise.
2626         * iconvdata/ibm5347.h: Likewise.
2627         * iconvdata/ibm803.h: Likewise.
2628         * iconvdata/ibm856.h: Likewise.
2629         * iconvdata/ibm901.h: Likewise.
2630         * iconvdata/ibm902.h: Likewise.
2631         * iconvdata/ibm9030.h: Likewise.
2632         * iconvdata/ibm9066.h: Likewise.
2633         * iconvdata/ibm921.h: Likewise.
2634         * iconvdata/ibm922.h: Likewise.
2635         * iconvdata/ibm9448.h: Likewise.
2636         * iconvdata/isiri-3342.h: Likewise.
2637         * iconvdata/jis0201.h: Likewise.
2638         * include/link.h: Likewise.
2639         * include/netdb.h: Likewise.
2640         * inet/check_native.c: Likewise.
2641         * inet/check_pf.c: Likewise.
2642         * inet/getipv4sourcefilter.c: Likewise.
2643         * inet/getnameinfo.c: Likewise.
2644         * inet/getsourcefilter.c: Likewise.
2645         * inet/htonl.c: Likewise.
2646         * inet/setipv4sourcefilter.c: Likewise.
2647         * inet/setsourcefilter.c: Likewise.
2648         * inet/test-inet6_opt.c: Likewise.
2649         * inet/tst-network.c: Likewise.
2650         * locale/C-collate.c: Likewise.
2651         * locale/C-ctype.c: Likewise.
2652         * locale/C-time.c: Likewise.
2653         * locale/C-translit.h: Likewise.
2654         * locale/loadarchive.c: Likewise.
2655         * locale/programs/3level.h: Likewise.
2656         * locale/programs/charmap.c: Likewise.
2657         * locale/programs/charmap.h: Likewise.
2658         * locale/programs/ld-address.c: Likewise.
2659         * locale/programs/ld-collate.c: Likewise.
2660         * locale/programs/ld-ctype.c: Likewise.
2661         * locale/programs/ld-identification.c: Likewise.
2662         * locale/programs/ld-measurement.c: Likewise.
2663         * locale/programs/ld-messages.c: Likewise.
2664         * locale/programs/ld-monetary.c: Likewise.
2665         * locale/programs/ld-name.c: Likewise.
2666         * locale/programs/ld-numeric.c: Likewise.
2667         * locale/programs/ld-paper.c: Likewise.
2668         * locale/programs/ld-telephone.c: Likewise.
2669         * locale/programs/ld-time.c: Likewise.
2670         * locale/programs/linereader.c: Likewise.
2671         * locale/programs/locale.c: Likewise.
2672         * locale/programs/locarchive.c: Likewise.
2673         * locale/programs/locfile.h: Likewise.
2674         * locale/programs/repertoire.c: Likewise.
2675         * locale/programs/simple-hash.c: Likewise.
2676         * locale/programs/simple-hash.h: Likewise.
2677         * malloc/memusage.c: Likewise.
2678         * malloc/memusagestat.c: Likewise.
2679         * nis/nis_defaults.c: Likewise.
2680         * nis/nis_hash.c: Likewise.
2681         * nis/nis_print.c: Likewise.
2682         * nis/nis_xdr.c: Likewise.
2683         * nscd/connections.c: Likewise.
2684         * nscd/hstcache.c: Likewise.
2685         * nscd/nscd_gethst_r.c: Likewise.
2686         * nscd/nscd_getserv_r.c: Likewise.
2687         * nscd/nscd_helper.c: Likewise.
2688         * nscd/servicescache.c: Likewise.
2689         * nss/makedb.c: Likewise.
2690         * nss/nss_db/db-XXX.c: Likewise.
2691         * nss/nss_db/db-initgroups.c: Likewise.
2692         * nss/nss_db/db-netgrp.c: Likewise.
2693         * nss/nss_files/files-network.c: Likewise.
2694         * nss/nss_files/files-parse.c: Likewise.
2695         * posix/bug-regex5.c: Likewise.
2696         * posix/fnmatch_loop.c: Likewise.
2697         * posix/regcomp.c: Likewise.
2698         * posix/regexec.c: Likewise.
2699         * posix/tst-rfc3484-2.c: Likewise.
2700         * posix/tst-rfc3484-3.c: Likewise.
2701         * posix/tst-rfc3484.c: Likewise.
2702         * resolv/nss_dns/dns-canon.c: Likewise.
2703         * resolv/nss_dns/dns-network.c: Likewise.
2704         * resolv/res_init.c: Likewise.
2705         * resolv/res_mkquery.c: Likewise.
2706         * resolv/tst-aton.c: Likewise.
2707         * stdlib/cxa_atexit.c: Likewise.
2708         * stdlib/cxa_finalize.c: Likewise.
2709         * stdlib/gen-fpioconst.c: Likewise.
2710         * stdlib/strtol_l.c: Likewise.
2711         * string/tst-endian.c: Likewise.
2712         * sunrpc/auth_des.c: Likewise.
2713         * sunrpc/clnt_udp.c: Likewise.
2714         * sunrpc/rtime.c: Likewise.
2715         * sunrpc/svcauth_des.c: Likewise.
2716         * sunrpc/xdr.c: Likewise.
2717         * sunrpc/xdr_intXX_t.c: Likewise.
2718         * sunrpc/xdr_rec.c: Likewise.
2719         * sysdeps/generic/ldconfig.h: Likewise.
2720         * sysdeps/generic/ldsodefs.h: Likewise.
2721         * sysdeps/generic/memusage.h: Likewise.
2722         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2723         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2724         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2725         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2726         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2727         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2728         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2729         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2730         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2731         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2732         * sysdeps/posix/getaddrinfo.c: Likewise.
2733         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2734         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2735         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2736         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2737         * sysdeps/powerpc/test-gettimebase.c: Likewise.
2738         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2739         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2740         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2741         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2742         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2743         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2744         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2745         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2746         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2747         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2748         * sysdeps/x86_64/dl-tls.h: Likewise.
2749         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2750         * time/alt_digit.c: Likewise.
2751         * time/era.c: Likewise.
2752         * wcsmbs/tst-c16c32-1.c: Likewise.
2754 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2756         * math/libm-test.inc (struct test_sincos_data): New type.
2757         (RUN_TEST_LOOP_sincos): New macro.
2758         (sincos_test_data): New variable.
2759         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2761 2013-05-16  Richard Henderson  <rth@redhat.com>
2763         * math/atest-exp2.c (LIMB64): New macro.
2764         (CONSTSZ): New macro.
2765         (mp_exp1, mp_exp_m1, mp_log2): New variables.
2766         (hexdig): Move ...
2767         (print_mpn_fp): ... to function scope.
2768         (read_mpn_hex): Remove.
2769         (get_log2): Remove.
2770         (exp2_mpn): Use mp_log2.
2771         (main): Use mp_exp1.
2773 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2775         * math/libm-test.inc: Remove comment about not testing "inexact"
2776         exceptions.
2777         (INEXACT_EXCEPTION): New macro.
2778         (NO_INEXACT_EXCEPTION): Likewise.
2779         (INVALID_EXCEPTION_OK): Update value.
2780         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2781         (OVERFLOW_EXCEPTION_OK): Likewise.
2782         (UNDERFLOW_EXCEPTION_OK): Likewise.
2783         (IGNORE_ZERO_INF_SIGN): Likewise.
2784         (ERRNO_UNCHANGED): Likewise.
2785         (ERRNO_EDOM): Likewise.
2786         (ERRNO_ERANGE): Likewise.
2787         (test_exceptions): Handle testing "inexact" exceptions.
2788         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2789         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2790         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2791         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2792         INEXACT_EXCEPTION.
2793         (rint_towardzero_test_data): Likewise.
2794         (rint_downward_test_data): Likewise.
2795         (rint_upward_test_data): Likewise.
2797         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2798         with OVERFLOW_EXCEPTION.
2799         (exp10_test_data): Likewise.
2800         (exp2_test_data): Likewise.
2801         (expm1_test_data): Likewise.
2802         (lgamma_test_data): Likewise.
2803         (pow_test_data): Likewise.
2804         (tgamma_test_data): Likewise.
2805         (yn_test_data): Remove duplicate test of overflow.
2807         * math/libm-test.inc (struct test_cc_c_data): New type.
2808         (RUN_TEST_LOOP_cc_c): New macro.
2809         (cpow_test_data): New variable.
2810         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2812         * math/libm-test.inc (struct test_f_L_data): New type.
2813         (RUN_TEST_LOOP_f_L): New macro.
2814         (llrint_test_data): New variable.
2815         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2816         (llrint_tonearest_test_data): New variable.
2817         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2818         (llrint_towardzero_test_data): New variable.
2819         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2820         (llrint_downward_test_data): New variable.
2821         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2822         (llrint_upward_test_data): New variable.
2823         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2824         (llround_test_data): New variable.
2825         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2827 2013-05-13  Peter Collingbourne  <pcc@google.com>
2829         * math/atest-exp2.c (get_log2): Remove const attribute.
2831 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
2833         * math/libm-test.inc (struct test_f_l_data): New type.
2834         (RUN_TEST_LOOP_f_l): New macro.
2835         (lrint_test_data): New variable.
2836         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2837         (lrint_tonearest_test_data): New variable.
2838         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2839         (lrint_towardzero_test_data): New variable.
2840         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2841         (lrint_downward_test_data): New variable.
2842         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2843         (lrint_upward_test_data): New variable.
2844         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2845         (lround_test_data): New variable.
2846         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2848 2013-05-15  Peter Collingbourne  <pcc@google.com>
2850         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2851         (EXTRACT_WORDS64) Use where appropriate.
2852         (INSERT_WORDS64) Likewise.
2854         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2855         constraints with x constraints.
2856         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2858         * malloc/obstack.c (_obstack_compat): Add initializer.
2860 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2862         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2863         si_trapno and add si_addr_lsb to _sifields.sigfault.
2864         (si_trapno): Remove macro.
2865         (si_addr_lsb): Define new macro.
2866         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2868 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
2870         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2871         instead of TEST_f_l.
2872         (llrint_test_tonearest): Likewise.
2873         (llrint_test_towardzero): Likewise.
2874         (llrint_test_downward): Likewise.
2875         (llrint_test_upward): Likewise.
2876         (llround_test): Likewise.
2878         * math/libm-test.inc (struct test_f_i_data): Add comment.
2879         (RUN_TEST_LOOP_f_b): New macro.
2880         (RUN_TEST_LOOP_f_b_tg): Likewise.
2881         (finite_test_data): New variable.
2882         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2883         (isfinite_test_data): New variable.
2884         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2885         (isinf_test_data): New variable.
2886         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2887         (isnan_test_data): New variable.
2888         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2889         (isnormal_test_data): New variable.
2890         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2891         (issignaling_test_data): New variable.
2892         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2893         (signbit_test_data): New variable.
2894         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2896         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2897         with INVALID_EXCEPTION.
2898         (acosh_test_data): Likewise.
2899         (asin_test_data): Likewise.
2900         (atanh_test_data): Likewise.
2901         (fmod_test_data): Likewise.
2902         (log_test_data): Likewise.
2903         (log10_test_data): Likewise.
2904         (log2_test_data): Likewise.
2905         (pow_test_data): Likewise.
2906         (sqrt_test_data): Likewise.
2907         (y0_test_data): Likewise.
2908         (y1_test_data): Likewise.
2909         (yn_test_data): Likewise.
2911         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2912         function contents.
2914         * math/libm-test.inc (struct test_ff_i_data): New type.
2915         (RUN_TEST_LOOP_ff_i_tg): New macro.
2916         (isgreater_test_data): New variable.
2917         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2918         (isgreaterequal_test_data): New variable.
2919         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2920         (isless_test_data): New variable.
2921         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2922         (islessequal_test_data): New variable.
2923         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2924         (islessgreater_test_data): New variable.
2925         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2926         (isunordered_test_data): New variable.
2927         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2929 2013-05-14  David S. Miller  <davem@davemloft.net>
2931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2933 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
2935         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2937         * math/libm-test.inc (struct test_fF_f1_data): Change type of
2938         extra_test to int.
2939         (struct test_f_i_data): Change type of max_ulp to int.
2941         * math/libm-test.inc (test_ffI_f1_data): New type.
2942         (RUN_TEST_LOOP_ffI_f1): New macro.
2943         (remquo_test_data): New variable.
2944         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2946         * setjmp/tst-setjmp-fp.c: New file.
2947         * setjmp/Makefile (tests): Add tst-setjmp-fp.
2948         (link-libm): New variable.
2949         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2951         * math/libm-test.inc (struct test_f_i_data): New type.
2952         (RUN_TEST_LOOP_f_i): New macro.
2953         (RUN_TEST_LOOP_f_i_tg): Likewise.
2954         (fpclassify_test_data): New variable.
2955         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2956         (ilogb_test_data): New variable.
2957         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2959         * math/libm-test.inc (scalbln_test): Correct function name in END
2960         call.
2962         * math/libm-test.inc (struct test_f_f1_data): Add comment.
2963         (RUN_TEST_LOOP_fI_f1): New macro.
2964         (frexp_test_data): New variable.
2965         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2967         * math/libm-test.inc (struct test_fF_f1_data): New type.
2968         (RUN_TEST_LOOP_fF_f1): New macro.
2969         (modf_test_data): New variable.
2970         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2972         * math/libm-test.inc (struct test_f_f1_data): New type.
2973         (RUN_TEST_LOOP_f_f1): New macro.
2974         (gamma_test_data): New variable.
2975         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2976         (lgamma_test_data): New variable.
2977         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2979 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
2981         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2982         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2983         (main): Comment "tls" pseudo-hwcap.
2985 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
2987         * math/libm-test.inc (struct test_fl_f_data): New type.
2988         (RUN_TEST_LOOP_fl_f): New variable.
2989         (scalbln_test_data): New variable.
2990         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2992         * math/libm-test.inc (struct test_fi_f_data): New type.
2993         (RUN_TEST_LOOP_fi_f): New macro.
2994         (ldexp_test_data): New variable.
2995         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2996         (scalbn_test_data): New variable.
2997         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2999         * math/libm-test.inc (struct test_c_f_data): New type.
3000         (RUN_TEST_LOOP_c_f): New macro.
3001         (cabs_test_data): New variable.
3002         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3003         (carg_test_data): New variable.
3004         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3005         (cimag_test_data): New variable.
3006         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3007         (creal_test_data): New variable.
3008         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3010         * math/libm-test.inc (struct test_if_f_data): New type.
3011         (RUN_TEST_LOOP_if_f): New macro.
3012         (jn_test_data): New variable.
3013         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3014         (yn_test_data): New variable.
3015         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3017         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3019 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3021         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3022         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3024 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3026         * benchtests/Makefile (CPPFLAGS-nonlib): Add
3027         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3028         (bench-deps): Add bench-timing.h.
3029         * benchtests-bench-skeleton.c: Include bench-timing.h.
3030         (main): Use TIMING_* macros instead of clock_gettime.
3031         * benchtests/bench-timing.h: New file.
3033         [BZ #14582]
3034         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3035         Renamed from _LIB_VERSION.
3036         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3038 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
3040         * math/libm-test.inc (struct test_fff_f_data): New type.
3041         (RUN_TEST_LOOP_fff_f): New macro.
3042         (fma_test_data): New variable.
3043         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3044         (fma_towardzero_test_data): New variable.
3045         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3046         (fma_downward_test_data): New variable.
3047         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3048         (fma_upward_test_data): New variable.
3049         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3051         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3052         (struct test_c_c_data): New type.
3053         (RUN_TEST_LOOP_c_c): New macro.
3054         (cacos_test_data): New variable.
3055         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3056         (cacosh_test_data): New variable.
3057         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3058         (casin_test_data): New variable.
3059         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3060         (casinh_test_data): New variable.
3061         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3062         (catan_test_data): New variable.
3063         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3064         (catanh_test_data): New variable.
3065         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3066         (ccos_test_data): New variable.
3067         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3068         (ccosh_test_data): New variable.
3069         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3070         (cexp_test_data): New variable.
3071         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3072         (clog_test_data): New variable.
3073         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3074         (clog10_test_data): New variable.
3075         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3076         (conj_test_data): New variable.
3077         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3078         (cproj_test_data): New variable.
3079         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3080         (csin_test_data): New variable.
3081         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3082         (csinh_test_data): New variable.
3083         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3084         (csqrt_test_data): New variable.
3085         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3086         (ctan_test_data): New variable.
3087         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3088         (ctan_tonearest_test_data): New variable.
3089         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3090         (ctan_towardzero_test_data): New variable.
3091         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3092         (ctan_downward_test_data): New variable.
3093         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3094         (ctan_upward_test_data): New variable.
3095         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3096         (ctanh_test_data): New variable.
3097         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3098         (ctanh_tonearest_test_data): New variable.
3099         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3100         (ctanh_towardzero_test_data): New variable.
3101         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3102         (ctanh_downward_test_data): New variable.
3103         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3104         (ctanh_upward_test_data): New variable.
3105         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3106         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3107         of BUILD_COMPLEX.
3109         * math/libm-test.inc (struct test_ff_f_data): New type.
3110         (struct test_ff_f_data_nexttoward): Likewise.
3111         (RUN_TEST_LOOP_2_f): New macro.
3112         (RUN_TEST_LOOP_ff_f): Likewise.
3113         (atan2_test_data): New variable.
3114         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3115         (copysign_test_data): New variable.
3116         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3117         (fdim_test_data): New variable.
3118         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3119         (fmax_test_data): New variable.
3120         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3121         (fmin_test_data): New variable.
3122         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3123         (fmod_test_data): New variable.
3124         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3125         (hypot_test_data): New variable.
3126         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3127         (nextafter_test_data): New variable.
3128         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3129         (nexttoward_test_data): New variable.
3130         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3131         (pow_test_data): New variable.
3132         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3133         (pow_tonearest_test_data): New variable.
3134         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3135         (pow_towardzero_test_data): New variable.
3136         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3137         (pow_downward_test_data): New variable.
3138         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3139         (pow_upward_test_data): New variable.
3140         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3141         (remainder_test_data): New variable.
3142         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3143         (scalb_test_data): New variable.
3144         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3145         * sysdeps/i386/fpu/libm-test-ulps: Update.
3147 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
3149         * math/libm-test.inc (fma_test): Use max_value instead of local
3150         variable fltmax.
3151         (nextafter_test): Likewise.
3153         * math/libm-test.inc (acos_towardzero_test_data): New variable.
3154         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3155         (acos_downward_test_data): New variable.
3156         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3157         (acos_upward_test_data): New variable.
3158         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3159         (acosh_test_data): New variable.
3160         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3161         (asin_test_data): New variable.
3162         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3163         (asin_tonearest_test_data): New variable.
3164         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3165         (asin_towardzero_test_data): New variable.
3166         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3167         (asin_downward_test_data): New variable.
3168         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3169         (asin_upward_test_data): New variable.
3170         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3171         (asinh_test_data): New variable.
3172         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3173         (atan_test_data): New variable.
3174         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3175         (atanh_test_data): New variable.
3176         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3177         (cbrt_test_data): New variable.
3178         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3179         (ceil_test_data): New variable.
3180         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3181         (cos_test_data): New variable.
3182         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3183         (cos_tonearest_test_data): New variable.
3184         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3185         (cos_towardzero_test_data): New variable.
3186         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3187         (cos_downward_test_data): New variable.
3188         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3189         (cos_upward_test_data): New variable.
3190         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3191         (cosh_test_data): New variable.
3192         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3193         (cosh_tonearest_test_data): New variable.
3194         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3195         (cosh_towardzero_test_data): New variable.
3196         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3197         (cosh_downward_test_data): New variable.
3198         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3199         (cosh_upward_test_data): New variable.
3200         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3201         (erf_test_data): New variable.
3202         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3203         (erfc_test_data): New variable.
3204         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3205         (exp_test_data): New variable.
3206         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3207         (exp_tonearest_test_data): New variable.
3208         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3209         (exp_towardzero_test_data): New variable.
3210         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3211         (exp_downward_test_data): New variable.
3212         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3213         (exp_upward_test_data): New variable.
3214         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3215         (exp10_test_data): New variable.
3216         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3217         (exp2_test_data): New variable.
3218         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3219         (expm1_test_data): New variable.
3220         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3221         (fabs_test_data): New variable.
3222         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3223         (floor_test_data): New variable.
3224         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3225         (j0_test_data): New variable.
3226         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3227         (j1_test_data): New variable.
3228         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3229         (log_test_data): New variable.
3230         (log_test): Run tests with RUN_TEST_LOOP_f_f.
3231         (log10_test_data): New variable.
3232         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3233         (log1p_test_data): New variable.
3234         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3235         (log2_test_data): New variable.
3236         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3237         (logb_test_data): New variable.
3238         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3239         (logb_downward_test_data): New variable.
3240         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3241         (nearbyint_test_data): New variable.
3242         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3243         (rint_test_data): New variable.
3244         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3245         (rint_tonearest_test_data): New variable.
3246         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3247         (rint_towardzero_test_data): New variable.
3248         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3249         (rint_downward_test_data): New variable.
3250         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3251         (rint_upward_test_data): New variable.
3252         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3253         (round_test_data): New variable.
3254         (round_test): Run tests with RUN_TEST_LOOP_f_f.
3255         (sin_test_data): New variable.
3256         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3257         (sin_tonearest_test_data): New variable.
3258         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3259         (sin_towardzero_test_data): New variable.
3260         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3261         (sin_downward_test_data): New variable.
3262         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3263         (sin_upward_test_data): New variable.
3264         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3265         (sinh_test_data): New variable.
3266         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3267         (sinh_tonearest_test_data): New variable.
3268         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3269         (sinh_towardzero_test_data): New variable.
3270         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3271         (sinh_downward_test_data): New variable.
3272         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3273         (sinh_upward_test_data): New variable.
3274         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3275         (sqrt_test_data): New variable.
3276         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3277         (tan_test_data): New variable.
3278         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3279         (tan_tonearest_test_data): New variable.
3280         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3281         (tan_towardzero_test_data): New variable.
3282         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3283         (tan_downward_test_data): New variable.
3284         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3285         (tan_upward_test_data): New variable.
3286         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3287         (tanh_test_data): New variable.
3288         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3289         (tgamma_test_data): New variable.
3290         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3291         (trunc_test_data): New variable.
3292         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3293         (y0_test_data): New variable.
3294         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3295         (y1_test_data): New variable.
3296         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3297         (significand_test_data): New variable.
3298         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3300 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
3302         [BZ #12387]
3303         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3305 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3307         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3309 2013-05-10  Andreas Jaeger  <aj@suse.de>
3311         [BZ #15448]
3312         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3313         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3315 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
3317         * math/gen-libm-test.pl (adjust_arg): New function.
3318         (special_functions): Handle generating output in both functions
3319         and arrays.
3320         (parse_args): Likewise.
3321         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
3322         $in_func argument to parse_args.
3323         * math/libm-test.inc (struct test_f_f_data): New type.
3324         (IF_ROUND_INIT_): New macro.
3325         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3326         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3327         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3328         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3329         (ROUND_RESTORE_): Likewise.
3330         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3331         (ROUND_RESTORE_FE_TONEAREST): Likewise.
3332         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3333         (ROUND_RESTORE_FE_UPWARD): Likewise.
3334         (RUN_TEST_LOOP_f_f): New macro.
3335         (acos_test_data): New variable.
3336         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3337         (acos_tonearest_test_data): New variable.
3338         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3340 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3342         * benchtests/bench-skeleton.c (startup): Fix coding style.
3344 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
3346         [BZ #6809]
3347         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3348         negative infinity argument.
3349         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3350         negative infinity argument.
3351         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3352         negative infinity argument.
3353         * math/libm-test.inc (tgamma_test): Expect errno to be set for
3354         domain errors.
3356 2013-05-10  Florian Weimer  <fweimer@redhat.com>
3358         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3359         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3360         * iconv/iconv_prog.c (main): Likewise.
3361         * locale/programs/charmap-dir.c (charmap_readdir)
3362         (fopen_uncompressed): Likewise.
3363         * locale/programs/locfile.c (siblings_uncached)
3364         (write_locale_data): Use lstat64 instead of lstat.
3365         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3366         stat.
3368 2013-05-10  Andreas Jaeger  <aj@suse.de>
3370         [BZ #15395]
3371         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3372         localization.
3373         Include <locale.h>.
3375 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
3377         * elf/dl-close.c (_dl_close_worker): Add comments.
3379 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
3381         [BZ #15359]
3382         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3383         high part of pi/2.
3384         (__ieee754_rem_pio2l): Update comments.
3386         [BZ #15429]
3387         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3388         high part of pi/2.
3389         (__ieee754_rem_pio2l): Update comments.
3391         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3392         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3394         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3395         M_PI_4l.
3397         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3398         (M_PI_34_LOG10El): Likewise.
3399         (M_PI2_LOG10El): Likewise.
3400         (M_PI4_LOG10El): Likewise.
3401         (M_PI_LOG10El): Likewise.
3403 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3407 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
3409         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3410         (MINUS_ZERO_INIT): Likewise.
3411         (PLUS_INFTY_INIT): Likewise.
3412         (MINUS_INFTY_INIT): Likewise.
3413         (QNAN_VALUE_INIT): Likewise.
3414         (MAX_VALUE_INIT): Likewise.
3415         (MIN_VALUE_INIT): Likewise.
3416         (MIN_SUBNORM_VALUE_INIT): Likewise.
3417         (plus_zero): Initialize with PLUS_ZERO_INIT.
3418         (minus_zero): Initialize with MINUS_ZERO_INIT.
3419         (plus_infty): Initialize with PLUS_INFTY_INIT.
3420         (minus_infty): Initialize with MINUS_INFTY_INIT.
3421         (qnan_value): Initialize with QNAN_VALUE_INIT.
3422         (max_value): Initialize with MAX_VALUE_INIT.
3423         (min_value): Initialize with MIN_VALUE_INIT.
3424         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3426         * math/libm-test.inc (RUN_TEST_if_f): New macro.
3427         (jn_test): Use TEST_if_f instead of TEST_ff_f.
3428         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3429         (yn_test): Use TEST_if_f instead of TEST_ff_f.
3431         * math/libm-test.inc (RUN_TEST_f_f): New macro.
3432         (RUN_TEST_2_f): Likewise.
3433         (RUN_TEST_ff_f): Likewise.
3434         (RUN_TEST_fi_f): Likewise.
3435         (RUN_TEST_fl_f): Likewise.
3436         (RUN_TEST_fff_f): Likewise.
3437         (RUN_TEST_c_f): Likewise.
3438         (RUN_TEST_f_f1): Likewise.
3439         (RUN_TEST_fF_f1): Likewise.
3440         (RUN_TEST_fI_f1): Likewise.
3441         (RUN_TEST_ffI_f1): Likewise.
3442         (RUN_TEST_c_c): Likewise.
3443         (RUN_TEST_cc_c): Likewise.
3444         (RUN_TEST_f_i): Likewise.
3445         (RUN_TEST_f_i_tg): Likewise.
3446         (RUN_TEST_ff_i_tg): Likewise.
3447         (RUN_TEST_f_b): Likewise.
3448         (RUN_TEST_f_b_tg): Likewise.
3449         (RUN_TEST_f_l): Likewise.
3450         (RUN_TEST_f_L): Likewise.
3451         (RUN_TEST_sincos): Likewise.
3452         * math/gen-libm-test.pl (new_test): Take new argument to indicate
3453         whether to show exceptions.  Do not include ");\n" in return
3454         value.
3455         (special_functions): Output call to RUN_TEST_sincos instead of
3456         check_float calls.  Update calls to new_test.
3457         (parse_args): Output call to single RUN_TEST_* macro instead of
3458         check_* calls and other assignments.  Update calls to new_test.
3460         [BZ #2546]
3461         [BZ #2560]
3462         [BZ #5159]
3463         [BZ #15426]
3464         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3465         input to result for tgamma overflow.
3466         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3467         (gamma_coeff): New variable.
3468         (NCOEFF): New macro.
3469         (gamma_positive): New function.
3470         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3471         underflow here.  Use gamma_positive instead of exp (lgamma) for
3472         other arguments.
3473         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3474         (gamma_coeff): New variable.
3475         (NCOEFF): New macro.
3476         (gammaf_positive): New function.
3477         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3478         underflow here.  Use gamma_positive instead of exp (lgamma) for
3479         other arguments.
3480         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3481         (gamma_coeff): New variable.
3482         (NCOEFF): New macro.
3483         (gammal_positive): New function.
3484         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3485         underflow here.  Use gamma_positive instead of exp (lgamma) for
3486         other arguments.
3487         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3488         (gamma_coeff): New variable.
3489         (NCOEFF): New macro.
3490         (gammal_positive): New function.
3491         (__ieee754_gammal_r): Handle positive infinity, overflow and
3492         underflow here.  Handle NaN the same as positive infinity.  Remove
3493         check x < 0xffffffff for negative integers.  Use gamma_positive
3494         instead of exp (lgamma) for other arguments.
3495         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3496         (gamma_coeff): New variable.
3497         (NCOEFF): New macro.
3498         (gammal_positive): New function.
3499         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3500         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3501         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3502         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3503         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3504         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3505         * sysdeps/generic/math_private.h (__gamma_productf): New
3506         prototype.
3507         (__gamma_product): Likewise.
3508         (__gamma_productl): Likewise.
3509         * math/Makefile (libm-calls): Add gamma_product.
3510         * math/libm-test.inc (tgamma_test): Add more tests.
3511         * sysdeps/i386/fpu/libm-test-ulps: Update.
3512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3514 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
3516         * benchtests/bench-skeleton.c (main): Preheat CPU.
3518 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
3520         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3522 2013-05-07  Roland McGrath  <roland@hack.frob.com>
3524         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3525         and _dl_skip_args_internal.
3527 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
3529         * manual/message.texi (Message Translation): Talk about users.
3530         Message to key mapping impacts design.
3532 2013-05-06  Roland McGrath  <roland@hack.frob.com>
3534         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3536         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3538         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3539         * sysdeps/wordsize-64/glob64.c: ... here.
3541         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3542         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3543         New macros.
3545         * debug/getlogin_r_chk.c: Moved to ...
3546         * login/getlogin_r_chk.c: ... here.
3547         * debug/Makefile (routines): Move getlogin_r_chk to ...
3548         * login/Makefile (routines): ... here.
3549         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3550         * login/Versions (libc: GLIBC_2.4): ... here.
3552         * io/poll.c (__poll): Renamed from poll.
3553         Add libc_hidden_def.
3554         (poll): Define as weak alias.
3556         * debug/ptsname_r_chk.c: Moved to ...
3557         * login/ptsname_r_chk.c: ... here.
3558         * debug/Makefile (routines): Move ptsname_r_chk to ...
3559         * login/Makefile (routines): ... here.
3560         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3561         * login/Versions (libc: GLIBC_2.4): ... here.
3563         * posix/getlogin.c: Moved to ...
3564         * login/getlogin.c: ... here.
3565         * posix/getlogin_r.c: Moved to ...
3566         * login/getlogin_r.c: ... here.
3567         * posix/getlogin_r.c: Moved to ...
3568         * login/getlogin_r.c: ... here.
3569         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3570         * login/Makefile (routines): ... here.
3571         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3572         * login/Versions (libc: GLIBC_2.0): ... here.
3574         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3575         (setrlimit): Define as weak alias.
3577         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3578         Call __ names for open, ftruncate, and close.
3579         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3580         (truncate): Define as weak alias.
3582 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
3584         * math/gen-libm-test.pl (parse_args): Initialize x before each
3585         test of frexp, modf and remquo.
3587         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3588         test signgam value.
3590 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3592         [BZ #15418]
3593         [BZ #15419]
3594         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3595         internal tests.
3596         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3598 2013-05-06  Roland McGrath  <roland@hack.frob.com>
3600         * elf/dl-writev.h: New file.
3601         * elf/dl-misc.c: Include it.
3602         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3603         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3605 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
3607         * math/libm-test.inc (noXFails): Remove variable.
3608         (noXPasses): Likewise.
3609         (BUILD_COMPLEX_INT): Remove macro.
3610         (print_screen): Remove xfail argument.
3611         (print_screen_max_error): Likewise.
3612         (update_stats): Likewise.
3613         (print_max_error): Likewise.  Update calls to other affected
3614         functions.
3615         (print_complex_max_error): Likewise.
3616         (test_single_exception): Update calls to print_screen.
3617         (test_single_errno): Likewise.
3618         (check_float_internal): Remove xfail argument.  Update calls to
3619         other affected functions.
3620         (check_float): Likewise.
3621         (check_complex): Likewise.
3622         (check_int): Likewise.
3623         (check_long): Likewise.
3624         (check_bool): Likewise.
3625         (check_longlong): Likewise.
3626         (main): Don't print noXFails and noXPasses.
3627         * math/gen-libm-test.pl (top level): Don't mention expected
3628         failure handling in comment.
3629         (new_test): Don't handle expected failures.
3630         (parse_args): Don't mention expected failure handling in comment.
3631         (generate_testfile): Don't handle expected failures.
3632         (parse_ulps): Likewise.
3633         (print_ulps_file): Likewise.
3634         (get_failure): Remove function.
3635         (output_test): Don't handle expected failures.
3636         * make/README.libm-test: Don't mention expected failure handling.
3638         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
3639         (minus_zero): Likewise.
3640         (plus_infty): Likewise.
3641         (minus_infty): Likewise.
3642         (qnan_value): Likewise.
3643         (max_value): Likewise.
3644         (min_value): Likewise.
3645         (min_subnorm_value): Likewise.
3646         (initialize): Do not initialize those variables dynamically.
3648 2013-05-03  Roland McGrath  <roland@hack.frob.com>
3650         * io/open.c (__open_2): Moved to ...
3651         * io/open_2.c: ... this new file.
3652         * io/open64.c (__open64_2): Moved to ...
3653         * io/open64_2.c: ... this new file.
3654         * io/openat.c (__openat_2): Moved to ...
3655         * io/openat_2.c: ... this new file.
3656         * io/openat64.c (__openat64_2): Moved to ...
3657         * io/openat64_2.c: ... this new file.
3658         * io/Makefile (routines): Add them.
3659         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3660         * sysdeps/unix/sysv/linux/open_2.c: File removed.
3661         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3662         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3663         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3664         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3665         (__openat64): Add hidden_ver.
3666         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3667         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3669         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3670         Separately conditionalize setting of GLRO(dl_sysinfo) so
3671         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3672         as well, but the actual setting is only under [NEED_DL_SYSINFO].
3674 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3676         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3677         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3678         definition.
3679         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3680         * sysdeps/unix/sysv/linux/powerpc/init-first.c
3681         (_libc_vdso_platform_setup): Add __vdso_time initialization.
3682         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3683         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3685 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
3687         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3688         test signgam value.
3690         * math/libm-test.inc (hypot_test): Do not use
3691         IGNORE_ZERO_INF_SIGN.
3693 2013-05-03  Andreas Jaeger  <aj@suse.de>
3695         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3696         Linux 3.9.
3697         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3698         (PF_MAX): Adjust for VSOCK change.
3700 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3704 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
3706         [BZ #15264]
3707         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3708         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3709         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3711 2013-05-02  David S. Miller  <davem@davemloft.net>
3713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3715 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
3717         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3719 2013-05-01  Roland McGrath  <roland@hack.frob.com>
3721         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3723 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
3725         [BZ #14952]
3726         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3727         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3728         Use __attribute__ ((__gnu_inline__)).
3729         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3730         Don't use __attribute__ ((__gnu_inline__)).
3732 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
3734         [BZ #15423]
3735         * math/s_catan.c (__catan): Handle small real or imaginary part of
3736         input specially to avoid spurious underflow.
3737         * math/s_catanf.c (__catanf): Likewise.
3738         * math/s_catanh.c (__catanh): Likewise.
3739         * math/s_catanhf.c (__catanhf): Likewise.
3740         * math/s_catanhl.c (__catanhl): Likewise.
3741         * math/s_catanl.c (__catanl): Likewise.
3742         * math/libm-test.inc (catan_test): Add more tests.
3743         (catanh_test): Likewise.
3744         * sysdeps/i386/fpu/libm-test-ulps: Update.
3745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3747 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3749         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3751 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
3753         [BZ #15416]
3754         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3755         accurately for denominator in atan2.
3756         * math/s_catanf.c (__catanf): Likewise.
3757         * math/s_catanh.c (__catanh): Likewise.
3758         * math/s_catanhf.c (__catanhf): Likewise.
3759         * math/s_catanhl.c (__catanhl): Likewise.
3760         * math/s_catanl.c (__catanl): Likewise.
3761         * math/libm-test.inc (catan_test): Add more tests.
3762         (catanh_test): Likewise.
3763         * sysdeps/i386/fpu/libm-test-ulps: Update.
3764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3766 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3768         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3770         * benchtests/Makefile (bench): Remove slow benchmarks.
3771         * benchtests/atan-inputs: Add slow benchmark inputs.
3772         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3773         (BENCH_FUNC): Accept variant offset.
3774         (VARIANT): Define.
3775         * benchtests/bench-skeleton.c (main): Run benchmark for each
3776         variant.
3777         * benchtests/cos-inputs: Add slow benchmark inputs.
3778         * benchtests/exp-inputs: Likewise.
3779         * benchtests/pow-inputs: Likewise.
3780         * benchtests/sin-inputs: Likewise.
3781         * benchtests/slowatan-inputs: Remove.
3782         * benchtests/slowatan.c: Remove.
3783         * benchtests/slowcos-inputs: Remove.
3784         * benchtests/slowcos.c: Remove.
3785         * benchtests/slowexp-inputs: Remove.
3786         * benchtests/slowexp.c: Remove.
3787         * benchtests/slowpow-inputs: Remove.
3788         * benchtests/slowpow.c: Remove.
3789         * benchtests/slowsin-inputs: Remove.
3790         * benchtests/slowsin.c: Remove.
3791         * benchtests/slowtan-inputs: Remove.
3792         * benchtests/slowtan.c: Remove.
3793         * benchtests/tan-inputs: Add slow benchmark inputs.
3794         * scripts/bench.pl: Parse comments and directives.
3796         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
3797         in CPPFLAGS.
3798         ($(objpfx)bench-%.c): Remove *-ITER.
3799         * benchtests/bench-modf.c: Remove definition of ITER.
3800         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3801         (main): Loop for DURATION seconds instead of fixed number of
3802         iterations.
3803         * scripts/bench.pl: Don't expect iterations in parameters.
3805 2013-04-29  Roland McGrath  <roland@hack.frob.com>
3807         * io/fchdir.c (__fchdir): Renamed from fchdir.
3808         (fchdir): Define as weak alias.
3810 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
3812         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3813         (ERRNO_EDOM): Likewise.
3814         (ERRNO_ERANGE): Likewise.
3815         (noErrnoTests): New variable.
3816         (init_max_error): Set errno to 0.
3817         (test_single_errno): New function.
3818         (test_errno): Likewise.
3819         (check_float_internal): Call test_errno.  Set errno to 0.
3820         (check_complex): Refer to errno tests in comment.
3821         (check_int): Call test_errno.  Set errno to 0.
3822         (check_long): Likewise.
3823         (check_bool): Likewise.
3824         (check_longlong): Likewise.
3825         (cos_test): Use ERRNO_* flags for errno tests instead of
3826         check_int.
3827         (expm1_test): Likewise.
3828         (fmod_test): Likewise.
3829         (ilogb_test): Likewise.
3830         (lgamma_test): Likewise.
3831         (pow_test): Likewise.
3832         (remainder_test): Likewise.
3833         (sin_test): Likewise.
3834         (tan_test): Likewise.
3835         (yn_test): Likewise.
3836         (initialize): Set errno to 0.
3837         (main): Print number of errno tests.
3838         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3840 2013-04-29  Andreas Jaeger  <aj@suse.de>
3842         [BZ #15084]
3843         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3844         and RES_USEVC.
3846         [BZ #15085]
3847         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3848         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3849         unimplemented.
3851         [BZ #15380]
3852         * stdlib/random.c (__initstate): Return NULL if
3853         __initstate fails.
3855         [BZ #15086]
3856         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3857         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3858         RES_SNGLKUPREOP.
3860 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3864 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
3866         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3867         of individual tests.
3868         (casin_test): Likewise.
3869         (casinh_test): Likewise.
3871 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
3873         [BZ #15409]
3874         * math/s_catan.c (__catan): Handle arguments with large real or
3875         imaginary part separately without squaring.
3876         * math/s_catanf.c (__catanf): Likewise.
3877         * math/s_catanh.c (__catanh): Likewise.
3878         * math/s_catanhf.c (__catanhf): Likewise.
3879         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3880         and redefine.
3881         (__catanhl): Handle arguments with large real or imaginary part
3882         separately without squaring.
3883         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3884         and redefine.
3885         (__catanl): Handle arguments with large real or imaginary part
3886         separately without squaring.
3887         * math/libm-test.inc (catan_test): Add more tests.
3888         (catanh_test): Likewise.
3889         * sysdeps/i386/fpu/libm-test-ulps: Update.
3890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3892 2013-04-27  Andreas Jaeger  <aj@suse.de>
3894         [BZ #15007]
3895         * stdlib/stdlib.h: Update guards for qecvt.
3896         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3897         <stdlib.h>.
3899 2013-04-27  Allan McRae  <allan@archlinux.org>
3901         * sysdeps/i386/fpu/libm-test-ulps: Update.
3903 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
3905         [BZ #15406]
3906         * math/s_catan.c: Include <float.h>.
3907         (__catan): Ensure underflow exception occurs for underflowed
3908         result.
3909         * math/s_catanf.c: Include <float.h>.
3910         (__catanf): Ensure underflow exception occurs for underflowed
3911         result.
3912         * math/s_catanh.c: Include <float.h>.
3913         (__catanh): Ensure underflow exception occurs for underflowed
3914         result.
3915         * math/s_catanhf.c: Include <float.h>.
3916         (__catanhf): Ensure underflow exception occurs for underflowed
3917         result.
3918         * math/s_catanhl.c: Include <float.h>.
3919         (__catanhl): Ensure underflow exception occurs for underflowed
3920         result.
3921         * math/s_catanl.c: Include <float.h>.
3922         (__catanl): Ensure underflow exception occurs for underflowed
3923         result.
3924         * math/libm-test.inc (catan_test): Add more tests.
3925         (catanh_test): Likewise.
3927         [BZ #15405]
3928         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3929         underflowed result.
3930         * math/s_ccoshf.c (__ccoshf): Likewise.
3931         * math/s_ccoshl.c (__ccoshl): Likewise.
3932         * math/s_csin.c (__csin): Likewise.
3933         * math/s_csinf.c (__csinf): Likewise.
3934         * math/s_csinh.c (__csinh): Likewise.
3935         * math/s_csinhf.c (__csinhf): Likewise.
3936         * math/s_csinhl.c (__csinhl): Likewise.
3937         * math/s_csinl.c (__csinl): Likewise.
3938         * math/libm-test.inc (ccos_test): Add more tests.
3939         (ccosh_test): Likewise.
3940         (csin_test): Likewise.
3941         (csinh_test): Likewise.
3943 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3945         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3946         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3947         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3948         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3949         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3950         powerpc/power5+/fpu folders.
3951         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3954 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
3956         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3958 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
3960         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3961         additions to variable.
3962         [$(config-machine) = x86_64] (modules-names): Likewise.
3963         ($(objpfx)tst-audit3): Remove dependency.
3964         ($(objpfx)tst-audit3.out): Likewise.
3965         ($(objpfx)tst-audit4): Likewise.
3966         ($(objpfx)tst-audit4.out): Likewise.
3967         ($(objpfx)tst-audit5): Likewise.
3968         ($(objpfx)tst-audit5.out): Likewise.
3969         ($(objpfx)tst-audit6): Likewise.
3970         ($(objpfx)tst-audit6.out): Likewise.
3971         ($(objpfx)tst-audit7): Likewise.
3972         ($(objpfx)tst-audit7.out): Likewise.
3973         (tst-audit3-ENV): Remove variable.
3974         (tst-audit4-ENV): Likewise.
3975         (tst-audit5-ENV): Likewise.
3976         (tst-audit6-ENV): Likewise.
3977         (tst-audit7-ENV): Likewise.
3978         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3979         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3980         addition to variable.
3981         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3982         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3983         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3984         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3985         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3986         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3987         tst-audit3, tst-audit4 and tst-audit5.
3988         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3989         tst-audit6 and tst-audit7.
3990         [$(subdir) = elf] (modules-names): Add audit modules for those
3991         tests.
3992         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3993         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3994         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3995         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3996         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3997         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3998         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3999         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4000         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4001         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4002         [$(subdir) = elf] (tst-audit3-ENV): New variable.
4003         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4004         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4005         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4006         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4007         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4008         Likewise.
4009         [$(subdir) = elf && $(config-cflags-avx) = yes]
4010         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4011         [$(subdir) = elf && $(config-cflags-avx) = yes]
4012         (CFLAGS-tst-auditmod4a.c): Likewise.
4013         [$(subdir) = elf && $(config-cflags-avx) = yes]
4014         (CFLAGS-tst-auditmod4b.c): Likewise.
4015         [$(subdir) = elf && $(config-cflags-avx) = yes]
4016         (CFLAGS-tst-auditmod6b.c): Likewise.
4017         [$(subdir) = elf && $(config-cflags-avx) = yes]
4018         (CFLAGS-tst-auditmod6c.c): Likewise.
4019         [$(subdir) = elf && $(config-cflags-avx) = yes]
4020         (CFLAGS-tst-auditmod7b.c): Likewise.
4021         * elf/tst-audit3.c: Move to ...
4022         * sysdeps/x86_64/tst-audit3.c: ... here.
4023         * elf/tst-audit4.c: Move to ...
4024         * sysdeps/x86_64/tst-audit4.c: ... here.
4025         * elf/tst-audit5.c: Move to ...
4026         * sysdeps/x86_64/tst-audit5.c: ... here.
4027         * elf/tst-audit6.c: Move to ...
4028         * sysdeps/x86_64/tst-audit6.c: ... here.
4029         * elf/tst-audit7.c: Move to ...
4030         * sysdeps/x86_64/tst-audit7.c: ... here.
4031         * elf/tst-auditmod3a.c: Move to ...
4032         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4033         * elf/tst-auditmod3b.c: Move to ...
4034         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4035         * elf/tst-auditmod4a.c: Move to ...
4036         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4037         * elf/tst-auditmod4b.c: Move to ...
4038         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4039         * elf/tst-auditmod5a.c: Move to ...
4040         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4041         * elf/tst-auditmod5b.c: Move to ...
4042         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4043         * elf/tst-auditmod6a.c: Move to ...
4044         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4045         * elf/tst-auditmod6b.c: Move to ...
4046         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4047         * elf/tst-auditmod6c.c: Move to ...
4048         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4049         * elf/tst-auditmod7a.c: Move to ...
4050         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4051         * elf/tst-auditmod7b.c: Move to ...
4052         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4054 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
4056         [BZ #15366]
4057         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4058         define unconditionally.
4059         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4060         define unconditionally.
4061         (INT8_C, INT16_C, etc.): Likewise.
4063 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
4065         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4066         __ehdr_start with hidden visibility.
4068         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4070 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
4072         * math/libm-test.inc (cos_test): Use accurate hex constants.
4073         (sincost_test): Likewise.
4075 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
4077         * math/libm-test.inc (catan_test): Add more tests.
4078         (catanh_test): Likewise.
4080         * math/s_catanf.c (__catanf): Use suffixed floating-point
4081         constants.
4082         * math/s_catanhf.c (__catanhf): Likewise.
4083         * math/s_catanhl.c (__catanhl): Likewise.
4084         * math/s_catanl.c (__catanl): Likewise.
4086         [BZ #15394]
4087         * math/s_catan.c (__catan): Calculate imaginary part of result
4088         with log1p not log unless computing log of number close to 0.
4089         * math/s_catanf.c (__catanf): Likewise.
4090         * math/s_catanl.c (__catanl): Likewise.
4091         * math/s_catanh.c (__catanh): Calculate real part of result with
4092         log1p not log unless computing log of number close to 0.
4093         * math/s_catanhf.c (__catanhf): Likewise.
4094         * math/s_catanhl.c (__catanhl): Likewise.
4095         * math/libm-test.inc (catan_test): Add more tests.
4096         (catanh_test): Likewise.
4097         * sysdeps/i386/fpu/libm-test-ulps: Update.
4098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4100 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4102         * benchtests/Makefile: Mention files in which fast and slow
4103         paths of math functions are implemented.
4105 2013-04-23  Roland McGrath  <roland@hack.frob.com>
4107         * sysdeps/posix/timespec_get.c: New file.
4109 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4111         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4112         POWER.
4113         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4114         for POWER.
4115         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4116         powerpc/power5/fpu folders.
4117         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4118         * benchtests/Makefile: Add modf testcase.
4119         * benchtests/bench-modf.c: New file: Benchmark test for mo
4121 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4123         [BZ #14888]
4124         * time/Makefile (tests): Add tst-strptime-whitespace.
4125         * time/strptime_l.c (get_number): Use ISSPACE.
4126         (__strptime_internal): Likewise.
4127         * time/tst-strptime-whitespace.c: New test case.
4129 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
4131         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4132         member.
4133         (_nss_files_init): Set it here.
4135 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
4137         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4138         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4139         unsigned.
4141 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
4143         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4145 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4147         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4148         size just once.
4150 2013-04-21  David S. Miller  <davem@davemloft.net>
4152         * po/ru.po: Update Russion translation from translation project.
4154 2013-04-17  Adam Conrad  <adconrad@0c3.net>
4156         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4157         and setfsgid.
4159 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
4161         * configure.in: Remove i386 configure warning. Remove i386 case.
4162         * configure: Regenerate.
4163         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
4164         Add example to error message.
4165         * sysdeps/i386/configure: Regenerate.
4167 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4169         * benchtests/Makefile (bench): Add cos, tan, slowcos and
4170         slowtan.
4171         * benchtests/cos-inputs: New file.
4172         * benchtests/slowcos-inputs: New file.
4173         * benchtests/slowcos.c: New file.
4174         * benchtests/slowtan-inputs: New file.
4175         * benchtests/slowtan.c: New file.
4176         * benchtests/tan-inputs: New file.
4178 2013-04-16  Roland McGrath  <roland@hack.frob.com>
4180         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4181         considered kosher.
4183 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4185         * benchtests/Makefile: Include cppflags-iterator.mk to add
4186         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4188         * Makefile.in (bench-clean): New target.
4189         * benchtests/Makefile (bench-clean): Likewise.
4191 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
4193         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4195 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
4197         * stdio-common/tstdiomisc.c: Fix coding-style violation.
4199 2013-04-15  Andreas Schwab  <schwab@suse.de>
4201         * nscd/grpcache.c (cache_addgr): Properly check for short write.
4202         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4203         * nscd/pwdcache.c (cache_addpw): Likewise.
4204         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
4205         more than recsize.
4207 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4209         * benchtests/Makefile (bench): Write all output to
4210         bench-out.tmp together.
4212 2013-04-15  Andreas Schwab  <schwab@suse.de>
4214         * nscd/nscd.c (main): Don't fork again after closing files.
4216 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4218         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4220         * benchtests/Rules (bench-deps): Collect dependencies into a
4221         single variable.  Add Makefile to dependencies.
4222         ($(objpfx)bench-%.c): Depend on bench-deps.
4224 2013-04-12  Roland McGrath  <roland@hack.frob.com>
4225             Xavier Roche  <roche+kml2@exalead.com>
4227         [BZ #15361]
4228         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4229         just that it's a file descriptor.
4230         * manual/llio.texi (Synchronizing AIO Operations): Update description
4231         for EBADF error from aio_fsync.
4233 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4235         * Rules (bench): Move target definition...
4236         * benchtests/Makefile: ... here.
4238 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
4240         * math/libm-test.inc (cos_test): Fix PI/2 test.
4241         (sincos_test): Likewise.
4242         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4243         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4245 2013-04-11  Andreas Schwab  <schwab@suse.de>
4247         [BZ #13988]
4248         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4249         accept exponent character only when digits were seen.
4250         * stdio-common/Makefile (tests): Add bug26.
4251         * stdio-common/bug26.c: New file.
4253         [BZ #14293]
4254         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4255         non-freeable.
4257 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4259         * Makeconfig (rtld-prefix): Define built linker prefix.
4260         * Rules (run-bench): Use it.
4261         * math/Makefile (run-regen-ulps): Likewise.
4263         * Rules (bench): Remove eval.
4265 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4266             Roland McGrath  <roland@hack.frob.com>
4267             Ondrej Bilka  <neleai@seznam.cz>
4269         [BZ #15346]
4270         * time/getdate.c: Include ctype.h and alloca.h.
4271         (__getdate_r): Trim leading and trailing spaces of input.
4272         * time/tst-getdate.c (tests): Add tests with leading and
4273         trailing spaces.
4275 2013-04-08  Roland McGrath  <roland@hack.frob.com>
4277         [BZ #14280]
4278         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4279         when computing value.
4281 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4283         * math/README.libm-test (How can I generate "libm-test-ulps"?):
4284         Use testrun.sh to run libm tests.
4286         [BZ #15309]
4287         * elf/dl-open.c (dl_open_worker): memset all of seen array.
4289 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
4291         [BZ #15264]
4292         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4294 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4296         * Makefile.in (regen-ulps): New target.
4297         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4298         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4299         [ifneq (no,$(PERL)] (regen-ulps): New target.
4300         [ifeq (no,$(PERL)] (regen-ulps): New target.
4301         * math/libm-test.inc (ulps_file_name): Define.
4302         (output_dir): New variable.
4303         (options): Add "output-dir" option.
4304         (parse_opt): Handle 'o' case.
4305         (main): If output_dir is non-NULL use it as a prefix
4306         otherwise use "".
4307         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4309 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4311         [BZ #10060, #10062]
4312         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4313         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4314         fail configure if __sync_val_compare_and_swap is not inlined.
4315         * sysdeps/i386/configure: Regenerate.
4316         * configure.in: Build for i686 when configured for i386.
4317         * configure: Regenerate.
4318         * README: Remove i386 reference.
4320 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4322         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4323         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4325 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
4327         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4328         (lmsnanval): New variables.
4329         (F): Add conversion tests.
4330         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4331         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4333         * stdio-common/tstdiomisc.c (F): Properly collect individual
4334         tests' results.
4336         [BZ #14686, #15336]
4337         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4338         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4339         Instead, use input NaN values or generate a qNaN by arithmetic
4340         operation.  Also fix bugs to comply with the standard.
4341         * math/libm-test.inc (remainder_test): Add more tests.
4343         [BZ #15335, #15342]
4344         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4345         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4346         input NaN values or generate a qNaN by arithmetic operation.
4348         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4349         unreachable code.
4351         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4352         definitions.
4354 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
4356         [BZ #14478]
4357         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4358         underflowed result.
4359         * math/s_cexpf.c (__cexpf): Likewise.
4360         * math/s_cexpl.c (__cexpl): Likewise.
4361         * math/libm-test.inc (cexp_test): Add more tests.
4363 2013-04-03  Andreas Schwab  <schwab@suse.de>
4365         [BZ #15330]
4366         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4367         order arrays from heap if bigger than alloca cutoff.
4369 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
4371         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4372         (SNAN_TESTS_double): Refer to GCC PR56831.
4373         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4374         GCC PR56828.
4376 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4378         * Rules (bench): Move bench.out after the run is complete.
4380         * Rules (bench): Echo currently running benchmark.
4382         * benchtests/Makefile (bench): Add atan and slowatan.
4383         * benchtests/atan-inputs: New file.
4384         * benchtests/slowatan-inputs: New file.
4385         * benchtests/slowatan.c: New file.
4387         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4388         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4389         its value.
4391         [BZ #15305]
4392         * sysdeps/unix/sysv/linux/kernel-features.h
4393         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4394         __ASSUME_XFS_RESTRICTED_CHOWN.
4395         * sysdeps/unix/sysv/linux/pathconf.c
4396         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4397         Save and restore errno.
4399 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
4401         [BZ #15327]
4402         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4403         arguments using __kernel_casinh.
4404         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4405         arguments using __kernel_casinhf.
4406         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4407         arguments using __kernel_casinhl.
4408         * math/libm-test.inc (cacosh_test): Add more tests.
4409         * sysdeps/i386/fpu/libm-test-ulps: Update.
4410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4412 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4414         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4415         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4417         * bench/Makefile (bench): Add sin and slowsin.
4418         * benchtests/sin-inputs: New file.
4419         * benchtests/slowsin-inputs: New file.
4420         * benchtests/slowsin.c: New file.
4422         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4423         (bench): Add slowexp and slowpow.
4424         (exp-ITER): Increase iterations.
4425         (pow-ITER): Likewise.
4426         * benchtests/exp-inputs: Change input.
4427         * benchtests/pow-inputs: Likewise.
4428         * benchtests/slowexp-inputs: New file.
4429         * benchtests/slowexp.c: New file.
4430         * benchtests/slowpow-inputs: New file.
4431         * benchtests/slowpow.c: New file.
4433 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4435         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4436         instructions.
4437         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4438         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4439         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4440         * benchtests/Makefile: Add rint benchtest.
4441         * benchtests/rint-inputs: Input for rint benchtest.
4443 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
4445         * Versions.def (libm): Add GLIBC_2.18.
4446         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4447         hidden libm prototypes.
4448         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4449         * math/Makefile (libm-calls): Add s_issignaling.
4450         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4451         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
4452         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4453         declaration.
4454         * math/math.h [__USE_GNU] (issignaling): New macro.
4455         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4456         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4457         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4458         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4459         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4460         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4461         * manual/arith.texi (issignaling): New section.
4462         * manual/libm-err-tab.pl (@all_functions): Update comment.
4463         * math/gen-libm-test.pl (parse_args): Apply special handling for
4464         issignaling.
4465         * math/libm-test.inc (print_float, issignaling_test): New
4466         functions.
4467         (check_float_internal): Add issignaling checks.
4468         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4469         default definition.
4470         * sysdeps/powerpc/math-tests.h: New file.
4471         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4472         tests.
4473         * math/test-snan.c (TEST_FUNC): Likewise.
4475 2013-03-30  David S. Miller  <davem@davemloft.net>
4477         * po/de.po: Update from translation team.
4479 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
4481         [BZ #10357]
4482         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4483         imaginary part less than 1.0 and real part less than 0.5
4484         specially.
4485         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4486         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4487         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4488         (cacos_test): Add more tests.
4489         (casin_test): Likewise.
4490         (casinh_test): Likewise.
4491         * sysdeps/i386/fpu/libm-test-ulps: Update.
4492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4494 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4496         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4497         ONE with its value.
4499         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4500         (__pow_mp): Replace ONE and MONE with their values.
4501         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4502         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4503         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4504         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4505         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4506         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4508         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4510         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4511         (__pow_mp): Replace ZERO and MZERO with their values.
4512         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4513         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4514         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4515         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4516         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4517         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4518         (__sqr): Likewise.
4520         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4522         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4524 2013-03-28  Roland McGrath  <roland@hack.frob.com>
4526         * include/stdlib.h [!SHARED] (__call_tls_dtors):
4527         Declare with __attribute__ ((weak)).
4528         * stdlib/exit.c (__libc_atexit) [!SHARED]:
4529         Call __call_tls_dtors only if it's not NULL.
4531 2013-03-28  Roland McGrath  <roland@hack.frob.com>
4533         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4534         didn't do it already, then set _dl_phdr and _dl_phnum based on the
4535         magic __ehdr_start linker symbol if it's defined.
4536         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4537         them up here if it was already done.
4539         * elf/dl-support.c (_dl_phdr): Make pointer to const.
4540         (_dl_aux_init): Use const in cast when setting it.
4541         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4542         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4543         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4545         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4546         Declare them here.
4547         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4548         * csu/libc-tls.c: Nor here.
4549         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4551         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4552         (__libc_message): Never call vsyslog.
4554 2013-03-28  Alan Modra  <amodra@gmail.com>
4556         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4557         Define as empty.
4558         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4559         Likewise.
4561 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4563         [BZ #15214]
4564         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4565         underflow.
4566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4568 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4570         [BZ #15304]
4571         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4572         Don't add gid passed as argument.
4574         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4576 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
4578         [BZ #15307]
4579         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4580         imaginary part between 1.0 and 1.5 and real part less than 0.5
4581         specially.
4582         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4583         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4584         * math/libm-test.inc (cacos_test): Add more tests.
4585         (casin_test): Likewise.
4586         (casinh_test): Likewise.
4587         * sysdeps/i386/fpu/libm-test-ulps: Update.
4588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4590 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4592         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4593         constants.
4594         (norm): Likewise.
4595         (denorm): Likewise.
4596         (__dbl_mp): Likewise.
4597         (add_magnitudes): Likewise.
4598         (sub_magnitudes): Likewise.
4599         (__add): Likewise.
4600         (__sub): Likewise.
4601         (__mul): Likewise.
4602         (__sqr): Likewise.
4603         (__inv): Likewise.
4604         (__dvd): Likewise.
4606         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4607         commented code.
4608         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4609         (__dubcos): Likewise.
4610         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4611         (__ieee754_acos): Likewise.
4612         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4613         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4614         (__exp1): Likewise.
4615         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4616         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4617         (log1): Likewise.
4618         (my_log2): Likewise.
4619         (checkint): Likewise.
4620         * sysdeps/ieee754/dbl-64/e_remainder.c
4621         (__ieee754_remainder): Likewise.
4622         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4623         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4624         (bsloww): Likewise.
4625         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4627         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4628         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4629         MANTISSA_STORE_T to store computations on mantissa.  Use
4630         macros for rounding and division.
4631         (denorm): Likewise.
4632         (__dbl_mp): Likewise.
4633         (add_magnitudes): Likewise.
4634         (sub_magnitudes): Likewise.
4635         (__mul): Likewise.
4636         (__sqr): Likewise.
4637         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
4638         powers of two in terms of TWOPOW macro.
4639         (mp_no): Make type of mantissa as MANTISSA_T.
4640         [!RADIXI]: Define RADIXI.
4641         [!TWO52]: Define TWO52.
4642         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4644 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4646         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4647         llroundl symbol when building for PPC32.
4649 2013-03-24  Mark H Weaver  <mhw@netris.org>
4651         * manual/arith.texi (Normalization Functions): Fix prototypes for
4652         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4654 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4656         [BZ #13889]
4657         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4658         high value to check if expl overflow.
4659         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4660         to check for underflow and overflow.
4661         * math/libm-test.inc: Add exp test.
4663 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
4665         [BZ #11120]
4666         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4667         with NOT_IN_libc.
4669 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4671         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4672         symbol.
4674 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
4676         * math/gen-libm-test.pl (parse_args, special_functions): Properly
4677         wrap blocks consisting of several statements.
4679         * sysdeps/generic/math-tests.h: New file.
4680         * sysdeps/i386/fpu/math-tests.h: Likewise.
4681         * math/test-snan.c: Include it.
4682         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4684 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
4686         [BZ #15285]
4687         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4688         (__ieee754_j0l): Do not improve calculations using cos of twice
4689         input for inputs above LDBL_MAX / 2.0L.
4690         (__ieee754_y0l): Likewise.
4691         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4692         (__ieee754_j1l): Do not improve calculations using cos of twice
4693         input for inputs above LDBL_MAX / 2.0L.
4694         (__ieee754_y1l): Likewise.
4695         * math/libm-test.inc (j0_test): Add another test.
4696         (j1_test): Likewise.
4697         (y0_test): Likewise.
4698         (y1_test): Likewise.
4699         * sysdeps/i386/fpu/libm-test-ulps: Update.
4701 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4703         * Rules ($(objpfx)bench-%.c): Include code from a C source
4704         file.
4706 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
4708         [BZ #15287]
4709         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4710         imaginary part 1.0 and real part less than 0.5 specially.
4711         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4712         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4713         * math/libm-test.inc (cacos_test): Add more tests.
4714         (casin_test): Likewise.
4715         (casinh_test): Likewise.
4716         * sysdeps/i386/fpu/libm-test-ulps: Update.
4717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4719 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4721         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4722         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4724 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
4726         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4727         * config.make.in (config-cflags-sse4): Remove variable.
4728         (config-cflags-avx): Likewise.
4729         (config-cflags-sse2avx): Likewise.
4730         (config-cflags-novzeroupper): Likewise.
4731         (config-asflags-i686): Likewise.
4732         (have-mfma4): Likewise.
4733         (have-as-vis3): Likewise.
4734         (MIG): Likewise.
4735         * configure.in (MIG): Do not AC_SUBST.
4736         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4737         (libc_cv_cc_sse4): Do not AC_SUBST.
4738         (libc_cv_cc_avx): Likewise.
4739         (libc_cv_cc_sse2avx): Likewise.
4740         (libc_cv_cc_novzeroupper): Likewise.
4741         (libc_cv_cc_fma4): Likewise.
4742         (libc_cv_as_i686): Likewise.
4743         (libc_cv_sparc_as_vis3): Likewise.
4744         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4745         LIBC_CONFIG_VAR.
4746         (config-asflags-i686): Likewise.
4747         (config-cflags-avx): Likewise.
4748         (config-cflags-sse2avx): Likewise.
4749         (have-mfma4): Likewise.
4750         (config-cflags-novzeroupper): Likewise.
4751         * sysdeps/mach/configure.in (MIG): Likewise.
4752         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4753         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4754         LIBC_CONFIG_VAR.
4755         (config-cflags-avx): Likewise.
4756         (config-cflags-sse2avx): Likewise.
4757         (have-mfma4): Likewise.
4758         (config-cflags-novzeroupper): Likewise.
4759         * configure: Regenerated.
4760         * sysdeps/i386/configure: Likewise.
4761         * sysdeps/mach/configure: Likewise.
4762         * sysdeps/sparc/configure: Likewise.
4763         * sysdeps/x86_64/configure: Likewise.
4765 2013-03-20  Roland McGrath  <roland@hack.frob.com>
4767         [BZ #14812]
4768         * locale/programs/localedef.c (options): Put N_ translation marker
4769         on argument names, not just descriptions.
4771 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4773         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4775 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
4777         [BZ #14176]
4778         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4780 2013-03-19  Roland McGrath  <roland@hack.frob.com>
4782         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4783         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4784         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4785         [!BEFORE_ABORT] (before_abort): New function.
4786         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4787         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4788         (writev_for_fatal): New function.
4789         (WRITEV_FOR_FATAL): New macro; call that.
4790         (backtrace_and_maps): New function.
4791         (BEFORE_ABORT): New macro; call that.
4792         (struct str_list): Type removed.
4793         (__libc_message, __libc_fatal): Functions removed.
4794         Include <sysdeps/posix/libc_fatal.c> instead.
4796 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
4798         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4799         constants.
4800         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4801         double constants.
4803 2013-03-19  Andreas Schwab  <schwab@suse.de>
4805         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4806         * sysdeps/gnu/configure: Regenerate.
4808         * configure.in: Substitute libc_cv_rtlddir.
4809         * configure: Regenerate.
4810         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4811         * Makeconfig (rtlddir, inst_rtlddir): New variables.
4812         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4813         * elf/Makefile (install-others, CFLAGS-interp.c)
4814         (ldso_install, common-ldd-rewrite): Likewise.
4815         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4816         $(inst_slibdir)/$(rtld-installed-name).
4817         * scripts/rellns-sh: Add -p option.
4818         * Makerules (make-shlib-link): Use rellns-sh to get relative name
4819         for source.
4821 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4823         * manual/nptl.texi: Renamed to ...
4824         * manual/threads.texi: ... this.
4825         * manual/Makefile (chapters): Update.
4827 2013-03-18  Roland McGrath  <roland@hack.frob.com>
4829         [BZ #14812]
4830         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4831         on argument names, not just descriptions.
4832         * malloc/memusagestat.c (options): Likewise.
4833         * nss/getent.c (options): Likewise.
4835 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
4837         [BZ #14812]
4838         * iconv/iconv_prog.c (options): Put N_ translation marker
4839         on argument names, not just descriptions.
4840         * iconv/iconvconfig.c (options): Likewise.
4842 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
4844         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4845         implementation which is faster on all x86_64 architectures.
4846         Tested on AMD, Intel Nehalem, SNB, IVB.
4847         * sysdeps/x86_64/strnlen.S: Likewise.
4849         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4850         Remove all multiarch strlen and strnlen versions.
4851         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4852         Remove strlen and strnlen related parts.
4854         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4855         Inline strlen part.
4856         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4858         * sysdeps/x86_64/multiarch/strlen.S: Remove.
4859         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4860         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4861         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4862         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4863         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4865 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
4867         * manual/memory.texi (Malloc Tunable Parameters):
4868         Sort parameters alphabetically. Add comments for missing entries.
4870 2013-03-17  David S. Miller  <davem@davemloft.net>
4872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4874 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
4876         [BZ #15283]
4877         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4878         for arguments at most half maximum finite value.
4879         * math/libm-test.inc (j0_test): Add more tests.
4880         (j1_test): Likewise.
4881         (y0_test): Likewise.
4882         (y1_test): Likewise.
4883         * sysdeps/i386/fpu/libm-test-ulps: Update.
4884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4886         [BZ #14155]
4887         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4888         1 / x and functions P and Q for arguments above 0x1p256L.
4889         (__ieee754_y0l): Likewise.
4890         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4891         (__ieee754_y1l): Likewise.
4892         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4893         (j1_test): Likewise.
4894         (y0_test): Likewise.
4895         (y1_test): Likewise.
4897 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
4899         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4900         variable.
4902 2013-03-15  Roland McGrath  <roland@hack.frob.com>
4904         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4905         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4906         zero since it's initialized to EXEC_PAGESIZE.
4908         * sysdeps/unix/sysv/linux/ldsodefs.h
4909         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4910         * sysdeps/generic/ldsodefs.h: ... here.
4912 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
4914         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4916         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4917         math/test-snan.c.
4918         * math/test-snan.c: Renamed from
4919         sysdeps/powerpc/fpu/test-powerpc-snan.c.
4920         * math/Makefile (tests): Add test-snan.
4921         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4922         test-powerpc-snan.
4924         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4925         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
4926         functions.
4927         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
4928         __builtin_nan family of functions.
4929         * math/libm-test.inc (initialize): Initialize qnan_value with
4930         __builtin_nan family of functions.
4931         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4932         Remove variables.
4933         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4934         Remove functions.
4935         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
4936         storage class.  Initialize qNaN_var and sNaN_var with
4937         __builtin_nan and __builtin_nans families of functions,
4938         respectively.
4940         * math/libm-test.inc (acosh_test): Also test with qNaN input.
4941         (sqrt_test): Remove duplicate test with qNaN input.
4942         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4943         (round_test, signbit_test, significand_test): Note missing +/-Inf
4944         as well as qNaN tests.
4946         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4947         qNaN_var.  Fix a few strings, too.
4948         * math/libm-test.inc (nan_value): Rename to qnan_value.
4949         * math/gen-libm-test.pl (%beautify): Adjust to that.
4950         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4951         * math/test-misc.c (main): Likewise.
4952         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4953         to __qnan_bytes, and __qnan_union, respectively.
4954         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4955         Likewise.
4956         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4957         and lqnanval, respectively.
4958         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4959         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4960         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4961         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4963         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4964         * math/test-misc.c (main) [__x86_64__]: Enable test for long
4965         doubles.
4967         * math/test-misc.c (main): Fix copy'n'pastos.
4968         * misc/tst-efgcvt.c (special): Likewise.
4970         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4971         Remove declarations.
4973 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4975         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4976         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4977         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4978         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4980 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4982         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4983         macro to return vdso values correctly in IFUNC implementations.
4984         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4985         Optimization by using IFUNC.
4987 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4988             Richard Henderson  <rth@redhat.com>
4989             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4991         * Makefile.in (bench): New target.
4992         * NEWS: Mention the benchmark framework.
4993         * Rules (bench): Likewise.
4994         (binaries-bench): Generate binaries for functions to
4995         benchmark.
4996         * benchtests/Makefile: New makefile for benchmark tests.
4997         * benchtests/bench-skeleton.c: New skeleton file for benchmark
4998         programs.
4999         * benchtests/exp-inputs: New input file for EXP function.
5000         * benchtests/pow-inputs: New input file for POW function.
5001         * scripts/bench.pl: New script to generate source files for
5002         benchmark programs.
5004 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5006         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5007         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5008         computations on mantissa.  Use macros for rounding and
5009         division.
5010         (denorm): Likewise.
5011         (__dbl_mp): Likewise.
5012         (add_magnitudes): Likewise.
5013         (sub_magnitudes): Likewise.
5014         (__mul): Likewise.
5015         (__sqr): Likewise.
5016         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
5017         powers of two in terms of TWOPOW macro.
5018         (mp_no): Make type of mantissa as MANTISSA_T.
5019         [!RADIXI]: Define RADIXI.
5020         [!TWO52]: Define TWO52.
5021         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5023         * manual/nptl.texi (cindex): Modify threads to pthreads.
5025 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
5027         * sysdeps/x86_64/preconfigure: Regenerated.
5029 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
5031         [BZ #14155]
5032         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5033         0x1p28 and above.
5034         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5035         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5036         0x1p28 and above.
5037         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5038         * math/libm-test.inc (j0_test): Do not allow one spurious
5039         underflow exception.
5040         (y1_test): Likewise.
5042 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5044         * manual/Makefile (chapters): Add nptl.
5045         * manual/debug.texi (Debugging Support): Add link to Threads
5046         chapter.
5047         * manual/nptl.texi: New file.
5049         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5051 2013-03-14  Petr Baudis  <pasky@ucw.cz>
5053         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5054         for non-NULL pointer before the memory validity test. Pointed
5055         out by Holger Brunck <holger.brunck@keymile.com>.
5057 2013-03-13  Andreas Schwab  <schwab@suse.de>
5059         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5060         instead of .os.
5062 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
5064         * timezone/zic.c: Update from tzcode 2013b.
5066 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
5068         * manual/install.texi (Configuring and compiling):
5069         Mention i686 and i586.
5070         * INSTALL: Regenerate.
5072 2013-03-12  Roland McGrath  <roland@hack.frob.com>
5074         * sysdeps/init_array/elf-init.c: New file.
5075         * csu/elf-init.c
5076         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5077         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5079         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5080         __gmon_start__ as global, but as static with a .preinit_array pointer.
5081         * sysdeps/init_array/gmon-start.c: New file.  Use that.
5082         * sysdeps/init_array/crti.S: New file, empty except for comments.
5083         * sysdeps/init_array/crtn.S: Likewise.
5085 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
5087         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5088         definining bcopy.
5089         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5090         Remove Prefer_SSE_for_memop.
5091         * sysdeps/x86_64/multiarch/init-arch.h: Remove
5092         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5093         HAS_PREFER_SSE_FOR_MEMOP.
5094         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5095         memset-x86-64.
5096         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5097         Remove bzero, memset ifunc support.
5098         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5099         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5100         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5101         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5103 2013-03-11  Andreas Schwab  <schwab@suse.de>
5105         [BZ #15234]
5106         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5107         by SHLIB_COMPAT.
5108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5109         (GLIBC_2.16): Remove pthread_atfork.
5111 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5113         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5114         (ptestcases.h): Likewise.
5116 2013-03-08  Roland McGrath  <roland@hack.frob.com>
5118         * Makeconfig ($(common-objpfx)config.status): Depend on
5119         sysdeps/*/preconfigure{,.in} too.
5121 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
5123         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5124         (__free_hook): Use void * instead of __malloc_ptr_t.
5125         (__malloc_hook): Likewise.
5126         (__realloc_hook): Likewise.
5127         (__memalign_hook): Likewise.
5128         (__after_morecore_hook): Likewise.
5129         * malloc/arena.c (save_malloc_hook): Likewise.
5130         (save_free_hook): Likewise.
5131         * malloc/hooks.c (malloc_hook_ini): Likewise.
5132         (realloc_hook_ini): Likewise.
5133         (memalign_hook_ini): Likewise.
5134         * malloc/malloc.c (malloc_hook_ini): Likewise.
5135         (realloc_hook_ini): Likewise.
5136         (memalign_hook_ini): Likewise.
5137         (__free_hook): Likewise.
5138         (__malloc_hook): Likewise.
5139         (__realloc_hook): Likewise.
5140         (__memalign_hook): Likewise.
5141         (__libc_malloc): Likewise.
5142         (__libc_free): Likewise.
5143         (__libc_realloc): Likewise.
5144         (__libc_memalign): Likewise.
5145         (__libc_valloc): Likewise.
5146         (__libc_pvalloc): Likewise.
5147         (__libc_calloc): Likewise.
5148         (__posix_memalign): Likewise.
5149         * malloc/morecore.c (__sbrk): Likewise.
5150         (__default_morecore): Likewise.
5152         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5154         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5155         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5156         __malloc_ptrdiff_t.
5158         * malloc/malloc.h (__malloc_size_t): Remove macro.
5159         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5160         __malloc_size_t.
5161         (old_memalign_hook): Likewise.
5162         (old_realloc_hook): Likewise.
5163         (struct hdr): Likewise.
5164         (flood): Likewise.
5165         (mallochook): Likewise.
5166         (memalignhook): Likewise.
5167         (reallochook): Likewise.
5168         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5169         (tr_old_realloc_hook): Likewise.
5170         (tr_old_memalign_hook): Likewise.
5171         (tr_mallochook): Likewise.
5172         (tr_reallochook): Likewise.
5173         (tr_memalignhook): Likewise.
5175 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5177         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5178         default_ldbl_pack and using as default implementation.
5179         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5180         implementation.
5181         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5182         redundant definition.
5183         (ldbl_insert_mantissa): Likewise.
5184         (ldbl_canonicalize): Likewise.
5185         (ldbl_nearbyint): Likewise.
5186         (ldbl_pack): Rename to ldbl_pack_ppc.
5187         (ldbl_unpack): Rename to ldbl_unpack_ppc.
5188         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5189         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5191 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5193         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5194         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5195         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5196         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5197         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5198         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5199         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5200         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5202 2013-03-07  Andreas Jaeger  <aj@suse.de>
5204         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5205         bits/mman-linux.h.
5207 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5209         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5210         Include mpa.h and declare __MPEXP.
5211         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5212         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5213         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5214         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5215         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5216         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5217         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5219         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5220         (__slowpow): Use long double EXPL and LOGL functions to
5221         compute POW.
5222         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5223         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5224         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5225         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5226         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5227         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5229         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5230         intermediate variable to calculate exponent.
5231         (__sqr): Likewise.
5232         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5233         Likewise.
5234         (__sqr): Likewise.
5236         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5237         [!NO__SQR]: Define __sqr.
5238         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5239         and NO__SQR.  Remove all code except __mul and __sqr.  Include
5240         sysdeps/ieee754/dbl-64/mpa.c.
5241         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5243         [BZ #12723]
5244         * posix/Makefile (tests): Add tst-pathconf.
5245         * posix/tst-pathconf.c: New test case.
5246         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5247         _PC_PIPE_BUF.
5248         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5250 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
5252         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5254 2013-03-06  Andreas Jaeger  <aj@suse.de>
5256         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5257         definition via __MAP_ANONYMOUS.
5259         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5260         it's not part of Linux headers.
5262         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5263         (MAP_HUGE_MASK): Define.
5265         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5266         Define.
5267         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5268         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5269         Define.
5270         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5271         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5272         Define.
5273         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5274         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5275         Define.
5276         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5278         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5279         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5280         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5281         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5282         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5283         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5285         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5286         Handle f2fs.
5288         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5289         Handle f2fs and efivarfs.
5291         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5292         f2fs.
5294         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5295         (EFIVARFS_MAGIC): Add.
5296         (F2FS_LINK_MAX): Add.
5298 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5300         * stdio-common/vfprintf.c: Replace __builtin_expect with
5301         __glibc_unlikely.
5303 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
5305         [BZ #13550]
5306         * sysdeps/generic/bp-sym.h: Remove file.
5307         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5308         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5309         <bp-sym.h> and <bp-asm.h>.
5310         (__longjmp): Don't use BP_SYM.
5311         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5312         and <bp-asm.h>.
5313         (memcpy): Don't use BP_SYM.
5314         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5315         <bp-sym.h> and <bp-asm.h>.
5316         (memcpy): Don't use BP_SYM.
5317         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5318         <bp-asm.h>.
5319         (memcpy): Don't use BP_SYM.
5320         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5321         <bp-asm.h>.
5322         (memset): Don't use BP_SYM.
5323         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5324         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5325         (__bzero): Don't use BP_SYM.
5326         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5327         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5328         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5329         <bp-sym.h> and <bp-asm.h>.
5330         (memcmp): Don't use BP_SYM.  Remove comment about bounded
5331         pointers.
5332         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5333         <bp-sym.h> and <bp-asm.h>.
5334         (memcpy): Don't use BP_SYM.
5335         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5336         <bp-sym.h> and <bp-asm.h>.
5337         (memset): Don't use BP_SYM.
5338         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5339         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5340         (__bzero): Don't use BP_SYM.
5341         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5342         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5343         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5344         <bp-sym.h> and <bp-asm.h>.
5345         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5346         pointers.
5347         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5348         <bp-sym.h> and <bp-asm.h>.
5349         (memcpy): Don't use BP_SYM.
5350         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5351         <bp-sym.h> and <bp-asm.h>.
5352         (memset): Don't use BP_SYM.
5353         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5354         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5355         (__bzero): Don't use BP_SYM.
5356         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5357         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5358         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5359         <bp-sym.h> and <bp-asm.h>.
5360         (__memchr): Don't use BP_SYM.
5361         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5362         <bp-sym.h> and <bp-asm.h>.
5363         (memcmp): Don't use BP_SYM.  Remove comment about bounded
5364         pointers.
5365         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5366         <bp-sym.h> and <bp-asm.h>.
5367         (memcpy): Don't use BP_SYM.
5368         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5369         <bp-sym.h> and <bp-asm.h>.
5370         (__mempcpy): Don't use BP_SYM.
5371         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5372         <bp-sym.h> and <bp-asm.h>.
5373         (__memrchr): Don't use BP_SYM.
5374         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5375         <bp-sym.h> and <bp-asm.h>.
5376         (memset): Don't use BP_SYM.
5377         (__bzero): Likewise.
5378         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5379         <bp-sym.h> and <bp-asm.h>.
5380         (__rawmemchr): Don't use BP_SYM.
5381         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5382         <bp-sym.h> and <bp-asm.h>.
5383         (__STRCMP): Don't use BP_SYM.
5384         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5385         <bp-sym.h> and <bp-asm.h>.
5386         (strchr): Don't use BP_SYM.
5387         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5388         <bp-sym.h> and <bp-asm.h>.
5389         (__strchrnul): Don't use BP_SYM.
5390         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5391         <bp-sym.h> and <bp-asm.h>.
5392         (strlen): Don't use BP_SYM.
5393         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5394         <bp-sym.h> and <bp-asm.h>.
5395         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5396         pointers.
5397         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5398         <bp-sym.h> and <bp-asm.h>.
5399         (__strnlen): Don't use BP_SYM.
5400         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5401         <bp-sym.h> and <bp-asm.h>.
5402         (__GI__setjmp): Don't use BP_SYM.
5403         (_setjmp): Likewise.
5404         (__sigsetjmp): Likewise.
5405         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5406         (L(start_addresses)): Don't use BP_SYM.
5407         (_start): Likewise.
5408         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5409         <bp-asm.h>.
5410         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5411         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5412         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5413         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5414         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5415         <bp-asm.h>.
5416         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5417         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
5418         about bounded pointers.
5419         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5420         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5421         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5422         <bp-asm.h>.
5423         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
5424         about bounded pointers.  Remove GKM FIXME comments.
5425         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5426         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5427         <bp-asm.h>.
5428         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5429         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
5430         Remove GKM FIXME comments.
5431         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5432         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5433         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5434         <bp-asm.h>.
5435         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
5436         about bounded pointers.  Remove GKM FIXME comment.
5437         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5438         and <bp-asm.h>.
5439         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5440         pointers.
5441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5442         <bp-sym.h> and <bp-asm.h>.
5443         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5445         <bp-sym.h> and <bp-asm.h>.
5446         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
5447         comment.
5449 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5451         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5452         call free(NULL).
5454 2013-03-05  David S. Miller  <davem@davemloft.net>
5456         * po/es.po: Update from translation team.
5458 2013-03-05  Andreas Jaeger  <aj@suse.de>
5460         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5461         <bits/mman-linux.h>.
5462         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5463         is fine.
5464         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5465         <bits/mman-linux.h> to end of file.
5466         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5467         is fine.
5468         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5469         <bits/mman-linux.h> to end of file.
5470         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5471         is fine.
5472         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5473         <bits/mman-linux.h> to end of file.
5475         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5476         (MCL_CURRENT, MCL_FUTURE): Define here.
5478 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5480         [BZ #15232]
5481         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5482         attribute_hidden.
5483         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5485 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5487         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5488         fourth parameter needed for rt_sigprocmask syscall.
5489         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5490         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5491         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5492         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5493         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5494         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5496 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
5498         [BZ #13550]
5499         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5500         comment about bounded pointers.
5501         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5502         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5504 2013-03-04  Andreas Jaeger  <aj@suse.de>
5506         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5507         common definitions.
5509         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5510         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5511         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5512         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5513         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5514         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5516 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5518         [BZ #15055]
5519         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5520         __ieee754_sqrl instead of __sqrl.
5522 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
5524         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5525         * sysdeps/powerpc/fpu_control.h: ... here.
5526         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5527         * sysdeps/powerpc/bits/fenvinline.h: ... here.
5528         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5529         * sysdeps/powerpc/bits/mathinline.h: ... here.
5531 2013-03-01  Roland McGrath  <roland@hack.frob.com>
5533         * elf/dl-hwcaps.c (_dl_important_hwcaps):
5534         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5535         to just [NEED_DL_SYSINFO_DSO].
5536         * elf/dl-support.c: Likewise.
5537         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5538         * elf/rtld.c (dl_main): Likewise.
5539         * elf/setup-vdso.h (setup_vdso): Likewise.
5540         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5541         * sysdeps/unix/sysv/linux/dl-sysdep.c
5542         (_dl_discover_osversion): Likewise.
5544 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
5546         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5547         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5549 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5551         * NEWS: Mention libm performance improvements and non-x86 PI
5552         futex support.
5554         * csu/libc-start.c (__pthread_initialize_minimal): Change
5555         function arguments.
5556         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5558 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
5560         [BZ #13550]
5561         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5562         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5563         <bp-sym.h> and <bp-asm.h>.
5564         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5565         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5566         and <bp-asm.h>.
5567         (memcpy): Don't use BP_SYM.
5568         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5569         <bp-asm.h>.
5570         (__mpn_add_n): Don't use BP_SYM.
5571         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5572         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5573         and <bp-asm.h>.
5574         (__mpn_addmul_1): Don't use BP_SYM.
5575         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5576         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5577         <bp-sym.h>.
5578         (_setjmp): Don't use BP_SYM.
5579         (__novmx_setjmp): Likewise.
5580         (__GI__setjmp): Likewise.
5581         (__vmx_setjmp): Likewise.
5582         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5583         <bp-sym.h>.
5584         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5585         (__bzero): Don't use BP_SYM.
5586         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5587         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5588         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5589         <bp-sym.h> and <bp-asm.h>.
5590         (memcpy): Don't use BP_SYM.
5591         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5592         <bp-sym.h> and <bp-asm.h>.
5593         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5594         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5595         <bp-sym.h> and <bp-asm.h>.
5596         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5597         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5598         <bp-asm.h>.
5599         (__mpn_lshift): Don't use BP_SYM.
5600         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5601         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5602         <bp-asm.h>.
5603         (memset): Don't use BP_SYM.
5604         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5605         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5606         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5607         <bp-asm.h>.
5608         (__mpn_mul_1): Don't use BP_SYM.
5609         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5610         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5611         <bp-sym.h> and <bp-asm.h>.
5612         (memcmp): Don't use BP_SYM.
5613         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5614         <bp-sym.h> and <bp-asm.h>.
5615         (memcpy): Don't use BP_SYM.
5616         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5617         <bp-sym.h> and <bp-asm.h>.
5618         (memset): Don't use BP_SYM.
5619         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5620         <bp-sym.h> and <bp-asm.h>.
5621         (strncmp): Don't use BP_SYM.
5622         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5623         <bp-sym.h> and <bp-asm.h>.
5624         (memcpy): Don't use BP_SYM.
5625         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5626         <bp-sym.h> and <bp-asm.h>.
5627         (memset): Don't use BP_SYM.
5628         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5629         <bp-sym.h> and <bp-asm.h>.
5630         (__memchr): Don't use BP_SYM.
5631         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5632         <bp-sym.h> and <bp-asm.h>.
5633         (memcmp): Don't use BP_SYM.
5634         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5635         <bp-sym.h> and <bp-asm.h>.
5636         (memcpy): Don't use BP_SYM.
5637         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5638         <bp-sym.h> and <bp-asm.h>.
5639         (__mempcpy): Don't use BP_SYM.
5640         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5641         <bp-sym.h> and <bp-asm.h>.
5642         (__memrchr): Don't use BP_SYM.
5643         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5644         <bp-sym.h> and <bp-asm.h>.
5645         (memset): Don't use BP_SYM.
5646         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5647         <bp-sym.h> and <bp-asm.h>.
5648         (__rawmemchr): Don't use BP_SYM.
5649         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5650         <bp-sym.h> and <bp-asm.h>.
5651         (__STRCMP): Don't use BP_SYM.
5652         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5653         <bp-sym.h> and <bp-asm.h>.
5654         (strchr): Don't use BP_SYM.
5655         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5656         <bp-sym.h> and <bp-asm.h>.
5657         (__strchrnul): Don't use BP_SYM.
5658         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5659         <bp-sym.h> and <bp-asm.h>.
5660         (strlen): Don't use BP_SYM.
5661         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5662         <bp-sym.h> and <bp-asm.h>.
5663         (strncmp): Don't use BP_SYM.
5664         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5665         <bp-sym.h> and <bp-asm.h>.
5666         (__strnlen): Don't use BP_SYM.
5667         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5668         <bp-asm.h>.
5669         (__mpn_rshift): Don't use BP_SYM.
5670         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5671         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5672         <bp-sym.h> and <bp-asm.h>.
5673         (__sigsetjmp): Don't use BP_SYM.
5674         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5675         (L(start_addresses)): Don't use BP_SYM.
5676         (_start): Likewise.
5677         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5678         <bp-asm.h>.
5679         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5680         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5681         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5682         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5683         <bp-asm.h>.
5684         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5685         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5686         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5687         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5688         <bp-asm.h>.
5689         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
5690         comments.
5691         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5692         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5693         <bp-asm.h>.
5694         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
5695         FIXME comments.
5696         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5697         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5698         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5699         <bp-asm.h>.
5700         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
5701         comment.
5702         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5703         and <bp-asm.h>.
5704         (strncmp): Don't use BP_SYM,
5705         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5706         <bp-asm.h>.
5707         (__mpn_sub_n): Don't use BP_SYM.
5708         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5709         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5710         and <bp-asm.h>.
5711         (__mpn_submul_1): Don't use BP_SYM.
5712         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5714         <bp-sym.h> and <bp-asm.h>.
5715         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5717         <bp-sym.h> and <bp-asm.h>.
5718         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
5719         comment.
5721 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5723         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5724         Use ZK to minimize writes to Z.
5725         (sub_magnitudes): Simplify code a bit.
5726         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5727         Use ZK to minimize writes to Z.
5728         (sub_magnitudes): Simplify code a bit.
5730 2013-02-27  Roland McGrath  <roland@hack.frob.com>
5732         * csu/gmon-start.c: Add special exception to license text.
5734 2013-02-27  Richard Henderson  <rth@redhat.com>
5736         * scripts/config.guess: Update from config.git.
5737         * scripts/config.sub: Likewise.
5739 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5741         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5743         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5745         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5747         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5749         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5751 2013-02-26  Roland McGrath  <roland@hack.frob.com>
5753         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5754         [$(build-shared = yes].
5756 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5758         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5759         (__mul): Reduce iterations for calculating mantissa.
5761         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5762         MPTWO.
5763         (__mpranred): Likewise.
5765         [BZ #15160]
5766         * malloc/memusagestat.c (main): Draw graphs for heap and stack
5767         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5769 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
5771         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5772         Define __attribute__.
5774 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5776         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5777         unused.
5778         * posix/regex_internal.h (__attribute): Remove.
5779         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5780         (re_string_context_at): Likewise.
5781         (bitset_not): Use __attribute__ and mark function as possibly
5782         unused.
5783         (bitset_merge): Likewise.
5784         (bitset_mask): Likewise.
5785         (re_string_char_size_at): Likewise.
5786         (re_string_wchar_at): Likewise.
5787         (re_string_elem_size_at): Likewise.
5789 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5791         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5792         code.
5793         (cc32): Likewise.
5795         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5796         (__acr): Likewise.
5797         (__cpy): Likewise.
5798         (norm): Likewise.
5799         (denorm): Likewise.
5800         (__dbl_mp): Likewise.
5801         (add_magnitudes): Likewise.
5802         (sub_magnitudes): Likewise.
5803         (__mul): Likewise.
5804         (__inv): Likewise.
5806         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5807         style.
5809         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5810         style.
5812         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5813         code.
5815         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5816         up changes with default code.
5817         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5818         Likewise.
5820 2013-02-24  Allan McRae  <allan@archlinux.org>
5822         * manual/socket.texi (The Internet Namespace): Order menu items
5823         to match that in the file.
5825         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5826         node listing of the info page menu.
5828 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
5830         [BZ #13550]
5831         * sysdeps/i386/bp-asm.h: Remove file.
5832         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5833         (PARMS): Do not use macros from bp-asm.h.
5834         (S1): Likewise.
5835         (S2): Likewise.
5836         (SIZE): Likewise.
5837         (__mpn_add_n): Do not use BP_SYM
5838         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5839         "bp-asm.h".
5840         (PARMS): Do not use macros from bp-asm.h.
5841         (S1): Likewise.
5842         (SIZE): Likewise.
5843         (__mpn_addmul_1): Do not use BP_SYM
5844         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5845         "bp-asm.h".
5846         (PARMS): Do not use macros from bp-asm.h.
5847         (SIGMSK): Likewise.
5848         (_setjmp): Likewise.  Do not use BP_SYM.
5849         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5850         "bp-asm.h".
5851         (PARMS): Do not use macros from bp-asm.h.
5852         (SIGMSK): Likewise.
5853         (setjmp): Likewise.  Do not use BP_SYM.
5854         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5855         "bp-asm.h".
5856         (PARMS): Do not use macros from bp-asm.h.
5857         (__frexp): Do not use BP_SYM.
5858         (frexp): Likewise.
5859         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5860         "bp-asm.h".
5861         (PARMS): Do not use macros from bp-asm.h.
5862         (__frexpf): Do not use BP_SYM.
5863         (frexpf): Likewise.
5864         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5865         "bp-asm.h".
5866         (PARMS): Do not use macros from bp-asm.h.
5867         (__frexpl): Do not use BP_SYM.
5868         (frexpl): Likewise.
5869         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5870         "bp-asm.h".
5871         (PARMS): Do not use macros from bp-asm.h.
5872         (__remquo): Do not use BP_SYM.
5873         (remquo): Likewise.
5874         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5875         "bp-asm.h".
5876         (PARMS): Do not use macros from bp-asm.h.
5877         (__remquof): Do not use BP_SYM.
5878         (remquof): Likewise.
5879         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5880         "bp-asm.h".
5881         (PARMS): Do not use macros from bp-asm.h.
5882         (__remquol): Do not use BP_SYM.
5883         (remquol): Likewise.
5884         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5885         "bp-asm.h".
5886         (PARMS): Do not use macros from bp-asm.h.
5887         (DEST): Likewise.
5888         (SRC): Likewise.
5889         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
5890         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5891         "bp-asm.h".
5892         (PARMS): Do not use macros from bp-asm.h.
5893         (strlen): Do not use BP_SYM.
5894         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5895         "bp-asm.h".
5896         (PARMS): Do not use macros from bp-asm.h.
5897         (S1): Likewise.
5898         (S2): Likewise.
5899         (SIZE): Likewise.
5900         (__mpn_add_n): Do not use BP_SYM.
5901         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5902         "bp-asm.h".
5903         (PARMS): Do not use macros from bp-asm.h.
5904         (S1): Likewise.
5905         (SIZE): Likewise.
5906         (__mpn_addmul_1): Do not use BP_SYM.
5907         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5908         weak_alias.
5909         (bzero): Likewise.
5910         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5911         "bp-asm.h".
5912         (PARMS): Do not use macros from bp-asm.h.
5913         (S): Likewise.
5914         (SIZE): Likewise.
5915         (__mpn_lshift): Do not use BP_SYM.
5916         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5917         "bp-asm.h".
5918         (PARMS): Do not use macros from bp-asm.h.
5919         (DEST): Likewise.
5920         (SRC): Likewise.
5921         (LEN): Likewise.
5922         (memcpy): Likewise.  Do not use BP_SYM.
5923         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5924         libc_hidden_def and weak_alias.
5925         (mempcpy): Do not use BP_SYM in weak_alias.
5926         * sysdeps/i386/i586/memset.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         (LEN): Likewise.
5931         [!BZERO_P] (CHR): Likewise.
5932         (memset): Likewise.  Do not use BP_SYM.
5933         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5934         "bp-asm.h".
5935         (PARMS): Do not use macros from bp-asm.h.
5936         (S1): Likewise.
5937         (SIZE): Likewise.
5938         (__mpn_mul_1): Do not use BP_SYM.
5939         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5940         "bp-asm.h".
5941         (PARMS): Do not use macros from bp-asm.h.
5942         (S): Likewise.
5943         (SIZE): Likewise.
5944         (__mpn_rshift): Do not use BP_SYM.
5945         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5946         "bp-asm.h".
5947         (PARMS): Do not use macros from bp-asm.h.
5948         (STR): Likewise.
5949         (CHR): Likewise.
5950         (strchr): Likewise.  Do not use BP_SYM.
5951         (index): Do not use BP_SYM in weak_alias.
5952         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5953         "bp-asm.h".
5954         (PARMS): Do not use macros from bp-asm.h.
5955         (DEST): Likewise.
5956         (SRC): Likewise.
5957         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
5958         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5959         "bp-asm.h".
5960         (PARMS): Do not use macros from bp-asm.h.
5961         (strlen): Do not use BP_SYM.
5962         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5963         "bp-asm.h".
5964         (PARMS): Do not use macros from bp-asm.h.
5965         (S1): Likewise.
5966         (S2): Likewise.
5967         (SIZE): Likewise.
5968         (__mpn_sub_n): Do not use BP_SYM.
5969         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5970         "bp-asm.h".
5971         (PARMS): Do not use macros from bp-asm.h.
5972         (S1): Likewise.
5973         (SIZE): Likewise.
5974         (__mpn_submul_1): Do not use BP_SYM.
5975         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5976         "bp-asm.h".
5977         (PARMS): Do not use macros from bp-asm.h.
5978         (S1): Likewise.
5979         (S2): Likewise.
5980         (SIZE): Likewise.
5981         (__mpn_add_n): Do not use BP_SYM.
5982         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5983         weak_alias.
5984         (bzero): Likewise.
5985         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5986         "bp-asm.h".
5987         (PARMS): Do not use macros from bp-asm.h.
5988         (BLK2): Likewise.
5989         (LEN): Likewise.
5990         (memcmp): Do not use BP_SYM.
5991         (bcmp): Do not use BP_SYM in weak_alias.
5992         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5993         "bp-asm.h".
5994         (PARMS): Do not use macros from bp-asm.h.
5995         (DEST): Likewise.
5996         (SRC): Likewise.
5997         (LEN): Likewise.
5998         (memcpy): Likewise.  Do not use BP_SYM.
5999         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6000         "bp-asm.h".
6001         (PARMS): Do not use macros from bp-asm.h.
6002         (DEST): Likewise.
6003         (SRC): Likewise.
6004         (LEN): Likewise.
6005         (memmove): Likewise.  Do not use BP_SYM.
6006         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6007         "bp-asm.h".
6008         (PARMS): Do not use macros from bp-asm.h.
6009         (DEST): Likewise.
6010         (SRC): Likewise.
6011         (LEN): Likewise.
6012         (__mempcpy): Likewise.  Do not use BP_SYM.
6013         (mempcpy): Do not use BP_SYM in weak_alias.
6014         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6015         "bp-asm.h".
6016         (PARMS): Do not use macros from bp-asm.h.
6017         (DEST): Likewise.
6018         (LEN): Likewise.
6019         [!BZERO_P] (CHR): Likewise.
6020         (memset): Likewise.  Do not use BP_SYM.
6021         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6022         "bp-asm.h".
6023         (PARMS): Do not use macros from bp-asm.h.
6024         (STR2): Likewise.
6025         (strcmp): Do not use BP_SYM.
6026         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6027         "bp-asm.h".
6028         (PARMS): Do not use macros from bp-asm.h.
6029         (STR): Likewise.
6030         (DELIM): Likewise.
6031         [USE_AS_STRTOK_R] (SAVE): Likewise.
6032         (FUNCTION): Likewise.  Do not use BP_SYM.
6033         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6034         aliases.
6035         (strtok_r): Likewise.
6036         (__GI___strtok_r): Likewise.
6037         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6038         (PARMS): Do not use macros from bp-asm.h.
6039         (S): Likewise.
6040         (SIZE): Likewise.
6041         (__mpn_lshift): Do not use BP_SYM.
6042         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6043         (PARMS): Do not use macros from bp-asm.h.
6044         (STR): Likewise.
6045         (CHR): Likewise.
6046         (__memchr): Do not use BP_SYM.
6047         (memchr): Do not use BP_SYM in weak_alias.
6048         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6049         (PARMS): Do not use macros from bp-asm.h.
6050         (BLK2): Likewise.
6051         (LEN): Likewise.
6052         (memcmp): Do not use BP_SYM.
6053         (bcmp): Do not use BP_SYM in weak_alias.
6054         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6055         (PARMS): Do not use macros from bp-asm.h.
6056         (S1): Likewise.
6057         (SIZE): Likewise.
6058         (__mpn_mul_1): Do not use BP_SYM.
6059         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6060         "bp-asm.h".
6061         (PARMS): Do not use macros from bp-asm.h.
6062         (STR): Likewise.
6063         (CHR): Likewise.
6064         (__rawmemchr): Do not use BP_SYM.
6065         (rawmemchr): Do not use BP_SYM in weak_alias.
6066         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6067         (PARMS): Do not use macros from bp-asm.h.
6068         (S): Likewise.
6069         (SIZE): Likewise.
6070         (__mpn_rshift): Do not use BP_SYM.
6071         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6072         (PARMS): Do not use macros from bp-asm.h.
6073         (SIGMSK): Likewise.
6074         (__sigsetjmp): Likewise.  Do not use BP_SYM.
6075         * sysdeps/i386/start.S: Do not include "bp-sym.h".
6076         (_start): Do not use BP_SYM.
6077         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6078         (PARMS): Do not use macros from bp-asm.h.
6079         (DEST): Likewise.
6080         (SRC): Likewise.
6081         (__stpcpy): Likewise.  Do not use BP_SYM.
6082         (stpcpy): Do not use BP_SYM in weak_alias.
6083         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6084         "bp-asm.h".
6085         (PARMS): Do not use macros from bp-asm.h.
6086         (DEST): Likewise.
6087         (SRC): Likewise.
6088         (LEN): Likewise.
6089         (__stpncpy): Likewise.  Do not use BP_SYM.
6090         (stpncpy): Do not use BP_SYM in weak_alias.
6091         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6092         (PARMS): Do not use macros from bp-asm.h.
6093         (STR): Likewise.
6094         (CHR): Likewise.
6095         (strchr): Likewise.  Do not use BP_SYM.
6096         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6097         "bp-asm.h".
6098         (PARMS): Do not use macros from bp-asm.h.
6099         (STR): Likewise.
6100         (CHR): Likewise.
6101         (__strchrnul): Likewise.  Do not use BP_SYM.
6102         (strchrnul): Do not use BP_SYM in weak_alias.
6103         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6104         "bp-asm.h".
6105         (PARMS): Do not use macros from bp-asm.h.
6106         (STOP): Likewise.
6107         (strcspn): Do not use BP_SYM.
6108         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6109         "bp-asm.h".
6110         (PARMS): Do not use macros from bp-asm.h.
6111         (STR): Likewise.
6112         (STOP): Likewise.
6113         (strpbrk): Likewise.  Do not use BP_SYM.
6114         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6115         "bp-asm.h".
6116         (PARMS): Do not use macros from bp-asm.h.
6117         (STR): Likewise.
6118         (CHR): Likewise.
6119         (strrchr): Likewise.  Do not use BP_SYM.
6120         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6121         (PARMS): Do not use macros from bp-asm.h.
6122         (SKIP): Likewise.
6123         (strspn): Do not use BP_SYM.
6124         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6125         (PARMS): Do not use macros from bp-asm.h.
6126         (STR): Likewise.
6127         (DELIM): Likewise.
6128         (SAVE): Likewise.
6129         (FUNCTION): Likewise.  Do not use BP_SYM.
6130         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6131         aliases.
6132         (strtok_r): Likewise.
6133         (__GI___strtok_r): Likewise.
6134         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6135         (PARMS): Do not use macros from bp-asm.h.
6136         (S1): Likewise.
6137         (S2): Likewise.
6138         (SIZE): Likewise.
6139         (__mpn_sub_n): Do not use BP_SYM.
6140         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6141         "bp-asm.h".
6142         (PARMS): Do not use macros from bp-asm.h.
6143         (S1): Likewise.
6144         (SIZE): Likewise.
6145         (__mpn_submul_1): Do not use BP_SYM.
6146         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6147         <bp-sym.h>.
6148         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6149         and <bp-asm.h>.
6150         (PARMS): Do not use macros from bp-asm.h.
6151         (FLAGS): Likewise.
6152         (PTID): Likewise.
6153         (TLS): Likewise.
6154         (CTID): Likewise.
6155         (__clone): Do not use BP_SYM.
6156         (clone): Do not use BP_SYM in weak_alias.
6157         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6158         and <bp-asm.h>.
6159         (PARMS): Do not use macros from bp-asm.h.
6160         (LEN): Likewise.
6161         (__mmap64): Do not use BP_SYM.
6162         (mmap64): Do not use BP_SYM in weak_alias.
6163         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6164         <bp-sym.h> and <bp-asm.h>.
6165         (PARMS): Do not use macros from bp-asm.h.
6166         (__posix_fadvise64_l64): Do not use BP_SYM.
6167         * sysdeps/unix/sysv/linux/i386/semtimedop.S
6168         (PARMS): Do not use macros from bp-asm.h.
6169         (NSOPS): Likewise.
6170         (semtimedop): Do not use BP_SYM.
6171         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6172         and <bp-asm.h>.
6174 2013-02-21  Allan McRae  <allan@archlinux.org>
6176         * manual/message.texi (Charset conversion in gettext):
6177         Move @end statement to beginning of line.
6179 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6182         static.
6183         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6184         Likewise.
6186         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6187         (denorm): Likewise.
6188         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6189         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6191 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6193         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6194         tail-call to the resolved function if pltexit isn't needed.
6196 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6198         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6199         or Y being zero as being unlikely.
6200         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6201         Likewise.
6203 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
6205         * manual/nss.texi (System Databases and Name Service Switch):
6206         Remove frobnicate @pxref.
6208 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
6210         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6211         __attribute__ ((unused)) to __attribute__ ((__unused__)).
6213 2013-02-20  Petr Machata  <pmachata@redhat.com>
6215         * elf/elf.h (R_ARM_TARGET1): New macro.
6216         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6217         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6218         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6219         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6220         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6221         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6222         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6223         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6224         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6225         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6226         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6227         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6228         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6229         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6230         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6231         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6232         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6233         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6234         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6235         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6236         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6237         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6238         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6239         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6240         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6241         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6242         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6243         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6244         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6245         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6246         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6247         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6248         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6249         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6250         (R_ARM_THM_GOT_BREL12): Likewise.
6251         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6252         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6253         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6254         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6255         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6256         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6257         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6258         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6259         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6261 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
6263         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6264         __attribute_used__ to __attribute__ ((unused)).
6266 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6268         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6269         powerpc mpa.c.
6270         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6271         comment formatting.
6272         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6274 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
6276         [BZ #13550]
6277         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6278         Remove macro.
6279         (ENTER): Remove both macro definitions.
6280         (LEAVE): Likewise.
6281         (CHECK_BOUNDS_LOW): Likewise.
6282         (CHECK_BOUNDS_HIGH): Likewise.
6283         (CHECK_BOUNDS_BOTH): Likewise.
6284         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6285         (RETURN_BOUNDED_POINTER): Likewise.
6286         (RETURN_NULL_BOUNDED_POINTER): Likewise.
6287         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6288         (POP_ERRNO_LOCATION_RETURN): Likewise.
6289         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6290         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6291         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6292         macros.
6293         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6294         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6295         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6296         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6297         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6298         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6299         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6300         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6301         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6302         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6303         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6304         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6305         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6306         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6307         removed macros.
6308         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6309         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6310         macros.
6311         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6312         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6313         * sysdeps/i386/i586/memset.S (memset): Likewise.
6314         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6315         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6316         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6317         macros.
6318         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6319         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6320         Change uses of L(2) to L(out).
6321         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6322         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6323         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6324         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6325         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6326         removed macros.
6327         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6328         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6329         macros.
6330         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6331         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6332         (RETURN): Do not use macro LEAVE.
6333         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6334         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6335         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6336         * sysdeps/i386/i686/memset.S (memset): Likewise.
6337         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6338         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6339         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6340         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6341         Likewise.
6342         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6343         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
6344         L(1_2) and L(1_3) into L(1).
6345         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6346         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6347         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6348         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6349         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6350         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6351         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6352         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6353         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6354         macros.
6355         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6356         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6357         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6358         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6359         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6360         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6361         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6362         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6363         * sysdeps/i386/strcspn.S (strcspn): Likewise.
6364         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6365         * sysdeps/i386/strrchr.S (strrchr): Likewise.
6366         * sysdeps/i386/strspn.S (strspn): Likewise.
6367         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6368         conditional code.
6369         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6370         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6371         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6372         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
6373         L(1_3) into L(1_1).
6374         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6375         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6376         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6377         macros.
6378         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6380 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
6382         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6383         macro.
6385 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6387         * math/atest-exp.c (exp_mpn): Remove ROUND.
6388         * math/atest-exp2.c (exp_mpn): Likewise.
6389         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6391         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6392         * stdlib/tst-tls-atexit-lib.c: Likewise.
6393         * stdlib/tst-tls-atexit.c: Likewise.
6395 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6397         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6398         and __attribute_alloc_size__.
6400 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6402         * include/programs/xmalloc.h: Change __attribute_alloc_size to
6403         __attribute_alloc_size__.
6404         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6405         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6407 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6409         * include/programs/xmalloc.h: New file.
6410         * catgets/gencat.c: Include it.
6411         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6412         * elf/pldd.c: Likewise.
6413         * iconv/iconv_charmap.c: Likewise.
6414         * iconv/iconvconfig.c: Likewise.
6415         * iconv/strtab.c: Likewise.
6416         * locale/programs/locale.c: Likewise.
6417         * locale/programs/localedef.h: Likewise.
6418         * locale/programs/simple-hash.c: Likewise.
6419         * nscd/nscd.h: Likewise.
6420         * nss/makedb.c: Likewise.
6421         * sysdeps/generic/ldconfig.h: Likewise.
6423 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6425         * Versions.def: Add GLIBC_2.18.
6426         * include/link.h (struct link_map): New member l_tls_dtor_count.
6427         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6428         (__call_tls_dtors): Likewise.
6429         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6430         __cxa_thread_atexit_impl.
6431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6432         Likewise.
6433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6434         Likewise.
6435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6436         Likewise.
6437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6438         Likewise.
6439         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6440         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6441         Likewise.
6442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6443         Likewise.
6444         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6446         Likewise.
6447         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6448         (tests): Add test case tst-tls-atexit.
6449         (modules-names): Add shared library for tst-tls-atexit.
6450         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6451         (GLIBC_PRIVATE): Add __call_tls_dtors.
6452         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6453         for libstdc++.
6454         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6455         * stdlib/tst-tls-atexit.c: New test case.
6456         * stdlib/tst-tls-atexit-lib.c: New test case.
6458         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
6460         * elf/Versions (ld): Add _dl_find_dso_for_object.
6461         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6462         * elf/dl-open.c (_dl_find_dso_for_object): New function.
6463         (dl_open_worker): Use _dl_find_dso_for_object.
6464         * elf/dl-sym.c (do_sym): Likewise.
6465         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6467 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6469         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6470         Syntactic changes only.
6471         (_dl_runtime_profile): Do a tail-call to the resolved function.
6473 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
6475         [BZ #13550]
6476         * sysdeps/x86_64/bp-asm.h: Remove file.
6477         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6478         <bp-sym.h> and <bp-asm.h>.
6479         (__clone): Do not use BP_SYM.
6480         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6481         <bp-sym.h> and <bp-asm.h>.
6482         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6483         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6484         "bp-asm.h".
6485         (_setjmp): Do not use BP_SYM.
6486         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6487         "bp-asm.h".
6488         (setjmp): Do not use BP_SYM.
6489         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6490         libc_hidden_def.
6491         (mempcpy): Do not use BP_SYM in weak_alias.
6492         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6493         "bp-asm.h".
6494         (strchr): Do not use BP_SYM.
6495         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6496         "bp-asm.h".
6497         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6498         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6499         (_start): Do not use BP_SYM.
6500         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6501         "bp-asm.h".
6502         (strcat): Do not use BP_SYM.
6503         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6504         "bp-asm.h".
6505         (STRCMP): Do not use BP_SYM.
6506         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6507         "bp-asm.h".
6508         (STRCPY): Do not use BP_SYM.
6509         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6510         "bp-asm.h".
6511         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6512         "bp-asm.h".
6513         (FUNCTION): Do not use BP_SYM.
6514         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6515         weak_alias.
6516         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6518 2013-02-17  Andreas Jaeger  <aj@suse.de>
6520         * time/Versions: Sort entries.
6521         * string/Versions: Likewise.
6522         * resolv/Versions: Likewise.
6523         * posix/Versions: Likewise.
6524         * iconv/Versions: Likewise.
6525         * elf/Versions: Likewise.
6526         * wcsmbs/Versions: Likewise.
6528 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6530         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6531         loop termination condition.
6533         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6534         variable to calculate EZ.
6535         (__sqr): Likewise.
6537         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6538         the lower precision input.
6540 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
6542         [BZ #13550]
6543         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6544         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6545         (run-via-rtld-prefix): Do not handle %-bp tests.
6546         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6547         (all-object-suffixes): Remove .ob.
6548         (bppfx): Remove variable.
6549         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6550         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6551         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6552         [$(build-bounded) = yes] (libtype.ob): Likewise.
6553         * Makerules (elide-routines.ob): Remove variable.
6554         (do-tests-clean): Do not handle *-bp.out.
6555         (common-mostlyclean): Do not handle *-bp and *-bp.out.
6556         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6557         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6558         (tests): Do not include $(tests-bp.out).
6559         (xtests): Do not include $(xtests-bp.out).
6560         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6561         [$(build-bounded) = yes] ($(addprefix
6562         $(objpfx),$(binaries-bounded))): Remove rule.
6563         ($(objpfx)%-bp.out): Remove rule.
6564         * config.make.in (build-bounded): Remove variable.
6565         * crypt/Makefile [$(build-bounded) = yes]
6566         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6567         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6568         append to variable.
6569         [$(build-bounded) = yes] (install-lib): Likewise.
6570         [$(build-bounded) = yes] (generated): Likewise.
6571         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6572         Remove rule.
6573         * intl/Makefile [$(build-bounded) = yes]
6574         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6575         * math/Makefile [$(build-bounded) = yes]
6576         ($(tests:%=$(objpfx)%-bp): Likewise.
6577         * misc/Makefile [$(build-bounded) = yes]
6578         ($(objpfx)tst-tsearch-bp): Likewise.
6579         * nptl/Makeconfig (bounded-thread-library): Remove variable.
6580         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6581         Remove dependency.
6582         * string/Makefile (o-objects.ob): Remove variable.
6583         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6584         (CFLAGS-.ob): Remove variable.
6585         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6586         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6587         both definitions of variable.
6588         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6589         (ASFLAGS-.ob): Remove variable.
6591 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
6593         [BZ #13550]
6594         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6595         Remove __BOUNDED_POINTERS__ from condition.
6596         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6597         * string/bits/string2.h [!__NO_STRING_INLINES &&
6598         !__BOUNDED_POINTERS__]: Likewise.
6599         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6600         Likewise.
6601         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6602         Remove conditional code.
6603         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6604         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6605         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6606         condition.
6608         [BZ #13550]
6609         * csu/libc-start.c: Do not include <bp-sym.h>.
6610         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6611         * elf/dl-open.c: Do not include <bp-sym.h>.
6612         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6613         * math/fegetenv.c: Do not include <bp-sym.h>.
6614         (fegetenv): Do not use BP_SYM in versioned symbols.
6615         * nptl/sysdeps/pthread/bits/libc-lockP.h
6616         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6617         <bp-sym.h>.
6618         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6619         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6620         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6621         (__pthread_mutex_destroy): Likewise.
6622         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6623         (__pthread_mutex_lock): Likewise.
6624         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6625         (__pthread_mutex_trylock): Likewise.
6626         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6627         (__pthread_mutex_unlock): Likewise.
6628         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6629         (__pthread_mutexattr_init): Likewise.
6630         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6631         (__pthread_mutexattr_destroy): Likewise.
6632         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6633         (__pthread_mutexattr_settype): Likewise.
6634         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6635         (__pthread_rwlock_init): Likewise.
6636         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6637         (__pthread_rwlock_destroy): Likewise.
6638         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6639         (__pthread_rwlock_rdlock): Likewise.
6640         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6641         (__pthread_rwlock_tryrdlock): Likewise.
6642         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6643         (__pthread_rwlock_wrlock): Likewise.
6644         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6645         (__pthread_rwlock_trywrlock): Likewise.
6646         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6647         (__pthread_rwlock_unlock): Likewise.
6648         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6649         (__pthread_key_create): Likewise.
6650         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6651         (__pthread_setspecific): Likewise.
6652         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6653         (__pthread_getspecific): Likewise.
6654         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6655         Likewise.
6656         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6657         (_pthread_cleanup_push_defer): Likewise.
6658         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6659         (_pthread_cleanup_pop_restore): Likewise.
6660         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6661         (pthread_setcancelstate): Likewise.
6662         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6663         <bp-sym.h>.
6664         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6665         (memchr): Do not use BP_SYM in weak_alias.
6666         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6667         (fegetenv): Do not use BP_SYM in versioned symbols.
6668         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6669         (fesetenv): Do not use BP_SYM in versioned symbols.
6670         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6671         (feupdateenv): Do not use BP_SYM in versioned symbols.
6672         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6673         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6674         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6675         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6676         (open64): Do not use BP_SYM in weak_alias.
6677         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6678         (fegetenv): Do not use BP_SYM in versioned symbols.
6679         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6680         (fesetenv): Do not use BP_SYM in versioned symbols.
6681         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6682         (feupdateenv): Do not use BP_SYM in versioned symbols.
6683         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6684         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6685         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6686         (feraiseexcept): Do not use BP_SYM in versioned symbols.
6687         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6688         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6689         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6690         <bp-sym.h>.
6691         (__libc_start_main): Do not use BP_SYM.
6693 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6695         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6696         redundant return line.
6697         (norm): Likewise.
6698         (denorm): Likewise.
6699         (dbl_mp): Likewise.
6700         (sub_magnitudes): Likewise.
6701         (__add): Likewise.
6702         (__sub): Likewise.
6703         (__mul): Likewise.
6704         (__inv): Likewise.
6705         (__dvd): Likewise.
6706         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6707         (norm): Likewise.
6708         (denorm): Likewise.
6709         (dbl_mp): Likewise.
6710         (sub_magnitudes): Likewise.
6711         (__add): Likewise.
6712         (__sub): Likewise.
6713         (__mul): Likewise.
6714         (__inv): Likewise.
6715         (__dvd): Likewise.
6717         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6718         instead of __mul.
6719         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6720         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6721         (cc32): Likewise.
6723         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6724         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6725         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6726         of __mul for squares.
6727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6728         function
6729         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6730         Likewise.
6731         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6732         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6734 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
6736         [BZ #13550]
6737         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6738         code.
6739         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6740         prototype or function definition.  Rename ubp_* variables and
6741         parameters.  Remove argv definitions conditional on
6742         [__BOUNDED_POINTERS__].
6743         * debug/backtrace.c (__backtrace): Do not use __unbounded.
6744         * elf/dl-runtime.c (_dl_fixup): Likewise.
6745         * include/set-hooks.h (RUN_HOOK): Likewise.
6746         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6747         definition.
6748         * string/strcpy.c (strcpy): Do not use __unbounded.
6749         * sysdeps/generic/frame.h (struct layout): Likewise.
6750         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6751         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6752         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6753         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6754         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6755         (__backtrace): Likewise.
6756         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6757         use __ptrvalue.
6758         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6759         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6760         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6761         Likewise.
6762         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6763         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6764         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6765         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6766         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6767         Do not use __unbounded.
6768         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6769         Rename __unboundedrlimits parameter to rlimits in prototype.
6770         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6771         Do not use __unbounded.
6772         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6773         not use __ptrvalue.
6774         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6775         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6776         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6777         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6778         __ptrvalue or __unbounded.
6779         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6780         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6781         use __unbounded.
6782         (__new_msgctl): Do not use __ptrvalue.
6783         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6784         __unbounded.
6785         (__libc_msgrcv): Do not use __ptrvalue.
6786         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6787         startup_info): Do not use __unbounded.
6788         (__libc_start_main): Likewise.  Rename ubp_* variables and
6789         parameters.  Remove argv definitions conditional on
6790         [__BOUNDED_POINTERS__].
6791         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6792         __ptrvalue.
6793         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6794         use __unbounded.
6795         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6796         or __ptrvalue.
6797         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6798         use __unbounded.
6799         (__new_shmctl): Do not use __ptrvalue.
6800         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6801         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6802         Likewise.
6803         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6804         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6805         (__libc_sigaction): Likewise.
6806         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6807         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6808         Likewise.
6809         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6811 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
6813         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
6815         * string/mempcpy.c: Implement by calling memcpy.
6817 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6819         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6821         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6822         evaluation.
6824         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6825         values in the mantissa.
6827         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6828         minimize writes to Z.
6829         (sub_magnitudes): Simplify code a bit.
6831 2013-02-12  Roland McGrath  <roland@hack.frob.com>
6833         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6834         from the message.  The linker prefixes all warnings with that already.
6836 2013-02-12  Andreas Schwab  <schwab@suse.de>
6838         [BZ #15078]
6839         * posix/regexec.c (extend_buffers): Add parameter min_len.
6840         (check_matching): Pass minimum needed length.
6841         (clean_state_log_if_needed): Likewise.
6842         (get_subexp): Likewise.
6843         * posix/Makefile (tests): Add bug-regex34.
6844         (bug-regex34-ENV): Define.
6845         * posix/bug-regex34.c: New file.
6847         [BZ #11561]
6848         * posix/regcomp.c (parse_bracket_exp): When looking up collating
6849         elements compare against the byte sequence of it, not its name.
6850         * posix/Makefile (tests): Add bug-regex35.
6851         (bug-regex35-ENV): Define.
6852         * posix/bug-regex35.c: New file.
6854 2013-02-11  Tom de Vries  <tom@codesourcery.com>
6856         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
6857         comment.
6858         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6859         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6860         (CHECK_EOL): Add undef.
6862 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
6864         * bits/stdlib-bsearch.h: New file.
6865         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
6866         * stdlib/stdlib.h: Likewise.
6868 2013-02-11  Roland McGrath  <roland@hack.frob.com>
6870         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6871         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6872         declaration.
6873         * manual/search.texi (Array Search Function): Add missing const in
6874         lfind prototype.
6875         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6876         declaration to use rlim_t.
6877         (Basic Scheduling Functions): Remove erroneous const from
6878         sched_getparam prototype.  Remove erroneous * from
6879         sched_get_priority_max and sched_get_priority_min prototypes.
6880         (Resource Usage): Fix summary @comment on vtimes to refer to
6881         sys/vtimes.h rather than vtimes.h.
6882         Add missing *s in vtimes prototype.
6883         (Limits on Resources): Fix ulimit prototype to return long int.
6884         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6885         prototypes to use long int rather than double.
6886         (BSD Random): Fix initstate and setstate to use char *, not void *.
6887         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6888         prototype to make second argument 'struct aiocb64 *const[]'.
6889         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6890         (Status of AIO Operations): Remove erroneous const in aio_return and
6891         aio_return64 prototypes.
6892         (Synchronizing I/O): Fix sync prototype to return void.
6893         * manual/startup.texi (Suboptions): Remove an erroneous const in
6894         getsubopt prototype.
6895         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6896         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6897         use size_t rather than int.
6898         (Scanning All Users): Likewise for getpwent_r.
6899         (Setting Groups): Add missing const to setgroups prototype.
6900         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6901         * manual/socket.texi (Host Names): Fix gethostbyaddr and
6902         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6903         'const void *' rather than 'const char *'.
6904         (Host Address Functions): Likewise for inet_ntop.
6905         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6906         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6907         ssize_t for return value.
6908         (Sending Data): Likewise for send, sendto, sendmsg.
6909         (Socket Option Functions): Add a missing const in setsockopt prototype.
6910         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6911         use wchar_t for the argument.
6912         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6913         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6914         take no arguments.
6915         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6916         double/float/long double for second argument.
6917         Fix return types of significand, significandf, significandl.
6918         * manual/filesys.texi (Setting Permissions): Use mode_t for second
6919         argument in fchmod prototype.
6920         (File Owner): Use uid_t and gid_t in fchown prototype.
6921         (File Times): Add const to utimes, futimes, and lutimes prototypes.
6922         (Making Special Files): Use mode_t and dev_t in mknod prototype.
6923         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6924         use 'const struct dirent **' as argument types to CMP function pointer
6925         argument.
6926         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6927         (File Times): Fix summary magic @comment for struct utimbuf and utime
6928         to refer to utime.h, not time.h.
6929         * manual/string.texi (Argz Functions): Add missing const in
6930         argz_extract and argz_next prototypes.
6931         (Finding Tokens in a String): Likewise for basename.
6932         (String/Array Comparison): Fix typo in wcscasecmp prototype.
6933         (Copying and Concatenation): Fix typo in wmemmove prototype.
6934         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6935         (Signal Stack): Remove erroneous const in sigstack prototype.
6936         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6937         prototype.
6938         (Simple Calendar Time): Likewise for stime.
6939         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6940         prototype.
6941         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6942         say sys/sysctl.h instead.
6943         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6944         and vsyslog prototypes.
6946 2013-02-11  Tom de Vries  <tom@codesourcery.com>
6948         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6949         Remove.
6951 2013-02-11  Roland McGrath  <roland@hack.frob.com>
6953         * misc/sys/mman.h: Fix typo in mremap comment.
6955 2013-02-08  Roland McGrath  <roland@hack.frob.com>
6957         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6958         the '\0' terminator.
6960 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
6962         [BZ #13550]
6963         * debug/segfault.c: Don't include <bp-checks.h>.
6964         * sysdeps/generic/bp-checks.h: Remove file.
6965         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6966         (__GETDENTS): Don't use CHECK_N.
6967         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6968         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6969         (__getgroups): Don't use CHECK_N.
6970         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6971         (setgroups): Don't use CHECK_N.
6972         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6973         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6974         (__libc_msgrcv): Don't use CHECK_N.
6975         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6976         (__libc_msgsnd): Don't use CHECK_N.
6977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6978         <bp-checks.h>.
6979         (__libc_pread): Don't use CHECK_N.
6980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6981         include <bp-checks.h>.
6982         (__libc_pread64): Don't use CHECK_N.
6983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6984         include <bp-checks.h>.
6985         (__libc_pwrite): Don't use CHECK_N.
6986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6987         include <bp-checks.h>.
6988         (__libc_pwrite64): Don't use CHECK_N.
6989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6990         <bp-checks.h>.
6991         (__libc_pread): Don't use CHECK_N.
6992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6993         include <bp-checks.h>.
6994         (__libc_pread64): Don't use CHECK_N.
6995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6996         include <bp-checks.h>.
6997         (__libc_pwrite): Don't use CHECK_N.
6998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6999         include <bp-checks.h>.
7000         (__libc_pwrite64): Don't use CHECK_N.
7001         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7002         (do_pread): Don't use CHECK_N.
7003         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7004         (do_pread64): Don't use CHECK_N.
7005         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7006         (do_pwrite): Don't use CHECK_N.
7007         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7008         (do_pwrite64): Don't use CHECK_N.
7009         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7010         (__libc_readv): Don't use CHECK_N.
7011         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7012         (semop): Don't use CHECK_N.
7013         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7014         <bp-checks.h>.
7015         (semtimedop): Don't use CHECK_N.
7016         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7017         (__libc_pread): Don't use CHECK_N.
7018         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7019         <bp-checks.h>.
7020         (__libc_pread64): Don't use CHECK_N.
7021         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7022         <bp-checks.h>.
7023         (__libc_pwrite): Don't use CHECK_N.
7024         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7025         <bp-checks.h>.
7026         (__libc_pwrite64): Don't use CHECK_N.
7027         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7028         <bp-checks.h>.
7029         (__libc_msgrcv): Don't use CHECK_N.
7030         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7031         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
7032         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7033         (__libc_writev): Don't use CHECK_N.
7035 2013-02-08  Roland McGrath  <roland@hack.frob.com>
7037         * string/strcpy.c: Removed unused variable.
7039         * Makeconfig (+sysdep-includes): Define with := rather than =.
7040         Use an existing include/ subdir of each sysdeps dir before it.
7042 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7044         * nscd/connection.c (register_traced_file): Comment function.
7045         [HAVE_INOTIFY] (union __inev): Define.
7046         [HAVE_INOTIFY] (inotify_check_files): New function.
7047         [HAVE_INOTIFY] (clear_db_cache): Likewise.
7048         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7049         clear_db_cache.
7050         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7052 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7054         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7055         loaded if not already and that a failure is permanent.
7057 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7059         [BZ #15006]
7060         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7061         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7063 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
7065         [BZ #13550]
7066         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7067         (CHECK_1_NULL_OK): Likewise.
7068         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7069         (__fxstat): Do not use CHECK_1.
7070         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7071         <bp-checks.h>.
7072         (___fxstat64): Do not use CHECK_1.
7073         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7074         <bp-checks.h>.
7075         (__fxstatat): Do not use CHECK_1.
7076         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7077         <bp-checks.h>.
7078         (__fxstatat64): Do not use CHECK_1.
7079         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7080         <bp-checks.h>.
7081         (__fxstat): Do not use CHECK_1.
7082         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7083         <bp-checks.h>.
7084         (__fxstatat): Do not use CHECK_1.
7085         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7086         <bp-checks.h>.
7087         (__getresgid): Do not use CHECK_1.
7088         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7089         <bp-checks.h>.
7090         (__getresuid): Do not use CHECK_1.
7091         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7092         <bp-checks.h>.
7093         (__lxstat): Do not use CHECK_1.
7094         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7095         <bp-checks.h>.
7096         (__old_msgctl): Do not use CHECK_1.
7097         (__new_msgctl): Likewise.
7098         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7099         <bp-checks.h>.
7100         (__new_setrlimit): Do not use CHECK_1.
7101         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7102         <bp-checks.h>.
7103         (__old_shmctl): Do not use CHECK_1.
7104         (__new_shmctl): Likewise.
7105         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7106         <bp-checks.h>.
7107         (__xstat): Do not use CHECK_1.
7108         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7109         (__lxstat): Do not use CHECK_1.
7110         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7111         <bp-checks.h>.
7112         (___lxstat64): Do not use CHECK_1.
7113         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7114         (__old_msgctl): Do not use CHECK_1.
7115         (__new_msgctl): Likewise.
7116         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7117         <bp-checks.h>.
7118         (__gettimeofday): Do not use CHECK_1.
7119         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7120         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7121         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7122         <bp-checks.h>.
7123         (__gettimeofday): Do not use CHECK_1.
7124         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7125         (__old_shmctl): Do not use CHECK_1_NULL_OK.
7126         (__new_shmctl): Do not use CHECK_1.
7127         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7128         <bp-checks.h>.
7129         (do_sigtimedwait): Do not use CHECK_1.
7130         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7131         <bp-checks.h>.
7132         (do_sigwaitinfo): Do not use CHECK_1.
7133         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7134         <bp-checks.h>.
7135         (msgctl): Do not use CHECK_1.
7136         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7137         <bp-checks.h>.
7138         (shmctl): Do not use CHECK_1.
7139         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7140         (ustat): Do not use CHECK_1.
7141         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7142         <bp-checks.h>.
7143         (__fxstat): Do not use CHECK_1.
7144         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7145         <bp-checks.h>.
7146         (__fxstatat): Do not use CHECK_1.
7147         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7148         <bp-checks.h>.
7149         (__lxstat): Do not use CHECK_1.
7150         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7151         <bp-checks.h>.
7152         (__xstat): Do not use CHECK_1.
7153         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7154         (__xstat): Do not use CHECK_1.
7155         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7156         (___xstat64): Do not use CHECK_1.
7158         [BZ #13550]
7159         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7160         definitions.
7161         (CHECK_BOUNDS_HIGH): Likewise.
7162         * string/strcpy.c: Do not include <bp-checks.h>.
7163         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7165 2013-02-07  Roland McGrath  <roland@hack.frob.com>
7167         * nscd/nscd-client.h (__nscd_drop_map_ref):
7168         Add __attribute__ ((unused)).
7169         * nis/nss-nisplus.h (niserr2nss): Likewise.
7171         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7172         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7174         * csu/libc-tls.c (init_static_tls, init_slotinfo):
7175         Remove inline keyword.
7176         * include/rounding-mode.h (round_away): Likewise.
7177         * libio/wfileops.c (adjust_wide_data): Likewise.
7178         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7179         (__m128i_strloadu_tolower): Likewise.
7180         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7181         (__m128i_strloadu_tolower): Likewise.
7182         * time/mktime.c (ydhms_diff): Likewise.
7183         * locale/elem-hash.h (elem_hash): Likewise.
7184         * locale/setlocale.c (setdata): Likewise.
7185         * posix/regex_internal.h (re_string_char_size_at): Likewise.
7186         (re_string_wchar_at): Likewise.
7187         (bitset_not, bitset_merge, bitset_mask): Likewise.
7188         [!(__GNUC__ > 3)] (inline): Remove macro.
7189         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7190         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7191         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7192         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7193         * string/memcmp.c (memcmp_bytes): Likewise.
7194         * locale/programs/locarchive.c (compute_hashval): Likewise.
7195         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7196         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7197         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7198         * nss/getent.c (print_rpc, print_protocols): Likewise.
7199         (print_passwd, print_group, print_aliases): Likewise.
7200         * nis/nss-nisplus.h (niserr2nss): Likewise.
7201         * nscd/connections.c (restart_p): Likewise.
7202         Change return type to bool.
7204 2013-02-05  Roland McGrath  <roland@hack.frob.com>
7206         * Makeconfig (all-Depend-files): Add existing
7207         $(sorted-subdirs:=/Depend) files.
7208         (all-subdirs): Remove nss.
7209         * sysdeps/unix/inet/Subdirs: Add it here instead.
7210         * hesiod/Depend: New file.
7212         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7213         instead of calling alloca.
7215         * io/lseek.c (__lseek): Rename to __libc_lseek.
7216         Define __lseek as an alias.
7218         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7220 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
7222         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7223         else clause and remove check for non-standard endianness.
7225 2013-02-04  David S. Miller  <davem@davemloft.net>
7227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7229 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
7231         [BZ #13550]
7232         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7233         (__ubp_memchr): Remove prototype.
7234         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7235         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7236         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7237         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7238         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7239         Remove alias.
7240         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7241         (__ubp_memchr): Likewise.
7242         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7243         (__ubp_memchr): Likewise.
7244         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7245         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7246         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7247         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7248         CHECK_STRING.
7249         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7250         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7251         (__getcwd): Do not use CHECK_STRING.
7252         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7253         <bp-checks.h>.
7254         (__real_chown): Do not use CHECK_STRING.
7255         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7256         <bp-checks.h>.
7257         (fchownat): Do not use CHECK_STRING.
7258         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7259         CHECK_STRING.
7260         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7261         <bp-checks.h>.
7262         (__lchown): Do not use CHECK_STRING.
7263         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7264         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7265         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7266         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7268         include <bp-checks.h>.
7269         (truncate64): Do not use CHECK_STRING.
7270         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7271         <bp-checks.h>.
7272         (__real_chown): Do not use CHECK_STRING.
7273         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7274         <bp-checks.h>.
7275         (__lchown): Do not use CHECK_STRING.
7276         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7277         <bp-checks.h>.
7278         (__chown): Do not use CHECK_STRING.
7279         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7280         <bp-checks.h>.
7281         (truncate64): Do not use CHECK_STRING.
7282         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7283         Likewise.
7284         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7285         (__xmknod): Do not use CHECK_STRING.
7286         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7287         <bp-checks.h>.
7288         (__xmknodat): Do not use CHECK_STRING.
7289         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7290         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7292 2013-02-04  Andreas Schwab  <schwab@suse.de>
7294         [BZ #14142]
7295         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7296         * include/netdb.h: Likewise for h_errno.
7297         * elf/tst-stackguard1.c: Include <tls.h>.
7299 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
7301         * elf/link.h (struct link_map): Extend the l_addr comment.
7302         * include/link.h (struct link_map): Likewise.
7304 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
7306         [BZ #13550]
7307         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7308         (BOUNDED_1): Remove macro.
7309         * debug/backtrace.c: Don't include <bp-checks.h>.
7310         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7311         (__backtrace): Likewise.
7312         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7313         <bp-checks.h>.
7314         (__backtrace): Don't use BOUNDED_1.
7315         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7316         <bp-checks.h>.
7317         (__backtrace): Don't use BOUNDED_1.
7318         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7319         (__backtrace): Don't use BOUNDED_1.
7320         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7321         (shmat): Don't use BOUNDED_N.
7323 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
7325         [BZ #13550]
7326         * sysdeps/generic/bp-start.h: Remove file.
7327         * csu/libc-start.c: Don't include <bp-start.h>.
7328         (LIBC_START_MAIN): Set up __environ directly instead of using
7329         INIT_ARGV_and_ENVIRON.
7330         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7331         <bp-start.h>.
7333         [BZ #13550]
7334         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7335         definitions.
7336         (CHECK_FCNTL): Likewise.
7337         (CHECK_N_PAGES): Likewise.
7339         [BZ #13550]
7340         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7341         definitions.
7342         (CHECK_SIGSET_NULL_OK): Likewise.
7343         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7344         <bp-checks.h>.
7345         (sigpending): Don't use CHECK_SIGSET.
7346         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7347         <bp-checks.h>.
7348         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7349         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7350         <bp-checks.h>.
7351         (do_sigsuspend): Don't use CHECK_SIGSET.
7352         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7353         use CHECK_SIGSET.
7354         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7355         (do_sigwait): Don't use CHECK_SIGSET.
7356         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7357         use CHECK_SIGSET.
7358         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7359         include <bp-checks.h>.
7360         (sigpending): Don't use CHECK_SIGSET.
7361         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7362         include <bp-checks.h>.
7363         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7364         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7365         <bp-checks.h>.
7366         (sigpending): Don't use CHECK_SIGSET.
7367         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7368         <bp-checks.h>.
7369         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7371         [BZ #13550]
7372         * sysdeps/generic/bp-semctl.h: Remove file.
7373         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7374         <bp-checks.h> and <bp-semctl.h>.
7375         (__old_semctl): Don't use CHECK_SEMCTL.
7376         (__new_semctl): Likewise.
7377         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7378         and <bp-semctl.h>.
7379         (__old_semctl): Don't use CHECK_SEMCTL.
7380         (__new_semctl): Likewise.
7381         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7382         <bp-checks.h> and <bp-semctl.h>.
7383         (__old_semctl): Don't use CHECK_SEMCTL.
7384         (__new_semctl): Likewise.
7385         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7386         <bp-checks.h> and <bp-semctl.h>.
7387         (semctl): Don't use CHECK_SEMCTL.
7389         [BZ #13550]
7390         * Makerules (elide-bp-thunks): Remove variable.
7391         (elide-routines.oS): Don't use $(elide-bp-thunks).
7392         (elide-routines.os): Likewise.
7393         (elide-routines.o): Likewise.
7394         (elide-routines.op): Likewise.
7395         (elide-routines.og): Likewise.
7396         (objects): Don't use $(bp-thunks).
7397         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7398         include.
7399         (common-generated): Do not add s-proto-bp.d.
7400         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7401         (int): Likewise.
7402         (typ): Likewise.
7403         Do not generate makefile rules for bounded-pointer thunks.
7404         * sysdeps/generic/bp-thunks.h: Remove file.
7405         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7406         * sysdeps/unix/s-proto-bp.S: Likewise.
7408         [BZ #15062]
7409         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7410         parts of result separately when argument is not close to line from
7411         -i to i and one part of argument is small.
7412         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7413         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7414         * math/libm-test.inc (cacos_test): Add more tests.
7415         (casin_test): Likewise.
7416         (casinh_test): Likewise.
7417         * sysdeps/i386/fpu/libm-test-ulps: Update.
7418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7420 2013-01-31  David S. Miller  <davem@davemloft.net>
7422         * po/de.po: Update from translation team.
7424 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
7426         * time/tzfile.c: Include stdint.h for SIZE_MAX.
7428 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
7430         * configure.in (_AC_PROG_CC_C89): New definition.
7431         * configure: Regenerate.
7433         * configure.in (AC_PROG_CPP): New definition.
7434         * configure: Regenerate.
7436 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
7438         * debug/tst-backtrace.h: New file.
7439         * debug/tst-backtrace2.c: Include tst-backtrace.h.
7440         (ret): Remove variable.
7441         (x): Likewise.
7442         (FAIL): Remove macro.
7443         (NO_INLINE): Likewise.
7444         (fn1): Use match function instead of strstr.
7445         * debug/tst-backtrace3.c: Include tst-backtrace.h.
7446         (ret): Remove variable.
7447         (x): Likewise.
7448         (FAIL): Remove macro.
7449         (NO_INLINE): Likewise.
7450         (fn): Use match function instead of strstr.
7451         * debug/tst-backtrace4.c: Include tst-backtrace.h.
7452         (ret): Remove variable.
7453         (x): Likewise.
7454         (FAIL): Remove macro.
7455         (NO_INLINE): Likewise.
7456         (handle_signal): Use match function instead of strstr.
7457         * debug/tst-backtrace5.c: Include tst-backtrace.h.
7458         (ret): Remove variable.
7459         (x): Likewise.
7460         (FAIL): Remove macro.
7461         (NO_INLINE): Likewise.
7462         (handle_signal): Use match function instead of strstr.
7464 2013-01-23  Roland McGrath  <roland@hack.frob.com>
7466         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7468 2013-01-23  David S. Miller  <davem@davemloft.net>
7470         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7471         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7472         argument of CAS if possible.
7473         * sysdeps/sparc/sparc64/bits/atomic.h
7474         (__arch_compare_and_exchange_val_32_acq): Likewise.
7475         (__arch_compare_and_exchange_val_64_acq): Likewise.
7477 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
7479         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7480         * sysdeps/posix/ulimit.c: ... this.
7481         Include <limits.h>.
7482         * sysdeps/unix/bsd/ulimit.c: Remove file.
7484 2013-01-23  Adam Conrad  <adconrad@0c3.net>
7486         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7487         (LDFLAGS-tst-array5): Likewise.
7489 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
7491         [BZ #15036]
7492         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7493         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7494         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7495         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7497 2013-01-21  David S. Miller  <davem@davemloft.net>
7499         * sysdeps/sparc/backtrace.c: New file.
7500         * sysdeps/sparc/sparc32/backtrace.h: New file.
7501         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7502         * sysdeps/sparc/sparc64/backtrace.h: New file.
7503         * sysdeps/sparc/sparc64/backtrace.c: Delete.
7504         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7505         -funwind-tables.
7507 2013-01-21  Andreas Schwab  <schwab@suse.de>
7509         [BZ #15020]
7510         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7511         closed its stdout.
7513 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
7515         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7516         "mpa2.h".
7517         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7519 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
7520             Mark Mitchell  <mark@codesourcery.com>
7521             Tom de Vries  <tom@codesourcery.com>
7522             Paul Pluzhnikov  <ppluzhnikov@google.com>
7524         * debug/tst-backtrace2.c: New file.
7525         * debug/tst-backtrace3.c: Likewise.
7526         * debug/tst-backtrace4.c: Likewise.
7527         * debug/tst-backtrace5.c: Likewise.
7528         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7529         (CFLAGS-tst-backtrace3.c): Likewise.
7530         (CFLAGS-tst-backtrace4.c): Likewise.
7531         (CFLAGS-tst-backtrace5.c): Likewise.
7532         (LDFLAGS-tst-backtrace2): Likewise.
7533         (LDFLAGS-tst-backtrace3): Likewise.
7534         (LDFLAGS-tst-backtrace4): Likewise.
7535         (LDFLAGS-tst-backtrace5): Likewise.
7536         (tests): Add new tests tst-backtrace2, tst-backtrace3,
7537         tst-backtrace4 and tst-backtrace5.
7539 2013-01-18  Anton Blanchard  <anton@samba.org>
7540             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7542         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7543         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7544         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7545         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7547         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7548         "+r" and remove output regs list as redundant.  Add explicit inline
7549         asm to specify register of return val to work around compiler codegen
7550         bug.  Remove (int) cast on return value.  Add return type parameter to
7551         use in macro so that this macro does not truncate return value for
7552         64-bit values.
7553         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7554         pass to INTERNAL_VSYSCALL_NCS.
7555         (INLINE_VSYSCALL): Add 'long int' as return type to
7556         INTERNAL_VSYSCALL_NCS macro invocation.
7557         (INTERNAL_VSYSCALL): Add 'long int' as return type to
7558         INTERNAL_VSYSCALL_NCS macro invocation.
7559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7561 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7563         [BZ #14496]
7564         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7565         Fix application of SIMD FP exception mask.
7567         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7568         mp_no from a power of two.
7569         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7570         __mpexp_twomm1.  Use __pow_mp.
7572         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7573         multiplication.
7575 2013-01-17  David S. Miller  <davem@davemloft.net>
7577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7579 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
7581         [BZ #15023]
7582         * include/complex.h: Condition contents on [!_COMPLEX_H].
7583         (__kernel_casinhf): New prototype.
7584         (__kernel_casinh): Likewise.
7585         (__kernel_casinhl): Likewise.
7586         * math/Makefile (libm_calls): Add k_casinh.
7587         * math/k_casinh.c: New file.
7588         * math/k_casinhf.c: Likewise.
7589         * math/k_casinhl.c: Likewise.
7590         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7591         finite nonzero arguments.
7592         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7593         finite nonzero arguments.
7594         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7595         finite nonzero arguments.
7596         * math/s_casinh.c: Do not include <float.h>.
7597         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7598         * math/s_casinhf.c: Do not include <float.h>.
7599         (__casinhf): Move code for finite nonzero arguments to
7600         k_casinhf.c.
7601         * math/s_casinhl.c: Do not include <float.h>.
7602         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7603         redefine.
7604         (__casinhl): Move code for finite nonzero arguments to
7605         k_casinhl.c.
7606         * math/libm-test.inc (cacos_test): Add more tests.
7607         * sysdeps/i386/fpu/libm-test-ulps: Update.
7608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7610 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
7612         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7613         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7614         [!HAVE_MREMAP]: Remove [defined linux] case.
7615         * malloc/arena.c: Do not include <malloc-sysdep.h>.
7617 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7619         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7621 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
7623         * elf/elf.h (R_386_SIZE32): New relocation.
7624         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7625         R_386_SIZE32.
7626         (elf_machine_rela): Likewise.
7627         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7628         R_X86_64_SIZE64 and R_X86_64_SIZE32.
7630 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
7632         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7633         (FP_FAST_FMA): Do not define.
7634         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7635         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7636         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7637         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7638         !_SOFT_FLOAT]: Likewise.
7639         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7640         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7641         value.
7642         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7643         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7644         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7645         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7646         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7647         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7648         file.
7650 2013-01-16  Andreas Schwab  <schwab@suse.de>
7652         [BZ #14327]
7653         * include/stdlib.h (__mktemp): Add declaration.
7654         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7655         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7657 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7659         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7660         definitions.
7661         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7662         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7663         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7664         definitions here.
7665         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7666         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7667         definitions.
7668         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7669         and ONE.
7670         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7671         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7672         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7673         definitions.
7674         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7675         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7676         definitions.
7677         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7679         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7681 2013-01-15  David S. Miller  <davem@davemloft.net>
7683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7684         trunc{,f} to libm-sysdep_routes.
7685         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7687         file.
7688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7690         file.
7691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7692         file.
7693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7695         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7696         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7697         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7698         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7699         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7700         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7703         nearbyint{,f} to libm-sysdep_routes.
7704         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7706         New file.
7707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7708         file.
7709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7710         New file.
7711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7712         file.
7713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7715         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7716         file.
7717         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7718         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7719         file.
7720         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7721         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7722         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7724         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7725         libc_feholdexcept and libc_fesetenv.
7727 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
7729         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7731 2013-01-14  David S. Miller  <davem@davemloft.net>
7733         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7734         (SPARC_ASM_VIS2_IFUNC): Likewise.
7735         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7737         use of 'siam' instruction.
7738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7739         Likewise.
7740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7741         Likewise.
7742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7743         Likewise.
7744         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7745         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7746         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7747         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7749         file.
7750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7751         file.
7752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7753         file.
7754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7755         file.
7756         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7757         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7758         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7759         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7761         new VIS2 routines.
7762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7765         Likewise.
7766         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7767         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7768         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7769         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7771         routines to libm-sysdep_routines.
7772         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7775         fdim/fdimf to libm-sysdep_routines.
7776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7777         file.
7778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7780         file.
7781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7784         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7785         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7786         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7787         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7789 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7791         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7792         to optimize copies.
7794         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7795         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7796         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7798         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7799         local variable MPTWO.
7800         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7801         Likewise.
7803 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7805         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7806         GLOB_NOESCAPE.
7808 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7810         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7812 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7814         * manual/pattern.texi (glob_t): Document gl_flags.
7815         (glob64_t): Likewise.
7817 2013-01-11  David S. Miller  <davem@davemloft.net>
7819         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7820         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7821         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
7822         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7823         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7824         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7825         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7826         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7827         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7828         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7829         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7830         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7831         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7833         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7834         sparc V9 rather than using V8 code.
7835         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7836         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7838         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7839         Move to...
7840         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7841         Here.
7843 2013-01-11  Roland McGrath  <roland@hack.frob.com>
7845         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7846         not in the main loop.
7847         * configure: Regenerated.
7849 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
7851         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7852         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7853         to just #else.
7854         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
7855         [!__GLIBC_HAVE_LONG_LONG] case.
7856         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7857         condition to just #else.
7858         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7859         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7860         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7861         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7862         unconditional.
7863         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7864         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7865         #elif condition to just #else.
7866         * sysdeps/unix/sysv/linux/sys/sysmacros.h
7867         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7868         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7869         #elif condition to just #else.
7871 2013-01-11  Steve Ellcey  <sellcey@mips.com>
7873         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7874         (EF_MIPS_ARCH_64): Fix value.
7875         (EF_MIPS_ARCH_32R2): New.
7876         (EF_MIPS_ARCH_64R2): New.
7878 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
7880         * Makeconfig (+link-pie-before-libc): New.
7881         (+link-pie-after-libc): Likewise.
7882         (+link-pie-tests): Likewise.
7883         (+link-pie): Rewritten.
7884         (link-before-libc): Remove $(config-LDFLAGS).
7885         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7886         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7887         (config-LDFLAGS): Renamed to ...
7888         (rtld-LDFLAGS): This.
7889         (rtld-tests-LDFLAGS): New macro.
7890         (link-libc-rpath-link): Likewise.
7891         (link-libc-tests-rpath-link): Likewise.
7892         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7893         (link-libc): Prepand $(link-libc-rpath-link).
7894         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7895         (test-program-prefix): New macro.
7896         (test-via-rtld-prefix): Likewise.
7897         (test-program-cmd): Likewise.
7898         (host-test-program-cmd): Likewise.
7899         * Makefile ($(common-objpfx)testrun.sh): Replace
7900         $(run-program-prefix) with $(test-program-prefix).
7901         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7902         $(rtld-LDFLAGS).
7903         ($(common-objpfx)shlib.lds): Likewise.
7904         (build-module-helper): Likewise.
7905         ($(common-objpfx)format.lds): Likewise.
7906         * Rules (binaries-pie-tests): New.
7907         (binaries-pie-notests): Likewise.
7908         (binaries-pie): Rewritten.
7909         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7910         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7911         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7912         (make-test-out): Replace $(host-built-program-cmd) with
7913         $(host-test-program-cmd).
7914         * config.make.in (build-hardcoded-path-in-tests): New variable.
7915         * configure.in (--enable-hardcoded-path-in-tests): New configure
7916         option.
7917         (hardcoded_path_in_tests): New AC_SUBST.
7918         * configure: Regenerated.
7919         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7920         $(built-program-cmd) with $(test-program-cmd).
7921         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7922         (test_program_cmd): This.
7923         * elf/Makefile ($(objpfx)order.out): Run test with
7924         $(test-program-prefix).
7925         ($(objpfx)order2.out): Likewise.
7926         ($(objpfx)tst-initorder.out): Likewise.
7927         ($(objpfx)tst-initorder2.out): Likewise.
7928         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7929         $(test-program-cmd).
7930         ($(objpfx)tst-array1-static.out): Likewise.
7931         ($(objpfx)tst-array2.out): Likewise.
7932         ($(objpfx)tst-array3.out): Likewise.
7933         ($(objpfx)tst-array4.out): Likewise.
7934         ($(objpfx)tst-array5.out): Likewise.
7935         ($(objpfx)tst-array5-static.out): Likewise.
7936         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7937         $(test-program-cmd).
7938         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7939         $(run-program-prefix) with $(test-program-prefix).
7940         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7941         (test_program_prefix): This.
7942         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7943         $(run-program-prefix) with $(test-program-prefix).
7944         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7945         (test_program_prefix): This.
7946         * iconvdata/tst-tables.sh: Likewise.
7947         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7948         $(run-program-prefix) with $(test-program-prefix).
7949         ($(objpfx)tst-translit.out): Likewise.
7950         ($(objpfx)tst-gettext2.out): Likewise.
7951         ($(objpfx)tst-gettext4.out): Likewise.
7952         ($(objpfx)tst-gettext6.out): Likewise.
7953         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7954         (test_program_prefix): This.
7955         * intl/tst-gettext2.sh: Likewise.
7956         * intl/tst-gettext4.sh  Likewise.
7957         * intl/tst-gettext6.sh: Likewise.
7958         * intl/tst-translit.sh: Likewise.
7959         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7960         with $(test-program-cmd).
7961         * libio/Makefile ($(objpfx)test-freopen.out): Replace
7962         $(run-program-prefix) with $(test-program-prefix).
7963         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7964         (test_program_prefix): This.
7965         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7966         $(run-program-prefix) with $(test-program-prefix).
7967         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7968         (test_program_prefix): This.
7969         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7970         * posix/Makefile ($(objpfx)globtest.out): Replace
7971         $(run-via-rtld-prefix) and $(test-wrapper) with
7972         $(test-program-prefix) and $(test-via-rtld-prefix).
7973         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7974         $(test-program-prefix).
7975         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7976         $(host-test-program-cmd).
7977         (tst-spawn-ARGS): Likewise.
7978         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7979         $(test-program-prefix).
7980         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7981         (test_via_rtld_prefix): This.
7982         (test_wrapper): Renamed to ...
7983         (test_program_prefix): This.
7984         (run_program_prefix): Replaced by test_program_prefix.
7985         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7986         (test_program_prefix): This.
7987         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7988         with $(host-test-program-cmd).
7989         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7990         $(run-program-prefix) with $(test-program-prefix).
7991         ($(objpfx)tst-printf.out): Likewise.
7992         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7993         $(test-program-cmd).
7994         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7995         (test_program_prefix): This.
7996         * stdio-common/tst-unbputc.sh: Likewise.
7997         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7998         $(run-program-prefix) with $(test-program-prefix).
7999         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8000         (test_program_prefix): This.
8001         * string/Makefile ($(objpfx)tst-svc.out):  Replace
8002         $(built-program-cmd) with $(test-program-cmd).
8004 2013-01-11  Andreas Jaeger  <aj@suse.de>
8006         [BZ #15003]
8007         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8008         value. Sync with Linux 3.7.
8010 2013-01-10  David S. Miller  <davem@davemloft.net>
8012         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8013         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8014         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8016 2013-01-10  Roland McGrath  <roland@hack.frob.com>
8018         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8019         never set.
8020         * configure: Regenerated.
8022 2013-01-10  David S. Miller  <davem@davemloft.net>
8024         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8025         sparc V9 rather than using V8 code.
8026         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8027         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8029 2013-01-10  Roland McGrath  <roland@hack.frob.com>
8031         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8032         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8033         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8034         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8035         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8036         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8037         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8038         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8039         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8040         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8041         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8042         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8043         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8044         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8045         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8046         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8047         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8048         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8049         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8050         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8051         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8052         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8053         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8054         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8055         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8056         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8057         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8059 2013-01-10  David S. Miller  <davem@davemloft.net>
8061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8063 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
8065         * posix/Makefile (tests-static): New variable.
8066         (tests): Add $(tests-static).
8067         (tst-exec-static-ARGS): New variable.
8068         (tst-spawn-static-ARGS): Likewise.
8069         * posix/tst-exec-static.c: New file.
8070         * posix/tst-spawn-static.c: Likewise.
8071         * posix/tst-exec.c: Support run directly.
8072         * posix/tst-spawn.c: Likewise.
8074 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
8076         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8077         long.
8078         * math/bits/mathcalls.h (llrint): Likewise.
8079         (llround): Likewise.
8080         * stdlib/stdlib.h (struct drand48_data): Likewise.
8081         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8082         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8083         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8084         Likewise.
8085         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8086         Likewise.
8087         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8088         (elf_greg_t): Likewise.
8089         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8090         (__jmp_buf): Likewise.
8091         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8092         definitions.
8093         (llrint): Likewise, for all definitions.
8094         (llrintl): Likewise.
8096         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8097         Remove [__GNUC__] condition.
8098         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8099         condition to just [__USE_ISOC99].
8100         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8102 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
8104         [BZ #14200]
8105         * sysdeps/unix/sysv/linux/x86/bits/environments.h
8106         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8107         defined.
8108         (_POSIX_V6_ILP32_OFF32): Likewise.
8109         (_XBS5_ILP32_OFF32): Likewise.
8110         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8111         (__ILP32_OFFBIG_LDFLAGS): Likewise.
8113 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8115         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8117         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8118         doubles __mpexp_twomm1.  Adjust usage.
8119         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8120         Remove.
8122 2013-01-10  Andreas Schwab  <schwab@suse.de>
8124         [BZ #14964]
8125         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8126         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8128 2013-01-09  David S. Miller  <davem@davemloft.net>
8130         [BZ #15003]
8131         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8132         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8133         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8134         TCP_FASTOPEN): Define.
8135         (tcp_repair_opt): New structure.
8136         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8137         enum values.
8138         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8139         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8140         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8141         (tcp_cookie_transactions): New structure.
8143 2013-01-09  Anton Blanchard  <anton@samba.org>
8145         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8146         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8147         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8148         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8150 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
8152         * include/features.h (__USE_ANSI): Remove.
8154 2013-01-09  Roland McGrath  <roland@hack.frob.com>
8156         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8158         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8160 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
8162         * sysdeps/s390/fpu/libm-test-ulps: Update.
8164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8166         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8167         (__acr): Likewise.
8168         (__cpy): Likewise.
8169         (norm): Likewise.
8170         (denorm): Likewise.
8171         (__mp_dbl): Likewise.
8172         (__dbl_mp): Likewise.
8173         (add_magnitudes): Likewise.
8174         (sub_magnitudes): Likewise.
8175         (__add): Likewise.
8176         (__sub): Likewise.
8177         (__mul): Likewise.
8178         (__inv): Likewise.
8179         (__dvd): Likewise.
8180         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8181         (__acr): Likewise.
8182         (__cpy): Likewise.
8183         (norm): Likewise.
8184         (denorm): Likewise.
8185         (__mp_dbl): Likewise.
8186         (__dbl_mp): Likewise.
8187         (add_magnitudes): Likewise.
8188         (sub_magnitudes): Likewise.
8189         (__add): Likewise.
8190         (__sub): Likewise.
8191         (__mul): Likewise.
8192         (__inv): Likewise.
8193         (__dvd): Likewise.
8194         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8195         (__acr): Likewise.
8196         (__cpy): Likewise.
8197         (norm): Likewise.
8198         (denorm): Likewise.
8199         (__mp_dbl): Likewise.
8200         (__dbl_mp): Likewise.
8201         (add_magnitudes): Likewise.
8202         (sub_magnitudes): Likewise.
8203         (__add): Likewise.
8204         (__sub): Likewise.
8205         (__mul): Likewise.
8206         (__inv): Likewise.
8207         (__dvd): Likewise.
8209 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
8211         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8212         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8213         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8214         2 && __USE_EXTERN_INLINES]: Likewise.
8216 2013-01-08  Andreas Jaeger  <aj@suse.de>
8218         [BZ# 14985]
8219         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8220         Remove.
8221         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8222         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8224 2013-01-07  Anton Blanchard  <anton@samba.org>
8226         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8227         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8228         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8229         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8230         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8231         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8232         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8233         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8234         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8235         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8236         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8237         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8238         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8239         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8240         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8241         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8242         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8243         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8244         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8245         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8246         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8247         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8248         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8249         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8250         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8251         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8252         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8253         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8254         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8255         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8256         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8257         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8258         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8259         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8260         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8261         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8262         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8263         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8264         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8265         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8266         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8267         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8268         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8270 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
8272         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8273         (__MALLOC_PMT): Likewise.
8274         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8275         [__GNUC__], only on [_LIBC].
8276         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8277         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8278         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8279         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8280         forward declaration.
8281         (realloc_hook_ini): Likewise.
8282         (memalign_hook_ini): Likewise.
8283         (__libc_memalign): Do not use __MALLOC_PMT in variable
8284         declaration.
8285         (__libc_valloc): Likewise.
8286         (__libc_pvalloc): Likewise.
8287         (__libc_calloc): Likewise.
8288         (__posix_memalign): Likewise.
8290         [BZ #14996]
8291         * math/s_casinh.c: Include <float.h>.
8292         (__casinh): Do not do computation with squaring and square root
8293         for large arguments.
8294         * math/s_casinhf.c: Include <float.h>.
8295         (__casinhf): Do not do computation with squaring and square root
8296         for large arguments.
8297         * math/s_casinhl.c: Include <float.h>.
8298         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8299         (__casinhl): Do not do computation with squaring and square root
8300         for large arguments.
8301         * math/libm-test.inc (casin_test): Add more tests.
8302         (casinh_test): Likewise.
8303         * sysdeps/i386/fpu/libm-test-ulps: Update.
8304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8306 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
8308         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8309         (__x86_64_raw_data_cache_size): Likewise.
8310         (__x86_64_data_cache_size_half): Likewise.
8311         (__x86_64_raw_data_cache_size_half): Likewise.
8312         (__x86_64_shared_cache_size): Likewise.
8313         (__x86_64_raw_shared_cache_size): Likewise.
8314         (__x86_64_shared_cache_size_half): Likewise.
8315         (__x86_64_raw_shared_cache_size_half): Likewise.
8316         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8317         to ...
8318         (__x86_data_cache_size): This.
8319         (__x86_64_raw_data_cache_size): Renamed to ...
8320         (__x86_raw_data_cache_size): This.
8321         (__x86_64_data_cache_size_half): Renamed to ...
8322         (__x86_data_cache_size_half): This.
8323         (__x86_64_raw_data_cache_size_half): Renamed to ...
8324         (__x86_raw_data_cache_size_half): This.
8325         (__x86_64_shared_cache_size): Renamed to ...
8326         (__x86_shared_cache_size): This.
8327         (__x86_64_raw_shared_cache_size): Renamed to ...
8328         (__x86_raw_shared_cache_size): This.
8329         (__x86_64_shared_cache_size_half): Renamed to ...
8330         (__x86_shared_cache_size_half): This.
8331         (__x86_64_raw_shared_cache_size_half): Renamed to ...
8332         (__x86_raw_shared_cache_size_half): This.
8333         * sysdeps/x86_64/memcpy.S: Updated.
8334         * sysdeps/x86_64/memset.S: Likewise.
8335         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8336         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8337         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8339 2013-01-04  David S. Miller  <davem@davemloft.net>
8341         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8343 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
8345         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8346         1 to avoid redefinition warning.
8347         (__USE_GNU): Don't define.
8348         (init_signaling_nan): Protoize.
8350         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8352 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8354         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8355         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8356         (__cpymn): Likewise.
8357         (norm): Remove commented code.
8358         (denorm): Likewise.
8359         (__mp_dbl): Likewise.
8360         (__inv): Likewise.
8361         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8362         (__cpymn): Likewise.
8363         (norm): Remove commented code.
8364         (denorm): Likewise.
8365         (__mp_dbl): Likewise.
8366         (__inv): Likewise.
8368         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8369         mp_no value for 1.0 and 2.0.
8370         (norm): Use RADIXI instead of radixi.d.
8371         (denorm): Likewise.
8372         (__mul): Use 0.0 instead of zero.d.
8373         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8374         mp_no value for 1.0 and 2.0.
8375         (norm): Use RADIXI instead of radixi.d.
8376         (denorm): Likewise.
8377         (__mul): Use 0.0 instead of zero.d.
8379 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
8381         [BZ #14994]
8382         * math/s_casinh.c (__casinh): Reduce finite argument to first
8383         quadrant then set signs of results at the end.
8384         * math/s_casinhf.c (__casinhf): Likewise.
8385         * math/s_casinhl.c (__casinhl): Likewise.
8386         * math/libm-test.inc (casin_test): Add more tests.
8387         (casinh_test): Likewise.
8388         * sysdeps/i386/fpu/libm-test-ulps: Update.
8389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8391 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8393         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8395         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8397         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8398         declarations.
8399         (denorm): Likewise.
8400         (__mp_dbl): Likewise.
8401         (__inv): Likewise.
8403         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8404         and adjust the header comment.
8406         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8407         variable name from declaration.
8409 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
8411         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8412         Initialize COMMON_CPUID_INDEX_7 element.
8413         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8414         (CPUID_RTM): Likewise.
8415         (HAS_RTM): Likewise.
8416         (COMMON_CPUID_INDEX_7): New enum.
8418 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
8420         [BZ #14981]
8421         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8422         size is zero, record memory as freed.
8424 2013-01-03  Andreas Jaeger  <aj@suse.de>
8426         * po/ia.po: Add new Interlingua translation.
8428 2012-01-03  Allan McRae  <allan@archlinux.org>
8430         * locale/programs/localedef.c: Fix description of '--posix' flag.
8432 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
8434         * NEWS: Update dates in second copyright notice.
8435         * README: Update copyright dates in example.
8436         * manual/libc.texinfo: Update copyright dates.
8437         * scripts/test-installation.pl: Update copyright date in --version
8438         output.
8440         * hurd/ctty-input.c: Fix copyright notice formatting.
8441         * hurd/ctty-output.c: Likewise.
8442         * hurd/dtable.c: Likewise.
8443         * hurd/hurd-raise.c: Likewise.
8444         * hurd/hurdprio.c: Likewise.
8445         * hurd/msgportdemux.c: Likewise.
8446         * misc/sys/file.h: Likewise.
8447         * misc/sys/ioctl.h: Likewise.
8448         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8449         * sysdeps/mach/hurd/chdir.c: Likewise.
8450         * sysdeps/mach/hurd/fchdir.c: Likewise.
8451         * sysdeps/mach/hurd/rename.c: Likewise.
8452         * sysdeps/mach/hurd/rmdir.c: Likewise.
8453         * sysdeps/mach/hurd/seekdir.c: Likewise.
8454         * sysdeps/mach/hurd/setsid.c: Likewise.
8455         * sysdeps/posix/wait3.c: Likewise.
8457         * All files with FSF copyright notices: Update copyright dates
8458         using scripts/update-copyrights.
8459         * intl/plural.c: Regenerated.
8460         * locale/programs/charmap-kw.h: Likewise.
8461         * locale/programs/locfile-kw.h: Likewise.
8463 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8465         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8466         four values.
8468         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8469         calculation loop and add branch prediction.
8471         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8472         check access beyond bounds of m1np.
8474         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8475         MPTWO.
8476         (__inv): Remove local variable MPTWO to use the global
8477         constant.
8478         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8479         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8480         variable MPTWO.
8481         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8482         MP3HALFS static const.
8484 2013-01-01  David S. Miller  <davem@davemloft.net>
8486         * po/ca.po: Update from translation team.
8488 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
8490         * scripts/update-copyrights: New file.
8491         * Makeconfig: Reformat copyright notice.
8492         * ctype/ctype.h: Likewise.
8493         * debug/swprintf_chk.c: Likewise.
8494         * elf/dl-cache.c: Likewise.
8495         * elf/dl-debug.c: Likewise.
8496         * elf/dl-object.c: Likewise.
8497         * grp/initgroups.c: Likewise.
8498         * hurd/Makefile: Likewise.
8499         * hurd/hurd/signal.h: Likewise.
8500         * hurd/hurdfault.c: Likewise.
8501         * hurd/hurdioctl.c: Likewise.
8502         * hurd/hurdlookup.c: Likewise.
8503         * hurd/intr-msg.c: Likewise.
8504         * iconv/gconv_open.c: Likewise.
8505         * libio/swprintf.c: Likewise.
8506         * locale/lc-ctype.c: Likewise.
8507         * locale/nl_langinfo.c: Likewise.
8508         * mach/Machrules: Likewise.
8509         * mach/Makefile: Likewise.
8510         * malloc/obstack.h: Likewise.
8511         * manual/Makefile: Likewise.
8512         * manual/tsort.awk: Likewise.
8513         * misc/bits/stab.def: Likewise.
8514         * nis/nis_print_group_entry.c: Likewise.
8515         * nis/nis_table.c: Likewise.
8516         * nis/nss_compat/compat-pwd.c: Likewise.
8517         * nis/nss_compat/compat-spwd.c: Likewise.
8518         * po/Makefile: Likewise.
8519         * posix/fnmatch.c: Likewise.
8520         * posix/regex.h: Likewise.
8521         * resolv/Makefile: Likewise.
8522         * resolv/nss_dns/dns-network.c: Likewise.
8523         * resolv/res_hconf.c: Likewise.
8524         * scripts/gen-sorted.awk: Likewise.
8525         * soft-fp/soft-fp.h: Likewise.
8526         * stdio-common/printf.h: Likewise.
8527         * stdlib/monetary.h: Likewise.
8528         * stdlib/random.c: Likewise.
8529         * stdlib/random_r.c: Likewise.
8530         * sysdeps/generic/Makefile: Likewise.
8531         * sysdeps/gnu/Makefile: Likewise.
8532         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8533         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8534         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8535         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8536         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8537         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8538         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8539         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8540         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8541         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8542         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8543         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8544         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8545         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8546         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8547         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8548         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8549         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8550         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8551         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8552         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8553         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8554         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8555         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8556         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8557         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8558         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8559         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8560         * sysdeps/mach/hurd/errnos.awk: Likewise.
8561         * sysdeps/mach/hurd/fork.c: Likewise.
8562         * sysdeps/mach/hurd/getcwd.c: Likewise.
8563         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8564         * sysdeps/mach/hurd/mmap.c: Likewise.
8565         * sysdeps/mach/hurd/utimes.c: Likewise.
8566         * sysdeps/mach/hurd/xmknod.c: Likewise.
8567         * sysdeps/posix/profil.c: Likewise.
8568         * sysdeps/posix/readdir_r.c: Likewise.
8569         * sysdeps/powerpc/bits/mathdef.h: Likewise.
8570         * sysdeps/powerpc/bits/setjmp.h: Likewise.
8571         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8572         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8573         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8574         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8575         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8576         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8577         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8578         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8579         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8580         * sysdeps/pthread/lio_listio.c: Likewise.
8581         * sysdeps/sparc/dl-procinfo.h: Likewise.
8582         * sysdeps/unix/i386/sysdep.S: Likewise.
8583         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8584         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8585         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8586         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8588         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8589         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8590         * sysdeps/unix/sysv/linux/speed.c: Likewise.
8591         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8592         * sysdeps/wordsize-32/divdi3.c: Likewise.
8593         * time/sys/time.h: Likewise.
8594         * wcsmbs/Makefile: Likewise.
8596 2013-01-01  David S. Miller  <davem@davemloft.net>
8598         * po/fr.po: Update from translation team.
8600         * catgets/gencat.c: Update copyright year.
8601         * csu/version.c: Likewise.
8602         * debug/catchsegv.sh: Likewise.
8603         * debug/pcprofiledump.c: Likewise.
8604         * debug/xtrace.sh: Likewise.
8605         * elf/ldconfig.c: Likewise.
8606         * elf/ldd.bash.in: Likewise.
8607         * elf/pldd.c: Likewise.
8608         * elf/sotruss.ksh: Likewise.
8609         * elf/sprof.c: Likewise.
8610         * iconv/iconv_prog.c: Likewise.
8611         * iconv/iconvconfig.c: Likewise.
8612         * locale/programs/locale.c: Likewise.
8613         * locale/programs/localedef.c: Likewise.
8614         * login/programs/pt_chown.c: Likewise.
8615         * malloc/memusage.sh: Likewise.
8616         * malloc/memusagestat.c: Likewise.
8617         * malloc/mtrace.pl: Likewise.
8618         * nscd/nscd.c: Likewise.
8619         * nss/getent.c: Likewise.
8620         * nss/makedb.c: Likewise.
8621         * posix/getconf.c: Likewise.
8623 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8625         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8626         numbers.
8628 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
8630         * math/bits/mathcalls.h (modf): Use __nonnull.
8632 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8634         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8635         (split): Use macro CN instead of the bare value.
8636         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8637         could be used.
8638         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8639         instead of the bare value.
8640         (power1): Likewise.
8642 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8644         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8645         __ATAN_TWOM.
8646         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8648         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8649         their values.
8650         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8651         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8652         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8653         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8655 2012-12-28  Andreas Jaeger  <aj@suse.de>
8657         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
8658         values are from Linux 3.7.
8660         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8661         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
8663 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8665         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
8666         TRUE case.
8668         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8669         (norm): Likewise.
8670         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8671         variables with preprocessor constants.
8672         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8673         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8674         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8676 2012-12-27  Bruno Haible  <bruno@clisp.org>
8678         [BZ #14317]
8679         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8680         only if needed.
8682 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8684         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8685         and use variable directly.
8686         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8688         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8689         MPONE.
8690         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8691         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8692         variable MPONE.
8693         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8694         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8695         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8696         include directive.  Remove local variable MPONE.
8697         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8698         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8699         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8701 2012-12-25  David S. Miller  <davem@davemloft.net>
8703         * version.h (RELEASE): Set to "development".
8704         (VERSION): Set to "2.17.90".
8705         * NEWS: Add 2.18 section.
8707 2012-12-21  David S. Miller  <davem@davemloft.net>
8709         * po/hr.po: Update from translation team.
8711 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8713         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8715 2012-12-19  Steve Ellcey  <sellcey@mips.com>
8717         * NEWS:  Mention new memcpy for MIPS.
8719 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8721         * manual/contrib.texi (Contributors): Spelling correction.
8723 2012-12-15  David S. Miller  <davem@davemloft.net>
8725         * po/ru.po: Update from translation team.
8727 2012-12-13  David S. Miller  <davem@davemloft.net>
8729         * NEWS: Mention IFUNC testsuite enhancements.
8731         * po/pl.po: Update from translation team.
8732         * po/bg.po: Likewise.
8734         * manual/contrib.texi (Contributors): Update entries for Hongjiu
8735         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
8737 2012-12-11  David S. Miller  <davem@davemloft.net>
8739         * po/sv.po: Update from translation team.
8741         * po/vi.po: Update from translation team.
8743         * po/cs.po: Update from translation team.
8745         * po/de.po: Update from translation team.
8746         * po/eo.po: Likewise.
8747         * po/nl.po: Likewise.
8749 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8751         [BZ #14246]
8752         * manual/argp.texi (Argp Helper Functions): Move node to follow
8753         Argp Parsing State.
8755         [BZ #14872]
8756         * manual/conf.texi (Limits on File System Capacity): Mention if
8757         terminating null is included in the max size.
8759 2012-12-10  Andreas Jaeger  <aj@suse.de>
8761         * po/cs.po: Update from translation team.
8763 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8765         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8766         void pointer and cast to uintptr_t.
8767         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8768         path.
8769         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8770         * sysdeps/s390/s390-64/memset.S: Likewise.
8772 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
8774         [BZ #14833]
8775         * menual/message.texi (Message Translation): Fix typos.
8776         (Helper programs for gettext): Likewise.
8778 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
8780         [BZ #14898]
8781         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8782         Change to -1.
8784 2012-12-07  David S. Miller  <davem@davemloft.net>
8786         * po/libc.pot: Update.
8788 2012-12-07  Richard Henderson  <rth@redhat.com>
8790         [BZ #10114]
8791         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8792         normal/normal case to before the switch.
8793         (_FP_DIV): Likewise.
8795 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
8796             Mike Frysinger  <vapier@gentoo.org>
8798         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8799         check for __NR_fadvise64_64.
8801 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
8803         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8804         0, not just to plain "0" as a statement.
8805         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8806         with cw.
8808 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
8810         * NEWS: Use sourceware.org in Bugzilla URL.
8812 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8815         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8817         * stdio-common/tst-put-error.c (do_test): Add newline to the
8818         padded test to ensure flush.
8820 2012-12-05  Jeff Law  <law@redhat.com>
8822         * sunrpc/etc.rpc (fedfs_admin): Add entry.
8824 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
8826         * README: Don't refer to ports add-on as distributed separately.
8827         Mention AArch64 in list of systems supported in the ports add-on.
8829         * LICENSES: Add more non-FSF copyright and license notices.
8831         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8832         ((unused)).
8834         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8836         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8837         10000 as width of padded output.
8839 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8841         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8843         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8844         variable LX with __attribute__ ((unused)).
8845         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8846         Likewise.
8847         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8848         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8849         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8850         with __attribute__ ((unused)).
8852 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
8854         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8856 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8858         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8859         (CFLAGS-nldbl-acos.c): New variable.
8860         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8861         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8862         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8863         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8864         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8865         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8866         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8867         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8868         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8869         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8870         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8871         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8872         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8873         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8874         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8875         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8876         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8877         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8878         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8879         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8880         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8881         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8882         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8883         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8884         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8885         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8886         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8887         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8888         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8889         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8890         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8891         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8892         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8893         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8894         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8895         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8896         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8897         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8898         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8899         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8900         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8901         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8902         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8903         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8904         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8905         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8906         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8907         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8908         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8909         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8910         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8911         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8912         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8913         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8914         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8915         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8916         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8917         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8918         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8919         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8920         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8921         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8922         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8923         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8924         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8925         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8926         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8927         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8928         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8929         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8930         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8931         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8932         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8933         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8934         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8935         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8936         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8937         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8938         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8939         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8940         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8941         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8942         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8943         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8944         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8945         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8946         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8947         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8948         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8949         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8950         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8951         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8952         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8953         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8954         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8955         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8956         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8959         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8961         [BZ #14914]
8962         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8963         whole low double instead of just low 47 bits when splitting values
8964         into two parts.
8966 2012-12-03  Allan McRae  <allan@archlinux.org>
8968         * manual/stdio.texi (Predefined Printf Handlers): Remove
8969         @hsep and @vsep usage.
8971 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
8973         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8974         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8976 2012-12-03  Jeff Law  <law@redhat.com>
8978         * time/sys/time.h (settimeofday): Do not mark TV argument
8979         as __nonnull.
8981 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
8983         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8984         when currently writing and seek to current position when not.
8985         * libio/Makefile (tests): Remove bug-fclose1.
8986         * libio/bug-fclose1.c: Delete.
8988 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
8990         * manual/arith.texi (feenableexcept): Fix typo.
8991         (fedisableexcept): Likewise.
8993 2012-11-30  Roland McGrath  <roland@hack.frob.com>
8995         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8996         second, differently-typed declaration, rather than a cast.
8998 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9000         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9001         * include/rpc/svc.h: ... here.
9003 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
9005         [BZ #13013]
9006         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9007         depending n and resplen2 to catch cases where answer
9008         equals answerp2.
9010 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
9012         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9013         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9015 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
9017         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9019 2012-11-29  Roland McGrath  <roland@hack.frob.com>
9021         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9023 2012-11-28  Jeff Law  <law@redhat.com>
9025         [BZ #13761]
9026         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9027         dataset_temporary.  Track alloca usage into alloca_used.
9028         If dataset is large allocate and release it via malloc/free.
9030 2012-06-04  Florian Weimer  <fweimer@redhat.com>
9032         [BZ #14197]
9033         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9035 2012-11-28  David S. Miller  <davem@davemloft.net>
9037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9039 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
9041         [BZ #14803]
9042         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9043         of pi/2 rounded to nearest to 64 bits.
9044         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9045         nearest to 64 bits.
9046         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9047         bits.
9049 2012-11-28  Jeff Law <law@redhat.com>
9050             Martin Osvald <mosvald@redhat.com>
9052         [BZ #14889]
9053         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9054         * sunrpc/svc.c: Include time.h.
9055         (__svc_accept_failed): New function.
9056         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9057         any reason other than EINTR, call __svc_accept_failed.
9058         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9059         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9061 2012-11-28  Andreas Schwab  <schwab@suse.de>
9063         * scripts/abilist.awk: Also handle indirect functions in .opd
9064         section.
9066 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
9068         [BZ #13881]
9069         * sysdeps/x86/fpu/powl_helper.c: New file.
9070         * sysdeps/x86/fpu/Makefile: Likewise.
9071         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9072         (p3): New object.
9073         (__ieee754_powl): Use __powl_helper for finite arguments except
9074         integer exponents below 8.
9075         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9076         (p3): New object.
9077         (__ieee754_powl): Use __powl_helper for finite arguments except
9078         integer exponents below 8.
9079         * math/libm-test.inc (pow_test): Add more tests and enable some
9080         previously disabled tests.
9081         * sysdeps/i386/fpu/libm-test-ulps: Update.
9082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9084 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9085             Carlos O'Donell  <carlos_odonell@mentor.com>
9087         * nss/makedb.c (is_prime): Assert that input is odd and greater
9088         than 4.  Note that fact in a comment too.
9089         (next_prime): Add 4 to input.
9091 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9093         [BZ #11741]
9094         * libio/Makefile (tests): Add test case tst-fwrite-error.
9095         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9096         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9097         * libio/tst-fwrite-error.c: New test case.
9099 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
9101         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9102         before casting to void *.
9103         * include/libc-internal.h (__pointer_type): New macro.
9104         (__integer_if_pointer_type_sub): Likewise.
9105         (__integer_if_pointer_type): Likewise.
9106         (cast_to_integer): Likewise.
9107         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9108         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9109         before casting to atomic64_t.
9110         (atomic_exchange_acq): Likewise.
9111         (__arch_exchange_and_add_body): Likewise.
9112         (__arch_add_body): Likewise.
9113         (atomic_add_negative): Likewise.
9114         (atomic_add_zero): Likewise.
9116 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
9118         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9119         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9120         (add_fdes): Likewise.
9121         (linear_search_fdes): Likewise.
9122         (binary_search_unencoded_fdes): Likewise.
9124 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
9126         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9128 2012-11-24  Adam Conrad  <adconrad@0c3.net>
9130         * configure.in: Autodetect C++ header directories.
9131         * configure: Regenerated.
9133 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
9135         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9137 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
9139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9141 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
9143         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9144         LDBL_MANT_DIG == 106]: Disable some tests.
9145         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9146         Likewise.
9147         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9148         Likewise.
9150         [BZ #14871]
9151         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9152         input for small inputs.  Return +/- pi/2 for large inputs.
9153         * math/libm-test.inc (atan_test): Add more tests.
9155         * sysdeps/generic/unwind-dw2-fde-glibc.c
9156         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9157         __attribute__ ((unused)).
9159         [BZ #14645]
9160         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9161         x * y if x and y are nonzero and z is zero.
9163         [BZ #14811]
9164         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9165         nonzero exponents with absolute value below 0x1p-117 to +/-
9166         0x1p-117.
9168         [BZ #14869]
9169         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9170         up arguments below 2**-450, not just those below 2**-500.
9171         * math/libm-test.inc (hypot_test): Add another test.
9173         [BZ #14868]
9174         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9175         Return a+b for ratio over 2**120, not 2**60.
9176         * math/libm-test.inc (hypot_test): Add another test.
9178         * math/libm-test.inc (clog_test): Use
9179         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9180         (clog10_test): Likewise.
9182         [BZ #6778]
9183         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9185 2012-11-22  Andreas Schwab  <schwab@suse.de>
9187         * sysdeps/i386/fpu/libm-test-ulps: Update.
9189 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
9191         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9192         printf output with newline.
9194 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
9196         [BZ #14865]
9197         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9198         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9199         -z nodlopen, -z initfirst and -z execstack support.
9200         * configure: Regenerated.
9202         * elf/elf.h (DF_1_NODIRECT): New macro.
9203         (DF_1_IGNMULDEF): Likewise.
9204         (DF_1_NOKSYMS): Likewise.
9205         (DF_1_NOHDR): Likewise.
9206         (DF_1_EDITED): Likewise.
9207         (DF_1_NORELOC): Likewise.
9208         (DF_1_SYMINTPOSE): Likewise.
9209         (DF_1_GLOBAUDIT): Likewise.
9210         (DF_1_SINGLETON): Likewise.
9211         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9212         DT_1_SUPPORTED_MASK bits.
9213         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9215 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
9217         * sysdeps/unix/make-syscalls.sh: Document prefixes.
9219 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
9221         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9222         macro.
9224         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9225         (sendmmsg): Move declarations...
9226         * socket/sys/socket.h: ... here.
9227         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9228         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9229         include it from...
9230         * socket/recvmmsg.c: ... this new file.
9231         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9232         (sendmmsg): Rename to __sendmmsg, create weak alias and make
9233         definition of __sendmmsg hidden.
9234         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9235         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9236         Move ENOSYS stub into and include it from...
9237         * socket/sendmmsg.c: ... this new file.
9238         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9239         (sysdep_routines): Move recvmmsg and sendmmsg...
9240         * socket/Makefile (routines): ... here.
9241         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9242         (GLIBC_PRIVATE): Add __sendmmsg.
9243         * include/sys/socket.h (__sendmmsg): Add declarations.
9244         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9245         sendmmsg.
9247 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
9249         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9250         variable I1 with __attribute__ ((unused)).
9251         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9253 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
9255         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9256         DUMMY variables with __attribute__ ((unused)).
9258         * bits/byteswap.h: Include <bits/types.h>.
9259         (__bswap_64): Use __uint64_t instead of unsigned long long int.
9261 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
9263         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9264         string_t.  Do not manually set errno.
9265         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9266         length with __strnlen.  Make sure to both set errno and return it on
9267         failure.
9269 2012-11-19  David S. Miller  <davem@davemloft.net>
9271         With help from Joseph Myers.
9272         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9273         very large arguments properly.
9274         * math/libm-test.inc (atan_test): New tests.
9275         (atan2_test): New tests.
9276         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9277         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9279 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
9281         [BZ #14856]
9282         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9283         Define to 3.
9285         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9286         [POSIX] (EADDRNOTAVAIL): Likewise.
9287         [POSIX] (EAFNOSUPPORT): Likewise.
9288         [POSIX] (EALREADY): Likewise.
9289         [POSIX] (ECONNABORTED): Likewise.
9290         [POSIX] (ECONNREFUSED): Likewise.
9291         [POSIX] (ECONNRESET): Likewise.
9292         [POSIX] (EDESTADDRREQ): Likewise.
9293         [POSIX] (EDQUOT): Likewise.
9294         [POSIX] (EHOSTUNREACH): Likewise.
9295         [POSIX] (EIDRM): Likewise.
9296         [POSIX] (EISCONN): Likewise.
9297         [POSIX] (ELOOP): Likewise.
9298         [POSIX] (EMULTIHOP): Likewise.
9299         [POSIX] (ENETDOWN): Likewise.
9300         [POSIX] (ENETUNREACH): Likewise.
9301         [POSIX] (ENOBUFS): Likewise.
9302         [POSIX] (ENODATA): Likewise.
9303         [POSIX] (ENOLINK): Likewise.
9304         [POSIX] (ENOMSG): Likewise.
9305         [POSIX] (ENOPROTOOPT): Likewise.
9306         [POSIX] (ENOSR): Likewise.
9307         [POSIX] (ENOSTR): Likewise.
9308         [POSIX] (ENOTCONN): Likewise.
9309         [POSIX] (ENOTSOCK): Likewise.
9310         [POSIX] (EOPNOTSUPP): Likewise.
9311         [POSIX] (EOVERFLOW): Likewise.
9312         [POSIX] (EPROTO): Likewise.
9313         [POSIX] (EPROTONOSUPPORT): Likewise.
9314         [POSIX] (EPROTOTYPE): Likewise.
9315         [POSIX] (ESTALE): Likewise.
9316         [POSIX] (ETIME): Likewise.
9317         [POSIX] (ETXTBSY): Likewise.
9318         [POSIX] (EWOULDBLOCK): Likewise.
9319         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9320         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9321         [POSIX] (SEEK_CUR): Likewise.
9322         [POSIX] (SEEK_END): Likewise.
9323         [POSIX || UNIX98] (mode_t): Do not require.
9324         [POSIX] (off_t): Likewise.
9325         [POSIX] (pid_t): Likewise.
9326         [POSIX] (sys/stat.h): Do not allow header.
9327         [POSIX] (unistd.h): Likewise.
9328         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9329         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9330         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9331         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9332         require.
9333         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9334         sigevent): Specify elements.
9335         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9336         entry.
9337         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9338         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9340         * conform/data/cpio.h-data [POSIX]: Disable whole file.
9341         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9342         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9343         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9344         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9345         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9346         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9347         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9348         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9349         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9350         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9351         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9352         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9353         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9354         Likewise.
9355         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9356         Likewise.
9357         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9358         Likewise.
9359         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9360         Likewise.
9361         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9362         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9363         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9364         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9365         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9366         Specify lower bound on value.
9367         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9368         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9369         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9370         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9371         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9372         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9373         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9374         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9375         value.
9376         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9377         as optional.
9378         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9379         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9380         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9381         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9382         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9383         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9384         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9385         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9386         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9387         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9388         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9389         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9390         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9391         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9392         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9393         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9394         entry.
9395         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9396         optional.
9397         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9398         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9399         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9400         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9401         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9402         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9403         Likewise.
9404         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9405         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9406         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9407         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9408         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
9409         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9410         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9411         as optional.
9412         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9413         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9414         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9415         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9416         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9417         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9418         specify as optional.
9419         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9420         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9421         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9422         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9423         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9424         [XPG3] (NL_LANGMAX): Likewise.
9425         [POSIX || XPG3] (NL_MSGMAX): Likewise.
9426         [POSIX || XPG3] (NL_NMAX): Likewise.
9427         [POSIX || XPG3] (NL_SETMAX): Likewise.
9428         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9429         [XPG3] (NZERO): Likewise.
9430         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9431         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9432         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9433         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9434         (REG_ERANGE): Expect.
9435         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9436         optional-constant.
9437         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9438         Use (void) in prototype.
9439         [POSIX] (*_t): Allow.
9440         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9441         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9442         (WRDE_BADVAL): Expect.
9444         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9445         expect.
9446         [XPG3 || XPG4] (O_RSYNC): Likewise.
9447         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9448         Likewise.
9449         [XPG3 || XPG4] (pthread_sigmask): Likewise.
9450         [XPG3 || XPG4] (sigqueue): Likewise.
9451         [XPG3 || XPG4] (sigtimedwait): Likewise.
9452         [XPG3 || XPG4] (sigwaitinfo): Likewise.
9453         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9454         [XPG3 || XPG4] (vsnprintf): Likewise.
9455         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9456         Likewise.
9457         [XPG3 || XPG4] (blksize_t): Likewise.
9458         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9459         Likewise.
9460         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9461         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9462         [XPG3 || XPG4] (struct itimerspec): Likewise.
9463         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9464         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9465         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9466         [XPG3 || XPG4] (clockid_t): Likewise.
9467         [XPG3 || XPG4] (timer_t): Likewise.
9468         [XPG3 || XPG4] (clock_getres): Likewise.
9469         [XPG3 || XPG4] (clock_gettime): Likewise.
9470         [XPG3 || XPG4] (clock_settime): Likewise.
9471         [XPG3 || XPG4] (nanosleep): Likewise.
9472         [XPG3 || XPG4] (timer_create): Likewise.
9473         [XPG3 || XPG4] (timer_delete): Likewise.
9474         [XPG3 || XPG4] (timer_gettime): Likewise.
9475         [XPG3 || XPG4] (timer_getoverrun): Likewise.
9476         [XPG3 || XPG4] (timer_settime): Likewise.
9477         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9478         [XPG3 || XPG4] (getlogin_r): Likewise.
9479         [XPG3 || XPG4] (pread): Likewise.
9480         [XPG3 || XPG4] (pthread_atfork): Likewise.
9481         [XPG3 || XPG4] (pwrite): Likewise.
9483         [BZ #14835]
9484         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9485         <bits/siginfo.h>.
9487 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
9489         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9490         finalizing MALLSTREAM.
9492         * sysdeps/mach/hurd/syncfs.c: New file.
9494 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9496         [BZ #14719]
9497         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9498         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9499         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9500         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9501         (_nss_dns_gethostbyname4_r): Likewise.
9502         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9503         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9505 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
9507         [BZ #13763]
9508         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9510 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
9512         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9513         * elf/cache.c (print_entry): Print ",AArch64" for
9514         FLAG_AARCH64_LIB64
9516         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9517         * elf/cache.c (print_entry): Print ",hard-float" for
9518         FLAG_ARM_LIBHF.
9520 2012-11-18  David S. Miller  <davem@davemloft.net>
9522         With help from Joseph Myers.
9523         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9524         cutoff to 2**-13.
9525         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9526         cutoff to 2**-25.
9527         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9528         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9529         small.
9530         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9531         * math/libm-test.inc (y0_test): New tests.
9532         (y1_test): New tests.
9533         * sysdeps/i386/fpu/libm-test-ulps: Update.
9534         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9535         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9537 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
9539         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9540         64-bit targets.
9541         * configure: Regenerated.
9543 2012-11-17  David S. Miller  <davem@davemloft.net>
9545         [BZ #14811]
9546         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9547         nonzero exponents with absolute value below 0x1p-128 to +/-
9548         0x1p-128.
9550 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
9552         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9554         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9556         * posix/getconf-speclist.c: New file.
9557         * posix/posix-envs.def: Likewise.
9558         * posix/confstr.c (START_ENV_GROUP): New macro.
9559         (END_ENV_GROUP): Likewise.
9560         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9561         (KNOWN_PRESENT_ENV_STRING): Likewise.
9562         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9563         (UNKNOWN_ENVIRONMENT): Likewise.
9564         (confstr): Include posix-envs.def instead of handling
9565         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9566         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9567         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9568         (END_ENV_GROUP): Likewise.
9569         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9570         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9571         (UNKNOWN_ENVIRONMENT): Likewise.
9572         (__sysconf): Include posix-envs.def instead of handling associated
9573         cases directly here.
9574         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9575         preprocessing getconf-speclist.c rather than running getconf or
9576         generating empty file.
9578 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
9580         * scripts/check-local-headers.sh: Ignore 'mach' headers.
9582 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
9584         [BZ #14672]
9585         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9587 2012-11-16  David S. Miller  <davem@davemloft.net>
9589         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9590         smaller than LDBL_EPSILON/2.0L, just return xm1.
9592 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
9594         * elf/tst-array1.c (init): Set constructor priority to 1000.
9595         (fini): Set destructor priority to 1000.
9596         * elf/tst-array2dep.c: Likewise.
9598 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9600         [BZ #11741]
9601         * libio/fileops.c (_IO_new_file_write): Correctly return error.
9602         (_IO_new_file_xsputn): Also return EOF if none of the input
9603         data was written when overflow failed.
9604         * libio/iopadn.c (_IO_padn): Likewise.
9605         * libio/iowpadn.c (_IO_wpadn): Likewise.
9606         * stdio-common/tst-put-error.c: Add copyright notice.
9607         (do_test): Add case for printing padded string.
9608         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9609         _IO_padn returned error.
9610         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9611         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9612         return EOF.
9614 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9616         * libio/libioP.h: Add comment note that the references to C++
9617         bits are now obsolete.
9619 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9621         * math/libm-test.inc (check_complex): Use asprintf.
9623 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
9625         * debug/pcprofiledump.c (print_version): Update copyright year.
9626         * malloc/memusagestat.c (print_version): Likewise.
9628 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
9630         [BZ #14831]
9631         * elf/Makefile (tests): Add tst-audit8.
9632         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9633         ($(objpfx)tst-audit8.out): New target.
9634         (tst-audit8-ENV): New variable.
9635         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9636         audit if l_reloc_result is NULL.
9637         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9638         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9639         * elf/tst-audit8.c: New file.
9641 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9643         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9644         * misc/Makefile (CFLAGS-select.c): Define.
9645         * posix/Makefile (CFLAGS-pause.c): Define.
9647 2012-11-13  David S. Miller  <davem@davemloft.net>
9649         * crypt/Makefile: Move test targets after toplevel Rules
9650         inclusion.  Grab any necessary sysdep routines when linking.
9651         * crypt/md5.c (md5_process_block): Remove define, we will always
9652         name it __md5_process_block.
9653         (md5_finish_ctx): Update md5_process_block call.
9654         (md5_stream): Likewise.
9655         (md5_process_bytes): Likewise.
9656         (md5_process_block): Rename to __md5_process_block and move to ...
9657         * crypt/md5-block.c: ... here.
9658         * crypt/sha256.c (sha256_process_block): Move to ...
9659         * crypt/sha256-block.c: ... here.
9660         * crypt/sha512.c (sha512_process_block): Move to ...
9661         * crypt/sha512-block.c: ... here.
9662         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9663         path.
9664         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9665         * sysdeps/sparc/sparc64/multiarch/Makefile
9666         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9667         crypt subdir.
9668         (localedef-aux): Add md5 crypto assembler when in locale subdir.
9669         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9670         multiarch changes.
9671         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9672         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9673         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9674         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9675         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9676         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9677         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9678         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9679         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9680         file.
9681         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9682         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9683         file.
9684         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9686 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
9688         * timezone/tzselect.ksh: Update from tzcode git revision
9689         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9690         * timezone/zdump.c: Likewise.
9691         * timezone/zic.c: Likewise.
9692         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9693         in TZVERSION setting, not $(PKGVERSION).
9694         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
9695         REPORT_BUGS_TO settings.
9697         [BZ #14838]
9698         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9699         macro.
9701 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9703         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9704         detection to immediately after _FP_ROUND().
9705         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9706         bits are 0.
9708 2012-11-11  David S. Miller  <davem@davemloft.net>
9710         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9711         inttypes.h
9712         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9713         __close rather than their public counterparts.
9715 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
9717         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9718         file.
9719         [UNIX98] (sem_timedwait): Do not expect.
9720         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9721         [XPG4 || UNIX98] (sockatmark): Do not expect.
9722         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9723         (clock_getcpuclockid): Do not expect.
9724         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9725         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9726         Do not expect.
9727         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9728         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9729         [UNIX98] (vwscanf): Likewise.
9730         [UNIX98] (vswscanf): Likewise.
9732 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
9734         * timezone/version.h: Remove file.
9735         * timezone/README: Do not refer to version.h.
9736         * timezone/Makefile ($(objpfx)zic.o): New dependency on
9737         $(objpfx)version.h.
9738         ($(objpfx)zdump.o): Likewise.
9739         ($(objpfx)version.h): New target.
9741         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9742         2012i.
9743         * timezone/README: Don't mention modification to tzselect.ksh.
9744         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9745         work on unmodified tzselect.ksh.  Substitute version numbers in
9746         tzselect.ksh.
9748         * Makefile (format-me): Remove.
9749         (INSTALL): Adjust indentation.  Use commands directly instead of
9750         using $(format-me).
9752         * aclocal.m4 (ACX_PKGVERSION): New macro.
9753         (ACX_BUGURL): Likewise.
9754         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9755         (PKGVERSION): New AC_DEFINE_UNQUOTED.
9756         (REPORT_BUGS_TO): Likewise.
9757         * configure: Regenerated.
9758         * config.h.in (PKGVERSION): New macro.
9759         (REPORT_BUGS_TO): Likewise.
9760         * config.make.in (PKGVERSION): New variable.
9761         (PKGVERSION_TEXI): Likewise.
9762         (REPORT_BUGS_TO): Likewise.
9763         (REPORT_BUGS_TEXI): Likewise.
9764         * Makefile (format-me): Use -I$(common-objpfx)manual.
9765         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9766         ($(common-objpfx)manual/%): New target.
9767         (manual/%): Remove target.
9768         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9769         (print_version): Use PKGVERSION.
9770         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9771         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9772         and REPORT_BUGS_TO.
9773         ($(objpfx)xtrace): Likewise.
9774         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9775         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9776         (print_version): Use PKGVERSION.
9777         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9778         (do_version): Use PKGVERSION.
9779         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9780         REPORT_BUGS_TO.
9781         (common-ldd-rewrite): Likewise.
9782         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9783         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9784         (print_version): Use PKGVERSION.
9785         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9786         * elf/pldd.c (argp_program_bug_address): Remove variable.
9787         (more_help): New function.
9788         (argp): Use more_help.
9789         (print_version): Use PKGVERSION.
9790         * elf/sln.c (main): Use PKGVERSION.
9791         (usage): Use REPORT_BUGS_TO.
9792         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9793         (top level): Use PKGVERSION.
9794         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9795         (print_version): Use PKGVERSION.
9796         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9797         (print_version): Use PKGVERSION.
9798         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9799         (print_version): Use PKGVERSION.
9800         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9801         (print_version): Use PKGVERSION.
9802         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9803         (print_version): Use PKGVERSION.
9804         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9805         (print_version): Use PKGVERSION.
9806         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9807         and BUGURL.
9808         ($(objpfx)memusage): Likewise.
9809         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9810         (do_version): Use PKGVERSION.
9811         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9812         (print_version): Use PKGVERSION.
9813         * malloc/mtrace.pl ($PACKAGE): Remove variable.
9814         ($PKGVERSION): New variable.
9815         ($REPORT_BUGS_TO): Likewise.
9816         (usage): Use $REPORT_BUGS_TO.
9817         (top level): Use $PKGVERSION.
9818         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9819         ($(objpfx)pkgvers.texi): New rule.
9820         ($(objpfx)stamp-pkgvers): Likewise.
9821         * manual/install.texi: Include pkgvers.texi.
9822         (--with-pkgversion): Document new configure option.
9823         (--with-bugurl): Likewise.
9824         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9825         than necessarily for this particular distribution.  Use
9826         REPORT_BUGS_TO for where to report bugs.
9827         * INSTALL: Regenerated.
9828         * manual/libc.texinfo: Include pkgvers.texi.
9829         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9830         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9831         (print_version): Use PKGVERSION.
9832         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9833         (print_version): Use PKGVERSION.
9834         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9835         (print_version): Use PKGVERSION.
9836         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9837         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9838         macro.
9839         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9840         (print_version): Use PKGVERSION.
9841         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9842         (print_version): Use PKGVERSION.
9843         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9844         and PKGVERSION.
9846         * timezone/checktab.awk: Update from tzcode 2012i.
9847         * timezone/ialloc.c: Likewise.
9848         * timezone/private.h: Likewise.
9849         * timezone/scheck.c: Likewise.
9850         * timezone/tzfile.h: Likewise.
9851         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9852         (TZVERSION): Hardcode tzcode version number.
9853         * timezone/zdump.c: Update from tzcode 2012i.
9854         * timezone/zic.c: Likewise.
9855         * timezone/version.h: New file.
9856         * timezone/README: Describe version.h.  Update upstream location.
9858         [BZ #14824]
9859         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9860         (mktemp): Enable declaration.
9861         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9862         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9863         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9864         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9865         Likewise.
9866         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9867         Likewise.
9868         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9869         Likewise.
9870         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9871         Likewise.
9872         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9873         Likewise.
9874         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9875         Likewise.
9877         [BZ #14821]
9878         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9879         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
9880         for copies of such integer values.
9881         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9882         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9884 2012-11-09  Andreas Jaeger  <aj@suse.de>
9886         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9887         definitions and declarations that are provided by
9888         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9890 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9892         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
9893         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9894         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9895         definition.
9897 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9899         * elf/elf.h: Update comment before AArch64 relocations.
9901 2012-11-07  David S. Miller  <davem@davemloft.net>
9903         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9904         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9905         (__start_context): Declare.
9906         (__makecontext_ret): Delete.
9907         (__makecontext): Hook up __start_context instead of
9908         __makecontext_ret.
9909         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9910         (sysdep_routines): Add __start_context when in stdlib.
9912 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9914         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9915         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9916         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
9917         hardcoded "nm".
9918         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
9919         (READELF): New variable.  Use it instead of hardcoded "readelf".
9921 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9923         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9924         * sysdeps/x86/Makefile: Here.
9925         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9926         * sysdeps/x86/tst-xmmymm.sh: This.
9928 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9930         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9931         expectations.
9932         [UNIX98] (pthread_barrier_t): Do not expect.
9933         [UNIX98] (pthread_barrierattr_t): Likewise.
9934         [UNIX98] (pthread_spinlock_t): Likewise.
9935         [UNIX98] (pthread_barrier_destroy): Likewise.
9936         [UNIX98] (pthread_barrier_init): Likewise.
9937         [UNIX98] (pthread_barrier_wait): Likewise.
9938         [UNIX98] (pthread_barrierattr_destroy): Likewise.
9939         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9940         [UNIX98] (pthread_barrierattr_init): Likewise.
9941         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9942         [UNIX98] (pthread_getcpuclockid): Likewise.
9943         [UNIX98] (pthread_mutex_timedlock): Likewise.
9944         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9945         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9946         [UNIX98] (pthread_sigmask): Likewise.
9947         [UNIX98] (pthread_spin_destroy): Likewise.
9948         [UNIX98] (pthread_spin_init): Likewise.
9949         [UNIX98] (pthread_spin_lock): Likewise.
9950         [UNIX98] (pthread_spin_trylock): Likewise.
9951         [UNIX98] (pthread_spin_unlock): Likewise.
9952         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9953         Do not expect.
9954         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9955         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9956         [XPG3 || XPG4] (pthread_cond_t): Likewise.
9957         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9958         [XPG3 || XPG4] (pthread_key_t): Likewise.
9959         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9960         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9961         [XPG3 || XPG4] (pthread_once_t): Likewise.
9962         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9963         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9964         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9965         [XPG3 || XPG4] (pthread_t): Likewise.
9967         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9968         not expect.
9969         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9971         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9972         Change function return type to int.
9974         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9975         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9976         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9977         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9978         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9979         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9980         [!POSIX] (posix_madvise): Likewise.
9981         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9982         && !UNIX98].
9983         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9984         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9985         (mode_t): Likewise.
9986         (posix_mem_offset): Likewise.
9987         (posix_typed_mem_get_info): Likewise.
9988         (posix_typed_mem_open): Likewise.
9990         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9991         Change condition to [XOPEN2K8].
9993         * conform/conformtest.pl: Preprocess allow-header data with -x c
9994         instead of from stdin.
9995         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9996         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9997         [C99-based standards] (cerfc): Likewise.
9998         [C99-based standards] (cexp2): Likewise.
9999         [C99-based standards] (cexpm1): Likewise.
10000         [C99-based standards] (clog10): Likewise.
10001         [C99-based standards] (clog1p): Likewise.
10002         [C99-based standards] (clog2): Likewise.
10003         [C99-based standards] (clgamma): Likewise.
10004         [C99-based standards] (ctgamma): Likewise.
10005         [C99-based standards] (cerff): Likewise.
10006         [C99-based standards] (cerfcf): Likewise.
10007         [C99-based standards] (cexp2f): Likewise.
10008         [C99-based standards] (cexpm1f): Likewise.
10009         [C99-based standards] (clog10f): Likewise.
10010         [C99-based standards] (clog1pf): Likewise.
10011         [C99-based standards] (clog2f): Likewise.
10012         [C99-based standards] (clgammaf): Likewise.
10013         [C99-based standards] (ctgammaf): Likewise.
10014         [C99-based standards] (cerfl): Likewise.
10015         [C99-based standards] (cerfcl): Likewise.
10016         [C99-based standards] (cexp2l): Likewise.
10017         [C99-based standards] (cexpm1l): Likewise.
10018         [C99-based standards] (clog10l): Likewise.
10019         [C99-based standards] (clog1pl): Likewise.
10020         [C99-based standards] (clog2l): Likewise.
10021         [C99-based standards] (clgammal): Likewise.
10022         [C99-based standards] (ctgammal): Likewise.
10023         * conform/data/inttypes.h-data [C99-based standards]: Include
10024         stdint.h-data.  Remove all expectations for stdint.h contents.
10025         [C99-based standards] (PRI*): Do not allow.
10026         [C99-based standards] (SCN*): Likewise.
10027         [C99-based standards] (*_t): Likewise.
10028         [C99-based-standards] (PRId8): Expect macro.
10029         [C99-based-standards] (PRIi8): Likewise.
10030         [C99-based-standards] (PRIo8): Likewise.
10031         [C99-based-standards] (PRIu8): Likewise.
10032         [C99-based-standards] (PRIx8): Likewise.
10033         [C99-based-standards] (PRIX8): Likewise.
10034         [C99-based-standards] (SCNd8): Likewise.
10035         [C99-based-standards] (SCNi8): Likewise.
10036         [C99-based-standards] (SCNo8): Likewise.
10037         [C99-based-standards] (SCNu8): Likewise.
10038         [C99-based-standards] (SCNx8): Likewise.
10039         [C99-based-standards] (PRIdLEAST8): Likewise.
10040         [C99-based-standards] (PRIiLEAST8): Likewise.
10041         [C99-based-standards] (PRIoLEAST8): Likewise.
10042         [C99-based-standards] (PRIuLEAST8): Likewise.
10043         [C99-based-standards] (PRIxLEAST8): Likewise.
10044         [C99-based-standards] (PRIXLEAST8): Likewise.
10045         [C99-based-standards] (SCNdLEAST8): Likewise.
10046         [C99-based-standards] (SCNiLEAST8): Likewise.
10047         [C99-based-standards] (SCNoLEAST8): Likewise.
10048         [C99-based-standards] (SCNuLEAST8): Likewise.
10049         [C99-based-standards] (SCNxLEAST8): Likewise.
10050         [C99-based-standards] (PRIdFAST8): Likewise.
10051         [C99-based-standards] (PRIiFAST8): Likewise.
10052         [C99-based-standards] (PRIoFAST8): Likewise.
10053         [C99-based-standards] (PRIuFAST8): Likewise.
10054         [C99-based-standards] (PRIxFAST8): Likewise.
10055         [C99-based-standards] (PRIXFAST8): Likewise.
10056         [C99-based-standards] (SCNdFAST8): Likewise.
10057         [C99-based-standards] (SCNiFAST8): Likewise.
10058         [C99-based-standards] (SCNoFAST8): Likewise.
10059         [C99-based-standards] (SCNuFAST8): Likewise.
10060         [C99-based-standards] (SCNxFAST8): Likewise.
10061         [C99-based-standards] (PRId16): Likewise.
10062         [C99-based-standards] (PRIi16): Likewise.
10063         [C99-based-standards] (PRIo16): Likewise.
10064         [C99-based-standards] (PRIu16): Likewise.
10065         [C99-based-standards] (PRIx16): Likewise.
10066         [C99-based-standards] (PRIX16): Likewise.
10067         [C99-based-standards] (SCNd16): Likewise.
10068         [C99-based-standards] (SCNi16): Likewise.
10069         [C99-based-standards] (SCNo16): Likewise.
10070         [C99-based-standards] (SCNu16): Likewise.
10071         [C99-based-standards] (SCNx16): Likewise.
10072         [C99-based-standards] (PRIdLEAST16): Likewise.
10073         [C99-based-standards] (PRIiLEAST16): Likewise.
10074         [C99-based-standards] (PRIoLEAST16): Likewise.
10075         [C99-based-standards] (PRIuLEAST16): Likewise.
10076         [C99-based-standards] (PRIxLEAST16): Likewise.
10077         [C99-based-standards] (PRIXLEAST16): Likewise.
10078         [C99-based-standards] (SCNdLEAST16): Likewise.
10079         [C99-based-standards] (SCNiLEAST16): Likewise.
10080         [C99-based-standards] (SCNoLEAST16): Likewise.
10081         [C99-based-standards] (SCNuLEAST16): Likewise.
10082         [C99-based-standards] (SCNxLEAST16): Likewise.
10083         [C99-based-standards] (PRIdFAST16): Likewise.
10084         [C99-based-standards] (PRIiFAST16): Likewise.
10085         [C99-based-standards] (PRIoFAST16): Likewise.
10086         [C99-based-standards] (PRIuFAST16): Likewise.
10087         [C99-based-standards] (PRIxFAST16): Likewise.
10088         [C99-based-standards] (PRIXFAST16): Likewise.
10089         [C99-based-standards] (SCNdFAST16): Likewise.
10090         [C99-based-standards] (SCNiFAST16): Likewise.
10091         [C99-based-standards] (SCNoFAST16): Likewise.
10092         [C99-based-standards] (SCNuFAST16): Likewise.
10093         [C99-based-standards] (SCNxFAST16): Likewise.
10094         [C99-based-standards] (PRId32): Likewise.
10095         [C99-based-standards] (PRIi32): Likewise.
10096         [C99-based-standards] (PRIo32): Likewise.
10097         [C99-based-standards] (PRIu32): Likewise.
10098         [C99-based-standards] (PRIx32): Likewise.
10099         [C99-based-standards] (PRIX32): Likewise.
10100         [C99-based-standards] (SCNd32): Likewise.
10101         [C99-based-standards] (SCNi32): Likewise.
10102         [C99-based-standards] (SCNo32): Likewise.
10103         [C99-based-standards] (SCNu32): Likewise.
10104         [C99-based-standards] (SCNx32): Likewise.
10105         [C99-based-standards] (PRIdLEAST32): Likewise.
10106         [C99-based-standards] (PRIiLEAST32): Likewise.
10107         [C99-based-standards] (PRIoLEAST32): Likewise.
10108         [C99-based-standards] (PRIuLEAST32): Likewise.
10109         [C99-based-standards] (PRIxLEAST32): Likewise.
10110         [C99-based-standards] (PRIXLEAST32): Likewise.
10111         [C99-based-standards] (SCNdLEAST32): Likewise.
10112         [C99-based-standards] (SCNiLEAST32): Likewise.
10113         [C99-based-standards] (SCNoLEAST32): Likewise.
10114         [C99-based-standards] (SCNuLEAST32): Likewise.
10115         [C99-based-standards] (SCNxLEAST32): Likewise.
10116         [C99-based-standards] (PRIdFAST32): Likewise.
10117         [C99-based-standards] (PRIiFAST32): Likewise.
10118         [C99-based-standards] (PRIoFAST32): Likewise.
10119         [C99-based-standards] (PRIuFAST32): Likewise.
10120         [C99-based-standards] (PRIxFAST32): Likewise.
10121         [C99-based-standards] (PRIXFAST32): Likewise.
10122         [C99-based-standards] (SCNdFAST32): Likewise.
10123         [C99-based-standards] (SCNiFAST32): Likewise.
10124         [C99-based-standards] (SCNoFAST32): Likewise.
10125         [C99-based-standards] (SCNuFAST32): Likewise.
10126         [C99-based-standards] (SCNxFAST32): Likewise.
10127         [C99-based-standards] (PRId64): Likewise.
10128         [C99-based-standards] (PRIi64): Likewise.
10129         [C99-based-standards] (PRIo64): Likewise.
10130         [C99-based-standards] (PRIu64): Likewise.
10131         [C99-based-standards] (PRIx64): Likewise.
10132         [C99-based-standards] (PRIX64): Likewise.
10133         [C99-based-standards] (SCNd64): Likewise.
10134         [C99-based-standards] (SCNi64): Likewise.
10135         [C99-based-standards] (SCNo64): Likewise.
10136         [C99-based-standards] (SCNu64): Likewise.
10137         [C99-based-standards] (SCNx64): Likewise.
10138         [C99-based-standards] (PRIdLEAST64): Likewise.
10139         [C99-based-standards] (PRIiLEAST64): Likewise.
10140         [C99-based-standards] (PRIoLEAST64): Likewise.
10141         [C99-based-standards] (PRIuLEAST64): Likewise.
10142         [C99-based-standards] (PRIxLEAST64): Likewise.
10143         [C99-based-standards] (PRIXLEAST64): Likewise.
10144         [C99-based-standards] (SCNdLEAST64): Likewise.
10145         [C99-based-standards] (SCNiLEAST64): Likewise.
10146         [C99-based-standards] (SCNoLEAST64): Likewise.
10147         [C99-based-standards] (SCNuLEAST64): Likewise.
10148         [C99-based-standards] (SCNxLEAST64): Likewise.
10149         [C99-based-standards] (PRIdFAST64): Likewise.
10150         [C99-based-standards] (PRIiFAST64): Likewise.
10151         [C99-based-standards] (PRIoFAST64): Likewise.
10152         [C99-based-standards] (PRIuFAST64): Likewise.
10153         [C99-based-standards] (PRIxFAST64): Likewise.
10154         [C99-based-standards] (PRIXFAST64): Likewise.
10155         [C99-based-standards] (SCNdFAST64): Likewise.
10156         [C99-based-standards] (SCNiFAST64): Likewise.
10157         [C99-based-standards] (SCNoFAST64): Likewise.
10158         [C99-based-standards] (SCNuFAST64): Likewise.
10159         [C99-based-standards] (SCNxFAST64): Likewise.
10160         [C99-based-standards] (PRIdMAX): Likewise.
10161         [C99-based-standards] (PRIiMAX): Likewise.
10162         [C99-based-standards] (PRIoMAX): Likewise.
10163         [C99-based-standards] (PRIuMAX): Likewise.
10164         [C99-based-standards] (PRIxMAX): Likewise.
10165         [C99-based-standards] (PRIXMAX): Likewise.
10166         [C99-based-standards] (SCNdMAX): Likewise.
10167         [C99-based-standards] (SCNiMAX): Likewise.
10168         [C99-based-standards] (SCNoMAX): Likewise.
10169         [C99-based-standards] (SCNuMAX): Likewise.
10170         [C99-based-standards] (SCNxMAX): Likewise.
10171         [C99-based-standards] (PRIdPTR): Likewise.
10172         [C99-based-standards] (PRIiPTR): Likewise.
10173         [C99-based-standards] (PRIoPTR): Likewise.
10174         [C99-based-standards] (PRIuPTR): Likewise.
10175         [C99-based-standards] (PRIxPTR): Likewise.
10176         [C99-based-standards] (PRIXPTR): Likewise.
10177         [C99-based-standards] (SCNdPTR): Likewise.
10178         [C99-based-standards] (SCNiPTR): Likewise.
10179         [C99-based-standards] (SCNoPTR): Likewise.
10180         [C99-based-standards] (SCNuPTR): Likewise.
10181         [C99-based-standards] (SCNxPTR): Likewise.
10182         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10183         allow.
10184         * conform/data/stdint.h-data: Update comments to clarify
10185         requirements.
10186         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
10187         type.
10188         [C99-based standards] (INT8_MAX): Likewise.
10189         [C99-based standards] (INT16_MIN): Likewise.
10190         [C99-based standards] (INT16_MAX): Likewise.
10191         [C99-based standards] (INT32_MIN): Likewise.
10192         [C99-based standards] (INT32_MAX): Likewise.
10193         [C99-based standards] (INT64_MIN): Likewise.
10194         [C99-based standards] (INT64_MAX): Likewise.
10195         [C99-based standards] (UINT8_MAX): Likewise.
10196         [C99-based standards] (UINT16_MAX): Likewise.
10197         [C99-based standards] (UINT32_MAX): Likewise.
10198         [C99-based standards] (UINT64_MAX): Likewise.
10199         [C99-based standards] (INT_LEAST8_MIN): Likewise.
10200         [C99-based standards] (INT_LEAST8_MAX): Likewise.
10201         [C99-based standards] (INT_LEAST16_MIN): Likewise.
10202         [C99-based standards] (INT_LEAST16_MAX): Likewise.
10203         [C99-based standards] (INT_LEAST32_MIN): Likewise.
10204         [C99-based standards] (INT_LEAST32_MAX): Likewise.
10205         [C99-based standards] (INT_LEAST64_MIN): Likewise.
10206         [C99-based standards] (INT_LEAST64_MAX): Likewise.
10207         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10208         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10209         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10210         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10211         [C99-based standards] (INT_FAST8_MIN): Likewise.
10212         [C99-based standards] (INT_FAST8_MAX): Likewise.
10213         [C99-based standards] (INT_FAST16_MIN): Likewise.
10214         [C99-based standards] (INT_FAST16_MAX): Likewise.
10215         [C99-based standards] (INT_FAST32_MIN): Likewise.
10216         [C99-based standards] (INT_FAST32_MAX): Likewise.
10217         [C99-based standards] (INT_FAST64_MIN): Likewise.
10218         [C99-based standards] (INT_FAST64_MAX): Likewise.
10219         [C99-based standards] (UINT_FAST8_MAX): Likewise.
10220         [C99-based standards] (UINT_FAST16_MAX): Likewise.
10221         [C99-based standards] (UINT_FAST32_MAX): Likewise.
10222         [C99-based standards] (UINT_FAST64_MAX): Likewise.
10223         [C99-based standards] (INTPTR_MIN): Likewise.
10224         [C99-based standards] (INTPTR_MAX): Likewise.
10225         [C99-based standards] (UINTPTR_MAX): Likewise.
10226         [C99-based standards] (INTMAX_MIN): Likewise.
10227         [C99-based standards] (INTMAX_MAX): Likewise.
10228         [C99-based standards] (UINTMAX_MAX): Likewise.
10229         [C99-based standards] (PTRDIFF_MIN): Likewise.
10230         [C99-based standards] (PTRDIFF_MAX): Likewise.
10231         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10232         [C99-based standards] (SIZE_MAX): Likewise.
10233         [C99-based standards] (WCHAR_MAX): Likewise.
10234         [C99-based standards] (WINT_MAX): Likewise.
10235         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
10236         constraint on value.
10237         [C99-based standards] (WCHAR_MIN): Likewise.
10238         [C99-based standards] (WINT_MIN): Likewise.
10239         [C99-based standards] (*_t): Allow.
10240         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10241         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10242         Include math.h-data and complex.h-data.  Remove all expectations
10243         of math.h and complex.h contents.
10244         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10245         at end of line.
10246         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10247         (struct tm): Expect tag.
10248         [C99-based-standards] (wcstof): Expect function.
10249         [C99-based-standards] (wcstold): Likewise.
10250         [C99-based-standards] (wcstoll): Likewise.
10251         [C99-based-standards] (wcstoull): Likewise.
10252         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10253         macro-int-constant.  Specify type.
10254         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
10255         constraint on value.
10256         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10257         Specify type.
10258         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10259         Specify value.
10260         [ISO C standards]: Do not allow headers.
10261         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10262         wcs[abcdefghijklmnopqrstuvwxyz]*.
10263         [ISO C standards] (*_t): Do not allow.
10264         * conform/data/wctype.h-data [C99-based standards] (iswblank):
10265         Expect function.
10266         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10267         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10268         Specify type.
10269         [ISO C standards]: Do not allow headers.
10270         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10271         is[abcdefghijklmnopqrstuvwxyz]*.
10272         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10273         to[abcdefghijklmnopqrstuvwxyz]*.
10274         [ISO C standards] (*_t): Do not allow.
10275         * conform/data/stdalign.h-data: New file.
10276         * conform/data/stdbool.h-data: Likewise.
10277         * conform/data/stdnoreturn.h-data: Likewise.
10279 2012-11-07  Roland McGrath  <roland@hack.frob.com>
10281         [BZ #14815]
10282         * manual/filesys.texi (Directory Entries): Typo fix.
10283         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10285 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10287         * elf/elf.h (EM_AARCH64): New macro.
10288         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10289         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10290         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10291         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10292         (R_AARCH64_TLSDESC): Likewise.
10293         (NT_ARM_TLS): Likewise.
10294         (NT_ARM_HW_BREAK): Likewise.
10295         (NT_ARM_HW_WATCH): Likewise.
10297 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10299         [BZ #14811]
10300         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10301         (__ieee754_powl): Saturate nonzero exponents with absolute value
10302         below 0x1p-79 to +/- 0x1p-79.
10303         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10304         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10305         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10306         nonzero exponents with absolute value below 0x1p-32 to +/-
10307         0x1p-32.
10308         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10309         (__ieee754_powl): Saturate nonzero exponents with absolute value
10310         below 0x1p-79 to +/- 0x1p-79.
10311         * math/libm-test.inc (pow_test): Add more tests.
10313 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10315         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10316         _dl_s390_cap_flags with kernel. Increase string length.
10317         (_dl_s390_platforms): Add z196 and zEC12.
10319 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10321         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10322         Change XOPEN21K to XOPEN2K.
10324 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
10326         * string/memmove.c: Use memcpy when possible.
10328 2012-11-06  Andreas Jaeger  <aj@suse.de>
10330         * po/eo.po: Update from translation team.
10332 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
10334         [BZ #14793]
10335         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10336         exponent and small x and y exponents, scale x or y up.  Increase
10337         by 2 the exponent used in scaling up.
10338         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10339         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10340         * math/libm-test.inc (fma_test): Add more tests.
10341         (fma_test_towardzero): Likewise.
10342         (fma_test_downward): Likewise.
10343         (fma_test_upward): Likewise.
10345 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
10347         [BZ #14805]
10348         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10349         fenv_t *.
10351         [BZ #14801]
10352         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10353         namespace for names of struct fields.
10354         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10355         fenv_t fields.
10356         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10357         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10359 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10361         [BZ #3665]
10362         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10364 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
10366         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10367         PTR_DEMANGLE.
10369         [BZ #5246]
10370         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10371         PTR_DEMANGLE.
10373 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
10375         [BZ #14797]
10376         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10377         definitely overflow as x * y not x * y + z.
10378         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10379         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10380         * math/libm-test.inc (fma_test): Add more tests.
10381         (fma_test_towardzero): Likewise.
10382         (fma_test_downward): Likewise.
10383         (fma_test_upward): Likewise.
10385 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
10387         [BZ #157]
10389         * include/stub-tag.h: Remove file.
10390         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10391         '#include' of it.
10392         * manual/maint.texi (Porting): Don't reference it.
10393         * Makerules ($(objpfx)stubs): Likewise.
10394         * dirent/closedir.c: Don't include <stub-tag.h>.
10395         * dirent/dirfd.c: Likewise.
10396         * dirent/fdopendir.c: Likewise.
10397         * dirent/getdents.c: Likewise.
10398         * dirent/getdents64.c: Likewise.
10399         * dirent/opendir.c: Likewise.
10400         * dirent/readdir.c: Likewise.
10401         * dirent/readdir64.c: Likewise.
10402         * dirent/readdir64_r.c: Likewise.
10403         * dirent/readdir_r.c: Likewise.
10404         * dirent/rewinddir.c: Likewise.
10405         * dirent/seekdir.c: Likewise.
10406         * dirent/telldir.c: Likewise.
10407         * gmon/profil.c: Likewise.
10408         * grp/setgroups.c: Likewise.
10409         * inet/if_index.c: Likewise.
10410         * io/access.c: Likewise.
10411         * io/chdir.c: Likewise.
10412         * io/chmod.c: Likewise.
10413         * io/chown.c: Likewise.
10414         * io/close.c: Likewise.
10415         * io/dup.c: Likewise.
10416         * io/dup2.c: Likewise.
10417         * io/dup3.c: Likewise.
10418         * io/euidaccess.c: Likewise.
10419         * io/faccessat.c: Likewise.
10420         * io/fchdir.c: Likewise.
10421         * io/fchmod.c: Likewise.
10422         * io/fchmodat.c: Likewise.
10423         * io/fchown.c: Likewise.
10424         * io/fchownat.c: Likewise.
10425         * io/fcntl.c: Likewise.
10426         * io/flock.c: Likewise.
10427         * io/fstatfs.c: Likewise.
10428         * io/fstatfs64.c: Likewise.
10429         * io/fstatvfs.c: Likewise.
10430         * io/fstatvfs64.c: Likewise.
10431         * io/futimens.c: Likewise.
10432         * io/fxstat.c: Likewise.
10433         * io/fxstat64.c: Likewise.
10434         * io/fxstatat.c: Likewise.
10435         * io/fxstatat64.c: Likewise.
10436         * io/getcwd.c: Likewise.
10437         * io/isatty.c: Likewise.
10438         * io/lchmod.c: Likewise.
10439         * io/lchown.c: Likewise.
10440         * io/link.c: Likewise.
10441         * io/linkat.c: Likewise.
10442         * io/lseek.c: Likewise.
10443         * io/lseek64.c: Likewise.
10444         * io/lxstat64.c: Likewise.
10445         * io/mkdir.c: Likewise.
10446         * io/mkdirat.c: Likewise.
10447         * io/mkfifo.c: Likewise.
10448         * io/mkfifoat.c: Likewise.
10449         * io/open.c: Likewise.
10450         * io/open64.c: Likewise.
10451         * io/openat.c: Likewise.
10452         * io/openat64.c: Likewise.
10453         * io/pipe.c: Likewise.
10454         * io/pipe2.c: Likewise.
10455         * io/poll.c: Likewise.
10456         * io/posix_fadvise.c: Likewise.
10457         * io/posix_fadvise64.c: Likewise.
10458         * io/posix_fallocate.c: Likewise.
10459         * io/posix_fallocate64.c: Likewise.
10460         * io/read.c: Likewise.
10461         * io/readlink.c: Likewise.
10462         * io/readlinkat.c: Likewise.
10463         * io/rmdir.c: Likewise.
10464         * io/sendfile.c: Likewise.
10465         * io/sendfile64.c: Likewise.
10466         * io/statfs.c: Likewise.
10467         * io/statfs64.c: Likewise.
10468         * io/statvfs.c: Likewise.
10469         * io/statvfs64.c: Likewise.
10470         * io/symlink.c: Likewise.
10471         * io/symlinkat.c: Likewise.
10472         * io/ttyname.c: Likewise.
10473         * io/ttyname_r.c: Likewise.
10474         * io/umask.c: Likewise.
10475         * io/unlink.c: Likewise.
10476         * io/unlinkat.c: Likewise.
10477         * io/utime.c: Likewise.
10478         * io/utimensat.c: Likewise.
10479         * io/write.c: Likewise.
10480         * io/xmknod.c: Likewise.
10481         * io/xmknodat.c: Likewise.
10482         * io/xstat.c: Likewise.
10483         * io/xstat64.c: Likewise.
10484         * login/getpt.c: Likewise.
10485         * login/grantpt.c: Likewise.
10486         * login/unlockpt.c: Likewise.
10487         * math/e_acoshl.c: Likewise.
10488         * math/e_acosl.c: Likewise.
10489         * math/e_asinl.c: Likewise.
10490         * math/e_atan2l.c: Likewise.
10491         * math/e_atanhl.c: Likewise.
10492         * math/e_coshl.c: Likewise.
10493         * math/e_expl.c: Likewise.
10494         * math/e_fmodl.c: Likewise.
10495         * math/e_gammal_r.c: Likewise.
10496         * math/e_hypotl.c: Likewise.
10497         * math/e_j0l.c: Likewise.
10498         * math/e_j1l.c: Likewise.
10499         * math/e_jnl.c: Likewise.
10500         * math/e_lgammal_r.c: Likewise.
10501         * math/e_log10l.c: Likewise.
10502         * math/e_log2l.c: Likewise.
10503         * math/e_logl.c: Likewise.
10504         * math/e_powl.c: Likewise.
10505         * math/e_rem_pio2l.c: Likewise.
10506         * math/e_sinhl.c: Likewise.
10507         * math/e_sqrtl.c: Likewise.
10508         * math/fclrexcpt.c: Likewise.
10509         * math/fedisblxcpt.c: Likewise.
10510         * math/feenablxcpt.c: Likewise.
10511         * math/fegetenv.c: Likewise.
10512         * math/fegetexcept.c: Likewise.
10513         * math/fegetround.c: Likewise.
10514         * math/feholdexcpt.c: Likewise.
10515         * math/fesetenv.c: Likewise.
10516         * math/fesetround.c: Likewise.
10517         * math/feupdateenv.c: Likewise.
10518         * math/fgetexcptflg.c: Likewise.
10519         * math/fraiseexcpt.c: Likewise.
10520         * math/fsetexcptflg.c: Likewise.
10521         * math/ftestexcept.c: Likewise.
10522         * math/k_cosl.c: Likewise.
10523         * math/k_rem_pio2l.c: Likewise.
10524         * math/k_sinl.c: Likewise.
10525         * math/k_tanl.c: Likewise.
10526         * math/s_asinhl.c: Likewise.
10527         * math/s_atanl.c: Likewise.
10528         * math/s_cbrtl.c: Likewise.
10529         * math/s_erfl.c: Likewise.
10530         * math/s_expm1l.c: Likewise.
10531         * math/s_log1pl.c: Likewise.
10532         * math/s_tanhl.c: Likewise.
10533         * misc/acct.c: Likewise.
10534         * misc/brk.c: Likewise.
10535         * misc/chflags.c: Likewise.
10536         * misc/chroot.c: Likewise.
10537         * misc/fchflags.c: Likewise.
10538         * misc/fgetxattr.c: Likewise.
10539         * misc/flistxattr.c: Likewise.
10540         * misc/fremovexattr.c: Likewise.
10541         * misc/fsetxattr.c: Likewise.
10542         * misc/fsync.c: Likewise.
10543         * misc/ftruncate.c: Likewise.
10544         * misc/futimes.c: Likewise.
10545         * misc/futimesat.c: Likewise.
10546         * misc/getdomain.c: Likewise.
10547         * misc/getdtsz.c: Likewise.
10548         * misc/gethostid.c: Likewise.
10549         * misc/gethostname.c: Likewise.
10550         * misc/getloadavg.c: Likewise.
10551         * misc/getpagesize.c: Likewise.
10552         * misc/getsysstats.c: Likewise.
10553         * misc/getxattr.c: Likewise.
10554         * misc/gtty.c: Likewise.
10555         * misc/ioctl.c: Likewise.
10556         * misc/lgetxattr.c: Likewise.
10557         * misc/listxattr.c: Likewise.
10558         * misc/llistxattr.c: Likewise.
10559         * misc/lremovexattr.c: Likewise.
10560         * misc/lsetxattr.c: Likewise.
10561         * misc/lutimes.c: Likewise.
10562         * misc/madvise.c: Likewise.
10563         * misc/mincore.c: Likewise.
10564         * misc/mlock.c: Likewise.
10565         * misc/mlockall.c: Likewise.
10566         * misc/mmap.c: Likewise.
10567         * misc/mprotect.c: Likewise.
10568         * misc/msync.c: Likewise.
10569         * misc/munlock.c: Likewise.
10570         * misc/munlockall.c: Likewise.
10571         * misc/munmap.c: Likewise.
10572         * misc/preadv.c: Likewise.
10573         * misc/preadv64.c: Likewise.
10574         * misc/ptrace.c: Likewise.
10575         * misc/pwritev.c: Likewise.
10576         * misc/pwritev64.c: Likewise.
10577         * misc/readv.c: Likewise.
10578         * misc/reboot.c: Likewise.
10579         * misc/remap_file_pages.c: Likewise.
10580         * misc/removexattr.c: Likewise.
10581         * misc/revoke.c: Likewise.
10582         * misc/select.c: Likewise.
10583         * misc/setdomain.c: Likewise.
10584         * misc/setegid.c: Likewise.
10585         * misc/seteuid.c: Likewise.
10586         * misc/sethostid.c: Likewise.
10587         * misc/sethostname.c: Likewise.
10588         * misc/setregid.c: Likewise.
10589         * misc/setreuid.c: Likewise.
10590         * misc/setxattr.c: Likewise.
10591         * misc/sstk.c: Likewise.
10592         * misc/stty.c: Likewise.
10593         * misc/swapoff.c: Likewise.
10594         * misc/swapon.c: Likewise.
10595         * misc/sync.c: Likewise.
10596         * misc/syncfs.c: Likewise.
10597         * misc/syscall.c: Likewise.
10598         * misc/truncate.c: Likewise.
10599         * misc/ualarm.c: Likewise.
10600         * misc/usleep.c: Likewise.
10601         * misc/ustat.c: Likewise.
10602         * misc/utimes.c: Likewise.
10603         * misc/vhangup.c: Likewise.
10604         * misc/writev.c: Likewise.
10605         * posix/_exit.c: Likewise.
10606         * posix/alarm.c: Likewise.
10607         * posix/execve.c: Likewise.
10608         * posix/fexecve.c: Likewise.
10609         * posix/fork.c: Likewise.
10610         * posix/fpathconf.c: Likewise.
10611         * posix/getaddrinfo.c: Likewise.
10612         * posix/getegid.c: Likewise.
10613         * posix/geteuid.c: Likewise.
10614         * posix/getgid.c: Likewise.
10615         * posix/getgroups.c: Likewise.
10616         * posix/getlogin.c: Likewise.
10617         * posix/getlogin_r.c: Likewise.
10618         * posix/getpgid.c: Likewise.
10619         * posix/getpid.c: Likewise.
10620         * posix/getppid.c: Likewise.
10621         * posix/getresgid.c: Likewise.
10622         * posix/getresuid.c: Likewise.
10623         * posix/getsid.c: Likewise.
10624         * posix/getuid.c: Likewise.
10625         * posix/glob64.c: Likewise.
10626         * posix/nanosleep.c: Likewise.
10627         * posix/pathconf.c: Likewise.
10628         * posix/pause.c: Likewise.
10629         * posix/posix_madvise.c: Likewise.
10630         * posix/pread.c: Likewise.
10631         * posix/pread64.c: Likewise.
10632         * posix/pwrite.c: Likewise.
10633         * posix/pwrite64.c: Likewise.
10634         * posix/sched_getaffinity.c: Likewise.
10635         * posix/sched_getp.c: Likewise.
10636         * posix/sched_gets.c: Likewise.
10637         * posix/sched_primax.c: Likewise.
10638         * posix/sched_primin.c: Likewise.
10639         * posix/sched_rr_gi.c: Likewise.
10640         * posix/sched_setaffinity.c: Likewise.
10641         * posix/sched_setp.c: Likewise.
10642         * posix/sched_sets.c: Likewise.
10643         * posix/sched_yield.c: Likewise.
10644         * posix/setgid.c: Likewise.
10645         * posix/setlogin.c: Likewise.
10646         * posix/setpgid.c: Likewise.
10647         * posix/setresgid.c: Likewise.
10648         * posix/setresuid.c: Likewise.
10649         * posix/setsid.c: Likewise.
10650         * posix/setuid.c: Likewise.
10651         * posix/sleep.c: Likewise.
10652         * posix/spawni.c: Likewise.
10653         * posix/sysconf.c: Likewise.
10654         * posix/times.c: Likewise.
10655         * posix/wait.c: Likewise.
10656         * posix/wait3.c: Likewise.
10657         * posix/wait4.c: Likewise.
10658         * posix/waitpid.c: Likewise.
10659         * resolv/gai_sigqueue.c: Likewise.
10660         * resource/getpriority.c: Likewise.
10661         * resource/getrlimit.c: Likewise.
10662         * resource/getrusage.c: Likewise.
10663         * resource/nice.c: Likewise.
10664         * resource/setpriority.c: Likewise.
10665         * resource/setrlimit.c: Likewise.
10666         * resource/ulimit.c: Likewise.
10667         * rt/aio_cancel.c: Likewise.
10668         * rt/aio_fsync.c: Likewise.
10669         * rt/aio_read.c: Likewise.
10670         * rt/aio_sigqueue.c: Likewise.
10671         * rt/aio_suspend.c: Likewise.
10672         * rt/aio_write.c: Likewise.
10673         * rt/clock_getres.c: Likewise.
10674         * rt/clock_gettime.c: Likewise.
10675         * rt/clock_nanosleep.c: Likewise.
10676         * rt/clock_settime.c: Likewise.
10677         * rt/lio_listio.c: Likewise.
10678         * rt/mq_close.c: Likewise.
10679         * rt/mq_getattr.c: Likewise.
10680         * rt/mq_notify.c: Likewise.
10681         * rt/mq_open.c: Likewise.
10682         * rt/mq_receive.c: Likewise.
10683         * rt/mq_send.c: Likewise.
10684         * rt/mq_setattr.c: Likewise.
10685         * rt/mq_timedreceive.c: Likewise.
10686         * rt/mq_timedsend.c: Likewise.
10687         * rt/mq_unlink.c: Likewise.
10688         * rt/shm_open.c: Likewise.
10689         * rt/shm_unlink.c: Likewise.
10690         * rt/timer_create.c: Likewise.
10691         * rt/timer_delete.c: Likewise.
10692         * rt/timer_getoverr.c: Likewise.
10693         * rt/timer_gettime.c: Likewise.
10694         * rt/timer_settime.c: Likewise.
10695         * setjmp/__longjmp.c: Likewise.
10696         * setjmp/setjmp.c: Likewise.
10697         * signal/kill.c: Likewise.
10698         * signal/killpg.c: Likewise.
10699         * signal/raise.c: Likewise.
10700         * signal/sigaction.c: Likewise.
10701         * signal/sigaltstack.c: Likewise.
10702         * signal/sigblock.c: Likewise.
10703         * signal/sigignore.c: Likewise.
10704         * signal/sigintr.c: Likewise.
10705         * signal/signal.c: Likewise.
10706         * signal/sigpause.c: Likewise.
10707         * signal/sigpending.c: Likewise.
10708         * signal/sigqueue.c: Likewise.
10709         * signal/sigreturn.c: Likewise.
10710         * signal/sigset.c: Likewise.
10711         * signal/sigsetmask.c: Likewise.
10712         * signal/sigstack.c: Likewise.
10713         * signal/sigsuspend.c: Likewise.
10714         * signal/sigtimedwait.c: Likewise.
10715         * signal/sigvec.c: Likewise.
10716         * signal/sigwait.c: Likewise.
10717         * signal/sigwaitinfo.c: Likewise.
10718         * signal/sysv_signal.c: Likewise.
10719         * socket/accept.c: Likewise.
10720         * socket/accept4.c: Likewise.
10721         * socket/bind.c: Likewise.
10722         * socket/connect.c: Likewise.
10723         * socket/getpeername.c: Likewise.
10724         * socket/getsockname.c: Likewise.
10725         * socket/getsockopt.c: Likewise.
10726         * socket/isfdtype.c: Likewise.
10727         * socket/listen.c: Likewise.
10728         * socket/recv.c: Likewise.
10729         * socket/recvfrom.c: Likewise.
10730         * socket/recvmsg.c: Likewise.
10731         * socket/send.c: Likewise.
10732         * socket/sendmsg.c: Likewise.
10733         * socket/sendto.c: Likewise.
10734         * socket/setsockopt.c: Likewise.
10735         * socket/shutdown.c: Likewise.
10736         * socket/sockatmark.c: Likewise.
10737         * socket/socket.c: Likewise.
10738         * socket/socketpair.c: Likewise.
10739         * stdio-common/ctermid.c: Likewise.
10740         * stdio-common/cuserid.c: Likewise.
10741         * stdio-common/remove.c: Likewise.
10742         * stdio-common/rename.c: Likewise.
10743         * stdio-common/renameat.c: Likewise.
10744         * stdio-common/tempname.c: Likewise.
10745         * stdlib/getcontext.c: Likewise.
10746         * stdlib/makecontext.c: Likewise.
10747         * stdlib/setcontext.c: Likewise.
10748         * stdlib/swapcontext.c: Likewise.
10749         * stdlib/system.c: Likewise.
10750         * streams/fattach.c: Likewise.
10751         * streams/fdetach.c: Likewise.
10752         * streams/getmsg.c: Likewise.
10753         * streams/getpmsg.c: Likewise.
10754         * streams/putmsg.c: Likewise.
10755         * streams/putpmsg.c: Likewise.
10756         * sysdeps/unix/bsd/getpt.c: Likewise.
10757         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10758         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10759         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10761         Likewise.
10762         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10763         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10764         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10765         * sysvipc/msgctl.c: Likewise.
10766         * sysvipc/msgget.c: Likewise.
10767         * sysvipc/msgrcv.c: Likewise.
10768         * sysvipc/msgsnd.c: Likewise.
10769         * sysvipc/semctl.c: Likewise.
10770         * sysvipc/semget.c: Likewise.
10771         * sysvipc/semop.c: Likewise.
10772         * sysvipc/semtimedop.c: Likewise.
10773         * sysvipc/shmat.c: Likewise.
10774         * sysvipc/shmctl.c: Likewise.
10775         * sysvipc/shmdt.c: Likewise.
10776         * sysvipc/shmget.c: Likewise.
10777         * termios/tcdrain.c: Likewise.
10778         * termios/tcflow.c: Likewise.
10779         * termios/tcflush.c: Likewise.
10780         * termios/tcgetattr.c: Likewise.
10781         * termios/tcgetpgrp.c: Likewise.
10782         * termios/tcsendbrk.c: Likewise.
10783         * termios/tcsetattr.c: Likewise.
10784         * termios/tcsetpgrp.c: Likewise.
10785         * time/adjtime.c: Likewise.
10786         * time/clock.c: Likewise.
10787         * time/getitimer.c: Likewise.
10788         * time/gettimeofday.c: Likewise.
10789         * time/setitimer.c: Likewise.
10790         * time/settimeofday.c: Likewise.
10791         * time/stime.c: Likewise.
10792         * time/time.c: Likewise.
10794 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
10796         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10797         /usr/old/bin.
10799         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10800         instead of spaces.
10801         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10803 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
10805         [BZ #14796]
10806         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10807         FE_TONEAREST before applying Dekker multiplication and Knuth
10808         addition.  Clear inexact exceptions and check for exact zero
10809         results afterwards.
10810         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10811         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10812         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10813         * math/libm-test.inc (fma_test): Add more tests.
10814         (fma_test_towardzero): Likewise.
10815         (fma_test_downward): Likewise.
10816         (fma_test_upward): Likewise.
10817         * sysdeps/generic/math_private.h (default_libc_fesetround): New
10818         function.
10819         (libc_fesetround): New macro.
10820         (libc_fesetroundf): Likewise.
10821         (libc_fesetroundl): Likewise.
10822         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10823         function.
10824         (libc_fesetround_387): Likewise.
10825         (libc_fesetroundf): New macro.
10826         (libc_fesetround): Likewise.
10827         (libc_fesetroundl): Likewise.
10828         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10829         function.
10830         (libc_fesetroundf): New macro.
10831         (libc_fesetround): Likewise.
10832         (libc_fesetroundl): Likewise.
10833         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10834         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10835         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10836         libm_hidden_ver.
10837         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10838         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10839         libm_hidden_def.
10840         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10841         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10842         libm_hidden_ver.
10843         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10844         libm_hidden_def.
10846         [BZ #3439]
10847         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10848         integer constant usable in #if and use that to give value to enum
10849         constant.
10850         (FE_DIVBYZERO): Likewise.
10851         (FE_UNDERFLOW): Likewise.
10852         (FE_OVERFLOW): Likewise.
10853         (FE_INVALID): Likewise.
10854         (FE_INVALID_SNAN): Likewise.
10855         (FE_INVALID_ISI): Likewise.
10856         (FE_INVALID_IDI): Likewise.
10857         (FE_INVALID_ZDZ): Likewise.
10858         (FE_INVALID_IMZ): Likewise.
10859         (FE_INVALID_COMPARE): Likewise.
10860         (FE_INVALID_SOFTWARE): Likewise.
10861         (FE_INVALID_SQRT): Likewise.
10862         (FE_INVALID_INTEGER_CONVERSION): Likewise.
10863         (FE_TONEAREST): Likewise.
10864         (FE_TOWARDZERO): Likewise.
10865         (FE_UPWARD): Likewise.
10866         (FE_DOWNWARD): Likewise.
10867         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10868         (FE_DIVBYZERO): Likewise.
10869         (FE_OVERFLOW): Likewise.
10870         (FE_UNDERFLOW): Likewise.
10871         (FE_INEXACT): Likewise.
10872         (FE_TONEAREST): Likewise.
10873         (FE_DOWNWARD): Likewise.
10874         (FE_UPWARD): Likewise.
10875         (FE_TOWARDZERO): Likewise.
10876         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10877         (FE_UNDERFLOW): Likewise.
10878         (FE_OVERFLOW): Likewise.
10879         (FE_DIVBYZERO): Likewise.
10880         (FE_INVALID): Likewise.
10881         (FE_TONEAREST): Likewise.
10882         (FE_TOWARDZERO): Likewise.
10883         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10884         (FE_OVERFLOW): Likewise.
10885         (FE_UNDERFLOW): Likewise.
10886         (FE_DIVBYZERO): Likewise.
10887         (FE_INEXACT): Likewise.
10888         (FE_TONEAREST): Likewise.
10889         (FE_TOWARDZERO): Likewise.
10890         (FE_UPWARD): Likewise.
10891         (FE_DOWNWARD): Likewise.
10892         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10893         (FE_DIVBYZERO): Likewise.
10894         (FE_OVERFLOW): Likewise.
10895         (FE_UNDERFLOW): Likewise.
10896         (FE_INEXACT): Likewise.
10897         (FE_TONEAREST): Likewise.
10898         (FE_DOWNWARD): Likewise.
10899         (FE_UPWARD): Likewise.
10900         (FE_TOWARDZERO): Likewise.
10902 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
10904         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10906 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
10908         * scripts/cross-test-ssh.sh (command): Use newlines to separate
10909         commands.  Quote $PWD.
10910         (blacklist_exports): Don't use remove_newlines.  Replace "declare
10911         -x" by "export".
10912         (remove_newlines): Remove.
10914 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
10916         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10917         * stdlib/stdlib.h (atof): Moved to ...
10918         * include/bits/stdlib-float.h: Here.  New file.
10919         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10920         * stdlib/bits/stdlib-float.h: New file.
10921         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10922         -mno-sse -mno-mmx.
10923         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10924         <xmmintrin.h>.
10926 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
10928         * conform/conformtest.pl (@headers): Add fenv.h.
10929         * conform/data/fenv.h-data: New file.
10930         * include/fenv.h [_ISOMAC]: Disable all contents of file except
10931         include of <math/fenv.h>.
10933         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10934         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10935         && !UNIX98].  Enables tests for XOPEN2K8.
10936         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10937         POSIX2008]: Likewise.
10939         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10940         (struct rusage): Do not expect type or its members.
10942         [BZ #3439]
10943         * math/math.h (FP_NAN): Define macro to integer constant usable in
10944         #if and use that to give value to enum constant.
10945         (FP_INFINITE): Likewise.
10946         (FP_ZERO): Likewise.
10947         (FP_SUBNORMAL): Likewise.
10948         (FP_NORMAL): Likewise.
10950 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
10952         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10953         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10954         arguments.
10956 2012-11-02  Roland McGrath  <roland@hack.frob.com>
10958         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10959         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10960         autoconf-time if not.
10961         * configure.in: Remove AC_PREREQ.
10963 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10965         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10966         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10967         of the internal implementation.
10969 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
10971         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10972         except include of <misc/sys/syslog.h>.
10974 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10977         function returns with a NULL context exit with zero.
10979 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10981         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10983 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
10985         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10986         (run_program_cmd): This.
10987         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10988         (tst_langinfo): New variable.  Use it.
10990 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
10992         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10993         floating point opcodes.
10995 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
10997         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10998         variable.
11000         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11002         * sysdeps/mach/hurd/powerpc: Remove directory.
11003         * sysdeps/mach/powerpc: Likewise.
11005 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
11007         * scripts/check-local-headers.sh: Ignore c++ headers.
11009 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
11011         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11012         __libc_cleanup_region_start argument.
11014 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
11016         [BZ #14784]
11017         [BZ #14785]
11018         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11019         x * y using scaling, not as x * y + z.
11020         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11021         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11022         * math/libm-test.inc (fma_test): Add more tests.
11023         (fma_test_towardzero): Likewise.
11024         (fma_test_downward): Likewise.
11025         (fma_test_upward): Likewise.
11027 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
11029         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11031 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
11033         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11034         New variable.
11036 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
11038         * rt/tst-shm.c (worker): Correct checking for mmap failure.
11040 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
11042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11043         Fix sort order.
11044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11045         Likewise.
11047 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11050         Fix the order of the list for glibc 2.17.
11051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11052         Likewise.
11054 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
11056         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11058 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
11060         [BZ #14610]
11061         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11062         for low part of x being zero before using __atanl (y).
11063         * math/libm-test.inc (atan2_test): Add another test.
11065         * manual/install.texi (Configuring and compiling): Document
11066         general use of test-wrapper and test-wrapper-env.
11067         * INSTALL: Regenerated.
11069         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11070         (__fma): Do not extract and scale down low bits on after-rounding
11071         systems when result rounded to normal precision would have normal
11072         exponent.
11073         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11074         (__fmal): Do not extract and scale down low bits on after-rounding
11075         systems when result rounded to normal precision would have normal
11076         exponent.
11077         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11078         (__fmal): Do not extract and scale down low bits on after-rounding
11079         systems when result rounded to normal precision would have normal
11080         exponent.
11081         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11082         macro.
11083         (fma_test): Add more tests.
11084         (fma_test_towardzero): Likewise.
11085         (fma_test_downward): Likewise.
11086         (fma_test_upward): Likewise.
11088 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
11090         * sysdeps/i386/tininess.h: Renamed to ...
11091         * sysdeps/x86/tininess.h: This.
11092         * sysdeps/x86_64/tininess.h: Removed.
11094 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
11096         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11097         input.  Use $(build-program-cmd).
11098         ($(objpfx)tst-array1-static.out): Likewise.
11099         ($(objpfx)tst-array2.out): Likewise.
11100         ($(objpfx)tst-array3.out): Likewise.
11101         ($(objpfx)tst-array4.out): Likewise.
11102         ($(objpfx)tst-array5.out): Likewise.
11103         ($(objpfx)tst-array5-static.out): Likewise.
11105 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
11107         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11108         if defined.
11110         * nss/nsswitch.h (nss_interface_function): Provide new
11111         macro for use with NSS functions.
11112         * grp/initgroups.c: Use new macro.
11113         * nss/getXXbyYY.c: Likewise.
11114         * nss/getXXbyYY_r.c: Likewise.
11115         * nss/getXXent.c: Likewise.
11116         * nss/getXXent_r.c: Likewise.
11117         * sysdeps/posix/getaddrinfo.c: Likewise.
11119 2012-10-30  Andreas Jaeger  <aj@suse.de>
11121         * po/ru.po: Update Russion translation from translation project.
11123 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
11125         [BZ #14152]
11126         [BZ #14783]
11127         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11128         result and shift together with sticky bit instead of replicating
11129         round-to-nearest rounding.
11130         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11131         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11132         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
11133         missing underflow exceptions.
11134         (fma_test_towardzero): Add more tests.
11135         (fma_test_downward): Likewise.
11136         (fma_test_upward): Likewise.
11138         [BZ #14047]
11139         * sysdeps/generic/tininess.h: New file.
11140         * sysdeps/i386/tininess.h: Likewise.
11141         * sysdeps/sh/tininess.h: Likewise.
11142         * sysdeps/x86_64/tininess.h: Likewise.
11143         * stdlib/tst-strtod-underflow.c: Likewise.
11144         * stdlib/tst-tininess.c: Likewise.
11145         * stdlib/strtod_l.c: Include <tininess.h>.
11146         (round_and_return): Do not set errno for exact underflow cases.
11147         Force an underflow exception when setting errno for underflow.
11148         Determine underflow based on rounding to normal precision if
11149         TININESS_AFTER_ROUNDING.
11150         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11151         ERANGE for exact underflow cases.
11152         * stdlib/Makefile (tests): Add tst-tininess and
11153         tst-strtod-underflow.
11154         ($(objpfx)tst-tininess): Use $(link-libm).
11155         ($(objpfx)tst-strtod-underflow): Likewise.
11157 2012-10-30  Andreas Jaeger  <aj@suse.de>
11159         [BZ#14767]
11160         * elf/Makefile (tests): Remove conditional for have-initfini-array
11161         since this is now always required and the variable does not exist
11162         anymore.
11163         (tests-static): Likewise.
11164         (modules-names): Likewise.
11166         * po/eo.po: Add Esperanto translation from translation project.
11168         * elf/tst-array1.c (fini_array): Make writeable so that it can be
11169         merged with constructor/destructor.
11170         (init_array): Likewise.
11171         * elf/tst-array2dep.c (fini_array): Likewise.
11172         (init_array): Likewise.
11174 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
11176         * manual/message.texi: Delete @cartouche tags.
11178 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
11180         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11181         EOPNOTSUPP.
11182         * sysdeps/mach/hurd/fsync.c: Likewise.
11184         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11185         [_POSIX_REALTIME_SIGNALS]: Change condition to
11186         [_POSIX_REALTIME_SIGNALS > 0].
11188 2012-10-27  Andreas Jaeger  <aj@suse.de>
11190         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11191         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11192         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11193         [__WORDSIZE != 64]: Likewise.
11195 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
11197         *  iconvdata/tst-table.sh: Remove ${SHELL}.
11198         *  iconvdata/tst-tables.sh: Likewise.
11200 2012-10-25  David S. Miller  <davem@davemloft.net>
11202         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11203         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11204         of strtoull.
11206         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11207         ifunc-impl-list.c
11208         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11209         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11210         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11211         file.
11213 2012-10-25  Roland McGrath  <roland@hack.frob.com>
11215         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11216         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11217         __getdirentries.
11219 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
11220             Jim Blandy  <jimb@codesourcery.com>
11222         * scripts/cross-test-ssh.sh: New file.
11223         * manual/install.texi (Configuring and compiling): Document use of
11224         cross-test-ssh.sh.
11225         * INSTALL: Regenerated.
11227 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
11229         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11230         EOPNOTSUPP.
11232 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
11234         * Makeconfig (run-program-prefix): Fix comment.
11236 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
11237             Jim Blandy  <jimb@codesourcery.com>
11239         * Makeconfig (test-wrapper): New variable,
11240         (test-wrapper-env): Likewise.
11241         [$(cross-compiling) = yes && $(test-wrapper) != ""]
11242         (run-built-tests): Define to yes.
11243         (run-program-prefix): Use $(test-wrapper).
11244         (built-program-cmd): Likewise.
11245         * Rules (make-test-out): Use $(test-wrapper-env) and
11246         $(host-built-program-cmd).
11247         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11248         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11249         tst-pathopt.sh.
11250         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11251         $(test-wrapper-env) to tst-rtld-load-self.sh.
11252         ($(objpfx)order2.out): Use $(test-wrapper).
11253         ($(objpfx)tst-initorder.out): Likewise.
11254         ($(objpfx)tst-initorder2.out): Likewise.
11255         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11256         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11257         (test_wrapper_env): New variable.  Use it to run ld.so.
11258         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11259         Use it to run ld.so.
11260         (test_wrapper_env): Likewise.
11261         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11262         $(test-wrapper) to run-iconv-test.sh.
11263         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11264         (ICONV): Use $test_wrapper.
11265         * posix/Makefile ($(objpfx)globtest.out): Pass
11266         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11267         globtest.sh, not $(run-program-prefix).
11268         * posix/globtest.sh (run_via_rtld_prefix): New variable.
11269         (test_wrapper): Likewise.
11270         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
11271         set together with run_via_rtld_prefix.
11272         (run_program_prefix): Define in terms of test_wrapper and
11273         run_via_rtld_prefix.
11275 2012-10-24  Roland McGrath  <roland@hack.frob.com>
11277         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11278         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11279         Targets removed.
11281         [BZ #14743]
11282         * include/time.h: Remove librt_hidden_proto (clock_gettime).
11283         Declare __clock_getres, __clock_gettime, __clock_settime,
11284         __clock_nanosleep, and __clock_getcpuclockid.
11285         * rt/clock_gettime.c: Define __clock_gettime as an alias.
11286         Remove librt_hidden_def (clock_gettime).
11287         * sysdeps/unix/clock_gettime.c: Likewise.
11288         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11289         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11290         * rt/clock_getres.c: Define __clock_getres as an alias.
11291         * sysdeps/posix/clock_getres.c: Likewise.
11292         * rt/clock_settime.c: Define __clock_settime as an alias.
11293         * sysdeps/unix/clock_settime.c: Likewise.
11294         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11295         * sysdeps/unix/clock_nanosleep.c: Likewise.
11296         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11297         * rt/clock-compat.c: New file.
11298         * rt/Makefile (librt-routines): Add clock-compat and move
11299         $(clock-routines) to ...
11300         (routines): ... here, new variable.
11301         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11302         Don't add get_clockfreq here.
11303         * rt/Versions (libc: GLIBC_2.17): New version set.
11304         Add clock_* symbols here.
11305         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
11306         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11307         (GLIBC_2.17): Add clock_* symbols.
11308         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11309         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11310         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11312         Likewise.
11313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11314         Likewise.
11315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11316         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11319         * NEWS: Mention the move.
11321         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11322         Use __open, __read, __close rather than their public counterparts.
11323         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11324         (__get_clockfreq_via_cpuinfo): Likewise.
11325         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11326         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11328         * config.h.in (HAVE_IFUNC): New #undef.
11329         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11330         was successful.
11331         * configure: Regenerated.
11333 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
11335         * configure.in: Move READELF check to start of file.
11336         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11337         libc_cv_asm_gnu_indirect_function in the process.
11338         * configure: Regenerated.
11340 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
11342         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11343         send the output to /dev/null.
11344         (libc_cv_cc_with_libunwind): Likewise.
11345         (libc_cv_as_noexecstack): Likewise.
11346         * configure: Regenerate.
11348 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
11350         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11352         * posix/globtest.sh (TMPDIR): Do not set.
11353         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11354         (testout): Likewise.
11356 2012-10-24  Andreas Jaeger  <aj@suse.de>
11358         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11359         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11360         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11361         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11362         posix_fadvise64, posix_fallocate64.
11364         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11365         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11366         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11367         Likewise.
11368         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11369         Likewise.
11370         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11372         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11373         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11374         <bits/fcntl-linux.h>.
11375         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11377         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11378         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11379         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11380         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11381         [__WORDSIZE != 64]: Likewise.
11383 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
11385         * Makeconfig (run-built-tests): New variable.
11386         * Rules [$(cross-compiling) = yes]: Change condition to
11387         [$(run-built-tests) = no].
11388         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11389         to [$(run-built-tests) = yes].
11390         * elf/Makefile [$(cross-compiling) = no]: Likewise
11391         * grp/Makefile [$(cross-compiling) = no]: Likewise.
11392         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11393         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11394         * intl/Makefile [$(cross-compiling) = no]: Likewise.
11395         * io/Makefile [$(cross-compiling) = no]: Likewise.
11396         * libio/Makefile [$(cross-compiling) = no]: Likewise.
11397         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11398         * misc/Makefile [$(cross-compiling) = no]: Likewise.
11399         * posix/Makefile [$(cross-compiling) = no]: Likewise.
11400         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11401         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11402         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11403         * string/Makefile [$(cross-compiling) = no]: Likewise.
11405         * posix/Makefile ($(objpfx)globtest.out): Pass
11406         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11407         $(rtld-installed-name).
11408         * posix/globtest.sh (elf_objpfx): Remove variable.
11409         (rtld_installed_name): Likewise.
11410         (library_path): Likewise.
11411         (run_program_prefix): New variable.  Use for running globtest
11412         binary.
11414 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
11415             Joseph Myers  <joseph@codesourcery.com>
11417         * Makeconfig (host-built-program-cmd): New variable.
11418         * elf/Makefile (tst-stackguard1-ARGS): Use
11419         $(host-built-program-cmd).
11420         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11421         (tst-spawn-ARGS): Likewise.
11422         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11424 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
11425             Jim Blandy  <jimb@codesourcery.com>
11427         * Makeconfig (run-via-rtld-prefix): New variable.
11428         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11429         (built-program-cmd): Likewise.
11431 2012-10-22  Andreas Jaeger  <aj@suse.de>
11433         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11434         __O_RSYNC if it exists, otherwise to O_SYNC.
11436 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
11437             Joseph Myers  <joseph@codesourcery.com>
11439         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11440         /dev/null.
11441         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11442         from /dev/null
11443         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11444         /dev/null.
11446 2012-10-22  Andreas Jaeger  <aj@suse.de>
11448         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11449         Define always.
11450         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11452         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11453         bits/fcntl-linux.h.
11455         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11456         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11458         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11459         to __O_LARGEFILE.
11460         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11461         to __O_LARGEFILE.
11463 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
11464             Joseph Myers  <joseph@codesourcery.com>
11466         * config.make.in (NM): New variable.
11468 2012-10-21  Andreas Jaeger  <aj@suse.de>
11470         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11471         definitions and declarations that are provided by
11472         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11474 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
11476         [BZ #14683]
11477         * elf/Makefile (tests-static): Add tst-leaks1-static.
11478         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11479         ($(objpfx)tst-leaks1-static): New rule.
11480         ($(objpfx)tst-leaks1-static-mem): Likewise.
11481         (tst-leaks1-static-ENV): New macro.
11482         * elf/dl-open.c (dl_open_worker): Check the main application
11483         only if SHARED is defined.
11484         * elf/tst-leaks1-static.c: New file.
11486 2012-10-20  Andreas Jaeger  <aj@suse.de>
11488         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11489         generic values for Linux.
11490         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11491         and declarations that are provided by <bits/fcntl-linux.h> and
11492         include <bits/fcntl-linux.h>.
11493         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11494         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11496 2012-10-20  Roland McGrath  <roland@hack.frob.com>
11498         * io/fcntl.h: Move include of <bits/types.h> to the top and
11499         include it unconditionally.
11501 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
11503         * wcsmbs/Makefile (tests-ifunc): New variable.
11504         (tests): Add $(tests-ifunc).
11505         * wcsmbs/test-wcschr-ifunc.c: New file.
11506         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11507         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11508         * wcsmbs/test-wcslen-ifunc.c: Likewise.
11509         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11510         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11512         * string/Makefile (tests-ifunc): New variable.
11513         (tests): Add $(tests-ifunc).
11514         * string/test-memccpy.c (TEST_NAME): New macro.
11515         * string/test-memchr.c (TEST_NAME): Likewise.
11516         * string/test-memcmp.c (TEST_NAME): Likewise.
11517         * string/test-memcpy.c (TEST_NAME): Likewise.
11518         * string/test-memmem.c (TEST_NAME): Likewise.
11519         * string/test-memmove.c (TEST_NAME): Likewise.
11520         * string/test-memset.c (TEST_NAME): Likewise.
11521         * string/test-rawmemchr.c (TEST_NAME): Likewise.
11522         * string/test-stpcpy.c (TEST_NAME): Likewise.
11523         * string/test-stpncpy.c (TEST_NAME): Likewise.
11524         * string/test-strcasecmp.c (TEST_NAME): Likewise.
11525         * string/test-strcasestr.c (TEST_NAME): Likewise.
11526         * string/test-strcat.c (TEST_NAME): Likewise.
11527         * string/test-strchr.c (TEST_NAME): Likewise.
11528         * string/test-strcmp.c(TEST_NAME): Likewise.
11529         * string/test-strcpy.c (TEST_NAME): Likewise.
11530         * string/test-strcspn.c (TEST_NAME): Likewise.
11531         * string/test-strlen.c (TEST_NAME): Likewise.
11532         * string/test-strncasecmp.c (TEST_NAME): Likewise.
11533         * string/test-strncmp.c (TEST_NAME): Likewise.
11534         * string/test-strncpy.c (TEST_NAME): Likewise.
11535         * string/test-strnlen.c (TEST_NAME): Likewise.
11536         * string/test-strpbrk.c (TEST_NAME): Likewise.
11537         * string/test-strrchr.c (TEST_NAME): Likewise.
11538         * string/test-strspn.c (TEST_NAME): Likewise.
11539         * string/test-strstr.c (TEST_NAME): Likewise.
11540         * string/test-bcopy-ifunc.c: New file.
11541         * string/test-bzero-ifunc.c: Likewise.
11542         * string/test-memccpy-ifunc.c: Likewise.
11543         * string/test-memchr-ifunc.c: Likewise.
11544         * string/test-memcmp-ifunc.c: Likewise.
11545         * string/test-memcpy-ifunc.c: Likewise.
11546         * string/test-memmem-ifunc.c: Likewise.
11547         * string/test-memmove-ifunc.c: Likewise.
11548         * string/test-mempcpy-ifunc.c: Likewise.
11549         * string/test-memset-ifunc.c: Likewise.
11550         * string/test-rawmemchr-ifunc.c: Likewise.
11551         * string/test-stpcpy-ifunc.c: Likewise.
11552         * string/test-stpncpy-ifunc.c: Likewise.
11553         * string/test-strcasecmp-ifunc.c: Likewise.
11554         * string/test-strcasestr-ifunc.c: Likewise.
11555         * string/test-strcat-ifunc.c: Likewise.
11556         * string/test-strchr-ifunc.c: Likewise.
11557         * string/test-strchrnul-ifunc.c: Likewise.
11558         * string/test-strcmp-ifunc.c: Likewise.
11559         * string/test-strcpy-ifunc.c: Likewise.
11560         * string/test-strcspn-ifunc.c: Likewise.
11561         * string/test-strlen-ifunc.c: Likewise.
11562         * string/test-strncasecmp-ifunc.c: Likewise.
11563         * string/test-strncat-ifunc.c: Likewise.
11564         * string/test-strncmp-ifunc.c: Likewise.
11565         * string/test-strncpy-ifunc.c: Likewise.
11566         * string/test-strnlen-ifunc.c: Likewise.
11567         * string/test-strpbrk-ifunc.c: Likewise.
11568         * string/test-strrchr-ifunc.c: Likewise.
11569         * string/test-strspn-ifunc.c: Likewise.
11570         * string/test-strstr-ifunc.c: Likewise.
11572         * debug/Makefile (tests-ifunc): New variable.
11573         (tests): Add $(tests-ifunc).
11574         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11575         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11576         * debug/test-stpcpy_chk-ifunc.c: New file.
11577         * debug/test-strcpy_chk-ifunc.c: Likewise.
11579 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11581         [BZ #13601]
11582         * elf/dl-load.c (open_verify): Retry read if the entire ELF
11583         header is not read in.
11585 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
11587         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
11588         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
11589         directly.  Pass built executable to script as
11590         $(built-program-cmd).
11591         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
11592         $testprogram without using LD_LIBRARY_PATH and $ldso.
11594         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11595         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11596         $(rtld-installed-name).
11597         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11598         (rtld_installed_name): Likewise.
11599         (library_path): Likewise.
11600         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
11601         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11602         $(run-program-prefix) to tst-tables.sh.
11603         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
11604         it to run tst-table-from and tst-table-to.
11605         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11606         Pass it to tst-table.sh.
11607         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11608         $(run-program-prefix) to tst-gettext.sh.
11609         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11610         tst-translit.sh.
11611         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11612         tst-gettext2.sh.
11613         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
11614         to run tst-gettext.
11615         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
11616         to run tst-gettext2.
11617         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
11618         to run tst-translit.
11619         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11620         $(run-program-prefix) to tst-mtrace.sh.
11621         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
11622         to run tst-mtrace.
11623         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11624         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11625         $(rtld-installed-name).
11626         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11627         (rtld_installed_name): Likewise.
11628         (run_program_prefix): New variable.  Use it to run wordexp-test.
11630         * Makeconfig (ARCH): Remove all definitions.
11631         (machine): Likewise.
11632         [ARCH]: Remove conditional code.
11633         [!objdir]: Give error.
11634         [!objdir] (objpfx): Remove.
11635         [!objdir] (common-objpfx): Likewise.
11636         [!objdir] (common-objdir): Likewise.
11637         * configure.in (config_makefile): Remove.  Hardcode Makefile in
11638         AC_CONFIG_FILES call.
11639         * configure: Regenerated.
11641         [BZ #13888]
11642         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11643         or TMPDIR.
11644         (testout): Likewise.
11646         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11647         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11648         $(rtld-installed-name).
11649         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11650         (rtld_installed_name): Likwise.
11651         (runit): Remove function.
11652         (run_getconf): New variable,  Use it for running getconf binary.
11654 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
11656         [BZ #14716]
11657         * string/test-memmem.c (check_result): New function.
11658         (do_one_test): Use it.
11659         (check1): New function.
11660         (test_main): Use it.
11662 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
11664         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11666 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
11668         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11669         (_G_LSEEK64): Likewise.
11670         (_G_MMAP64): Likewise.
11671         (_G_FSTAT64): Likewise.
11672         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11673         (_G_LSEEK64): Likewise.
11674         (_G_MMAP64): Likewise.
11675         (_G_FSTAT64): Likewise.
11676         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11677         unconditional.  Call __mmap64 directly.
11678         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11679         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
11680         __lseek64 directly.
11681         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11682         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
11683         __mmap64 directly.
11684         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11685         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
11686         __lseek64 directly.
11687         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11688         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
11689         __lseek64 directly.
11690         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11691         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
11692         __lseek64 directly.
11693         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11694         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
11695         __fxstat64 directly.
11696         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11697         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11698         unconditional.
11699         (freopen64) [!_G_OPEN64]: Remove conditional code.
11700         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11701         unconditional.
11702         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11703         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11704         unconditional.
11705         (ftello64) [!_G_LSEEK64]: Remove conditional code.
11706         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11707         unconditional.
11708         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11709         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11710         unconditional.
11711         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11712         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11713         unconditional.
11714         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11715         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11716         unconditional.
11717         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11718         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11719         unconditional.
11720         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11722 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11724         [BZ #12140]
11725         * manual/memory.texi (Malloc Tunable Parameters): Add note
11726         about free list pointers overwriting some perturb bytes.
11727         Wording suggested by Roland McGrath.
11729 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
11731         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11732         (lgamma_test): Likewise.
11733         (tgamma_test): Likewise.
11735 2012-10-16  Florian Weimer  <fweimer@redhat.com>
11737         [BZ #14700]
11738         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11739         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11741 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
11743         * NEWS: Mention BZ #14716.
11744         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11745         when removing AVAILABLE1_USES_J macro.
11747 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
11749         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11750         (__bswap_64): __uint64_t for unsigned 64-bit int.
11752 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
11754         * include/string.h (memmem): Declare libc hidden alias.
11755         * string/memmem.c (memmem): Define libc hidden alias.
11756         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11757         __read, __close instead of open, read, close.
11759 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
11761         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11762         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11763         global and hidden.
11764         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11765         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11766         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11767         Likewise.
11768         (__rawmemchr_sse2): Likewise.
11769         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11770         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11771         (__strchr_sse2): Likewise.
11772         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11773         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11774         (__strcasecmp_sse2): Likewise.
11775         (__strncasecmp_sse2): Likewise.
11776         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11777         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11778         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11779         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11780         (__strrchr_sse2): Likewise.
11781         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11782         ifunc-impl-list.c.
11783         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11784         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11785         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11786         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11787         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11788         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11789         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11790         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11791         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11792         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11793         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11794         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11795         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11796         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11797         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11798         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11799         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11800         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11801         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11802         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11803         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11804         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11805         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11806         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11807         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11808         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11809         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11810         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11811         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11812         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11814         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11815         global and hidden.
11816         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11817         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11818         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11819         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11820         Likewise.
11821         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11822         Likewise.
11823         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11824         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11825         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11826         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11827         ifunc-impl-list.c.
11828         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11829         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11830         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11831         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11832         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11833         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11834         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11835         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11836         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11837         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11838         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11839         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11840         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11841         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11842         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11843         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11844         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11845         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11846         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11847         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11848         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11849         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11850         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11851         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11852         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11853         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11854         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11855         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11856         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11857         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11858         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11859         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11860         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11861         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11862         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11863         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11864         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11865         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11866         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11867         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11868         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11870         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11871         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11872         * include/ifunc-impl-list.h: New file.
11873         * misc/ifunc-impl-list.c: Likewise.
11874         * misc/Makefile (routines): Add ifunc-impl-list.
11875         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11876         * string/test-string.h: Include <ifunc-impl-list.h>.
11877         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11878         impl_array): New variables.
11879         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11880         are defined.
11881         (test_init): Call __libc_ifunc_impl_list to initialize
11882         func_list if TEST_IFUNC and TEST_NAME are defined.
11884         * string/Makefile (strop-tests): Add bcopy and bzero.
11885         * string/test-bcopy.c: New file.
11886         * string/test-bzero.c: Likewise.
11887         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11888         defined.
11889         * string/test-memset.c: Support bzero test if TEST_BZERO is
11890         defined.
11891         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11892         __libc_memmove.
11893         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11894         __libc_memset.
11895         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11896         of memset.
11898 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
11900         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11901         * configure: Regenerated.
11903         * Makeconfig (+link-static-before-libc): Don't include
11904         $(link-static-libc).
11906         * libio/libio.h (_IO_pos_t): Remove.
11908 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11910         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
11911         McGrath.
11913 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11915         * crypt/crypt-entry.c: Include fips-private.h.
11916         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11917         * crypt/md5c-test.c (main): Tolerate disabled MD5.
11918         * sysdeps/unix/sysv/linux/fips-private.h: New file.
11919         * sysdeps/generic/fips-private.h: New file, dummy fallback.
11921 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11923         * crypt/crypt-private.h: Include stdbool.h.
11924         (_ufc_setup_salt_r): Return bool.
11925         * crypt/crypt-entry.c: Include errno.h.
11926         (__crypt_r): Return NULL with EINVAL for bad salt.
11927         * crypt/crypt_util.c (bad_for_salt): New.
11928         (_ufc_setup_salt_r): Check that salt is long enough and within
11929         the specified alphabet.
11930         * crypt/badsalttest.c: New file.
11931         * crypt/Makefile (tests): Add it.
11932         ($(objpfx)badsalttest): New.
11934 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
11936         * NEWS: Add entry for BZ #14602.
11938 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
11940         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11941         type-generic.
11942         * math/libm-test.inc: Update comment listing what functions and
11943         macros are tested.
11944         (isgreater_test): New function.
11945         (isgreaterequal_test): Likewise.
11946         (isless_test): Likewise.
11947         (islessequal_test): Likewise.
11948         (islessgreater_test): Likewise.
11949         (isunordered_test): Likewise.
11950         (main): Call the new functions.
11952 2012-10-09  Roland McGrath  <roland@hack.frob.com>
11954         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11955         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11956         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11957         * sysdeps/i386/configure: Regenerated.
11958         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11959         * sysdeps/mach/configure: Regenerated.
11960         * sysdeps/mach/hurd/configure: Regenerated.
11961         * sysdeps/powerpc/configure: Regenerated.
11962         * sysdeps/powerpc/powerpc32/configure: Regenerated.
11963         * sysdeps/powerpc/powerpc64/configure: Regenerated.
11964         * sysdeps/s390/s390-32/configure: Regenerated.
11965         * sysdeps/s390/s390-64/configure: Regenerated.
11966         * sysdeps/sh/configure: Regenerated.
11967         * sysdeps/sparc/configure: Regenerated.
11968         * sysdeps/unix/sysv/linux/configure: Regenerated.
11969         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11970         * sysdeps/x86_64/configure: Regenerated.
11972         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11973         defined.  Don't check if MAP is NULL.
11975 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
11977         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11978         (_G_stat64): Likewise.
11979         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11980         (_G_stat64): Likewise.
11981         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11982         instead of struct _G_stat64.
11983         * libio/fileops.c (mmap_remap_check): Likewise.
11984         (decide_maybe_mmap): Likewise.
11985         (_IO_new_file_seekoff): Likewise.
11986         (_IO_file_stat): Likewise.
11987         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11988         _G_off64_t.
11989         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11990         instead of struct _G_stat64.
11991         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11993 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
11995         [BZ #14602]
11996         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11997         Replace with ...
11998         (CHECK_EOL): New macro.
11999         (two_way_short_needle): Check beginning of haystack for EOL.  Use
12000         CHECK_EOL.
12001         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12002         Replace with CHECK_EOL.
12003         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12004         Replace with CHECK_EOL.
12006 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
12008         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12009         type-generic.
12010         * math/libm-test.inc: Update comment listing what functions and
12011         macros are tested.
12012         (finite_test): New function.
12013         (isinf_test): Likewise.
12014         (isnan_test): Likewise.
12015         (fpclassify_test): Test subnormal input.
12016         (isfinite_test): Likewise.
12017         (isnormal_test): Likewise.
12018         (main): Call the new functions.
12020 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
12022         [BZ #14660]
12023         * Makerules (%.dynsym): Force C locale when running
12024         $(OBJDUMP) --dynamic-syms.
12026 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
12028         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12029         <stdint.h>.
12031 2012-10-06  David S. Miller  <davem@davemloft.net>
12033         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12034         upper 32-bits of the length value in %o2 since we use branch-on-register
12035         tests which consider the entire 64-bit register.
12037 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
12039         * string/test-strstr.c (check2): Add a test for page boundary.
12041 2012-10-05  David S. Miller  <davem@davemloft.net>
12043         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12044         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12045         file.
12046         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12047         sysdep_routines.
12048         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12049         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12050         and bzero when HWCAP_SPARC_CRYPTO is present.
12052 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
12054         [BZ #14602]
12055         * string/test-strstr.c (check2): New function.
12056         (test_main): Call check2.
12058         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12059         and bug-strchr1.
12060         * string/bug-strcasestr1.c (do_test): Moved to ...
12061         * string/test-strcasestr.c (check1): Here.  New function.
12062         (do_one_test): Break out result checking code into ...
12063         (check_result): This.  New function.
12064         (do_one_test): Call check_result.
12065         (test_main): Call check1.
12066         * string/bug-strchr1.c (do_test): Moved to ...
12067         * string/test-strchr.c (check1): Here.  New function.
12068         (do_one_test): Break out result checking code into ...
12069         (check_result): This.  New function.
12070         (do_one_test): Call check_result.
12071         (test_main): Call check1.
12072         * string/bug-strstr1.c (main): Moved to ...
12073         * string/test-strstr.c (check1): Here.  New function.
12074         (do_one_test): Break out result checking code into ...
12075         (check_result): This.  New function.
12076         (do_one_test): Call check_result.
12077         (test_main): Call check1.
12078         * string/bug-strcasestr1.c: Removed.
12079         * string/bug-strchr1.c: Likewise.
12080         * string/bug-strstr1.c: Likewise.
12082         * elf/Makefile (dl-routines): Add hwcaps.
12083         * elf/dl-support.c (_dl_important_hwcaps): Removed.
12084         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12085         (_dl_important_hwcaps): Moved to ...
12086         * elf/dl-hwcaps.c: Here.  New file.
12087         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12089         [BZ #14557]
12090         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12091         if IS_IN_rtld isn't defined.
12093         * elf/dl-support.c (_dl_sysinfo_map): New.
12094         Include "get-dynamic-info.h" and "setup-vdso.h".
12095         (_dl_non_dynamic_init): Call setup_vdso.
12096         * elf/dynamic-link.h: Don't include <assert.h>.
12097         (elf_get_dynamic_info): Moved to ...
12098         * elf/get-dynamic-info.h: Here.  New file.
12099         * elf/dynamic-link.h: Include "get-dynamic-info.h".
12100         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12101         * elf/setup-vdso.h: Here.  New file.
12102         * elf/rtld.c: Include "setup-vdso.h".
12103         (dl_main): Call setup_vdso.
12105 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
12107         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12108         creal in comment listing functions tested.  List finite, isinf,
12109         isnan, isless, islessequal, isgreater, isgreaterequal,
12110         islessgreater, isunordered, lgamma_r and pow10 as functions and
12111         macros not tested.  Mention which functions not tested are aliases
12112         for other functions.  Fix typo.  Note that signs of NaNs are not
12113         tested.
12115         * scripts/config.guess: Update from config.git.
12116         * scripts/config.sub: Likewise.
12118 2012-10-04  Roland McGrath  <roland@hack.frob.com>
12120         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12121         * misc/madvise.c (madvise): Renamed to __madvise.
12122         Make madvise a weak alias.
12123         * include/sys/mman.h: Declare __madvise.
12124         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12125         * sysdeps/unix/syscalls.list
12126         (madvise): Make __madvise the strong name, and madvise a weak alias.
12127         * sysdeps/unix/sysv/linux/syscalls.list
12128         (madvise, mmap): Remove redundant entries.
12129         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12130         * malloc/malloc.c (mtrim): Likewise.
12131         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12133 2012-10-03  Roland McGrath  <roland@hack.frob.com>
12135         * sysdeps/mach/hurd/dl-cache.c: File removed.
12136         * config.h.in (USE_LDCONFIG): New #undef.
12137         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12138         * configure: Regenerated.
12139         * elf/Makefile (dl-routines): Add dl-cache only under
12140         [$(use-ldconfig) = yes].
12141         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12142         cache on [USE_LDCONFIG].
12143         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12144         [USE_LDCONFIG].
12145         * elf/rtld.c (dl_main): Likewise.
12147 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
12149         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12150         _SC_LEVEL4_CACHE_LINESIZE.
12152 2012-10-03  Roland McGrath  <roland@hack.frob.com>
12154         * sysdeps/unix/bsd/confstr.h: File removed.
12156 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
12158         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12159         sys/sdt-config.h.
12161 2012-10-02  Roland McGrath  <roland@hack.frob.com>
12163         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12164         Make 'mapoff' field ElfW(Off) rather than off_t.
12166 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
12168         * nscd/Makefile: Remove nscd-cflags and all its users.
12169         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12170         (CFLAGS-nonlib): Add compiler flags for nscd modules.
12172         [BZ #10631]
12173         * malloc.c (malloc_printerr): Clarify error message.
12175 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
12177         [BZ #14648]
12178         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12179         Set bit_FMA_Usable if FMA is supported.
12180         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12181         macro.
12182         (bit_FMA4_Usable): Updated.
12183         (index_FMA_Usable): New macro.
12184         (CPUID_FMA): Likewise
12185         (HAS_FMA): Defined with bit_FMA_Usable.
12187 2012-10-01  Roland McGrath  <roland@hack.frob.com>
12189         * bits/types.h (__swblk_t): Type removed.
12190         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12191         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12192         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12193         (__SWBLK_T_TYPE): Likewise.
12194         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12195         (__SWBLK_T_TYPE): Likewise.
12196         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12197         (__SWBLK_T_TYPE): Likewise.
12198         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12199         (__SWBLK_T_TYPE): Likewise.
12201 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
12202             Honza Horak <hhorak@redhat.com>
12204         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12205         (xdr_mapname): Use YPMAXMAP as maxsize.
12206         (xdr_peername): Use YPMAXPEER as maxsize.
12207         (xdr_keydat): Use YPAXRECORD as maxsize.
12208         (xdr_valdat): Use YPMAXRECORD as maxsize.
12210 2012-10-01  Roland McGrath  <roland@hack.frob.com>
12212         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12214         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12215         * csu/init-first.c: ... here.
12216         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12217         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12218         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12219         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12220         * sysdeps/i386/init-first.c: File removed.
12221         * sysdeps/sh/init-first.c: File removed.
12223 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
12225         [BZ #14645]
12226         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12227         if x * y might underflow to zero and z is zero.
12228         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12229         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12230         * math/libm-test.inc (min_subnorm_value): New variable.
12231         (fma_test): Add more tests.
12232         (fma_test_towardzero): Likewise.
12233         (fma_test_downward): Likewise
12234         (fma_test_upward): Likewise.
12235         (initialize): Set min_subnorm_value.
12237 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
12239         [BZ #14638]
12240         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12241         0 + 0.
12242         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12243         mode for addition resulting in exact zero.
12244         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12245         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12246         exact 0 + 0.
12247         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12248         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12249         * math/libm-test.inc (fma_test): Add more tests.
12250         (fma_test_towardzero): New function.
12251         (fma_test_downward): Likewise.
12252         (fma_test_upward): Likewise.
12253         (main): Call the new functions.
12255 2012-09-28  David S. Miller  <davem@davemloft.net>
12257         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12259 2012-09-28  Roland McGrath  <roland@hack.frob.com>
12261         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12262         instead of SIGALRM.
12264         * sysdeps/gnu/_G_config.h: Moved to ...
12265         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12266         * sysdeps/mach/hurd/_G_config.h: Moved to ...
12267         * sysdeps/generic/_G_config.h: ... here.
12269         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
12271         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12273         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12274         Conditionalize target on [libnss_test1.so-version].
12276         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12278         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12279         (elfobjdir): Move out of conditionals.
12281         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12282         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12283         (__nss_lookup_function): Conditionalize label remove_from_tree on
12284         [!DO_STATIC_NSS || SHARED], matching its only use.
12286 2012-09-28  David S. Miller  <davem@davemloft.net>
12288         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12289         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12290         file.
12291         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12292         sysdep_routines.
12293         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12294         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12295         when HWCAP_SPARC_CRYPTO is present.
12297 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12299         * io/tst-mknodat.c: Create a FIFO instead of a socket.
12301 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
12303         [BZ #6530]
12304         * stdio-common/vfprintf.c (process_string_arg): Revert
12305         2000-07-22 change.
12307 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
12309         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12310         for testcase.
12311         * stdio-common/tst-sprintf.c: Include <locale.h>
12312         (main): Test sprintf's handling of incomplete multibyte
12313         characters.
12315 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
12317         * elf/dl-runtime.c (VERSYMIDX): Removed.
12318         * elf/dl-version.c (VERSYMIDX): Likewise.
12319         * elf/do-rel.h (VERSYMIDX): Likewise.
12320         (VALIDX): Likewise.
12321         * elf/dynamic-link.h (VERSYMIDX): Likewise.
12322         * elf/rtld.c (VALIDX): Likewise.
12323         (ADDRIDX): Likewise.
12324         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12325         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12326         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
12327         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12328         (VALIDX): Likewise.
12329         (ADDRIDX): Likewise.
12331 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12333         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12335 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
12337         [BZ #11438]
12338         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12339         to global scope.
12340         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12341         addresses are in the same scope as 192.0.2/24.
12342         * posix/gai.conf: Document new scope table defaults.
12344 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12346         [BZ #5298]
12347         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12348         for ftell.  Compute offsets from write pointers instead.
12349         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12351 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12353         [BZ #14543]
12354         * libio/Makefile (tests): New test case tst-fseek.
12355         * libio/tst-fseek.c: New test case to verify that fseek/ftell
12356         combination works in wide mode.
12357         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12358         state when the external buffer state changes.
12360 2012-09-27  David S. Miller  <davem@davemloft.net>
12362         [BZ #14376]
12363         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12364         pass reloc->r_addend in as the 'high' argument to
12365         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12369 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12371         * rt/tst-aio2.c: Include <pthread.h>.
12372         * rt/tst-aio3.c: Likewise.
12374 2012-09-27  Steve Ellcey  <sellcey@mips.com>
12376         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12378 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
12380         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12381         contents on [SHARED].
12383 2012-09-26  Marek Polacek  <polacek@redhat.com>
12385         [BZ #14530]
12386         [BZ #13741]
12387         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12388         for C++ and GCC <4.3 as well as for non GCC compilers.
12390 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
12392         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12394 2012-09-25  Roland McGrath  <roland@hack.frob.com>
12396         * Makefile.in (all, install): Declare with .PHONY.
12397         Reported by Michael Hope <michael.hope@linaro.org>.
12399 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12401         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12402         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12403         system header.
12404         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12405         Likewise.
12406         (sydep_routines): Add the new and the internal functions.
12407         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12408         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12410         (GLIBC_2.17): Add the new function.
12411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12412         (GLIBC_2.17): Likewise.
12413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12414         (GLIBC_2.17): Likewise.
12415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12416         (GLIBC_2.17): Likewise.
12417         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12419 2012-09-25  Alan Modra  <amodra@gmail.com>
12421         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12422         Add release barrier before setting once_control to say
12423         initialisation is done.  Add hints on lwarx.  Use macro in
12424         place of isync.
12425         (clear_once_control): Add release barrier.
12427 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
12429         [BZ #13629]
12430         * math/s_clog.c (__clog): Handle more values close to |z| = 1
12431         specially.
12432         * math/s_clog10.c (__clog10): Likewise.
12433         * math/s_clog10f.c (__clog10f): Likewise.
12434         * math/s_clog10l.c (__clog10l): Likewise.
12435         * math/s_clogf.c (__clogf): Likewise.
12436         * math/s_clogl.c (__clogl): Likewise.
12437         * math/Makefile (libm-calls): Add x2y2m1.
12438         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12439         (__x2y2m1): Likewise.
12440         (__x2y2m1l): Likewise.
12441         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12442         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12443         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12444         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12445         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12446         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12447         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12448         * sysdeps/i386/fpu/libm-test-ulps: Update.
12449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12451         [BZ #14621]
12452         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12453         int as type of variable DEPTH.
12454         (glob): Use size_t instead of int as type of variables NEWCOUNT
12455         and OLD_PATHC.
12457 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12459         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12460         Add s_sincosf-sse2.
12461         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12462         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12463         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12464         macros for using routine as __sincosf_ia32.
12465         Use macro for function declaration and weak_alias.
12466         * sysdeps/i386/fpu/libm-test-ulps: Update.
12468         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12469         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12471         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
12472         subnormal argument.
12473         * math/s_cexpf.c (__cexpf): Likewise.
12474         * math/s_csinf.c (__csinf): Likewise.
12475         * math/s_csinhf.c (__csinhf): Likewise.
12476         * math/s_ctanf.c (__ctanf): Likewise.
12477         * math/s_ctanhf.c (__ctanhf): Likewise.
12478         * math/s_ccosh.c (__ccoshf): Likewise.
12479         * math/s_cexp.c (__cexpl): Likewise.
12480         * math/s_csin.c (__csin): Likewise.
12481         * math/s_csinh.c (__csinh): Likewise.
12482         * math/s_ctan.c (__ctan): Likewise.
12483         * math/s_ctanh.c (ctanh): Likewise.
12484         * math/s_ccoshl.c (__ccoshl): Likewise.
12485         * math/s_cexpl.c (__cexpl): Likewise.
12486         * math/s_csinl.c (__csinl): Likewise.
12487         * math/s_csinhl.c (__csinhl): Likewise.
12488         * math/s_ctanl.c (__ctanl): Likewise.
12489         * math/s_ctanhl.c (__ctanhl): Likewise.
12491 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
12493         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12494         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12495         (_IO_off_t): Define to __off_t, not _G_off_t.
12496         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12497         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12498         (_IO_wint_t): Define to wint_t, not _G_wint_t.
12499         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12500         type of __dummy and __dummy2 fields.
12501         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12502         (_G_ssize_t): Likewise.
12503         (_G_off_t): Likewise.
12504         (_G_pid_t): Likewise.
12505         (_G_uid_t): Likewise.
12506         (_G_wchar_t): Likewise.
12507         (_G_wint_t): Likewise.
12508         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12509         (_G_ssize_t): Likewise.
12510         (_G_off_t): Likewise.
12511         (_G_pid_t): Likewise.
12512         (_G_uid_t): Likewise.
12513         (_G_wchar_t): Likewise.
12514         (_G_wint_t): Likewise.
12515         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12516         (_G_ssize_t): Likewise.
12517         (_G_off_t): Likewise.
12518         (_G_pid_t): Likewise.
12519         (_G_uid_t): Likewise.
12520         (_G_wchar_t): Likewise.
12521         (_G_wint_t): Likewise.
12523 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12525         * malloc/arena.c: Include malloc-sysdep.h.
12526         (shrink_heap): Use check_may_shrink_heap to decide if madvise
12527         is sufficient to shrink the heap or an unmap is needed.
12528         * sysdeps/generic/malloc-sysdep.h: New file.  Define
12529         new function check_may_shrink_heap.
12530         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
12531         new function check_may_shrink_heap.
12533 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12535         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12536         comments.
12538 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
12540         * catgets/test-gencat.sh: Add "set -e".
12541         * elf/tst-pathopt.sh: Likewise.
12542         * grp/tst_fgetgrent.sh: Likewise.
12543         * iconvdata/run-iconv-test.sh: Likewise.
12544         * intl/tst-gettext.sh: Likewise.
12545         * intl/tst-gettext2.sh: Likewise.
12546         * intl/tst-gettext4.sh: Likewise.
12547         * intl/tst-gettext6.sh: Likewise.
12548         * intl/tst-translit.sh: Likewise.
12549         * io/ftwtest-sh: Likewise.
12550         * libio/test-freopen.sh: Likewise.
12551         * malloc/tst-mtrace.sh: Likewise.
12552         * posix/globtest.sh: Likewise.
12553         * posix/tst-getconf.sh: Likewise.
12554         * posix/wordexp-tst.sh: Likewise.
12555         * stdio-common/tst-printf.sh: Likewise.
12556         * stdio-common/tst-unbputc.sh: Likewise.
12557         * stdlib/tst-fmtmsg.sh: Likewise.
12558         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12559         * catgets/Makefile: Do not specify -e option when running
12560         testsuite shell scripts.
12561         * elf/Makefile: Likewise.
12562         * grp/Makefile: Likewise.
12563         * iconvdata/Makefile: Likewise.
12564         * intl/Makefile: Likewise.
12565         * io/Makefile: Likewise.
12566         * libio/Makefile: Likewise.
12567         * malloc/Makefile: Likewise.
12568         * posix/Makefile: Likewise.
12569         * stdio-common/Makefile: Likewise.
12570         * stdlib/Makefile: Likewise.
12571         * sysdeps/x86_64/Makefile: Likewise.
12573         * io/ftwtest-sh: Add copyright header.
12574         * posix/globtest.sh: Likewise.
12575         * posix/tst-getconf.sh: Likewise.
12576         * posix/wordexp-tst.sh: Likewise.
12577         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12579 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
12581         [BZ #13679]
12582         * Makeconfig (+link): Defined as $(+link-static) if
12583         $(build-shared) isn't yes.
12584         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12585         isn't yes.
12586         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12588         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12590         [BZ #14562]
12591         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12592         new chunk size with MALLOC_ALIGN_MASK.
12594 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
12596         [BZ #5044]
12597         * stdio-common/printf_fphex.c: Include <stdbool.h> and
12598         <rounding-mode.h>.
12599         (__printf_fphex): Determine rounding using get_rounding_mode and
12600         round_away.
12601         * stdio-common/tst-printf-round.c (struct hex_test): New
12602         structure.
12603         (hex_tests): New variable.
12604         (test_hex_in_one_mode): New function.
12605         (do_test): Also run tests for hex float output.
12607 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
12609         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12610         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12611         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12612         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12613         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12614         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12615         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12616         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12618 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
12620         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12621         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12622         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12623         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12625 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
12627         [BZ #14579]
12628         * elf/rtld.c (dl_main): Limit the check for self loading to normal
12629         mode only.
12630         * elf/tst-rtld-load-self.sh: New test.
12631         * elf/Makefile: Run it.
12633 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
12635         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12636         (tst-writev-ENV): Remove.
12637         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12639 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
12641         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12643 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
12645         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12646         unconditional.
12647         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12648         Likewise.
12649         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12650         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12651         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12652         Likewise.
12654 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
12656         [BZ #14587]
12657         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12658         * config.make.in (have-cpp-asm-debuginfo): Removed.
12659         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12660         * configure: Regenerated.
12662 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
12664         [BZ #5044]
12665         * stdio-common/printf_fp.c: Include <stdbool.h> and
12666         <rounding-mode.h>.
12667         (___printf_fp): Determine rounding using get_rounding_mode and
12668         round_away.
12669         * stdio-common/tst-printf-round.c: New file.
12670         * stdio-common/Makefile (tests): Add tst-printf-round.
12671         (link-libm): New variable.
12672         ($(objpfx)tst-printf-round): Depend in $(link-libm).
12674 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
12676         [BZ #14576]
12677         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12678         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12679         Likewise.
12680         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12681         Likewise.
12683 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
12685         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12686         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12687         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12688         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12690 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
12692         [BZ #14518]
12693         * include/rounding-mode.h: New file.
12694         * sysdeps/generic/get-rounding-mode.h: Likewise.
12695         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12696         * stdlib/strtod_l.c: Include <rounding-mode.h>.
12697         (MAX_VALUE): New macro.
12698         (MIN_VALUE): Likewise.
12699         (overflow_value): New function.
12700         (underflow_value): Likewise.
12701         (round_and_return): Use overflow_value and underflow_value to
12702         determine return values in overflow and underflow cases.  Use
12703         round_away to determine rounding depending on rounding mode.
12704         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12705         determine return values in overflow and underflow cases.
12706         * stdlib/tst-strtod-round.c: Include <fenv.h>.
12707         (struct test_results): New structure.
12708         (struct test): Use struct test_results to store expected results
12709         for all rounding modes.
12710         (TEST): Include expected results for all rounding modes.
12711         (test_in_one_mode): New function.
12712         (do_test): Use test_in_one_mode to compute and check results.
12713         Check results for all rounding modes.
12714         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12715         $(link-libm).
12717 2012-12-09  Allan McRae  <allan@archlinux.org>
12719         * sysdeps/i386/fpu/libm-test-ulps: Update
12721 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
12723         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12724         (_G_int32_t): Likewise.
12725         (_G_uint16_t): Likewise.
12726         (_G_uint32_t): Likewise.
12727         (_G_HAVE_BOOL): Likewise.
12728         (_G_HAVE_ATEXIT): Likewise.
12729         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12730         (_G_HAVE_IO_FILE_OPEN): Likewise.
12731         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12732         (_G_int32_t): Likewise.
12733         (_G_uint16_t): Likewise.
12734         (_G_uint32_t): Likewise.
12735         (_G_HAVE_BOOL): Likewise.
12736         (_G_HAVE_ATEXIT): Likewise.
12737         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12738         (_G_HAVE_IO_FILE_OPEN): Likewise.
12739         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12740         (_G_int32_t): Likewise.
12741         (_G_uint16_t): Likewise.
12742         (_G_uint32_t): Likewise.
12743         (_G_HAVE_BOOL): Likewise.
12744         (_G_HAVE_ATEXIT): Likewise.
12745         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12746         (_G_HAVE_IO_FILE_OPEN): Likewise.
12748 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
12750         * csu/libc-tls.c: Update copyright years.
12752 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
12754         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12755         [!_G_USING_THUNKS]: Remove conditional code.
12756         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12757         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12759         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12760         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12761         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12762         (_G_VTABLE_LABEL_PREFIX): Likewise.
12763         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12764         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12765         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12766         (_G_VTABLE_LABEL_PREFIX): Likewise.
12767         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12768         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12769         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12770         (_G_VTABLE_LABEL_PREFIX): Likewise.
12771         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12773 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
12775         * libio/Makefile: Include ../Makeconfig before tests.
12776         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12777         only if $(build-shared) is yes.
12779         * iconv/gconv_db.c: Update copyright years.
12781 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12783         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12784         unwind info if defined PIC. Fix special cases description.
12785         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12787         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12788         DP_HI_MASK entry.
12789         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12791 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
12793         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12795         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12796         is NULL.
12798         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12799         (LDLIBS-tst-chk4): This.
12800         (LDFLAGS-tst-chk5): Renamed to ...
12801         (LDLIBS-tst-chk5): This.
12802         (LDFLAGS-tst-chk6): Renamed to ...
12803         (LDLIBS-tst-chk6): This.
12804         (LDFLAGS-tst-lfschk4): Renamed to ...
12805         (LDLIBS-tst-lfschk4): This.
12806         (LDFLAGS-tst-lfschk5): Renamed to ...
12807         (LDLIBS-tst-lfschk5): This.
12808         (LDFLAGS-tst-lfschk6): Renamed to ...
12809         (LDLIBS-tst-lfschk6): This.
12811         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12812         on $(common-objpfx)soversions.mk.
12814 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
12816         [BZ #10014]
12817         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12818         example host name.
12820 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12822         * malloc/arena.c (arena_get_retry): New function that gets
12823         another arena for the caller to try its request on.
12824         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12825         current arena cannot fulfill the request.
12826         (__libc_memalign): Likewise.
12827         (__libc_memalign): Likewise.
12828         (__libc_pvalloc): Likewise.
12829         (__libc_calloc): Likewise.
12831 2012-09-05  John Tobey  <john.tobey@gmail.com>
12833         [BZ #13542]
12834         * manual/arith.texi (Operations on Complex): Fix description
12835         of carg branch cut.
12837 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
12839         [BZ #10014]
12840         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12841         host name.
12843         [BZ #10038]
12844         * manual/memory.texi (Memory): Make order of menu items match
12845         order of sections.
12847 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12849         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12850         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
12851         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12853 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12855         * csu/libc-tls.c (static_dtv): Renamed to ...
12856         (_dl_static_dtv): This.  Make it global.
12857         (_dl_initial_dtv): Removed.
12858         (__libc_setup_tls): Updated.
12859         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12860         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12861         DL_INITIAL_DTV.
12863 2012-09-06  Petr Machata  <pmachata@redhat.com>
12865         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12866         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12867         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12868         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12870 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12872         [BZ #14545]
12873         * csu/libc-tls.c (_dl_initial_dtv): New variable.
12874         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12875         freeing dtv[-1].
12877 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12879         [BZ #14544]
12880         * Makeconfig (link-static-before-libc): Replace $(+prector)
12881         with $(+prectorT).
12882         (link-static-after-libc): Replace $(+postctor) with
12883         $(+postctorT).
12884         (link-bounded): Replace $(+prector)/$(+postctor) with
12885         $(+prectorT)/$(+postctorT).
12886         (+prectorT): New macro.
12887         (+postctorT): Likewise.
12889 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
12891         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12892         (round_str): Handle values above the maximum for IBM long double
12893         as inexact.
12894         * stdlib/tst-strtod-round.c (tests): Regenerated.
12896 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12898         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12899         assembler flag.
12900         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12901         zarch_nohighgprs around the zarch optimized routines.
12902         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12903         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12904         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12905         for zarch.
12907 2012-09-05  David S. Miller  <davem@davemloft.net>
12909         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12911         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12912         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12913         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12914         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12915         entries.
12917 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12919         * malloc/arena.c: Fold copyright years.
12920         * malloc/mcheck.c, malloc/memusage.c: Likewise.
12922 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12924         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12926 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12928         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
12930 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12932         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12933         change internal state upon failure.
12935 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12937         * malloc/mcheck.c (mcheck_check_all): Fix typo.
12938         * malloc/memusage.c (mmap): Likewise.
12939         (mmap64, mremap): Likewise.  Adjust name in comment.
12941 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12943         * libio/fileops.c: Fix typos in comments.
12944         * libio/oldfileops.c: Likewise.
12945         * libio/wfileops.c: Likewise.
12947 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12949         [BZ #1349]
12950         * malloc/Makefile (tests): Add tst-malloc-usable test case.
12951         (tst-malloc-usable-ENV): Set environment for test case.
12952         * malloc/hooks.c (malloc_check_get_size): New function to get
12953         requested size.
12954         * malloc/malloc.c (musable): Use malloc_check_get_size.
12955         * malloc/tst-malloc-usable.c: New test case.
12957 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
12959         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12961 2012-09-05  Allan McRae  <allan@archlinux.org>
12963         [BZ #13966]
12964         * configure.in (CXX_SYSINCLUDES): Use compiler output to
12965         determine header location.
12966         * configure: Regenerated.
12968 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
12970         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12971         float format.
12972         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
12973         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12974         format.
12975         (test): Regenerate.
12977 2012-09-04  David S. Miller  <davem@davemloft.net>
12979         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12980         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12981         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12983 2012-09-04  Florian Weimer  <fweimer@redhat.com>
12985         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12986         failures.
12988         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12990 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
12992         [BZ #9914]
12993         * libio/iogetdelim.c: Include <limits.h>.
12994         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12995         + len + 1 would overflow.
12997 2012-09-03  Andreas Jaeger  <aj@suse.de>
12999         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13000         * sysdeps/i386/fpu/libm-test-ulps: Update.
13002 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13004         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13005         Add s_sinf-sse2, s_conf-sse2.
13007         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13008         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13009         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13010         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13012         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13013         for using routine as __sinf_ia32.
13014         Use macro for function declaration and weak_alias.
13015         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13016         for using routine as __cosf_ia32.
13017         Use macro for function declaration and weak_alias.
13019         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13020         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13022         * sysdeps/x86_64/fpu/s_sinf.S: New file.
13023         * sysdeps/x86_64/fpu/s_cosf.S: New file.
13024         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13026         * math/libm-test.inc (cos_test): Add more test cases.
13027         (sin_test): Likewise.
13028         (sincos_test): Likewise.
13030 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13032         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13033         (IFUNC_RESOLVE): Make pointers to the specialized implementations
13034         hidden.
13035         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13037 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
13039         [BZ #14538]
13040         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13041         first element of the GOT.
13042         (elf_machine_load_address): Return the difference between
13043         the runtime address of _DYNAMIC and elf_machine_dynamic ().
13045 2012-09-01  Allan McRae  <allan@archlinux.org>
13047         [BZ #13412]
13048         * configure.in (AWK): Require gawk version 3.0 or later.
13049         * configure: Regenerated.
13051 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
13053         * sysdeps/unix/sysv/linux/kernel-features.h
13054         (__ASSUME_POSIX_CPU_TIMERS): Remove.
13055         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13056         [__NR_clock_getres]: Make code unconditional.
13057         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13058         (clock_getcpuclockid): Remove code left unreachable by removal of
13059         conditionals.
13060         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13061         code unconditional.
13062         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13063         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13064         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13065         Make code unconditional.
13066         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13067         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13068         * sysdeps/unix/sysv/linux/clock_settime.c
13069         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13070         conditional code.
13071         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13072         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13074 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
13076         [BZ #14476]
13077         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13078         scripts/test-installation.pl.
13080         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13081         and $ld_so_version if it is set.
13083 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13085         [BZ #14516]
13086         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13087         failure if reading from procfs failed.
13088         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13090 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
13092         * sysdeps/unix/sysv/linux/kernel-features.h
13093         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13094         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13095         Remove conditional code.
13096         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13097         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13098         Remove conditional code.
13099         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13100         * sysdeps/unix/sysv/linux/i386/fxstat.c
13101         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13102         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13103         * sysdeps/unix/sysv/linux/i386/fxstatat.c
13104         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13105         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13106         * sysdeps/unix/sysv/linux/i386/lxstat.c
13107         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13108         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13109         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13110         Remove conditional code.
13111         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13112         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13113         Remove conditional code.
13114         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13115         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13116         <kernel-features.h>.
13117         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13118         Remove.
13119         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13120         Remove conditional code.
13121         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13122         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13123         Remove conditional.
13125 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
13127         [BZ #5400]
13128         * NEWS: Add fixed bug number.
13130 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
13132         [BZ #14519]
13133         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13134         underflowing exponent in case of negative sign.
13135         * stdlib/tst-strtod-round-data: Add more tests.
13136         * stdlib/tst-strtod-round.c (tests): Regenerated.
13138         [BZ #3479]
13139         * stdlib/strtod_l.c (NDIG): Remove.
13140         (HEXNDIG): Likewise.
13141         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13142         smallest representable value.
13143         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13144         lie within an exact representation of 1/2 ulp of the result.
13145         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13146         unconditionally.
13147         (TENS_P9_IDX): Define unconditionally.
13148         (TENS_P9_SIZE): Likewise.
13149         (TENS_P10_IDX): Likewise.
13150         (TENS_P10_SIZE): Likewise.
13151         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13152         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13153         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13154         entries for 10^2^13 and 10^2^14.
13155         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13156         (TENS_P13_IDX): Define.
13157         (TENS_P13_SIZE): Likewise.
13158         (TENS_P14_IDX): Likewise.
13159         (TENS_P14_SIZE): Likewise.
13160         (_fpioconst_pow10): Change array size to
13161         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
13162         unconditional.
13163         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13164         1024]: Add entries for 10^2^13 and 10^2^14.
13165         [LAST_POW10 > _LAST_POW10]: Remove #error.
13166         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13167         (_fpioconst_pow10): Change array size to
13168         FPIOCONST_POW10_ARRAY_SIZE.
13169         * stdlib/gen-fpioconst.c: New file.
13170         * stdlib/gen-tst-strtod-round.c: Likewise.
13171         * stdlib/tst-strtod-round-data: Likewise.
13172         * stdlib/tst-strtod-round.c: Likewise.
13173         * stdlib/Makefile (tests): Add tst-strtod-round.
13175         [BZ #14459]
13176         * stdlib/strtod_l.c: Include <stdint.h>.
13177         (NDEBUG): Do not define.
13178         (round_and_return): Change EXPONENT parameter to type intmax_t.
13179         Rearrange calculations to avoid internal overflow possibilities.
13180         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13181         Rearrange calculations to avoid internal overflow possibilities.
13182         Assert that number fits inside MPNSIZE limbs.
13183         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13184         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
13185         calculations and add assertions to avoid internal overflow
13186         possibilities.  Add casts to avoid signed/unsigned operations.
13187         * stdlib/tst-strtod-overflow.c: New file.
13188         * stdlib/Makefile (tests): Add tst-strtod-overflow.
13190 2012-08-25  Marek Polacek  <polacek@redhat.com>
13192         * time/time.h: Fix some typos in comments.
13194 2012-08-23  Roland McGrath  <roland@hack.frob.com>
13196         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13197         * posix/tst-rfc3484-2.c: Likewise.
13198         * posix/tst-rfc3484-3.c: Likewise.
13200 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
13202         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13203         (EF_ARM_ABI_FLOAT_HARD): Likewise.
13205 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
13207         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13208         #include of fxstatat64.c.
13210 2012-08-22  Roland McGrath  <roland@hack.frob.com>
13212         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13213         * shadow/getspent_r.c: Likewise.
13214         * shadow/getspnam.c: Likewise.
13215         * shadow/getspnam_r.c: Likewise.
13216         * gshadow/getsgent.c: Likewise.
13217         * gshadow/getsgent_r.c: Likewise.
13218         * gshadow/getsgnam.c: Likewise.
13219         * gshadow/getsgnam_r.c: Likewise.
13220         * inet/getnetbyad.c: Likewise.
13221         * inet/getnetbyad_r.c: Likewise.
13222         * inet/getnetbynm.c: Likewise.
13223         * inet/getnetbynm_r.c: Likewise.
13224         * inet/getnetent.c: Likewise.
13225         * inet/getnetent_r.c: Likewise.
13226         * inet/getproto.c: Likewise.
13227         * inet/getproto_r.c: Likewise.
13228         * inet/getprtent.c: Likewise.
13229         * inet/getprtent_r.c: Likewise.
13230         * inet/getprtname.c: Likewise.
13231         * inet/getprtname_r.c: Likewise.
13232         * inet/getrpcbyname.c: Likewise.
13233         * inet/getrpcbyname_r.c: Likewise.
13234         * inet/getrpcbynumber.c: Likewise.
13235         * inet/getrpcbynumber_r.c: Likewise.
13236         * inet/getrpcent.c: Likewise.
13237         * inet/getrpcent_r.c: Likewise.
13238         * inet/getaliasent.c: Likewise.
13239         * inet/getaliasent_r.c: Likewise.
13240         * inet/getaliasname.c: Likewise.
13241         * inet/getaliasname_r.c: Likewise.
13242         * nscd/getgrgid_r.c: Likewise.
13243         * nscd/getgrnam_r.c: Likewise.
13244         * nscd/gethstbyad_r.c: Likewise.
13245         * nscd/gethstbynm3_r.c: Likewise.
13246         * nscd/getpwnam_r.c: Likewise.
13247         * nscd/getpwuid_r.c: Likewise.
13248         * nscd/getsrvbynm_r.c: Likewise.
13249         * nscd/getsrvbypt_r.c: Likewise.
13250         * nscd/gai.c: Likewise.
13252         * configure.in (build_nscd): New substituted variable, set
13253         by --disable-build-nscd and defaults to $use_nscd.
13254         * configure: Regenerated.
13255         * config.make.in (build-nscd): New substituted variable.
13256         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13257         Change conditional to require [$(build-nscd) = yes] as well.
13258         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13260         [BZ# 13696]
13261         * configure.in (use_nscd): New substituted variable, set by
13262         --disable-nscd.  If enabled, define USE_NSCD.
13263         * configure: Regenerated.
13264         * config.h.in: Add USE_NSCD.
13265         * config.make.in (use-nscd): New substituted variable.
13266         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13267         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13268         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13269         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13270         (CFLAGS-getgrnam_r.c): Likewise.
13271         (CFLAGS-initgroups.c): Likewise.
13272         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13273         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13274         Variables removed.
13275         * inet/getnetgrent_r.c
13276         (nscd_setnetgrent): New function, broken out of ...
13277         (setnetgrent): ... here.  Call it.
13278         (innetgr): Conditionalize nscd bits on [USE_NSCD].
13279         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13280         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13281         * nscd/Makefile (routines, aux): Move definitions after include of
13282         Makeconfig.  Conditionalize on [$(use-nscd) != no].
13283         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13284         Conditionalize on [USE_NSCD].
13285         (is_nscd, nscd_init_cb): Likewise.
13286         (nss_load_library): Conditionalize init callback on [USE_NSCD].
13287         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13288         * nss/nss_db/db-init.c: Likewise.
13289         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13290         [USE_NSCD].
13291         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13292         (make_request): Use it.
13293         (cache_valid_p): New function.
13294         (__check_pf): Use it.
13295         * NEWS: Add item for --disable-nscd.
13297 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
13299         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13300         to support sed >= 4.2.1-20-ga9bf076.
13301         * configure: Regenerated.
13303 2012-08-22  Roland McGrath  <roland@hack.frob.com>
13305         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13306         Conditionalize whole body on [IREL].
13308 2012-08-22  Jeff Law <law@redhat.com>
13310         [BZ #14505]
13311         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13312         if the family is PF_UNSPEC.
13314 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
13316         * Makerules (lib-version): Rename from V.
13317         (install-lib-nosubdir): Change V to lib-version.
13319 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
13321         [BZ #14252]
13322         * powerpc32/power6/wcschr.c: New file.
13323         * powerpc32/power6/wcscpy.c: New file.
13324         * powerpc32/power6/wcsrchr.c: New file.
13325         * powerpc64/power6/wcschr.c: New file.
13326         * powerpc64/power6/wcscpy.c: New file.
13327         * powerpc64/power6/wcsrchr.c: New file.
13329 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
13331         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13332         (two_way_short_needle): Use it.
13333         * string/strstr.c (AVAILABLE1_USES_J): Define.
13334         * string/strcasestr.c: Likewise.
13336         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13337         array references.
13338         * string/strcasestr.c (TOLOWER): Make side-effect safe.
13340         [BZ #11607]
13341         * NEWS: Add an entry.
13342         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13343         define their defaults.
13344         (two_way_short_needle): Detect end-of-string on-the-fly.
13345         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13346         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13347         * string/bug-strcasestr1.c: New test.
13348         * string/Makefile: Run it.
13350 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
13352         [BZ #11607]
13353         * string/str-two-way.h (two_way_short_needle): Optimize matching of
13354         the first character.
13356 2012-08-21  Roland McGrath  <roland@hack.frob.com>
13358         * csu/elf-init.c (__libc_csu_irel): Function removed.
13359         * csu/libc-start.c (apply_irel): New function.
13360         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13362 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
13364         * sysdeps/unix/sysv/linux/kernel-features.h
13365         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13366         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13367         <kernel-features.h>.
13368         [__NR_fadvise64_64]: Make code unconditional.
13369         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13370         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13371         !__NR_fadvise64_64)]: Likewise.
13372         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13373         !__NR_fadvise64_64))]: Likewise.
13374         [__NR_fadvise64]: Make code unconditional.
13375         [!__NR_fadvise64]: Remove conditional code.
13376         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13377         <kernel-features.h>.
13378         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13379         unconditional.
13380         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13381         conditional code.
13382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13383         not include <kernel-features.h>.
13384         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13385         unconditional.
13386         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13387         conditional code.
13388         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13389         include <kernel-features.h>.
13390         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13391         unconditional.
13392         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13393         conditional code.
13395 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
13397         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13398         slight instruction rearrangements per scrollpipe analysis.
13399         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13401 2012-08-20  Roland McGrath  <roland@hack.frob.com>
13403         * manual/syslog.texi (syslog; vsyslog, closelog):
13404         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13405         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13407         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13408         DSOCAPS to match condition on defining it.
13410 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
13412         * sysdeps/unix/sysv/linux/kernel-features.h
13413         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13415         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13416         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13418         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13419         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13421         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13422         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13424         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13425         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13427         * sysdeps/unix/sysv/linux/kernel-features.h
13428         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13429         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13430         unconditional.
13431         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13432         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13433         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13434         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13435         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13436         Make code unconditional.
13437         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13438         (__mmap64) [!__NR_mmap2]: Likewise.
13439         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13440         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13441         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13442         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13443         [__NR_mmap2]: Make code unconditional.
13444         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13445         (__mmap64) [!__NR_mmap2]: Likewise.
13447 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13449         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13451 2012-08-18  Andreas Jaeger  <aj@suse.de>
13453         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13455 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
13457         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13458         * include/unistd.h (__have_sock_cloexec): Likewise.
13459         (__have_pipe2): Likewise.
13460         (__have_dup3): Likewise.
13462 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
13464         [BZ #9685]
13465         * include/unistd.h (__have_pipe2): Change define into an extern int.
13466         (__have_dup3): Likewise.
13467         * socket/have_sock_cloexec.c: Include fcntl.h.
13468         (__have_pipe2): New variable.
13469         (__have_dup3): Likewise.
13471 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
13473         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13475 2012-08-17  Marek Polacek  <polacek@redhat.com>
13477         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13478         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13480 2012-08-17  Roland McGrath  <roland@hack.frob.com>
13482         * configure.in: Add AC_SUBST for sysheaders.
13483         * configure: Regenerated.
13484         * config.make.in (sysheaders): New substituted variable.
13486         * sysdeps/unix/mkfifo.c: Moved ...
13487         * sysdeps/posix/mkfifo.c: ... here.
13488         * sysdeps/unix/mkfifoat.c: Moved ...
13489         * sysdeps/posix/mkfifoat.c: ... here.
13491         * sysdeps/unix/utime.c: Moved ...
13492         * sysdeps/posix/utime.c: ... here.
13494         * sysdeps/unix/time.c: Moved ...
13495         * sysdeps/posix/time.c: ... here.
13496         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13497         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
13499         * sysdeps/unix/nice.c: Moved ...
13500         * sysdeps/posix/nice.c: ... here.
13502         * sysdeps/unix/alarm.c: Moved ...
13503         * sysdeps/posix/alarm.c: ... here.
13505         * intl/Makefile ($(codeset_mo)): Depend on the input file.
13507 2012-08-17  Jeff Law <law@redhat.com>
13509         * intl/Makefile (codeset_mo): New variable.
13510         ($(codeset_mo)): New target.
13511         (tst-codeset.out): Depend on that.  Remove explicit rule.
13512         (tst-gettext3.out, tst-gettext5.out): Likewise.
13513         (LOCPATH-ENV, tst-codeset-ENV): New variables.
13514         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13515         * intl/tst-codeset.sh: Remove.
13516         * intl/tst-gettext3.sh: Likewise.
13517         * intl/tst-gettext5.sh: Likewise.
13519 2012-08-17  Roland McGrath  <roland@hack.frob.com>
13521         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
13522         * sysdeps/unix/syscalls.list: ... here.
13524         * sysdeps/posix/getaddrinfo.c
13525         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13526         (gaiconf_init, gaiconf_reload): Use them.
13527         [!_STATBUF_ST_NSEC]
13528         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13529         Define using time_t rather than struct timespec.
13531         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13532         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13533         Macros removed.
13534         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13535         [!NO_THREADS].
13536         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13537         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13538         Likewise.
13540         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13541         __libc_cleanup_push argument.
13543         * bits/param.h: New file.
13544         * misc/sys/param.h: New file.
13545         * include/sys/param.h: New file.
13546         * misc/Makefile (headers): Add bits/param.h.
13547         * sysdeps/generic/sys/param.h: File removed.
13548         * sysdeps/unix/sysv/linux/bits/param.h: New file.
13549         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13550         * sysdeps/mach/hurd/bits/param.h: New file.
13551         * sysdeps/mach/hurd/sys/param.h: File removed.
13553         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13554         last change.
13556         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13557         [_IO_MTSAFE_IO].
13558         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13559         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13560         New macros.
13562         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13563         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13564         rather than -D_IO_MTSAFE_IO conditionally.
13565         * stdio-common/Makefile (CPPFLAGS): Likewise.
13566         * wcsmbs/Makefile (CPPFLAGS): Likewise.
13567         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13568         Use $(libio-mtsafe).
13569         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13570         of -D_IO_MTSAFE_IO.
13571         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13572         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13573         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13574         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13575         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13576         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13577         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13578         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13579         (CFLAGS-fread_u_chk.c): Likewise.
13580         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13581         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13582         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13583         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13584         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13585         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13586         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13587         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13588         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13590         * libio/Makefile: Test [$(libc-reentrant) = yes]
13591         instead of [$(filter %REENTRANT, $(defines)) nonempty].
13593         * Makeconfig
13594         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13595         * sysdeps/pthread/configure: File removed.
13596         * sysdeps/pthread/Makeconfig: New file.
13597         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13598         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13600 2012-08-16  Gary Benson  <gbenson@redhat.com>
13602         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13603         unmapping the first object in a namespace.
13605 2012-08-16  Roland McGrath  <roland@hack.frob.com>
13607         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13608         (__internal_setnetgrent): ... this.  Add internal_function to
13609         definition.  Add libc_hidden_def.
13610         (setnetgrent): Update caller.
13611         (internal_endnetgrent): Renamed to ...
13612         (__internal_endnetgrent): ... this.  Add internal_function to
13613         definition.  Add libc_hidden_def.
13614         (endnetgrent): Update caller.
13615         (internal_getnetgrent_r): Renamed to ...
13616         (__internal_getnetgrent_r): ... this.  Add internal_function to
13617         definition.  Add libc_hidden_def.
13618         (__getnetgrent_r): Update caller.
13619         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
13621 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
13623         * stdlib/longlong.h: Update from GCC.
13625 2012-08-16  Roland McGrath  <roland@hack.frob.com>
13627         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13628         on _QL, which is set by umul_ppmm but never used.
13629         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13630         variables, which are set by GMP macros but never used.
13631         * stdio-common/_itowa.c (_itowa): Likewise.
13632         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13633         * stdlib/mod_1.c (mpn_mod_1): Likewise.
13635 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
13637         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13638         struct La_sh_regs is not constant.
13639         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13640         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13641         and struct La_sparc64_regs are not constant.
13643 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
13645         * sysdeps/unix/sysv/linux/kernel-features.h
13646         (__ASSUME_POSIX_TIMERS): Remove.
13647         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13648         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13649         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13650         Make code unconditional.
13651         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13652         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13653         Make code unconditional.
13654         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13655         * sysdeps/unix/sysv/linux/clock_nanosleep.c
13656         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13657         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13658         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13659         Make code unconditional.
13660         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13661         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13662         (__libc_missing_posix_timers): Remove.
13664 2012-08-15  Roland McGrath  <roland@hack.frob.com>
13666         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13667         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13669         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13671         * elf/dl-sym.c: Include <stdlib.h>.
13673         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13674         constants, which avoids warnings in 32-bit builds.
13676         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13677         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13679         * misc/lseek.c: File moved to ...
13680         * io/lseek.c: ... here.
13682         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13684         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13685         shifting LEN more than 31 bits at once.
13687 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13689         [BZ #14195]
13690         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13691         segmentation fault for a case of two empty input strings.
13692         * string/test-strncasecmp.c (check1): Renamed to...
13693         (bz12205): ...this.
13694         (bz14195): Add new testcase for two empty input strings and N > 0.
13695         (test_main): Call new testcase, adapt for renamed function.
13697 2012-08-15  Andreas Jaeger  <aj@suse.de>
13699         [BZ #14090]
13700         * crypt/md5test2.c: New test, based on test supplied by Serge
13701         Belyshev <belyshev@depni.sinp.msu.ru>.
13702         * crypt/Makefile (xtests): Add md5test-giant..
13703         * crypt/Makefile ($(objpfx)md5test-giant): Add.
13705 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
13707         [BZ #14090]
13708         * crypt/md5.c (md5_process_block): Don't assume the buffer
13709         length is less than 2**32.
13710         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13711         length is less than 2**64.
13713 2012-08-15  Roland McGrath  <roland@hack.frob.com>
13715         * string/str-two-way.h: Include <sys/param.h>.
13716         (MAX): Macro removed.
13718         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13719         Move #define and #undef of memmove to just before and after
13720         including <string.h>.
13722         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13723         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13724         and after including <string.h>.  Move declarations of
13725         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13726         to before #include "string/memmove.c".
13728         * include/dirent.h: Declare __getdirentries.
13730         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13731         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13733 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
13735         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13736         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13737         * sysdeps/i386/configure: Regenerated.
13738         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13739         STABS_CURRENT_FILE, and STABS_FUN.
13740         (END): Remove call to STABS_FUN_END.
13741         (STABS_CURRENT_FILE1): Delete.
13742         (STABS_CURRENT_FILE): Likewise.
13743         (STABS_FUN): Likewise.
13744         (STABS_FUN_END): Likewise.
13745         (STABS_FUN2): Likewise.
13746         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13747         * sysdeps/x86_64/configure: Regenerated.
13749 2012-08-14  Roland McGrath  <roland@hack.frob.com>
13751         * elf/dl-open.c: Include <atomic.h>.
13752         * elf/dl-lookup.c: Likewise.
13754 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
13756         * sysdeps/unix/sysv/linux/kernel-features.h
13757         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13758         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13759         unconditionally.
13760         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13761         unconditionally.
13762         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13763         condition on __ASSUME_CLONE_THREAD_FLAGS.
13765 2012-08-14  Andreas Jaeger  <aj@suse.de>
13767         * sysdeps/i386/fpu/libm-test-ulps: Update.
13769 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
13771         * include/atomic.h (atomic_exchange_and_add): Split into ...
13772         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13773         New atomic macros.
13775 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
13777         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13779 2012-08-13  Jeff Law <law@redhat.com>
13781         * manual/stdio.texi (snprintf): Clarify handling of the trailing
13782         null byte in the output string.
13784 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
13786         * sysdeps/unix/sysv/linux/kernel-features.h
13787         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13788         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13789         (__ASSUME_ARG_MAX_STACK_BASED): Define.
13790         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13791         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13792         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
13793         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13795 2012-08-09  Jeff Law <law@redhat.com>
13797         [BZ #13939]
13798         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13799         When avoid_arena is set, don't retry in the that arena.  Pick the
13800         next one, whatever it might be.
13801         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13802         (arena_lock): Pass in new parameter to arena_get2.
13803         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13804         arena_get2.
13805         (__libc_malloc): Unify retrying after main arena failure with
13806         __libc_memalign version.
13807         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13809 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13811         [BZ #14166]
13812         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13813         to __redirect_strstr.
13814         (__strstr_sse42): Use typeof __redirect_strstr.
13815         (__strstr_ia32): Likewise.
13816         (__libc_strstr): New prototype.
13817         (strstr): Renamed to ...
13818         (__libc_strstr): This.
13819         (strstr): New strong alias of __libc_strstr.
13820         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13821         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13822         __redirect_time.
13823         Include <time.h>.
13824         (__libc_time): New prototype.
13825         (time_ifunc): Replace time with __libc_time.
13826         (time): New strong alias and hidden definition of __libc_time.
13827         (__GI_time): Remove strong alias.
13828         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13829         Include <stddef.h>.
13830         (memmove): Redefined to __redirect_memmove.
13831         (__memmove_sse2): Use typeof __redirect_memmove.
13832         (__memmove_ssse3): Likewise.
13833         (__memmove_ssse3_back): Likewise.
13834         (__libc_memmove): New prototype.
13835         (memmove): Renamed to ...
13836         (__libc_memmove): This.
13837         (memmove): New strong alias of __libc_memmove.
13839 2012-08-08  Mark Salter  <msalter@redhat.com>
13841         * elf/elf.h
13842         (R_MN10300_TLS_GD): Define.
13843         (R_MN10300_TLS_LD): Likewise.
13844         (R_MN10300_TLS_LDO): Likewise.
13845         (R_MN10300_TLS_GOTIE): Likewise.
13846         (R_MN10300_TLS_IE): Likewise.
13847         (R_MN10300_TLS_LE): Likewise.
13848         (R_MN10300_TLS_DTPMOD): Likewise.
13849         (R_MN10300_TLS_DTPOFF): Likewise.
13850         (R_MN10300_TLS_TPOFF): Likewise.
13851         (R_MN10300_SYM_DIFF): Likewise.
13852         (R_MN10300_ALIGN): Likewise.
13853         (R_MN10300_NUM): Update.
13855 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
13857         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13858         Remove.
13860 2012-08-08  Roland McGrath  <roland@hack.frob.com>
13862         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13864         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13865         sysdeps/unix -> sysdeps/posix move.
13866         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13868 2012-08-07      Allan McRae     <allan@archlinux.org>
13870         [BZ #14303]
13871         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13872         (SUNOS_CPP): Likewise.
13873         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13874         not found.
13875         (open_input): Call CPP using execvp.
13877 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
13879         * sysdeps/unix/sysv/linux/kernel-features.h
13880         (__ASSUME_PROT_GROWSUPDOWN): Remove.
13881         (__ASSUME_NO_CLONE_DETACHED): Likewise.
13882         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13883         (__ASSUME_WAITID_SYSCALL): Likewise.
13884         * sysdeps/unix/sysv/linux/dl-execstack.c
13885         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13886         code unconditional.
13887         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13888         conditional code.
13889         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13890         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13891         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13892         code.
13893         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13894         unconditional.
13895         [__ASSUME_WAITID_SYSCALL]: Likewise.
13896         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13898 2012-08-07  Roland McGrath  <roland@hack.frob.com>
13900         * sysdeps/unix/closedir.c: Renamed to ...
13901         * sysdeps/posix/closedir.c: ... here.
13902         * sysdeps/unix/dirfd.c: Renamed to ...
13903         * sysdeps/posix/dirfd.c: ... here.
13904         * sysdeps/unix/dirstream.h: Renamed to ...
13905         * sysdeps/posix/dirstream.h: ... here.
13906         * sysdeps/unix/fdopendir.c: Renamed to ...
13907         * sysdeps/posix/fdopendir.c: ... here.
13908         * sysdeps/unix/opendir.c: Renamed to ...
13909         * sysdeps/posix/opendir.c: ... here.
13910         * sysdeps/unix/readdir.c: Renamed to ...
13911         * sysdeps/posix/readdir.c: ... here.
13912         * sysdeps/unix/readdir_r.c: Renamed to ...
13913         * sysdeps/posix/readdir_r.c: ... here.
13914         * sysdeps/unix/rewinddir.c: Renamed to ...
13915         * sysdeps/posix/rewinddir.c: ... here.
13916         * sysdeps/unix/seekdir.c: Renamed to ...
13917         * sysdeps/posix/seekdir.c: ... here.
13918         * sysdeps/unix/telldir.c: Renamed to ...
13919         * sysdeps/posix/telldir.c: ... here.
13920         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13921         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13922         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13923         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13925         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13926         * bits/fcntl.h: ... here.
13928         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13929         not 0.
13930         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13931         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13932         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13933         (struct flock): Move l_start, l_len to the beginning.
13934         Use __pid_t for l_pid.
13935         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13936         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13937         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13938         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13939         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13940         [__USE_LARGEFILE64] (struct flock64): New type.
13941         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13943         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13944         * bits/dirent.h: ... here.
13946         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13947         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13949 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
13951         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13952         Change from 2.6.0 to 2.6.16.
13953         * sysdeps/unix/sysv/linux/configure: Regenerated.
13954         * sysdeps/unix/sysv/linux/kernel-features.h
13955         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13956         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13957         version.
13958         (__ASSUME_UTIMES): Likewise.
13959         (__ASSUME_CLONE_STOPPED): Remove.
13960         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13961         architectures, not kernel version.
13962         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13963         (__ASSUME_NO_CLONE_DETACHED): Likewise.
13964         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13965         (__ASSUME_WAITID_SYSCALL): Likewise.
13966         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13967         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13968         * README: State 2.6.16 as minimum Linux kernel version.  Do not
13969         refer to older versions.
13971 2012-08-06  Roland McGrath  <roland@hack.frob.com>
13973         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13974         Define alphasort64 as an alias.
13975         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13976         Define versionsort64 as an alias.
13977         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13978         Define scandir64 as an alias.
13979         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13980         Define scandirat64 as an alias.
13981         * dirent/alphasort64.c (alphasort64):
13982         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13983         * dirent/versionsort64.c: Likewise.
13984         * dirent/scandir64.c: Likewise.
13985         * dirent/scandirat64.c: Likewise.
13986         * sysdeps/wordsize-64/alphasort.c: File removed.
13987         * sysdeps/wordsize-64/alphasort64.c: File removed.
13988         * sysdeps/wordsize-64/scandir.c: File removed.
13989         * sysdeps/wordsize-64/scandir64.c: File removed.
13990         * sysdeps/wordsize-64/scandirat.c: File removed.
13991         * sysdeps/wordsize-64/scandirat64.c: File removed.
13992         * sysdeps/wordsize-64/versionsort.c: File removed.
13993         * sysdeps/wordsize-64/versionsort64.c: File removed.
13994         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13995         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13996         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13997         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13998         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13999         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14000         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14001         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14003         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14004         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14005         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14006         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14007         [defined __arch64__ || defined __sparcv9]
14008         (__INO_T_MATCHES_INO64_T): New macro.
14009         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14010         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14011         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14012         * sysdeps/unix/sysv/linux/bits/dirent.h
14013         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14014         (_DIRENT_MATCHES_DIRENT64): New macro.
14016         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14017         Define lockf64 as an alias.
14018         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14019         Define fseeko64 as an alias.
14020         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14021         Define ftello64 as an alias.
14022         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14023         Define _IO_fgetpos64 and fgetpos64 as aliases.
14024         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14025         Define _IO_fsetpos64 and fsetpos64 as aliases.
14026         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14027         Conditionalize body on this.
14028         * libio/fseeko64.c: Likewise.
14029         * libio/ftello64.c: Likewise.
14030         * libio/iofgetpos64.c: Likewise.
14031         * libio/iofsetpos64.c: Likewise.
14032         * sysdeps/wordsize-64/lockf.c: File removed.
14033         * sysdeps/wordsize-64/lockf64.c: File removed.
14034         * sysdeps/wordsize-64/fseeko.c: File removed.
14035         * sysdeps/wordsize-64/fseeko64.c: File removed.
14036         * sysdeps/wordsize-64/ftello.c: File removed.
14037         * sysdeps/wordsize-64/ftello64.c: File removed.
14038         * sysdeps/wordsize-64/iofgetpos.c: File removed.
14039         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14040         * sysdeps/wordsize-64/iofsetpos.c: File removed.
14041         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14042         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14043         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14044         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14045         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14046         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14047         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14048         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14049         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14050         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14051         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14053         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14054         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14055         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14056         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14057         [defined __arch64__ || defined __sparcv9]
14058         (__OFF_T_MATCHES_OFF64_T): New macro.
14059         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14060         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14061         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14062         (__OFF_T_MATCHES_OFF64_T): New macro.
14064 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
14066         * stdlib/secure-getenv.c (__secure_getenv): Replace
14067         GLIBC_2_16 with GLIBC_2_17.
14069 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
14071         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14072         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14074 2012-08-03  David S. Miller  <davem@davemloft.net>
14076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14078 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
14080         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14081         Remove.
14082         (__ASSUME_CORRECT_SI_PID): Likewise.
14083         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14084         (__ASSUME_TMPFS_NAME): Likewise.
14085         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14086         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14087         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14088         (HAVE_AUX_SECURE): Make definition unconditional.
14089         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14090         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14092 2012-08-03  Roland McGrath  <roland@hack.frob.com>
14094         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14095         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14096         * sysdeps/mach/hurd/eloop-threshold.h: New file.
14097         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14098         __eloop_threshold instead of SYMLOOP_MAX.
14100         * sysdeps/generic/eloop-threshold.h: New file.
14101         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14102         of MAXSYMLINKS.
14103         * elf/chroot_canon.c (chroot_canon): Likewise.
14105 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
14107         [BZ #13717]
14108         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14109         Change to 2.6.0 everywhere.
14110         * sysdeps/unix/sysv/linux/configure: Regenerated.
14111         * sysdeps/unix/sysv/linux/kernel-features.h
14112         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14113         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14114         kernel versions.
14115         (__ASSUME_POSIX_TIMERS): Define unconditionally.
14116         (__ASSUME_FUTEX_REQUEUE): Remove.
14117         (__ASSUME_STATFS64): Define unconditionally.
14118         (__ASSUME_AT_SECURE): Likewise.
14119         (__ASSUME_CORRECT_SI_PID): Likewise.
14120         (__ASSUME_TGKILL): Define without depending on kernel version for
14121         i386.
14122         (__ASSUME_UTIMES): Likewise.
14123         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14124         kernel version.
14125         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14126         (__ASSUME_TMPFS_NAME): Likewise.
14127         * README: Update reference to Linux kernel versions.
14129 2012-08-02  Marek Polacek  <polacek@redhat.com>
14131         [BZ# 14150]
14132         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
14133         libc_cv_asm_type_prefix with %.
14134         * configure: Regenerated.
14135         * include/libc-symbols.h: Remove comment about
14136         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14137         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14138         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14139         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14140         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14141         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14142         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14143         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14144         * elf/tst-unique2mod1.c: Likewise.
14145         * elf/tst-unique1mod2.c: Likewise.
14146         * elf/tst-unique1mod1.c: Likewise.
14147         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14148         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14149         Replace ASM_TYPE_DIRECTIVE with .type.
14150         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14151         * sysdeps/i386/sysdep.h: Likewise.
14152         * sysdeps/x86_64/sysdep.h: Likewise.
14153         * sysdeps/sh/sysdep.h: Likewise.
14154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14155         Do not define ASM_TYPE_DIRECTIVE.
14156         * sysdeps/powerpc/sysdep.h: Likewise.
14157         * sysdeps/powerpc/powerpc32/sysdep.h:
14158         Replace ASM_TYPE_DIRECTIVE with .type.
14159         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14160         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14161         * sysdeps/i386/fpu/e_powf.S: Likewise.
14162         * sysdeps/i386/fpu/e_expl.S: Likewise.
14163         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14164         * sysdeps/i386/fpu/e_acosh.S: Likewise.
14165         * sysdeps/i386/fpu/e_pow.S: Likewise.
14166         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14167         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14168         * sysdeps/i386/fpu/s_expm1.S: Likewise.
14169         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14170         * sysdeps/i386/fpu/e_log2.S: Likewise.
14171         * sysdeps/i386/fpu/e_log2l.S: Likewise.
14172         * sysdeps/i386/fpu/e_scalb.S: Likewise.
14173         * sysdeps/i386/fpu/e_powl.S: Likewise.
14174         * sysdeps/i386/fpu/e_log10f.S: Likewise.
14175         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14176         * sysdeps/i386/fpu/e_logl.S: Likewise.
14177         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14178         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14179         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14180         * sysdeps/i386/fpu/e_log2f.S: Likewise.
14181         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14182         * sysdeps/i386/fpu/e_log.S: Likewise.
14183         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14184         * sysdeps/i386/fpu/e_logf.S: Likewise.
14185         * sysdeps/i386/fpu/e_log10l.S: Likewise.
14186         * sysdeps/i386/fpu/e_atanh.S: Likewise.
14187         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14188         * sysdeps/i386/fpu/e_log10.S: Likewise.
14189         * sysdeps/i386/fpu/s_frexp.S: Likewise.
14190         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14191         * sysdeps/i386/fpu/s_asinh.S: Likewise.
14192         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14193         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14194         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14195         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14196         * sysdeps/i386/i686/strtok.S: Likewise.
14197         * sysdeps/i386/i386-mcount.S: Likewise.
14198         * sysdeps/i386/strtok.S: Likewise.
14199         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14200         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14201         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14202         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14203         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14204         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14205         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14206         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14207         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14208         * sysdeps/x86_64/_mcount.S: Likewise.
14209         * sysdeps/x86_64/strtok.S: Likewise.
14210         * sysdeps/sh/_mcount.S: Likewise.
14212 2012-08-01  Roland McGrath  <roland@hack.frob.com>
14214         * libio/iofopen.c: Include <fcntl.h>.
14215         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14216         (_IO_fopen64, fopen64): Define as aliases.
14217         * libio/iofopen64.c: Include <fcntl.h>.
14218         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14219         Conditionalize body on this.
14220         * sysdeps/wordsize-64/iofopen.c: File removed.
14221         * sysdeps/wordsize-64/iofopen64.c: File removed.
14223 2012-08-01  Marek Polacek  <polacek@redhat.com>
14225         * libc/Makeconfig: Use elf in place of binfmt-subdir.
14226         Use dlfcn directly instead of a variable.
14227         (binfmt-subdir): Do not define.
14228         (dlfcn): Likewise.
14230 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
14232         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14233         Remove all definitions.
14234         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14235         <kernel-features.h>.
14236         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14237         (miss_F_GETOWN_EX): Remove all definitions.
14238         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14239         macro definition.
14240         [!__ASSUME_FCNTL64]: Remove conditional code.
14241         [__ASSUME_FCNTL64]: Make code unconditional.
14242         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14243         <kernel-features.h>.
14244         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14245         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14246         (lockf64) [__NR_fcntl64]: Make code unconditional.
14247         (lockf64) [__ASSUME_FCNTL64]: Likewise.
14249         * sysdeps/unix/sysv/linux/kernel-features.h
14250         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14251         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14252         Make code unconditional.
14253         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14254         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14256         [__NR_vfork]: Make code unconditional.
14257         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14258         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14260         [__NR_vfork]: Make code unconditional.
14261         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14262         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14264 2012-08-01  Roland McGrath  <roland@hack.frob.com>
14266         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14267         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14269         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14270         Define mkstemp64 as an alias.
14271         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14272         Define mkstemps64 as an alias.
14273         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14274         Define mkostemp64 as an alias.
14275         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14276         Define mkostemps64 as an alias.
14277         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14278         Conditionalize body on this.
14279         * misc/mkostemp64.c: Likewise.
14280         * misc/mkostemps64.c: Likewise.
14281         * misc/mkstemps64.c: Likewise.
14282         * sysdeps/wordsize-64/mkstemp64.c: File removed.
14283         * sysdeps/wordsize-64/mkostemp64.c: File removed.
14284         * sysdeps/wordsize-64/mkostemp.c: File removed.
14285         * sysdeps/wordsize-64/mkstemp.c: File removed.
14286         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14287         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14288         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14289         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14291         [BZ #14138]
14292         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14293         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14294         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14295         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14297         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14298         compat_symbol macros from <shlib-compat.h> rather than the underlying
14299         default_symbol_version and symbol_version macros, so that DEFAULT
14300         lines in shlib-versions are respected.
14301         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14303 2012-08-01  Florian Weimer  <fweimer@redhat.com>
14305         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14306         Declare with warn_unused_result.
14307         (setgid, setregid, setegid, setresgid): Likewise.
14308         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14309         Likewise.
14310         * WUR-REPORT: Remove set*id functions.
14312 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
14314         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14316 2012-07-31  Roland McGrath  <roland@hack.frob.com>
14318         [BZ #10191]
14319         * include/sys/socket.h (__libc_accept, __libc_accept4):
14320         Add attribute_hidden.
14321         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14323         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14324         use of PTR_MANGLE.
14325         * inet/getnetgrent_r.c (setup): Likewise.
14327         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14329 2012-07-31  David S. Miller  <davem@davemloft.net>
14331         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14333 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
14335         [BZ #13629]
14336         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14337         value between 1.0 and 2.0 and smaller part has absolute value less
14338         than 1.0.
14339         * math/s_clog10.c (__clog10): Likewise.
14340         * math/s_clog10f.c (__clog10f): Likewise.
14341         * math/s_clog10l.c (__clog10l): Likewise.
14342         * math/s_clogf.c (__clogf): Likewise.
14343         * math/s_clogl.c (__clogl): Likewise.
14344         * math/libm-test.inc (clog_test): Add more tests.
14345         (clog10_test): Likewise.
14346         * sysdeps/i386/fpu/libm-test-ulps: Update.
14347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14349 2012-07-31  Florian Weimer  <fweimer@redhat.com>
14351         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14352         Exit with zero in case no suitable GID is found, and write a
14353         message to standard error.
14355 2012-07-30  Roland McGrath  <roland@hack.frob.com>
14357         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14358         rather than to 1.
14359         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14360         (MAXPATHLEN): Removed.
14361         (NOGROUP, NODEV): New macros.
14362         (setbit, clrbit, isset, isclr): New macros.
14363         (howmany, roundup, powerof2): New macros.
14364         (DEV_BSIZE): New macro.
14366         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14367         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14369         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14370         definition on [!__NO_LONG_DOUBLE_MATH].
14372         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14373         PTR_MANGLE and PTR_DEMANGLE.
14375         * socket/accept4.c (accept4): Rename to __libc_accept4.
14376         Define accept4 as a weak alias.
14378         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14379         on [_DIRENT_HAVE_D_TYPE].
14380         * io/ftw.c (ftw_dir): Likewise.
14382         * io/xmknod.c (__xmknod): Don't check PATH for being null.
14384         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14386         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14387         Use the BSD numbers rather than the arbitrary ones we had.
14388         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14389         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14390         (SIGXCPU, SIGXFSZ): New macros.
14391         (_NSIG): Now 32.
14393         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14394         initializer on [_LIBC_REENTRANT].
14396         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14397         definitions inside [_POSIX_MAPPED_FILES].
14399         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14401         * dirent/opendir.c: Include <fcntl.h>.
14403         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14404         (__libc_getspecific): Likewise.
14405         (__libc_key_create): Likewise.
14407         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14408         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14409         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14410         (tmpfile64): Define as alias.
14411         * sysdeps/wordsize-64/tmpfile.c: File removed.
14412         * sysdeps/wordsize-64/tmpfile64.c: File removed.
14413         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14414         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14416         * stdio-common/vfscanf.c: Include <stdbool.h>.
14417         * nss/makedb.c: Likewise.
14418         * stdio-common/_i18n_number.h: Likewise.
14419         * argp/argp-help.c: Likewise.
14420         * posix/wordexp.c: Likewise.
14421         * sysdeps/posix/spawni.c: Likewise.
14422         * nss/nss_files/files-initgroups.c: Likewise.
14423         * stdio-common/reg-modifier.c: Include <stdlib.h>.
14424         * nss/nss_files/files-initgroups.c: Likewise.
14425         * nss/nss_db/db-netgrp.c: Likewise.
14426         * nss/nss_db/db-initgroups.c: Likewise.
14427         * io/fchmodat.c: Include <sys/stat.h>.
14429         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14430         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14432         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14433         [HAVE_MMAP].
14435         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14436         Add multiple inclusion protection.
14438 2012-07-27  David S. Miller  <davem@davemloft.net>
14440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14442 2012-07-27  Gary Benson  <gbenson@redhat.com>
14444         [BZ #14298]
14445         * elf/rtld.c: Include <stap-probe.h>.
14446         (dl_main): Added static probes "init_start" and "init_complete".
14447         * elf/dl-load.c: Include <stap-probe.h>.
14448         (lose): Take new parameter "nsid".
14449         Added static probe "map_failed".
14450         (_dl_map_object_from_fd): Pass namespace id to lose.
14451         Added static probe "map_start".
14452         (open_verify): Pass namespace id to lose.
14453         * elf/dl-open.c: Include <stap-probe.h>.
14454         (dl_open_worker) Added static probes "map_complete", "reloc_start"
14455         and "reloc_complete".
14456         * elf/dl-close.c: Include <stap-probe.h>.
14457         (_dl_close_worker): Added static probes "unmap_start" and
14458         "unmap_complete".
14459         * elf/rtld-debugger-interface.txt: New file documenting the above.
14461 2012-07-26  Roland McGrath  <roland@hack.frob.com>
14463         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14464         rather than a string variable.
14465         * sunrpc/rpc_main.c (h_output): Likewise.
14466         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14468 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
14470         * inet/check_native.c: New file.
14472 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
14474         [BZ #13629]
14475         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14476         if larger part has absolute value 1.0.
14477         * math/s_clog10.c (__clog10): Likewise.
14478         * math/s_clog10f.c (__clog10f): Likewise.
14479         * math/s_clog10l.c (__clog10l): Likewise.
14480         * math/s_clogf.c (__clogf): Likewise.
14481         * math/s_clogl.c (__clogl): Likewise.
14482         * math/libm-test.inc (clog_test): Add more tests.
14483         (clog10_test): Likewise.
14484         * sysdeps/i386/fpu/libm-test-ulps: Update.
14485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14487         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14488         (pltexit): Likewise.
14489         (La_regs): Likewise.
14490         (La_retval): Likewise.
14491         (int_retval): Likewise.
14492         Update #error for removed macros to refer only to definitions in
14493         tst-audit.h.
14494         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14495         macro.
14496         (pltexit): Likewise.
14497         (La_regs): Likewise.
14498         (La_retval): Likewise.
14499         (int_retval): Likewise.
14500         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14501         macro.
14502         (pltexit): Likewise.
14503         (La_regs): Likewise.
14504         (La_retval): Likewise.
14505         (int_retval): Likewise.
14506         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14507         macro.
14508         (pltexit): Likewise.
14509         (La_regs): Likewise.
14510         (La_retval): Likewise.
14511         (int_retval): Likewise.
14512         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14513         macro.
14514         (pltexit): Likewise.
14515         (La_regs): Likewise.
14516         (La_retval): Likewise.
14517         (int_retval): Likewise.
14518         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14519         macro.
14520         (pltexit): Likewise.
14521         (La_regs): Likewise.
14522         (La_retval): Likewise.
14523         (int_retval): Likewise.
14524         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14525         macro.
14526         (pltexit): Likewise.
14527         (La_regs): Likewise.
14528         (La_retval): Likewise.
14529         (int_retval): Likewise.
14530         * sysdeps/generic/tst-audit.h: Update comment to refer only to
14531         macro definitions in tst-audit.h.
14532         * sysdeps/i386/tst-audit.h: New file.
14533         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14534         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14535         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14536         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14537         * sysdeps/sh/tst-audit.h: Likewise.
14538         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14539         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14540         * sysdeps/x86_64/tst-audit.h: Likewise.
14542 2012-07-26  Andreas Jaeger  <aj@suse.de>
14544         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14545         ptrace.
14547         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14548         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14549         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14550         PTRACE_O_MASK.
14551         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14552         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14553         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14555         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14556         value.
14558         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14559         _sigsys.
14560         (si_call_addr, si_syscall, si_arch): Define new macro.
14561         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14562         _sigsys.
14563         (si_call_addr, si_syscall, si_arch): Define new marcro.
14564         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14565         _sigsys.
14566         (si_call_addr, si_syscall, si_arch): Define new macro.
14567         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14568         _sigsys.
14569         (si_call_addr, si_syscall, si_arch): Define new macro.
14571 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
14573         [BZ #13717]
14574         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14575         Change to 2.4.21 where previously 2.4.1.
14576         * sysdeps/unix/sysv/linux/configure: Regenerated.
14577         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14578         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14579         Linux kernel version.
14580         (__ASSUME_STD_AUXV): Remove.
14581         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14582         kernel version.
14583         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14584         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14585         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14586         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14587         (__ASSUME_NETLINK_SUPPORT): Likewise.
14588         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14589         (__no_netlink_support): Remove conditional definition.
14590         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14591         Remove.
14592         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14593         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14594         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14595         (if_nameindex_ioctl): Remove.
14596         (if_nameindex_netlink): Do not handle __no_netlink_support.
14597         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14598         code.
14599         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14600         Remove conditional code.
14601         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14602         code.
14603         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14604         unconditional.
14605         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14606         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14607         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14608         Remove.
14609         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14610         [!__ASSUME_STD_AUXV]: Remove conditional code.
14611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14612         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14613         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14615         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14616         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14617         code.
14618         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14620         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14621         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14622         conditional code.
14623         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14625         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14626         code.
14627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14628         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14629         conditional code.
14630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14631         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14632         code unconditional.
14633         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14634         conditional code.
14635         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14636         unconditional.
14637         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14638         conditional code.
14639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14640         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14641         unconditional.
14642         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14643         conditional code.
14644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14645         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14646         code unconditional.
14647         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14648         conditional code.
14649         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14650         unconditional.
14651         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14652         conditional code.
14653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14654         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14655         code unconditional.
14656         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14657         conditional code.
14658         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14659         unconditional.
14660         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14661         conditional code.
14663 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
14665         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14666         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14667         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14668         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14669         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14670         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14671         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14672         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14673         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14674         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14675         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14676         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14677         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14678         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14679         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14680         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14681         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14682         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14683         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14684         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14685         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14686         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14687         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14689 2012-07-25  Florian Weimer  <fweimer@redhat.com>
14691         * Versions.def: Add GLIBC_2.17.
14692         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14693         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14694         Introduce __libc_secure_getenv.
14695         * stdlib/Versions (2.17): Add secure_getenv
14696         (GLIBC_PRIVATE): Add __libc_secure_getenv.
14697         * stdlib/secure-getenv.c: Rename __secure_getenv to
14698         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
14699         symbol __secure_getenv for GLIBC_2.0.
14700         * stdlib/tst-secure-getenv.c: New.
14701         * stdlib/Makefile (tests): Add testcase.
14702         * manual/startup.texi (Environment Access): Document
14703         secure_getenv.
14704         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14705         __libc_secure_getenv.
14706         * inet/ruserpass.c (ruserpass): Likewise.
14707         * malloc/mtrace.c (mtrace): Likewise.
14708         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
14709         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14710         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14711         * sysdeps/posix/tempname.c: Likewise.  Evaluate
14712         HAVE_SECURE_GETENV.
14713         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
14714         __secure_getenv to __libc_secure_getenv.
14715         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
14716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14717         Likewise.
14718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14719         Likewise.
14720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14721         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14722         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14723         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14725         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14726         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14728 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
14730         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14731         (struct La_i86_retval): Likewise.
14732         (struct La_x86_64_regs): Likewise.
14733         (struct La_x86_64_retval): Likewise.
14734         (struct La_x32_regs): Likewise.
14735         (struct La_x32_retval): Likewise.
14736         (struct La_ppc32_regs): Likewise.
14737         (struct La_ppc32_retval): Likewise.
14738         (struct La_ppc64_regs): Likewise.
14739         (struct La_ppc64_retval): Likewise.
14740         (struct La_sh_regs): Likewise.
14741         (struct La_sh_retval): Likewise.
14742         (struct La_s390_32_regs): Likewise.
14743         (struct La_s390_32_retval): Likewise.
14744         (struct La_s390_64_regs): Likewise.
14745         (struct La_s390_64_retval): Likewise.
14746         (struct La_sparc32_regs): Likewise.
14747         (struct La_sparc32_retval): Likewise.
14748         (struct La_sparc64_regs): Likewise.
14749         (struct La_sparc64_retval): Likewise.
14750         (struct audit_ifaces): Remove architecture-specific pltenter and
14751         pltexit members.
14752         * sysdeps/i386/ldsodefs.h: New file.
14753         * sysdeps/powerpc/ldsodefs.h: Likewise.
14754         * sysdeps/s390/ldsodefs.h: Likewise.
14755         * sysdeps/sh/ldsodefs.h: Likewise.
14756         * sysdeps/sparc/ldsodefs.h: Likewise.
14757         * sysdeps/x86_64/ldsodefs.h: Likewise.
14759 2012-07-25  Marek Polacek  <polacek@redhat.com>
14761         [BZ #6808]
14762         * math/libm-test.inc (yn_test): Add another test.
14763         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14764         to ERANGE when the result is +-Inf.
14765         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14766         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14767         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14768         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14770 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
14772         * conform/data/time.h-data (NULL): Use macro-constant.  Require
14773         equal to 0.
14774         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
14775         clock_t.
14776         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
14778 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
14780         * configure.in <sysdeps resolving>: Correct printing
14781         Implies_before.
14782         * configure: Regenerate.
14784 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
14786         * math/w_ilogb.c: Include <limits.h>.
14787         * math/w_ilogbl.c: Likewise.
14789 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
14791         * manual/lang.texi (__va_copy): Document primarily as ISO C99
14792         va_copy.  Document allowing for unavailable va_copy only as
14793         pre-C99 compatibility.
14794         * manual/string.texi (Copying and Concatenation): Use va_copy
14795         instead of __va_copy in concat example.
14797 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
14799         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14800         (__sendto): Use create_address_port.  Initialize APORT and deallocate
14801         it if not null.
14803         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14804         with O_NOLINK passed to __file_name_lookup.
14806         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14807         with O_NOLINK passed to __file_name_lookup.
14809         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14810         negative N or less than NGIDS.
14812         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14813         type to string_t.  Set ERANGE as errno and return it if NAME is not big
14814         enough.  Use memcpy instead of strncpy.
14816 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
14818         * elf/Makefile (check-data): Remove.
14819         (localplt.data): New vpath directive.
14820         ($(objpfx)check-localplt.out): Use localplt.data from vpath
14821         instead of $(check-data).
14822         * scripts/data/localplt-generic.data: Move to ...
14823         * sysdeps/generic/localplt.data: ... here.
14824         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14825         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14826         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14828         ... here.
14829         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14831         ... here.
14832         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14834         ... here.
14835         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14837         ... here.
14838         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14839         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14840         ... here.
14841         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14842         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14843         ... here.
14845 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14847         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14848         PPC32 and PPC64 files.
14849         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14850         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14852 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14854         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14855         __makecontext_ret to ...
14856         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14857         ... here and call exit if uc_link is NULL.  New file.
14858         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14859         __makecontext_ret.S.
14860         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14861         __makecontext_ret to ...
14862         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14863         ... here and call exit if uc_link is NULL.  New file.
14864         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14865         __makecontext_ret.S.
14867 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14869         * elf/elf.h (R_390_IRELATIVE): New definition.
14870         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14871         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
14872         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14873         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14874         (elf_machine_lazy_rel): Likewise.
14875         * sysdeps/s390/dl-irel.h: New file.
14876         * sysdeps/s390/s390-64/memcpy.S: New asm code.
14877         * sysdeps/s390/s390-64/memset.S: New asm code.
14878         * sysdeps/s390/s390-64/memcmp.S: New asm code.
14879         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14880         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14881         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14882         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14883         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14884         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14885         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14886         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14887         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14888         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14889         * sysdeps/s390/s390-32/memcpy.S: New asm code.
14890         * sysdeps/s390/s390-32/memset.S: New asm code.
14891         * sysdeps/s390/s390-32/memcmp.S: New asm code.
14893 2012-07-17  Marek Polacek  <polacek@redhat.com>
14895         [BZ #14349]
14896         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14897         * sysdeps/s390/s390-64/configure.in: Likewise.
14898         * sysdeps/sparc/configure.in: Likewise.
14899         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14900         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14901         * sysdeps/i386/configure.in: Likewise.
14902         * sysdeps/x86_64/configure.in: Likewise.
14903         * sysdeps/sh/configure.in: Likewise.
14904         * sysdeps/s390/s390-32/configure: Regenerated.
14905         * sysdeps/s390/s390-64/configure: Likewise.
14906         * sysdeps/x86_64/configure: Likewise.
14907         * sysdeps/sh/configure: Likewise.
14908         * sysdeps/powerpc/powerpc64/configure: Likewise.
14909         * sysdeps/powerpc/powerpc32/configure: Likewise.
14910         * sysdeps/sparc/configure: Likwise.
14911         * sysdeps/i386/configure: Likewise.
14913         * elf/dl-open.c: Comment fixes.
14915 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
14917         * Makefile [CXX] (check-data): Remove.
14918         [CXX] (c++-types.data): New vpath directive.
14919         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14920         vpath.  Do not allow for C++ type data being missing.
14921         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14922         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14923         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14924         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14925         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14926         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14927         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14929         ... here.
14930         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14932         ... here.
14933         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14935         ... here.
14936         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14937         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14938         ... here.
14939         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14941         ... here.
14942         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14943         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14944         ... here.
14945         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14947         ... here.
14948         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14951         * elf/tls-macros.h (TLS_LE): Move architecture-specific
14952         definitions to architecture-specific files.
14953         (TLS_IE): Likewise.
14954         (TLS_LD): Likewise.
14955         (TLS_GD): Likewise.
14956         * sysdeps/i386/tls-macros.h: New file.
14957         * sysdeps/powerpc/tls-macros.h: Likewise.
14958         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14959         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14960         * sysdeps/sh/tls-macros.h: Likewise.
14961         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14962         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14963         * sysdeps/x86_64/tls-macros.h: Likewise.
14965 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
14967         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14968         zero value for regular exit case.
14970         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14971         (__start_context): Preserve zero value for regular exit case.
14973 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
14974             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14976         * manual/setjmp.texi (setcontext): Clarify normal process
14977         termination when uc_link is the null pointer.
14978         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14979         exit call.
14981 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
14983         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14984         preprocessor.  Test for each exception mask separately.
14986 2012-07-16  Andreas Jaeger  <aj@suse.de>
14988         * po/ru.po: Update from translation team.
14990 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
14992         * conform/data/string.h-data (NULL): Use macro-constant.  Require
14993         equal to 0.
14994         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14995         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14996         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14997         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14998         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15000 2012-07-13  Andreas Jaeger  <aj@suse.de>
15002         * po/fr.po: Update from translation team.
15004 2012-07-12  Marek Polacek  <polacek@redhat.com>
15006         [BZ #14173]
15007         * math/libm-test.inc (yn_test): Add test for BZ #14173.
15008         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15009         loop condition.
15011 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
15013         [BZ #13717]
15014         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15015         Change to 2.4.1 where previously 2.4.0.
15016         * sysdeps/unix/sysv/linux/configure: Regenerated.
15017         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15018         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15019         version.
15020         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15021         (__ASSUME_AT_CLKTCK): Remove.
15022         (__ASSUME_AT_PAGESIZE): Likewise.
15023         (__ASSUME_AT_XID): Likewise.
15024         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15025         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15026         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15027         unconditionally.
15028         (HAVE_AUX_PAGESIZE): Likewise.
15029         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15030         [__ASSUME_AT_CLKTCK]: Make code unconditional.
15031         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15033 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
15035         [BZ #14307]
15036         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15037         the temporary buffer used to invoke __gethostbyname2_r,
15038         __gethostbyaddr_r and gethostbyname4_r to make room for struct
15039         host_data / struct gaih_addrtuple.
15040         * resolv/nss_dns/dns-host.c (global scope): Move definition of
15041         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15042         header file nss/nsswitch.h.
15043         * nss/nsswitch.h (global scope): Add definition of implementation
15044         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15045         resolv/nss_dns/dns-host.c).
15047 2012-07-11  Andreas Jaeger  <aj@suse.de>
15049         * po/fr.po: Update from translation team.
15051         * po/sv.po: Update from translation team
15052         * po/fr.po: Another update from translation team.
15054 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15056         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15057         for subnormals or multiply small sinh result by itself.
15058         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15061 2012-07-11  David S. Miller  <davem@davemloft.net>
15063         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15065 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
15067         [BZ #14347]
15068         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15069         (INTERNAL_MARK): Shift it here.
15071 2012-07-10  Marek Polacek  <polacek@redhat.com>
15073         [BZ #14151]
15074         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
15075         libc_cv_asm_global_directive with .globl.
15076         * configure: Regenerated.
15077         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15078         with .globl.
15079         * sysdeps/i386/configure: Regenerated.
15080         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15081         with .globl.
15082         * sysdeps/x86_64/configure: Regenerated.
15083         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15084         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15085         * elf/tst-unique2mod2.c: Likewise.
15086         * elf/tst-unique2mod1.c: Likewise.
15087         * elf/tst-unique1mod2.c: Likewise.
15088         * elf/tst-unique1mod1.c: Likewise.
15089         * sysdeps/s390/s390-32/sysdep.h: Likewise.
15090         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15091         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15092         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15093         * sysdeps/mach/sysdep.h: Likewise.
15094         * sysdeps/i386/sysdep.h: Likewise.
15095         * sysdeps/i386/i386-mcount.S: Likewise.
15096         * sysdeps/x86_64/_mcount.S: Likewise.
15097         * sysdeps/x86_64/sysdep.h: Likewise.
15098         * sysdeps/sh/_mcount.S: Likewise.
15099         * sysdeps/sh/sysdep.h: Likewise.
15100         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15101         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15102         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15103         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15104         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15105         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15106         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15107         * locale/localeinfo.h: Likewise.
15108         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15109         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15111 2012-07-09  Roland McGrath  <roland@hack.frob.com>
15113         [BZ #14336]
15114         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15115         system".
15116         * manual/message.texi (The Uniforum approach): Likewise.
15117         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15118         (glibc iconv Implementation): Likewise.
15120 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
15122         [BZ #14337]
15123         * math/s_clog.c (__clog): Avoid scaling a value down where that
15124         could result in underflow.
15125         * math/s_clog10.c (__clog10): Likewise.
15126         * math/s_clog10f.c (__clog10f): Likewise.
15127         * math/s_clog10l.c (__clog10l): Likewise.
15128         * math/s_clogf.c (__clogf): Likewise.
15129         * math/s_clogl.c (__clogl): Likewise.
15130         * math/libm-test.inc (clog_test): Add more tests.
15131         (clog10_test): Likewise.
15132         * sysdeps/i386/fpu/libm-test-ulps: Update.
15133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15135 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
15137         [BZ #14283]
15138         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15139         by 7 not 8 to examine high bit of fractional part.
15141         [BZ #14042]
15142         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15143         for call to __mcount_internal.
15144         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15145         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15146         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15148 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
15150         [BZ #14154]
15151         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15152         approximation for values within 0x1p-13f of an odd multiple of
15153         pi/4.
15154         * math/libm-test.inc (tan_test): Do not allow spurious underflow
15155         exception.  Add more tests.
15156         * sysdeps/i386/fpu/libm-test-ulps: Update.
15158         [BZ #6778]
15159         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15160         inputs and return -1 for them.  Do not check for +Inf in case not
15161         reachable for +Inf.
15162         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15163         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15164         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15165         and return -1 for them.  Do not check for +Inf in case not
15166         reachable for +Inf.
15167         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15168         define.
15169         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15170         and return -1 for them.  Do not check for +Inf in case not
15171         reachable for +Inf.
15172         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
15173         spurious underflow.
15174         * sysdeps/i386/fpu/libm-test-ulps: Update.
15175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15177 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
15179         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15181 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
15183         [BZ #14157]
15184         [BZ #14331]
15185         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15186         could result in spurious underflow.  Scale down values above
15187         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15188         * math/s_csqrtf.c (__csqrtf): Likewise.
15189         * math/s_csqrtl.c (__csqrtl): Likewise.
15190         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
15191         spurious underflow.
15192         * sysdeps/i386/fpu/libm-test-ulps: Update.
15193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15195 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
15197         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15198         xopen-msg.sed.
15199         * catgets/xopen-msg.awk: New file.
15200         * catgets/xopen-msg.sed: Removed.
15202         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15203         po2text.sed.
15204         * intl/po2test.awk: New file.
15205         * intl/po2test.sed: Removed.
15207 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
15209         [BZ #14328]
15210         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15211         or multiply small sinh result by itself.
15212         * math/s_ctanf.c (__ctanf): Likewise.
15213         * math/s_ctanh.c (__ctanh): Likewise.
15214         * math/s_ctanhf.c (__ctanhf): Likewise.
15215         * math/s_ctanhl.c (__ctanhl): Likewise.
15216         * math/s_ctanl.c (__ctanl): Likewise.
15217         * math/libm-test.inc (ctan_test_tonearest): New function.
15218         (ctan_test_towardzero): Likewise.
15219         (ctan_test_downward): Likewise.
15220         (ctan_test_upward): Likewise.
15221         (ctanh_test_tonearest): Likewise.
15222         (ctanh_test_towardzero): Likewise.
15223         (ctanh_test_downward): Likewise.
15224         (ctanh_test_upward): Likewise.
15225         (main): Call these new functions.
15226         * sysdeps/i386/fpu/libm-test-ulps: Update.
15227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15229 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
15231         * .gitignore: Delete /ports entry.
15233 2012-07-03  Andreas Jaeger  <aj@suse.de>
15235         * po/bg.po: Update from translation team.
15236         * po/cs.po: Likewise.
15237         * po/de.po: Likewise.
15238         * po/hr.po: Likewise.
15239         * po/nl.pl: Likewise.
15240         * po/pl.po: Likewise.
15241         * po/vi.po: Likewise.
15243 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
15245         * Makeconfig [!+link] (+link-before-libc): New variable.
15246         [!+link] (+link-after-libc): Likewise.
15247         [!+link] (+link-tests): Likewise.
15248         [!+link] (+link): Define in terms of $(+link-before-libc) and
15249         $(+link-after-libc).
15250         [!+link-static] (+link-static-before-libc): New variable.
15251         [!+link-static] (+link-static-after-libc): Likewise.
15252         [!+link-static] (+link-static-tests): Likewise.
15253         [!+link-static] (+link-static): Define in terms of
15254         $(+link-static-before-libc) and $(+link-static-after-libc).
15255         [build-shared] (link-libc-before-gnulib): New variable.
15256         [build-shared] (link-libc-tests): Likewise.
15257         [build-shared] (link-libc): Define in terms of
15258         $(link-libc-before-gnulib).
15259         [!build-shared] (link-libc-tests): New variable.
15260         (link-libc-static-tests): New variable.
15261         [!gnulib] (gnulib-arch): New variable.
15262         [!gnulib] (gnulib-tests): Likewise.
15263         [!gnulib] (static-gnulib-arch): Likewise.
15264         [!gnulib] (static-gnulib-tests): Likewise.
15265         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
15266         Define with "=" instead of ":=".
15267         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
15268         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
15269         * Rules (binaries-all-notests): New variable.
15270         (binaries-all-tests): Likewise.
15271         (binaries-static-notests): Likewise.
15272         (binaries-static-tests): Likewise.
15273         (binaries-all): Define using $(binaries-all-notests) and
15274         $(binaries-all-tests).
15275         (binaries-static): Define using $(binaries-static-notests) and
15276         $(binaries-static-tests).
15277         (binaries-shared-tests): New variable.
15278         (binaries-shared-notests): Likewise.
15279         (binaries-shared): Remove variable.
15280         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15281         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15282         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15283         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15284         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15285         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15286         * elf/Makefile (sln-modules): New variable.
15287         (extra-objs): Add $(sln-modules:=.o).
15288         (ldconfig-modules): Add static-stubs.
15289         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15290         * elf/static-stubs.c: New file.
15292         [BZ #14283]
15293         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15294         by 7 not 8 to examine high bit of fractional part.  Use volatile
15295         variables when splitting into final array of floats if
15296         __FLT_EVAL_METHOD__ != 0.
15297         * math/libm-test.inc (cos_test): Add another test.
15298         (sin_test): Likewise.
15299         * sysdeps/i386/fpu/libm-test-ulps: Update.
15301         [BZ #14273]
15302         * math/libm-test.inc (cosh_test): Add more tests.
15304         * version.h (RELEASE): Set to "development".
15305         (VERSION): Set to "2.16.90".
15307 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
15309         * NEWS: Update copyright. Remove last-updated date.
15310         Mention math library bug fixes and timezone data changes.
15311         * README: Mention GNU/Hurd, x32, and HPPA support status.
15313 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
15315         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15317 2012-06-27  Andreas Jaeger  <aj@suse.de>
15319         * manual/contrib.texi (Contributors): Add Samuel Thibault.
15321 2012-06-25  Andreas Jaeger  <aj@suse.de>
15323         * sysdeps/s390/fpu/libm-test-ulps: Update.
15325 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
15326             Thomas Schwinge  <thomas@codesourcery.com>
15328         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15329         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15330         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15331         fanotify_mark.
15333 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
15335         * sysdeps/mach/start.c: Remove file.
15336         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15337         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15338         * sysdeps/sh/init-first.c: Likewise.
15340         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15341         registers for frame unwinding purposes, add CFI directives.
15342         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15343         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15344         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15345         Likewise.
15347         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15348         __fortify_fail returning.
15349         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15351         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15352         sysdeps/sh/____longjmp_chk.S.
15353         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15354         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15355         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15356         (gen-as-const-headers): Append sigaltstack-offsets.sym.
15358         * sysdeps/sh/abort-instr.h: New file.
15359         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15360         process in case exit returns.
15362         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15363         initialize the GOT register before use.
15365         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15366         calculation of ARGC > 4.
15368         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15369         meaningful names to some local labels.
15371 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15372             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15374         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15375         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15376         (__arch_compare_and_exchange_val_16_acq): Likewise.
15377         (__arch_compare_and_exchange_val_32_acq): Likewise.
15378         (atomic_exchange_and_add): Fix gUSA sequence.
15379         (atomic_add): Likewise.
15380         (atomic_add_negative): Likewise.
15381         (atomic_add_zero): Likewise.
15382         (atomic_bit_test_set): Likewise.
15384 2012-06-22  Andreas Schwab  <schwab@redhat.com>
15386         [BZ #13579]
15387         * include/link.h (struct link_map): Add l_free_initfini.
15388         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15389         l_initfini.
15390         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15391         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15392         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15393         set.
15395 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
15397         * configure.in: Use AC_LANG_SOURCE.
15398         * configure: Regenerate.
15400 2012-06-22  Roland McGrath  <roland@hack.frob.com>
15402         * configure.in (libc_cv_localstatedir): New substituted variable.
15403         * configure: Regenerated.
15404         * config.make.in (localstatedir): New variable, substituted from
15405         libc_cv_localstatedir.
15406         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15407         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15408         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15409         * sysdeps/gnu/configure: Regenerated.
15411 2012-06-21  Jeff Law  <law@redhat.com>
15413         [BZ #14277]
15414         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15415         free.  Simplify list management for _LIBC case.
15417 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
15419         [BZ #14273]
15420         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15421         Clear sign bit of 64-bit integer value before comparing against
15422         overflow value.
15424         * sysdeps/mach/configure: Regenerated.
15426 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
15428         [BZ #14278]
15429         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15431 2012-06-21  Jeff Law  <law@redhat.com>
15433         [BZ #13882]
15434         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
15435         uint16_t for elements in the "seen" array to avoid char overflows.
15436         * elf/dl-fini.c (_dl_sort_fini): Likewise.
15437         * elf/dl-open.c (dl_open_worker): Likewise.
15439 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
15441         * scripts/list-sources.sh: Scan PORTS for translations.
15442         * po/libc.pot: Regenerated.
15444 2012-06-21  Andreas Jaeger  <aj@suse.de>
15446         [BZ #12194]
15447         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15448         warning.
15449         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15450         * bits/byteswap-16.h (__bswap_16): Likewise.
15451         * bits/byteswap.h (__bswap_constant_16): Likewise.
15453 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
15455         [BZ #14117]
15456         * sysdeps/i386/fpu_control.h: Removed.
15457         * sysdeps/x86_64/fpu_control.h: Moved to ...
15458         * sysdeps/x86/fpu_control.h: Here.
15460         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15461         (_FPU_SETCW): Likewise.
15463 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
15465         [BZ #14117]
15466         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15467         * sysdeps/x86/fpu/bits/mathinline.h: This.
15468         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15470         [BZ #14050]
15471         [BZ #14117]
15472         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15473         functions if __x86_64__ is defined.
15475 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
15477         * string/endian.h: Add !__ASSEMBLER__ condition for including
15478         conversion interfaces.
15480 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
15482         [BZ #14241]
15483         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15484         of ABS(x) in calculating zero to negative powers other than odd
15485         integers.
15486         * math/libm-test.inc (pow_test): Add more tests.
15488 2012-06-15  Andreas Jaeger  <aj@suse.de>
15490         * manual/contrib.texi (Contributors): Update entry of Liubov
15491         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15492         Machado Filho.
15494 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
15496         * string/string.h: Add __wur to GNU version of strerror_r.
15498 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
15500         [BZ #14229]
15501         * string/Makefile (tests): Add tst-strtok_r.
15502         * string/tst-strtok_r.c: New file.
15503         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15504         RAX_LP/RDX_LP on SAVE_PTR.
15506 2012-06-14  Roland McGrath  <roland@hack.frob.com>
15508         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15510 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
15512         * libm_test.inc (csqrt_test): Allow more spurious underflow
15513         exceptions.
15514         (j0_test): Likewise.
15515         (j1_test): Likewise.
15516         (y0_test): Likewise.
15517         (y1_test): Likewise.
15519 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
15521         * po/Makefile (libc.pot): Use UTF-8 charset.
15523 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
15525         [BZ #14210]
15526         Suppress sign-conversion warning from FD_SET.
15527         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15528         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15529         not unsigned long int.
15530         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15532 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
15534         [BZ #14050]
15535         [BZ #14117]
15536         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15537         __extern_always_inline instead of __extern_inline.
15538         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15539         (__signbit): Likewise.
15540         (__signbitl): Support C++ namespace.
15541         (lrintf): New inline function.
15542         (lrint): Likewise.
15543         (llrintf): Likewise.
15544         (llrint): Likewise.
15545         (fmaxf): Likewise.
15546         (fmax): Likewise.
15547         (fminf): Likewise.
15548         (fmin): Likewise.
15549         (rint): Likewise.
15550         (rintf): Likewise.
15551         (ceil): Likewise.
15552         (ceilf): Likewise.
15553         (floor): Likewise.
15554         (floorf): Likewise.
15555         (nearbyint): Likewise.
15556         (nearbyintf): Likewise.
15558 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
15560         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15561         non-default versions.
15563 2012-06-11  Roland McGrath  <roland@hack.frob.com>
15565         [BZ #14218]
15566         * manual/argp.texi (Argp): Reword argp_parse description slightly.
15568 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
15570         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15571         (FE_UPWARD, FE_DOWNWARD): Don't define.
15572         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15573         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15575         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15576         reading it.
15577         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15578         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15580 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15582         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15583         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15584         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15585         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15587 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
15589         [BZ #14117]
15590         * sysdeps/i386/fpu/bits/fenv.h: Removed.
15591         * sysdeps/i386/fpu/Implies: New file.
15592         * sysdeps/x86_64/fpu/Implies: Likewise.
15593         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15594         * sysdeps/x86/fpu/bits/fenv.h: This.
15596         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15597         __SSE_MATH__.
15599 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15601         [BZ #14134]
15602         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15603         character 0xffff that matches the last element of the
15604         conversion table.
15606 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15608         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15609         fmodl commit.
15611 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15613         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15614         values higher than 25.6283.
15616 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15618         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15619         subnormal exponent extraction and add some __builtin_expect.
15620         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15621         Fix for subnormal mantissa calculation.
15623 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
15625         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15626         cpu2 is -1 and errno is not ENOSYS.
15628 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
15630         [BZ #14117]
15631         * sysdeps/i386/i486/bits/string.h: Renamed to ...
15632         * sysdeps/x86/bits/string.h: This.
15633         * sysdeps/x86_64/bits/string.h: Removed.
15635         * sysdeps/i386/i486/bits/string.h: Define inline functions only
15636         if not compiling for x86-64, but compiling for >= i486.
15638         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15639         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15641         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15642         New macro from Linux kernel 3.4.0.
15643         (FP_XSTATE_MAGIC2): Likewise.
15644         (FP_XSTATE_MAGIC2_SIZE): Likewise.
15645         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15646         (struct _fpx_sw_bytes): New struct.
15647         (struct _xsave_hdr): Likewise.
15648         (struct _ymmh_state): Likewise.
15649         (struct _xstate): Likewise.
15651         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15652         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15653         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15654         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15655         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15656         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15658         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15659         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15660         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15661         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15662         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15663         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15665 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15667         [BZ #13743]
15668         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15669         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15670         (sysdep_headers): Include sys/platform/ppc.h.
15671         * sysdeps/powerpc/test-gettimebase.c: Test for
15672         __ppc_get_timebase() to catch future ISA opcode/insn changes.
15673         * manual/Makefile (appendices): Include platform.texi.
15674         * manual/contrib.texi (Contributors): Update @node pointers.
15675         * manual/maint.texi (Maintenance): Likewise.
15676         (Platform): New node.
15677         * manual/platform.texi: New file.  Document the new features.
15679 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15680             Jakub Jelinek  <jakub@redhat.com>
15682         [BZ #14188]
15683         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15684         where __builtin_expect is unavailable.
15686 2012-06-03  David S. Miller  <davem@davemloft.net>
15688         * stdlib/longlong.h: Updated from GCC.
15690 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
15692         [BZ #14042]
15693         * sysdeps/powerpc/powerpc32/mcount.c: New file.
15694         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15695         __mcount_internal.
15696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15697         (GLIBC_2.16): Likewise.
15699 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15701         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15703 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
15705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15706         (default-abi): New variable.
15707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15708         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15709         variable.
15710         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15711         Likewise.
15712         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15713         Likewise.
15714         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15715         Likewise.
15717         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15718         definition.  Document in comment.
15720 2012-06-01  David S. Miller  <davem@davemloft.net>
15722         * stdlib/longlong.h: Updated from GCC.
15724 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15726         [BZ #14117]
15727         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15728         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15729         sys/debugreg.h sys/io.h here.
15730         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15731         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15732         sys/io.h.
15733         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15734         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15735         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15736         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15737         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15738         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15740         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15741         Define only if __x86_64__ is defined.
15743 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
15745         [BZ #14048]
15746         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15747         Use int64_t for variable i.
15748         * math/libm-test.inc (fmod_test): Add more tests.
15750         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15751         z computation is not scheduled after fetestexcept.
15752         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15753         Use math_force_eval instead of asm to ensure calculation scheduled
15754         before exception test.
15755         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15756         Ensure a1 + u.d computation is not scheduled after fetestexcept.
15758 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
15760         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15761         computation is not scheduled after fetestexcept.
15763 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15765         [BZ #14117]
15766         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15767         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15769 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15771         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15772         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15774 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
15776         [BZ #14117]
15777         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15778         <bits/wordsize.h>.
15779         (__WCHAR_MIN): Support __WORDSIZE == 64.
15780         (__WCHAR_MAX): Likewise.
15782         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15783         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15785         [BZ #14183]
15786         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15787         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15789         [BZ #14117]
15790         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15791         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15793         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15794         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15796         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15797         Defined to 1 if __x86_64__ isn't defined.
15798         (_STAT_VER_LINUX_OLD): New.
15799         (st_atime): Remove duplicate.
15800         (st_mtime): Likewise.
15801         (st_ctime): Likewise.
15803 2012-05-31  David S. Miller  <davem@davemloft.net>
15805         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15806         entries.
15808 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
15810         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15811         gen-libm-test.pl.
15813         [BZ #14132]
15814         * elf/dl-reloc.c: Include <_itoa.h>.
15815         (_dl_reloc_bad_type): Remove use of INTUSE.
15816         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15817         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15818         * stdio-common/psiginfo.c (psiginfo): Likewise.
15819         * stdio-common/psignal.c (psignal): Likewise.
15820         * string/strsignal.c (strsignal): Likewise.
15821         * include/signal.h (_sys_siglist): Declare hidden proto.
15822         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
15823         INTVARDEF with libc_hidden_data_def.
15824         * stdio-common/itoa-udigits.c: Likewise.
15825         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15826         (_itoa_lower_digits_internal): Remove declaration.
15827         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15828         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15829         (_sys_sigabbrev_internal): Remove aliases.
15830         (_sys_siglist): Define hidden alias.
15832 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
15834         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15835         bits/sysctl.h.
15837 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
15839         [BZ #14117]
15840         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15841         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15843         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15844         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15845         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15846         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15847         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15848         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15850         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15851         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15852         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15854         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15855         with __addr.
15856         (insw): Likewise.
15857         (insl): Likewise.
15858         (outsb): Likewise.
15859         (outsw): Likewise.
15860         (outsl): Likewise.
15862         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15863         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15864         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15866         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15867         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15868         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15869         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15870         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15871         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15873         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15874         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15876         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15877         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15879         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15880         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15881         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15883         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15884         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15885         to ...
15886         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15888         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15889         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15890         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15892         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15893         for x86-64.
15894         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15896 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
15898         * math/math.h (M_El): Use two more decimal places.
15899         (M_LOG2El): Likewise.
15900         (M_LOG10El): Likewise.
15901         (M_LN2l): Likewise.
15902         (M_LN10l): Likewise.
15903         (M_PIl): Likewise.
15904         (M_PI_2l): Likewise.
15905         (M_PI_4l): Likewise.
15906         (M_1_PIl): Likewise.
15907         (M_2_PIl): Likewise.
15908         (M_2_SQRTPIl): Likewise.
15909         (M_SQRT2l): Likewise.
15910         (M_SQRT1_2l): Likewise.
15912 2012-05-31  David S. Miller  <davem@davemloft.net>
15914         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15915         values between float registers.
15916         * sysdeps/sparc/sparc64/memset.S: Likewise.
15917         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15919 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
15921         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15922         -D_FORTIFY_SOURCE=1.
15923         (CPPFLAGS-tst-longjmp_chk.c): Define.
15924         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15925         (CPPFLAGS-tst-longjmp_chk2.c): Define.
15926         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15927         CFLAGS-tst-wchar-h.c.
15929 2012-05-31  Marek Polacek  <polacek@redhat.com>
15931         [BZ #14132]
15932         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15933         __endmntent_internal): Remove declaration.
15934         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15935         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15936         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15938 2012-05-30  David S. Miller  <davem@davemloft.net>
15940         * sysdeps/sparc/sparc32/soft-fp/q_util.c
15941         (___Q_simulate_exceptions): Use real FP ops rather than writing
15942         into the %fsr.
15943         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15944         Likewise.
15946 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15948         [BZ #14117]
15949         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15950         * sysdeps/x86/bits/xtitypes.h: This.
15952         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15953         * sysdeps/x86/bits/wordsize.h: This.
15955         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15956         * sysdeps/x86/bits/huge_vall.h: This.
15958         * sysdeps/i386/bits/select.h: Removed.
15959         * sysdeps/x86_64/bits/select.h: Renamed to ...
15960         * sysdeps/x86/bits/select.h: This.
15962         * sysdeps/i386/bits/setjmp.h: Removed.
15963         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15964         * sysdeps/x86/bits/setjmp.h: This.
15966         * sysdeps/i386/bits/mathdef.h: Removed.
15967         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15968         * sysdeps/x86/bits/mathdef.h: This.
15970 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
15972         [BZ #14132]
15973         * include/sys/socket.h (__connect_internal)
15974         (__libc_sa_len_internal): Remove declaration.
15975         (__connect, __libc_sa_len): Declare hidden_proto.
15976         (SA_LEN): Remove use of INTUSE.
15977         * socket/connect.c: Add libc_hidden_def.
15978         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15979         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15980         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15981         alias.
15982         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15983         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15984         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15985         of adding _internal alias.
15987 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15989         [BZ #14117]
15990         * sysdeps/i386/bits/link.h: Removed.
15991         * sysdeps/i386/bits/linkmap.h: Likewise.
15992         * sysdeps/x86_64/bits/link.h: Renamed to ...
15993         * sysdeps/x86/bits/link.h: This.
15994         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15995         * sysdeps/x86/bits/linkmap.h: This.
15997         * sysdeps/i386/bits/endian.h: Removed.
15998         * sysdeps/x86_64/bits/endian.h: Renamed to ...
15999         * sysdeps/x86/bits/endian.h: This.
16001         * sysdeps/i386/bits/byteswap.h: Removed.
16002         * sysdeps/i386/bits/byteswap-16.h: Likewise.
16003         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16004         * sysdeps/x86/bits/byteswap.h: This.
16005         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16006         * sysdeps/x86/bits/byteswap-16.h: This.
16007         * sysdeps/i386/Implies: Add x86.
16008         * sysdeps/x86_64/Implies: Likewise.
16010 2012-05-30  David S. Miller  <davem@davemloft.net>
16012         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16013         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16014         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16015         (FP_TRAPPING_EXCEPTIONS): Define.
16016         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16017         (FP_TRAPPING_EXCEPTIONS): Define.
16018         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16019         subnormals only when inexact has been signalled or underflow
16020         exceptions are enabled.
16021         (_FP_PACK_CANONICAL): Likewise.
16023 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16025         [BZ #14183]
16026         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16027         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16029 2012-05-30  Richard Henderson  <rth@twiddle.net>
16031         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16032         with #ifndef NOT_IN_libc.
16034         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
16035         marked to avoid plt entry.
16037 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16039         [BZ #14112]
16040         * Makeconfig (default-abi): New macro.
16041         (abi-includes): Likewise.
16042         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
16043         $(abi-$(default-abi)-lib-soname) for soname if defined.
16044         ($(common-objpfx)gnu/lib-names.stmp): Generate from
16045         abi-variants.
16046         * Makefile (installed-stubs): Likewise.
16047         * include/stubs-biarch.h: Removed.
16048         * scripts/lib-names.awk: Only handle one library at a time.
16049         * scripts/soversions.awk: Remove WORDSIZE support.
16050         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16051         entries.
16052         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16053         Removed.
16054         (syscall-list-default-condition): Likewise.
16055         (syscall-list-default-condition): Likewise.
16056         (syscall-list-includes): Likewise.
16057         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16058         syscall-list-* with abi-*.  Handle undefined abi-variants.
16059         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16060         * sysdeps/unix/sysv/linux/i386/Implies: New file.
16061         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16062         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16063         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16064         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16065         Removed.
16066         (syscall-list-32-options): Likewise.
16067         (syscall-list-32-condition): Likewise.
16068         (syscall-list-64-options): Likewise.
16069         (syscall-list-64-condition): Likewise.
16070         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16071         macro.
16072         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16073         Renamed to ...
16074         (abi-*): This.
16075         (abi-64-ld-soname): New macro.
16076         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16077         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16078         Renamed to ...
16079         (abi-*): This.
16080         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16081         * sysdeps/x86_64/x32/shlib-versions: Likewise.
16083 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
16085         * sysdeps/unix/sysv/linux/kernel-features.h
16086         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16087         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16088         include <kernel-features.h>.
16089         [!__NR_ftruncate64]: Remove conditional code.
16090         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16091         [__NR_ftruncate64]: Make code unconditional.
16092         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16093         * sysdeps/unix/sysv/linux/truncate64.c: Do not
16094         include <kernel-features.h>.
16095         [!__NR_ftruncate64]: Remove conditional code.
16096         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16097         [__NR_ftruncate64]: Make code unconditional.
16098         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16100         include <kernel-features.h>.
16101         [!__NR_ftruncate64]: Remove conditional code.
16102         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16103         [__NR_ftruncate64]: Make code unconditional.
16104         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16106         include <kernel-features.h>.
16107         [!__NR_ftruncate64]: Remove conditional code.
16108         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16109         [__NR_ftruncate64]: Make code unconditional.
16110         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16112         * configure.in (libc_cv_fpie): Weaken to a compile test using
16113         LIBC_TRY_CC_OPTION.
16114         * configure: Regenerated.
16116 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16122         Refreshed.
16123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16129         Refreshed.
16131 2012-05-27  David S. Miller  <davem@davemloft.net>
16133         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16134         (___Q_zero): New.
16135         (__Q_simulate_exceptions): Return void.  Change to simulate
16136         exceptions by writing into the %fsr.
16137         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16138         (__Qp_handle_exceptions): Likewise.
16139         (numbers): Delete.
16140         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16141         __Qp_handle_exceptions.
16142         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16143         __Qp_handle_exceptions.
16144         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16145         as unused and give dummy FP_RND_NEAREST initializer.
16146         (FP_INHIBIT_RESULTS): Define.
16147         (___Q_simulate_exceptions): Update declaration.
16148         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16149         formatting.
16150         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16151         as unused and give dummy FP_RND_NEAREST initializer.
16152         (__Qp_handle_exceptions): Update declaration.
16153         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16154         formatting.
16156 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
16158         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16159         the temporary FPU control word.
16160         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16161         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16162         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16163         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16164         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16165         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16166         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16167         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16168         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16169         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16170         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16172 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16174         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16175         fields.
16177 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
16179         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16180         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16181         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16182         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16183         Likewise.
16184         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16185         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16186         Likewise.
16188 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
16190         * po/h.po: Update from translation team.
16192 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
16194         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16196         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16197         handling of denormals.
16198         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16199         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16200         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16201         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16202         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16203         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16204         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16205         Likewise.
16207 2012-05-26  Marek Polacek  <polacek@redhat.com>
16209         [BZ #14152]
16210         * math/libm-test.inc (fma_test): Don't always expect underflow
16211         exception.
16213 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16215         [BZ #12416]
16216         * elf/tst-execstack.c: Include stackinfo.h.
16217         (do_test): Adjust test case to ensure that pthread_getattr_np
16218         behaviour remains the same after marking stack executable.
16220 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
16222         * sysdeps/unix/sysv/linux/kernel-features.h
16223         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16224         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16225         kernel-features.h.
16226         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16227         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16228         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16229         kernel-features.h.
16230         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16231         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16233 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
16235         * configure.in: Define the default includes to being none.
16236         * configure: Regenerated.
16238 2012-05-25  Roland McGrath  <roland@hack.frob.com>
16240         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16241         * sysdeps/x86_64/setjmp.S: Likewise.
16242         * sysdeps/i386/bsd-setjmp.S: Likewise.
16243         * sysdeps/i386/bsd-_setjmp.S: Likewise.
16244         * sysdeps/i386/setjmp.S: Likewise.
16245         * sysdeps/i386/__longjmp.S: Likewise.
16246         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16247         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16249         * include/stap-probe.h: New file.
16250         * configure.in: Handle --enable-systemtap.
16251         * configure: Regenerated.
16252         * config.h.in (USE_STAP_PROBE): New #undef.
16253         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16254         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16255         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16257 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
16259         [BZ #13717]
16260         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16261         to 2.4.0 where earlier.
16262         * sysdeps/unix/sysv/linux/configure: Regenerated.
16263         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16264         <kernel-features.h>.
16265         [__ASSUME_32BITUIDS]: Make code unconditional.
16266         [!__ASSUME_32BITUIDS]: Remove conditional code.
16267         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16268         <kernel-features.h>.
16269         [__ASSUME_32BITUIDS]: Make code unconditional.
16270         [!__ASSUME_32BITUIDS]: Remove conditional code.
16271         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16272         [__ASSUME_32BITUIDS]: Make code unconditional.
16273         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16274         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16275         <kernel-features.h>.
16276         [__ASSUME_32BITUIDS]: Make code unconditional.
16277         [!__ASSUME_32BITUIDS]: Remove conditional code.
16278         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16279         <kernel-features.h>.
16280         [__ASSUME_32BITUIDS]: Make code unconditional.
16281         [!__ASSUME_32BITUIDS]: Remove conditional code.
16282         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16283         <kernel-features.h>.
16284         [__ASSUME_32BITUIDS]: Make code unconditional.
16285         [!__ASSUME_32BITUIDS]: Remove conditional code.
16286         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16287         <kernel-features.h>.
16288         [__ASSUME_32BITUIDS]: Make code unconditional.
16289         [!__ASSUME_32BITUIDS]: Remove conditional code.
16290         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16291         <kernel-features.h>.
16292         [__ASSUME_32BITUIDS]: Make code unconditional.
16293         [!__ASSUME_32BITUIDS]: Remove conditional code.
16294         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16295         <kernel-features.h>.
16296         [__ASSUME_32BITUIDS]: Make code unconditional.
16297         [!__ASSUME_32BITUIDS]: Remove conditional code.
16298         * sysdeps/unix/sysv/linux/i386/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
16315         <kernel-features.h>.
16316         [__NR_setresgid] (__setresgid): Do not declare.
16317         [__ASSUME_32BITUIDS]: Make code unconditional.
16318         [!__ASSUME_32BITUIDS]: Remove conditional code.
16319         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16320         <kernel-features.h>.
16321         [__NR_setresuid] (__setresuid): Do not declare.
16322         [__ASSUME_32BITUIDS]: Make code unconditional.
16323         [!__ASSUME_32BITUIDS]: Remove conditional code.
16324         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16325         <kernel-features.h>.
16326         [__ASSUME_32BITUIDS]: Make code unconditional.
16327         [!__ASSUME_32BITUIDS]: Remove conditional code.
16328         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16329         <kernel-features.h>.
16330         [__ASSUME_32BITUIDS]: Make code unconditional.
16331         [!__ASSUME_32BITUIDS]: Remove conditional code.
16332         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16333         <kernel-features.h>.
16334         [__ASSUME_32BITUIDS]: Make code unconditional.
16335         [!__ASSUME_32BITUIDS]: Remove conditional code.
16336         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16337         <kernel-features.h>.
16338         [__ASSUME_32BITUIDS]: Make code unconditional.
16339         [!__ASSUME_32BITUIDS]: Remove conditional code.
16340         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16341         <kernel-features.h>.
16342         [__ASSUME_32BITUIDS]: Make code unconditional.
16343         [!__ASSUME_32BITUIDS]: Remove conditional code.
16344         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16345         <kernel-features.h>.
16346         [__ASSUME_32BITUIDS]: Make code unconditional.
16347         [!__ASSUME_32BITUIDS]: Remove conditional code.
16348         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16349         <kernel-features.h>.
16350         [__ASSUME_32BITUIDS]: Make code unconditional.
16351         [!__ASSUME_32BITUIDS]: Remove conditional code.
16352         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16353         <kernel-features.h>.
16354         [__ASSUME_32BITUIDS]: Make code unconditional.
16355         [!__ASSUME_32BITUIDS]: Remove conditional code.
16356         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16357         <kernel-features.h>.
16358         [__ASSUME_32BITUIDS]: Make code unconditional.
16359         [!__ASSUME_32BITUIDS]: Remove conditional code.
16360         * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
16365         (__ASSUME_SETRESUID_SYSCALL): Remove.
16366         (__ASSUME_SETRESGID_SYSCALL): Likewise.
16367         (__ASSUME_32BITUIDS): Likewise.
16368         (__ASSUME_LDT_WORKS): Likewise.
16369         (__ASSUME_O_DIRECTORY): Likewise.
16370         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16371         architecture but not kernel version.
16372         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16373         (__ASSUME_MMAP2_SYSCALL): Likewise.
16374         (__ASSUME_STAT64_SYSCALL): Likewise.
16375         (__ASSUME_IPC64): Likewise.
16376         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16377         <kernel-features.h>.
16378         [__ASSUME_32BITUIDS]: Make code unconditional.
16379         [!__ASSUME_32BITUIDS]: Remove conditional code.
16380         * sysdeps/unix/sysv/linux/opendir.c: Do not include
16381         <kernel-features.h>.
16382         [__ASSUME_O_DIRECTORY]: Make code unconditional.
16383         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16384         132096]: Remove conditional code.
16385         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16386         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16387         <kernel-features.h>.
16388         [__ASSUME_32BITUIDS]: Make code unconditional.
16389         [!__ASSUME_32BITUIDS]: Remove conditional code.
16390         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16391         <kernel-features.h>.
16392         [__ASSUME_32BITUIDS]: Make code unconditional.
16393         [!__ASSUME_32BITUIDS]: Remove conditional code.
16394         * sysdeps/unix/sysv/linux/setegid.c: Do not include
16395         <kernel-features.h>.
16396         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16397         unconditional.
16398         (__setresgid): Do not declare.
16399         [__ASSUME_32BITUIDS]: Make code unconditional.
16400         [!__ASSUME_32BITUIDS]: Remove conditional code.
16401         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16402         <kernel-features.h>.
16403         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16404         unconditional.
16405         (__setresuid): Do not declare.
16406         [__ASSUME_32BITUIDS]: Make code unconditional.
16407         [!__ASSUME_32BITUIDS]: Remove conditional code.
16408         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16409         <kernel-features.h>.
16410         [__ASSUME_32BITUIDS]: Make code unconditional.
16411         [!__ASSUME_32BITUIDS]: Remove conditional code.
16412         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16413         <kernel-features.h>.
16414         [__ASSUME_32BITUIDS]: Make code unconditional.
16415         [!__ASSUME_32BITUIDS]: Remove conditional code.
16417 2012-05-25  Richard Henderson  <rth@twiddle.net>
16419         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16420         dl_hwcap to ifunc resolver.
16421         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16422         elf_ifunc_invoke.
16423         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16424         dl_hwcap to ifunc resolver.
16425         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16427 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16429         [BZ #14153]
16430         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16431         for |x| <= 2**-26, not 2**-57.
16432         * math/libm-test.inc (acos_test): Do not allow spurious underflow
16433         exception.
16435 2012-05-24  Jeff Law  <law@redhat.com>
16437         * stdio-common/Makefile (tests): Add bug25.
16438         * stdio-common/bug25.c: New test.
16440 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
16442         [BZ #13576]
16443         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16444         multiple of MALLOC_ALIGNMENT in size.
16445         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16447 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16449         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16450         Require >= 256.
16451         (FILENAME_MAX): Use macro-int-constant.
16452         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
16453         (_IOFBF): Use macro-int-constant.
16454         (_IOLBF): Likewise.
16455         (_IONBF): Likewise.
16456         (SEEK_CUR): Likewise.
16457         (SEEK_END): Likewise.
16458         (SEEK_SET): Likewise.
16459         (TMP_MAX): Likewise.
16460         (EOF): Use macro-int-constant.  Require < 0.
16461         (NULL): Use macro-constant.  Require == 0.
16462         (stdin): Require type to be FILE *.
16463         (stdout): Likewise.
16464         (stderr): Likewise.
16465         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16466         macro-int-constant.
16467         (EXIT_SUCCESS): Likewise.
16468         (NULL): Use macro-constant.  Require == 0.
16469         (RAND_MAX): Use macro-int-constant.
16470         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16471         [C99-based standards] (strtof): Require function.
16472         [C99-based standards] (strtold): Likewise.
16473         [C99-based standards] (strtoll): Likewise.
16474         [C99-based standards] (strtoull): Likewise.
16475         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16476         [ISO || ISO99 || ISO11] (limits.h): Likewise.
16477         [ISO || ISO99 || ISO11] (math.h): Likewise.
16478         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16479         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16480         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16482 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
16484         [BZ #14132]
16485         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16486         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16487         * intl/dgettext.c (DCGETTEXT): Likewise.
16488         * intl/gettext.c (DCGETTEXT): Likewise.
16489         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16490         * posix/regex_internal.h (gettext): Likewise.
16491         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16492         Remove declaration.
16493         * include/argz.h (__argz_count_internal)
16494         (__argz_stringify_internal): Remove declaration.
16495         (__argz_count, __argz_stringify): Declare hidden proto.
16496         * intl/dcgettext.c: Remove use of INTDEF.
16497         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16498         * string/argz-stringify.c: Likewise.
16499         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16500         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16501         Declare hidden proto.
16502         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16503         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16504         Declare hidden proto.
16505         * include/stdio.h (__asprintf_internal): Don't declare.
16506         (__asprintf): Don't define as macro.  Declare hidden proto.
16507         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16508         (__fsetlocking): Declare hidden proto.
16509         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16510         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16511         hidden proto.
16512         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16513         (_IO_setlinebuf): Remove use of INTUSE.
16514         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16515         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16516         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16517         Remove declaration.
16518         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16519         (_IO_do_flush): Remove use of INTUSE.
16520         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16521         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16522         (_IO_adjust_column, _IO_least_wmarker)
16523         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16524         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16525         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16526         (_IO_default_doallocate, _IO_wdefault_doallocate)
16527         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16528         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16529         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16530         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16531         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16532         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16533         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16534         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16535         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16536         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16537         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16538         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16539         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16540         proto.
16541         (_IO_flush_all_internal, _IO_adjust_column_internal)
16542         (_IO_default_uflow_internal, _IO_default_finish_internal)
16543         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16544         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16545         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16546         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16547         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16548         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16549         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16550         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16551         (_IO_file_close_internal, _IO_file_close_it_internal)
16552         (_IO_file_underflow_internal, _IO_file_overflow_internal)
16553         (_IO_file_init_internal, _IO_file_attach_internal)
16554         (_IO_file_fopen_internal, _IO_file_read_internal)
16555         (_IO_file_sync_internal, _IO_file_seek_internal)
16556         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16557         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16558         (_IO_str_underflow_internal, _IO_str_overflow_internal)
16559         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16560         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16561         (_IO_list_all_internal, _IO_link_in_internal)
16562         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16563         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16564         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16565         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16566         (_IO_do_write_internal, _IO_padn_internal)
16567         (_IO_getline_info_internal, _IO_getline_internal)
16568         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16569         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16570         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16571         (_IO_vfscanf_internal, _IO_vfprintf_internal)
16572         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16573         (_IO_init_internal, _IO_un_link_internal): Don't declare.
16574         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16575         with libc_hidden_ver, remove use of INTUSE.
16576         * libio/genops.c: Likewise.
16577         * libio/freopen.c: Likewise.
16578         * libio/freopen64.c: Likewise.
16579         * libio/iofclose.c: Likewise.
16580         * libio/iofdopen.c: Likewise.
16581         * libio/iofflush.c: Likewise.
16582         * libio/iofflush_u.c: Likewise.
16583         * libio/iofgets.c: Likewise.
16584         * libio/iofgets_u.c: Likewise.
16585         * libio/iofopen.c: Likewise.
16586         * libio/iofopncook.c: Likewise.
16587         * libio/iofread.c: Likewise.
16588         * libio/iofread_u.c: Likewise.
16589         * libio/ioftell.c: Likewise.
16590         * libio/iofwrite.c: Likewise.
16591         * libio/iogetline.c: Likewise.
16592         * libio/iogets.c: Likewise.
16593         * libio/iogetwline.c: Likewise.
16594         * libio/iopadn.c: Likewise.
16595         * libio/iopopen.c: Likewise.
16596         * libio/ioseekoff.c: Likewise.
16597         * libio/ioseekpos.c: Likewise.
16598         * libio/iosetbuffer.c: Likewise.
16599         * libio/iosetvbuf.c: Likewise.
16600         * libio/ioungetc.c: Likewise.
16601         * libio/ioungetwc.c: Likewise.
16602         * libio/iovdprintf.c: Likewise.
16603         * libio/iovsprintf.c: Likewise.
16604         * libio/iovsscanf.c: Likewise.
16605         * libio/memstream.c: Likewise.
16606         * libio/obprintf.c: Likewise.
16607         * libio/oldfileops.c: Likewise.
16608         * libio/oldiofclose.c: Likewise.
16609         * libio/oldiofdopen.c: Likewise.
16610         * libio/oldiofopen.c: Likewise.
16611         * libio/oldiopopen.c: Likewise.
16612         * libio/oldstdfiles.c: Likewise.
16613         * libio/putc.c: Likewise.
16614         * libio/setbuf.c: Likewise.
16615         * libio/setlinebuf.c: Likewise.
16616         * libio/stdfiles.c: Likewise.
16617         * libio/strops.c: Likewise.
16618         * libio/vasprintf.c: Likewise.
16619         * libio/vscanf.c: Likewise.
16620         * libio/vsnprintf.c: Likewise.
16621         * libio/vswprintf.c: Likewise.
16622         * libio/wfiledoalloc.c: Likewise.
16623         * libio/wfileops.c: Likewise.
16624         * libio/wgenops.c: Likewise.
16625         * libio/wmemstream.c: Likewise.
16626         * libio/wstrops.c: Likewise.
16627         * libio/__fpurge.c: Likewise.
16628         * libio/__fsetlocking.c: Likewise.
16629         * assert/assert.c: Likewise.
16630         * debug/fgets_chk.c: Likewise.
16631         * debug/fgets_u_chk.c: Likewise.
16632         * debug/fread_chk.c: Likewise.
16633         * debug/fread_u_chk.c: Likewise.
16634         * debug/gets_chk.c: Likewise.
16635         * debug/obprintf_chk.c: Likewise.
16636         * debug/vasprintf_chk.c: Likewise.
16637         * debug/vdprintf_chk.c: Likewise.
16638         * debug/vsnprintf_chk.c: Likewise.
16639         * debug/vsprintf_chk.c: Likewise.
16640         * malloc/mtrace.c: Likewise.
16641         * misc/error.c: Likewise.
16642         * misc/syslog.c: Likewise.
16643         * stdio-common/asprintf.c: Likewise.
16644         * stdio-common/fxprintf.c: Likewise.
16645         * stdio-common/getw.c: Likewise.
16646         * stdio-common/isoc99_fscanf.c: Likewise.
16647         * stdio-common/isoc99_scanf.c: Likewise.
16648         * stdio-common/isoc99_vfscanf.c: Likewise.
16649         * stdio-common/isoc99_vscanf.c: Likewise.
16650         * stdio-common/isoc99_vsscanf.c: Likewise.
16651         * stdio-common/printf-prs.c: Likewise.
16652         * stdio-common/printf_fp.c: Likewise.
16653         * stdio-common/printf_fphex.c: Likewise.
16654         * stdio-common/printf_size.c: Likewise.
16655         * stdio-common/putw.c: Likewise.
16656         * stdio-common/scanf.c: Likewise.
16657         * stdio-common/sprintf.c: Likewise.
16658         * stdio-common/tmpfile.c: Likewise.
16659         * stdio-common/vfprintf.c: Likewise.
16660         * stdio-common/vfscanf.c: Likewise.
16661         * stdlib/strfmon_l.c: Likewise.
16662         * sunrpc/openchild.c: Likewise.
16663         * sunrpc/xdr_stdio.c: Likewise.
16664         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16665         * sysdeps/mach/hurd/tmpfile.c: Likewise.
16667 2012-05-24  Roland McGrath  <roland@hack.frob.com>
16669         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16671         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16672         in the third column, to generate for the shared library an IFUNC
16673         that uses _dl_vdso_vsym.
16674         * Makerules (COMPILE.c, compile-stdin.c): New variables.
16675         * Makeconfig (object-suffixes-noshared): New variable.
16677         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16678         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16679         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16680         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16682         [BZ #14132]
16683         * include/sys/time.h (__gettimeofday): Remove macro.
16684         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16685         * time/gettimeofday.c (__gettimeofday): Remove #undef.
16686         Remove INTDEF.
16687         (__gettimeofday): Add libc_hidden_def.
16688         (gettimeofday): Add libc_hidden_weak.
16689         * sysdeps/mach/gettimeofday.c: Likewise.
16690         * sysdeps/posix/gettimeofday.c: Likewise.
16691         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16692         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16693         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16694         (__gettimeofday_internal): Remove strong_alias.
16695         (__gettimeofday): Add libc_hidden_def.
16696         (gettimeofday): Add libc_hidden_weak.
16697         * sysdeps/unix/syscalls.list (gettimeofday):
16698         Remove __gettimeofday_internal alias.
16700 2012-05-24  Daniel Jacobowitz  <drow@false.org>
16701             H.J. Lu  <hongjiu.lu@intel.com>
16703         [BZ #12495]
16704         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16705         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16706         (largebin_index_32_big): New.
16707         (largebin_index): Use it for 16-byte alignment.
16708         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
16709         correction with front_misalign.
16711 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
16713         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16715         Likewise.
16716         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16717         Likewise.
16718         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16719         Likewise.
16720         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16721         Likewise.
16722         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16723         Likewise.
16724         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16725         Likewise.
16726         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16727         Likewise.
16728         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16729         Likewise.
16730         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16731         Likewise.
16732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16733         Likewise.
16734         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16735         Likewise.
16736         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16737         Likewise.
16739         * scripts/data/c++-types-x32-linux-gnu.data: New file.
16740         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16742 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16744         [BZ #10846]
16745         [BZ #14036]
16746         * math/libm-test.inc (exp_test): Add test from bug 14036.
16747         (pow_test): Add test from bug 10846.
16749         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16750         and other flags.
16751         (special_function): Do not include flags in test name.
16752         (parse_args): Likewise.
16753         * sysdeps/i386/fpu/libm-test-ulps: Update.
16754         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16755         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16756         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16759         * math/gen-libm-test.pl (%beautify): Add entries for underflow
16760         exceptions.
16761         * math/libm-test.inc ("Philosophy"): Update comment about
16762         exception testing.
16763         (UNDERFLOW_EXCEPTION): New macro.
16764         (UNDERFLOW_EXCEPTION_OK): Likewise.
16765         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16766         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16767         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16768         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16769         (INVALID_EXCEPTION_OK): Update value.
16770         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16771         (OVERFLOW_EXCEPTION_OK): Likewise.
16772         (IGNORE_ZERO_INF_SIGN): Likewise.
16773         (test_exceptions): Handle underflow exceptions.
16774         (acos_test): Update for underflow exception expectations.
16775         (cexp_test): Likewise.
16776         (clog_test): Likewise.
16777         (clog10_test): Likewise.
16778         (csqrt_test): Likewise.
16779         (ctan_test): Likewise.
16780         (ctanh_test): Likewise.
16781         (exp_test): Likewise.
16782         (exp10_test): Likewise.
16783         (exp2_test): Likewise.
16784         (expm1_test): Likewise.
16785         (fma_test): Likewise.
16786         (j0_test): Likewise.
16787         (jn_test): Likewise.
16788         (nexttoward_test): Likewise.
16789         (pow_test): Likewise.
16790         (scalbn_test): Likewise.
16791         (scalbln_test): Likewise.
16792         (tan_test): Likewise.
16793         (y1_test): Likewise.
16794         * sysdeps/i386/fpu/libm-test-ulps: Update.
16795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16797 2012-05-23  David S. Miller  <davem@davemloft.net>
16799         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16800         (__libc_sigaction): Remove unused local variables.
16802 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16804         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16806 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
16808         mktime: avoid signed integer overflow
16809         * time/mktime.c (__mktime_internal): Do not mishandle the case
16810         where diff == INT_MIN.
16812         mktime: simplify computation of average
16813         * time/mktime.c (ranged_convert): Use new time_t_avg function
16814         instead of rolling our own (probably-slower) code.
16816         mktime: do not assume signed right shift propagates sign bit
16817         * time/mktime.c (isdst_differ): New static function.
16818         (__mktime_internal): No need to normalize tm_isdst now.
16819         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16820         tm_isdst values.
16822         mktime: merge another wrapv change from gnulib
16823         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16824         from some compilers.
16826         mktime: remove incorrect attempt at unusual arithmetics
16827         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16828         The code didn't really work on such machines anyway.
16829         (TYPE_MINIMUM): Assume two's complement.
16830         (twos_complement_arithmetic): Verify that long_int and time_t
16831         are two's complement (or unsigned, in the latter case).
16833         mktime: check signed shifts on long_int and time_t, too
16834         * time/mktime.c (SHR): Check that shifts work as desired
16835         on the types long_int and time_t too, as SHR is used on
16836         such types.
16838         mktime: do not assume 'long' is wide enough
16839         * time/mktime.c (verify): Move decl up.
16840         (long_int): New type.
16841         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16842         to remove assumption in the code that 'long' is wide enough to
16843         store year values.  This assumption is not true on x32 and on
16844         some non-glibc platforms.
16846         mktime: merge wrapv change from gnulib
16847         * time/mktime.c (WRAPV): New macro.
16848         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16849         (guess_time_tm, __mktime_internal): Do not assume that signed
16850         integer overflow wraps around; modern compilers generate code
16851         where this assumption is no longer valid.
16853 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16855         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16856         Replace "jmp L(pseudo_end)" with "ret".
16857         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16858         Likewise.
16860 2012-05-23  Andreas Jaeger  <aj@suse.de>
16862         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16863         * sysdeps/unix/sysv/linux/poll.c: Remove file.
16865 2012-05-23  Andreas Jaeger  <aj@suse.de>
16866             Maximilian Attems  <max@stro.at>
16868         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16869         New macros.
16871 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16873         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16874         code so that pseudo_end is just ret and the stack pointer is
16875         correct also for static library in error case.
16877 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
16879         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16880         move to syscalls.list.
16881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16886         * manual/install.texi (Running make install): Do not mention Linux
16887         kernel version for which pt_chown is not needed.
16888         (Linux): Do not mention problems with nscd with 2.0 kernels.
16889         * INSTALL: Regenerated.
16891 2012-05-23  Andreas Jaeger  <aj@suse.de>
16893         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16894         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16895         macro.
16896         * sysdeps/unix/sysv/linux/s390/bits/mman.h
16897         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16898         * sysdeps/unix/sysv/linux/sh/bits/mman.h
16899         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16900         * sysdeps/unix/sysv/linux/i386/bits/mman.h
16901         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16902         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16903         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16904         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16905         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16906         * sysdeps/unix/sysv/linux/bits/in.h
16907         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16909 2012-05-22  Roland McGrath  <roland@hack.frob.com>
16911         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16912         (PREPARE_VERSION): Just use assert instead, it will be elided
16913         under [NDEBUG] anyway.
16915 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16917         * sysdeps/unix/sysv/linux/Makefile: Include
16918         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
16919         (sysdep_routines): Remove sysctl.
16920         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16921         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16922         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16923         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16924         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16926 2012-05-22  Andreas Jaeger  <aj@suse.de>
16928         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16929         that pseudo_end is just ret and the stack pointer is correct also
16930         for static library in error case.
16932 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
16934         [BZ #14122]
16935         * nss/nsswitch.c (defconfig_entries): New variable.
16936         (__nss_database_lookup): Don't leak defconfig entries.
16937         (nss_parse_service_list): Don't leak on error paths.
16938         (free_database_entries): New function.
16939         (free_defconfig): New function.
16940         (free_mem): Move common code to free_database_entries.
16942 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16944         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16945         Add arch_prctl.
16946         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16948         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16949         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16950         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16951         New macro.
16952         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16953         (INTERNAL_SYSCALL_TYPES): Likewise.
16954         (LOAD_ARGS_TYPES_[1-6]): Likewise.
16955         (LOAD_REGS_TYPES_[1-6]): Likewise.
16956         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16957         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16959 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16961         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16962         copysignl for GLIBC_2_0.
16963         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16964         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16965         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16966         logbl for GLIBC_2_0.
16967         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16968         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16970 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16972         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16973         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
16975         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16976         Use "neg %eax".
16978         * time/mktime.c: Update copyright years.
16980 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
16982         mktime: merge comment-quoting-style change from gnulib
16983         * time/mktime.c: Quote 'like this' in comments.
16984         The GNU coding standards suggest that we no longer quote `like this',
16985         as "`" and "'" are typically rendered asymmetrically nowadays.
16986         The typical gnulib style is to quote 'like this' when quoting
16987         code, and "like this" when quoting English.
16989         * time/mktime.c (compile-command): Add "-I.".
16991         mktime: merge mktime-internal.h change from gnulib
16992         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16994         mktime: merge time_r change from gnulib
16995         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16997         mktime: merge DEBUG change from gnulib
16998         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16999         case system <time.h> has a #define.
17001         mktime: merge <sys/types.h> change from gnulib
17002         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17003         since <time.t> is now guaranteed to define time_t.
17005         mktime: merge HAVE_CONFIG_H change from gnulib
17006         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17008 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17010         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17011         Use "neg %eax".
17013         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17014         __rlim_t cast.
17015         (struct rusage): Use anonymous union to pad each field to
17016         __syscall_slong_t.
17018 2012-05-21  David S. Miller  <davem@davemloft.net>
17020         * Makefules (o-iterator): Remove .s cases.
17021         (compile-command.s): Delete.
17022         (COMPILE.s): Delete.
17023         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17025 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
17027         * configure.in (libc_cv_predef_stack_protector): Only consider
17028         "foobar" and "__stack_chk_fail" lines in libc_undefs.
17029         * configure: Regenerated.
17031 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
17033         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17034         New macro.  Use R*LP on int and pointer.
17035         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17036         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17037         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17038         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17040         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17041         [__WORDSIZE_TIME64_COMPAT32] instead of
17042         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17043         (struct utmp): Likewise.
17044         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17045         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17046         Renamed to ...
17047         (__WORDSIZE_TIME64_COMPAT32): This.
17048         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17049         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17050         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17051         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17052         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17053         (__WORDSIZE_TIME64_COMPAT32): New macro.
17055 2012-05-21  Andreas Jaeger  <aj@suse.de>
17057         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17058         only if [SHARED]. Add prototype for __wcschr_ia32.
17060 2012-05-21  Roland McGrath  <roland@hack.frob.com>
17062         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17063         of %rbp unmolested in the jmp_buf while mangling the low bits.
17064         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17065         unmolested high bits of %rbp while demangling the low bits.
17066         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17068 2012-05-21  Andreas Jaeger  <aj@suse.de>
17070         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17071         * sunrpc/svc_simple.c: Use it for registerrpc.
17072         * sunrpc/xcrypt.c: Use it for passwd2des.
17074         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17076 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
17078         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17079         Don't define if [__SYSCALL_WORDSIZE != 32].
17080         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17081         New macro.
17083 2012-05-21  Bruno Haible  <bruno@clisp.org>
17084             Andreas Jaeger  <aj@suse.de>
17086         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17087         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17088         inptr and inend for must_buffer_ch.
17089         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17090         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17091         * stdio-common/Makefile (tests): Remove bug15.
17092         (bug15-ENV): Remove macro.
17093         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17094         anymore.
17096 2012-05-19  Andreas Jaeger  <aj@suse.de>
17097             Roland McGrath  <roland@hack.frob.com>
17099         * manual/contrib.texi: Completely rewritten. It contains now an
17100         alphabetical list of contributors and their contributions.
17102 2012-05-21  Richard Henderson  <rth@twiddle.net>
17104         * misc/getauxval.c (__getauxval): Use unsigned long int.
17105         * misc/sys/auxv.h: Include <sys/cdefs.h>.
17106         (getauxval): Use unsigned long int.
17108 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
17110         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17112 2012-05-21  Roland McGrath  <roland@hack.frob.com>
17114         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17115         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17116         __alignof__ (long double).
17118 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17122 2012-05-20  Richard Henderson  <rth@twiddle.net>
17124         * misc/getauxval.c: New file.
17125         * misc/sys/auxv.h: New file.
17126         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17127         (routines): Add getauxval.
17128         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17129         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17130         * elf/dl-sysdep.c (_dl_auxv): Remove.
17131         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17132         * elf/dl-support.c (_dl_auxv): New variable.
17133         (_dl_aux_init): Initialize it.
17134         * manual/startup.texi (Auxiliary Vector): New node.
17135         * sysdeps/generic/bits/hwcap.h: New file.
17136         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17137         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
17138         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17139         * sysdeps/sparc/sysdep.h: ... here.  Include it.
17140         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17141         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17143         Update.
17144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17147         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17151         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17153 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17157 2012-05-19  David S. Miller  <davem@davemloft.net>
17159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17161 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
17163         [BZ #14123]
17164         * math/s_ccosh.c: Include <float.h>
17165         (__ccosh): Avoid internal overflow calculating sinh and cosh
17166         values before multiplying by sin and cos values.
17167         * math/s_ccoshf.c: Likewise.
17168         * math/s_ccoshl.c: Likewise.
17169         * math/s_csin.c: Likewise.
17170         * math/s_csinf.c: Likewise.
17171         * math/s_csinl.c: Likewise.
17172         * math/s_csinh.c: Likewise.
17173         * math/s_csinhf.c: Likewise.
17174         * math/s_csinhl.c: Likewise.
17175         * math/libm-test.inc (ccos_test): Add more tests.
17176         (ccosh_test): Likewise.
17177         (csin_test): Likewise.
17178         (csinh_test): Likewise.
17179         * sysdeps/i386/fpu/libm-test-ulps: Update.
17180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17182 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17184         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17185         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17187         * sysdeps/x86_64/x32/_itoa.h: Add comment.
17189 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
17191         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17192         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17193         * sysdeps/powerpc/soft-fp/Versions: Likewise.
17194         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17195         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17196         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17197         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17198         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17199         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17200         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17201         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17202         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17203         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17204         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17205         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17206         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17207         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17208         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17209         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17210         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17211         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17212         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17213         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17214         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17215         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17216         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17217         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17218         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17219         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17220         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17221         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17223 2012-05-18  Andreas Jaeger  <aj@suse.de>
17225         * csu/.gitignore: Delete.
17227 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17229         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17230         (timex): Use __syscall_slong_t.
17232 2012-05-18  Andreas Jaeger  <aj@suse.de>
17233             Carlos O'Donell  <carlos_odonell@mentor.com>
17235         * manual/install.texi (Configuring and compiling): Update
17236         description about files modified in the source directory.
17237         * INSTALL: Regenerated.
17239 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17241         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17242         value.  Use "or" to set return value to -1.
17243         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17244         negate return value.
17246 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17248         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17249         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17250         failure if the compiler has Graphite support disabled.
17251         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17252         Likewise.
17253         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17254         CFLAGS-memmove.c): Likewise.
17255         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17256         Likewise.
17258 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17260         * sysdeps/x86_64/x32/_itoa.h: New file.
17262         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17263         getdents system call only if kernel and user dirents have the
17264         same d_ino and d_off.
17266         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17267         LLONG_MAX != LONG_MAX.
17268         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17269         (_fitoa_word): Likewise.
17271         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17272         years.
17273         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17274         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17275         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17277         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17278         include <bits/wordsize.h>.  Check __x86_64__ instead of
17279         __WORDSIZE.
17280         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17281         if __x86_64__ is defined.  Use anonymous union on fpstate.
17283         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17284         anonymous union.
17286 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
17288         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17289         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17290         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17291         Refer to _rtld_local_ro instead of _rtld_global_ro.
17292         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17293         Likewise.
17294         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17295         Likewise.
17296         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17297         Likewise.
17298         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17299         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17300         of _rtld_global, and rtld_progname instead of _dl_argv[0].
17302         * sysdeps/powerpc/powerpc32/dl-machine.c
17303         (__elf_machine_runtime_setup) [PROF]: Don't reference
17304         _dl_prof_resolve.
17306 2012-05-18  Andreas Jaeger  <aj@suse.de>
17308         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17309         function only available for GCCs before 3.4 since GCC 3.4
17310         introduced a builtin.
17311         (lrint): Likewise.
17312         (llrintf): Likewise.
17313         (llrint): Likewise.
17314         (fmaxf): Likewise.
17315         (fmax): Likewise.
17316         (fminf): Likewise.
17317         (fmin): Likewise.
17318         (rint): Likewise.
17319         (rintf): Likewise.
17320         (nearbyint): Likewise.
17321         (nearbyintf): Likewise.
17322         (ceil): Likewise.
17323         (ceilf): Likewise.
17324         (floor): Likewise.
17325         (floorf): Likewise.
17327 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17329         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17330         on both fields and cast pointer to __syscall_ulong_t.
17332         * bits/types.h (__fsword_t): New type.
17333         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17334         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17335         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17336         (__FSWORD_T_TYPE): Likewise.
17337         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17338         (__FSWORD_T_TYPE): Likewise.
17339         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17340         (__FSWORD_T_TYPE): Likewise.
17341         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17342         (__FSWORD_T_TYPE): Likewise.
17343         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17344         __SWORD_TYPE with __fsword_t.
17345         (statfs64): Likewise.
17347 2012-05-17  David S. Miller  <davem@davemloft.net>
17349         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17351 2012-05-17  Andreas Jaeger  <aj@suse.de>
17353         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17354         warning.
17356 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17358         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17360 2012-05-17  Andreas Jaeger  <aj@suse.de>
17362         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17363         when it is used.
17365 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
17367         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17369 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17371         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17372         * sysdeps/x86_64/tst-mallocalign1.c: New file.
17374 2012-05-17  Andreas Jaeger  <aj@suse.de>
17375             Carlos O'Donell  <carlos_odonell@mentor.com>
17377         [BZ #14059]
17378         * sysdeps/x86_64/multiarch/init-arch.h
17379         (bit_YMM_Usable): Rename to...
17380         (bit_AVX_Usable): ... this.
17381         (bit_FMA4_Usable): New macro.
17382         (bit_XMM_state): New macro.
17383         (bit_YMM_state): New macro.
17384         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17385         [__ASSEMBLER__] (index_AVX_Usable): ... this.
17386         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17387         (CPUID_OSXSAVE): New macro.
17388         (CPUID_AVX): New macro.
17389         (CPUID_FMA4): New macro.
17390         (index_YMM_Usable): Rename to...
17391         (index_AVX_Usable): ... this.
17392         (HAS_AVX): Use HAS_ARCH_FEATURE.
17393         (HAS_FMA4): Likewise.
17394         (HAS_YMM_USABLE): Remove.
17395         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17396         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17397         are present.
17398         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17399         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17400         * sysdeps/x86_64/multiarch/Makefile: Likewise.
17401         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17402         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17404 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
17406         * math/libm-test.c: Support platforms without multiple rounding modes.
17407         * math/bug-nextafter.c: Support platforms without FP exceptions.
17408         * math/bug-nexttoward.c: Likewise.
17409         * math/test-fenv.c: Likewise.
17410         * math/test-misc.c: Likewise.
17411         * stdlib/bug-getcontext.c: Likewise.
17413 2012-05-17  Andreas Jaeger  <aj@suse.de>
17415         * manual/examples/search.c (critter_cmp): Change signature to
17416         avoid warnings.
17417         * manual/string.texi (Collation Functions): Likewise.
17419 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17421         * bits/types.h: Fold copyright years.
17422         * bits/typesizes.h: Likewise.
17423         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17424         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17425         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17426         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17427         * time/time.h: Likewise.
17429 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
17431         [BZ #208]
17432         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17433         in instead of returning them.  Return void.
17434         (__libc_mallinfo): Accumulate over all arenas.
17435         (__malloc_stats): Adjust for change in int_mallinfo interface.
17437 2012-05-16  Roland McGrath  <roland@hack.frob.com>
17439         [BZ #10375]
17440         * configure.in (NM): Add AC_CHECK_TOOL for it.
17441         (libc_extra_cflags): New substituted variable.
17442         Check for -fstack-protector being used implicitly.
17443         * configure: Regenerated.
17444         * config.make.in (config-extra-cflags): New variable,
17445         gets @libc_extra_cflags@.
17446         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17448         [BZ #10375]
17449         * configure.in: Check for _FORTIFY_SOURCE being predefined.
17450         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17451         * configure: Regenerated.
17452         * config.make.in (CPPUNDEFS): New substituted variable.
17453         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17454         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17455         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17457 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17459         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17460         (mq_attr): Use __syscall_slong_t.
17462 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17464         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17465         Check __x86_64__ instead of __WORDSIZE.
17466         (_STAT_VER_LINUX): Likewise.
17467         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
17468         __syscall_ulong_t and __syscall_slong_t.
17469         (stat64): Likewise.
17471 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17473         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17475 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17477         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17479 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17481         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17482         __syscall_ulong_t.
17484         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17485         include <bits/wordsize.h>.  Check __x86_64__ instead of
17486         __WORDSIZE.
17487         (greg_t): Use "__extension__ long long int" if __x86_64__ is
17488         defined.
17489         (mcontext_t): Replace "unsigned long" with "unsigned long long".
17491         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17492         include <bits/wordsize.h>.  Check __x86_64__ instead of
17493         __WORDSIZE.
17494         (user_regs_struct): Use "__extension__ unsigned long long"
17495         instead of "unsigned long" if __x86_64__ is defined.
17496         (user): Likewise.  Pad after pointer field if __ILP32__ is
17497         defined.
17499 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
17501         * configure.in (makeinfo): Require version 4.5 or later.  Allow
17502         versions 5 to 9.
17503         * configure: Regenerated.
17504         * manual/install.texi (texinfo): Increase version requirement to
17505         4.5 or later.
17506         * INSTALL: Regenerated.
17508         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17510 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17512         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17514         * sysdeps/x86_64/x32/ffs.c: New file.
17516         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17517         __syscall_ulong_t.
17518         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17519         defined.  Use __syscall_ulong_t.
17520         (shminfo): Use __syscall_ulong_t.
17521         (shm_info): Likewise.
17523         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17524         __syscall_ulong_t.
17526         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17527         <bits/wordsize.h>.
17528         (msgqnum_t): Use __syscall_ulong_t.
17529         (msglen_t): Likewise.
17530         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
17531         __syscall_ulong_t.
17533         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17534         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17536         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17538         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17539         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17541         * sysvipc/sys/msg.h (msgbuf): Replace long int with
17542         __syscall_slong_t.
17544         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17545         include <bits/wordsize.h>.  Check __x86_64__ instead of
17546         __WORDSIZE.
17548         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17549         "unsigned long long int" if __x86_64__ is defined.
17550         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17552         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17553         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17554         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17556         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17557         <stdint.h>.
17558         (GET_PC): Cast to uintptr_t first.
17559         (GET_FRAME): Likewise.
17560         (GET_STACK): Likewise.
17562         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17563         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17564         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17565         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17566         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17567         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17568         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17569         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17570         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17571         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17572         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17573         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17574         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17575         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17576         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17577         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17578         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17579         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17580         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17581         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17582         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17583         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17584         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17585         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17586         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17587         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17588         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17589         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17590         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17592 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
17594         * Makerules (+depfiles): Also collect depfiles from .oS in
17595         $(extra-objs).
17596         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17597         .oS, $(libnldbl-routines)).
17599         * Makerules (native-compile-mkdep-flags): Define.
17600         * sunrpc/Makefile (extra-objs): Add $(addprefix
17601         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17602         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17603         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
17604         calling $(make-target-directory).
17606 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17608         * bits/types.h (__snseconds_t): Removed.
17609         * time/time.h (struct timespec): Replace __snseconds_t with
17610         __syscall_slong_t.
17611         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17612         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17613         Likewise.
17614         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17615         (__SNSECONDS_T_TYPE): Likewise.
17616         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17617         (__SNSECONDS_T_TYPE): Likewise.
17618         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17619         (__SNSECONDS_T_TYPE): Likewise.
17621 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17623         * sysdeps/mach/hurd/bits/typesizes.h
17624         (__SYSCALL_SLONG_TYPE): New macro.
17625         (__SYSCALL_ULONG_TYPE): Likewise.
17627 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17629         * bits/types.h (__syscall_slong_t): New type.
17630         (__syscall_ulong_t): Likewise.
17632         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17633         (__SYSCALL_ULONG_TYPE): Likewise.
17634         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17635         (__SYSCALL_SLONG_TYPE): Likewise.
17636         (__SYSCALL_ULONG_TYPE): Likewise.
17637         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17638         (__SYSCALL_SLONG_TYPE): Likewise.
17639         (__SYSCALL_ULONG_TYPE): Likewise.
17640         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17641         (__SYSCALL_SLONG_TYPE): Likewise.
17642         (__SYSCALL_ULONG_TYPE): Likewise.
17644 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17646         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17647         Add sigaltstack-offsets.sym.
17648         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17649         <sigaltstack-offsets.h>.
17650         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
17651         longjmp_msg pointer.
17652         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
17653         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17654         signal stack.
17655         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17657 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
17659         * elf/stackguard-macros.h: Remove file.
17660         * sysdeps/generic/stackguard-macros.h: New file.
17661         * sysdeps/i386/stackguard-macros.h: Likewise.
17662         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17663         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17664         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17665         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17666         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17667         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17668         * sysdeps/x86_64/stackguard-macros.h: Likewise.
17669         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17670         <elf/stackguard-macros.h>.
17672         [BZ #14109]
17673         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17674         __aligned__ in attribute.
17675         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17676         (gregset_t): Likewise.
17678 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17680         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17681         * sysdeps/x86_64/64/Implies-after: Here.  New file.
17682         * sysdeps/x86_64/x32/Implies-after: New file.
17684 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17686         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17687         and access return value for _dl_profile_fixup.  Use R10_LP to
17688         load frame size.
17690 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17692         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17694 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17696         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17697         * sysdeps/x86_64/x32/sysdep.h: New file.
17699 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17701         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17702         * sysdeps/x86_64/setjmp.S: Likewise.
17704 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17706         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17707         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17708         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17709         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17710         remove unused global constant.
17712 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
17714         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17715         include of <not-cancel.h>.
17717 2012-05-15  Roland McGrath  <roland@hack.frob.com>
17719         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17721 2012-05-15  Jeff Law  <law@redhat.com>
17722             Andreas Jaeger  <aj@suse.de>
17724         [BZ #13594]
17725         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17726         out from...
17727         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17728         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17729         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17730         code changing __hst_map_handle.map.
17732 2012-05-15  Roland McGrath  <roland@hack.frob.com>
17734         * configure.in (sysnames): Look for Implies-before and Implies-after
17735         files.
17736         * configure: Regenerated.
17738 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17740         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17741         8-byte data alignment with LP_SIZE alignment.
17743 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17745         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17746         into R10_LP.
17748 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17750         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17752 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17754         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17755         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17756         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17757         Likewise.
17758         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17760 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17762         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17763         (stackinfo_sub_sp): Likewise.
17765 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17767         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17768         RAX_LP.
17770 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17772         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17773         into R*_LP.
17775 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17777         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17778         sizes into R*_LP.
17780 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17782         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17784 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17786         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17787         into R11_LP and load __x86_64_shared_cache_size_half into
17788         R8_LP.
17790 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17792         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17793         R8_LP.
17795 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17797         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17798         logb for POWER7.
17799         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17800         logbf for POWER7.
17801         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17802         logbl for POWER7.
17803         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17804         powerpc32/power7/fpu/s_logb.c via #include.
17805         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17806         powerpc32/power7/fpu/s_logbf.c via #include.
17807         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17808         powerpc32/power7/fpu/s_logbl.c via #include.
17810 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
17812         * README.libm: Remove file.
17814 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17816         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17817         count for x32.  Use R*_LP and omit operand-size suffix.
17819 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17821         * shlib-versions: Move x86_64-.*-linux.* entries to ...
17822         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
17823         * sysdeps/x86_64/x32/shlib-versions: New file.
17825 2012-05-14  Roland McGrath  <roland@hack.frob.com>
17827         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17828         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17829         Use _dl_fatal_printf instead.
17831 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
17833         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17834         set if not set by the user.  Do not allow for being unset.
17835         * sysdeps/unix/sysv/linux/configure: Regenerated.
17837 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17839         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17840         the `q' suffix from lea and replace .quad with ASM_ADDR.
17842 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17844         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17845         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
17846         instead of $17.
17847         (PTR_DEMANGLE): Likewise.
17849 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17851         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17852         (LP_OP): Likewise.
17853         (ASM_ADDR): Likewise.
17854         (RAX_LP): Likewise.
17855         (RBP_LP): Likewise.
17856         (RBX_LP): Likewise.
17857         (RCX_LP): Likewise.
17858         (RDI_LP): Likewise.
17859         (RSI_LP): Likewise.
17860         (RSP_LP): Likewise.
17861         (R8_LP): Likewise.
17862         (R9_LP): Likewise.
17863         (R10_LP): Likewise.
17864         (R10_LP): Likewise.
17865         (R11_LP): Likewise.
17866         (R12_LP): Likewise.
17867         (R13_LP): Likewise.
17868         (R14_LP): Likewise.
17869         (R15_LP): Likewise.
17871 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17873         * sysdeps/x86_64/x32/dl-machine.h: New file.
17875 2012-05-14  Andreas Jaeger  <aj@suse.de>
17877         * manual/Makefile (subdir): Remove export of subdir.
17878         (all): Remove target.
17879         (.PHONY): Remove all from list.
17880         (mkinstalldirs): Remove.
17881         (.PHONY): Remove installdirs from list.
17882         ($(inst_infodir)/libc.info): Use make-target-directory.
17883         (installdirs): Remove.
17884         (subdir_%): Remove.
17885         (glibc-targets): Remove.
17886         (lib): Remove.
17887         (stubs): Remove.
17888         ($(objpfx)stubs ../po/manual.pot): Remove.
17889         ($(objpfx)stamp%): Remove.
17890         (make-target-directory): Remove.
17891         (subdir_install): Remove.
17892         (routines): Remove.
17893         (aux): Remove.
17894         (sources): Remove.
17895         (objects): Remove.
17896         (headers): Remove.
17898         [BZ #13750]
17899         * manual/.gitignore: Remove, it's not needed anymore.
17900         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17901         all files in it.
17902         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17903         directory.
17904         (texis): Renamed to $(objpfx)texis.
17905         (texis-path): New, contains path to generated files.
17906         (chapters.%): Use texis-path for complete path, add extra argument
17907         libc-texinfo.sh.
17908         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17909         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17910         (summary,texi, stamp-summary): Use complete path of
17911         files. Generate files in build dir.
17912         (dir-add.texi): Build in build dir.
17913         (libm-err.texi,stamp-libm-err): Likewise.
17914         (version.texi, stamp-version): Likewise.
17915         (.%c.texi): Likewise.
17916         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17917         (mostlyclean): Remove target.
17918         (realclean): Remove target.
17919         (generated): Add new variable with contents from mostlyclean and
17920         realclean, remove entries duplicated in common-mostlyclean, add
17921         stamp-libm-err and stamp-version.
17922         (generated-dirs): Add libc directory.
17923         ($(inst_infodir)/libc.info): Install files from build dir.
17925         * manual/install.texi (Configuring and compiling): Adjust since
17926         the info files are not part of the tar ball anymore.
17928 2012-05-14  Andreas Jaeger  <aj@suse.de>
17930         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17931         variable.
17933 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
17935         [BZ #13717]
17936         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17937         to 2.2.0 where earlier.
17938         * sysdeps/unix/sysv/linux/configure: Regenerated.
17939         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17940         Remove conditional code.
17941         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17942         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17943         Remove conditional code.
17944         [!__NR_lchown]: Likewise.
17945         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17946         [__NR_lchown]: Likewise.
17947         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17948         comment referencing __ASSUME_LCHOWN_SYSCALL.
17949         * sysdeps/unix/sysv/linux/i386/sigaction.c
17950         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17951         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17952         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17953         Remove conditional code.
17954         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17955         (__protocol_available): Remove #if 0 code.
17956         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17957         conditional code.
17958         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17959         * sysdeps/unix/sysv/linux/kernel-features.h
17960         (__ASSUME_GETCWD_SYSCALL): Don't define.
17961         (__ASSUME_REALTIME_SIGNALS): Likewise.
17962         (__ASSUME_PREAD_SYSCALL): Likewise.
17963         (__ASSUME_PWRITE_SYSCALL): Likewise.
17964         (__ASSUME_POLL_SYSCALL): Likewise.
17965         (__ASSUME_LCHOWN_SYSCALL): Likewise.
17966         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17967         non-SPARC.
17968         (__ASSUME_SIOCGIFNAME): Don't define.
17969         (__ASSUME_MSG_NOSIGNAL): Likewise.
17970         (__ASSUME_SENDFILE): Define unconditionally.
17971         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17972         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17973         conditional code.
17974         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17975         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17976         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17977         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17978         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17979         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17980         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17982         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17983         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17985         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17986         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17988         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17989         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17991         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17992         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17994         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17995         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17997         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17998         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18000         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18001         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18003         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18004         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18005         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18006         Remove conditional code.
18007         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18008         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18009         Remove conditional code.
18010         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18011         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18012         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18013         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18014         Remove conditional code.
18015         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18016         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18017         Remove conditional code.
18018         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18019         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18020         Remove conditional code.
18021         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18022         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18023         Remove conditional code.
18024         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18025         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18026         Remove conditional code.
18027         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18028         * sysdeps/unix/sysv/linux/sh/pwrite64.c
18029         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18030         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18031         * sysdeps/unix/sysv/linux/sigaction.c
18032         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18033         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18034         * sysdeps/unix/sysv/linux/sigpending.c
18035         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18036         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18037         * sysdeps/unix/sysv/linux/sigprocmask.c
18038         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18039         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18040         * sysdeps/unix/sysv/linux/sigsuspend.c
18041         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18042         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18043         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18044         (__libc_missing_rt_sigs): Remove.
18045         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18046         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18047         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18048         Remove conditional code.
18049         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18050         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18051         return 1.
18052         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18053         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18054         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18055         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18057 2012-05-14  Andreas Jaeger  <aj@suse.de>
18059         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18060         it's not used in glibc.
18061         (__coshm1): Likewise.
18062         (__acosh1p): Likewise.
18063         (__sgn): Likewise.
18065         * manual/string.texi (Copying and Concatenation): Add missing
18066         variable in concat example.
18067         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18069 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18071         [BZ #14103]
18072         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18073         __builtin_clzl with __builtin_clzll.
18075 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18077         [BZ #14104]
18078         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18079         libc_freeres_ptr.
18081 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18083         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18084         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18085         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18086         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18088 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
18090         * NEWS: Update ia64 info.
18092 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
18094         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18095         used as bcopy.
18097 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
18099         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18100         * sysdeps/unix/syscalls.list (dup3): Likewise.
18101         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18102         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18104 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
18106         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18107         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18109 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
18111         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18112         thread pointer.
18113         (TLS_IE): Use mov/add instead of movq/addq to load thread
18114         pointer.
18115         (TLS_GD_PREFIX): New.
18116         (TLS_GD): Use it.
18118 2012-05-11  David S. Miller  <davem@davemloft.net>
18120         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18121         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18122         (_FPU_SETCW): Likewise.
18124 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18126         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18127         is 32-byte aligned.
18129 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
18131         [BZ #11837]
18132         * iconvdata/gb18030.c: Update tables.
18133         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
18134         characters specially.
18135         (BODY for TO_LOOP): Add encoding of missing ranges.
18137 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
18139         [BZ #13673]
18140         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18141         * sysdeps/mach/hurd/dup3.c: Likewise.
18142         * sysdeps/mach/hurd/readlinkat.c: Likewise.
18143         * sysdeps/powerpc/memmove.c:: Likewise.
18145 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18147         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18148         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18150 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18152         * elf/elf.h (R_X86_64_RELATIVE64): New.
18153         (R_X86_64_NUM): Updated.
18154         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18155         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
18156         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18157         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18158         tst-quad1pie tst-quad2pie
18159         (modules-names): Add tst-quadmod1 tst-quadmod2.
18160         ($(objpfx)tst-quad1): New dependency.
18161         ($(objpfx)tst-quad2): Likewise.
18162         ($(objpfx)tst-quad1pie): Likewise.
18163         ($(objpfx)tst-quad2pie): Likewise.
18164         * sysdeps/x86_64/tst-quad1.c: New file.
18165         * sysdeps/x86_64/tst-quad1pie.c: New file.
18166         * sysdeps/x86_64/tst-quad2.c: Likewise.
18167         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18168         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18169         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18170         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18171         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18173 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18175         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18176         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18177         * streams/stropts.h (t_scalar_t): Define type.
18179         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18180         (_PATH_PRESERVE): Set to "/var/lib".
18181         (_PATH_RWHODIR): Set to "/var/spool/rwho".
18183         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18184         instead of int.
18186         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18187         if __dir_mkfile succeeded.
18189         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18190         checking for _hurd_dtablesize.  Unlock it right after having
18191         finished _hurd_dtable allocation.
18193 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18195         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18196         * sysdeps/mach/hurd/configure: Regenerated.
18197         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18198         special-casing to...
18199         * sysdeps/gnu/configure.in: ... this new file.
18200         * sysdeps/unix/sysv/linux/configure: Regenerated.
18201         * sysdeps/gnu/configure: New generated file.
18203         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18204         for Linux: use nsec instead of usec, as well as:
18205         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18206         members of type struct timespec.
18207         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18208         New macros.
18209         (struct stat64): Likewise.
18210         (_STATBUF_ST_NSEC): New macro.
18211         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18213         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18214         __strtoul_internal rather than strtoul.
18216 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18218         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18219         and reject them.
18221 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18223         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18224         which preserves existing values.
18225         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18227 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18229         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18230         TIMEOUT values.  Return EINVAL for NFDS values either negative or
18231         greater than FD_SETSIZE.
18233 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18235         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18236         allocated, call __vm_protect to finish enabling the existing space, and
18237         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18238         allocate the remainder.
18240 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18242         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18243         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
18245 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18247         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18248         sysdeps/mach/hurd/readlink.c.
18250         * posix/tst-sysconf.c (posix_options): Only use
18251         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18252         _POSIX_SYNCHRONIZED_IO when they are defined
18253         * sysdeps/mach/hurd/bits/posix_opt.h:
18254         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18255         (_XOPEN_REALTIME): Undefine macro.
18256         (_XOPEN_REALTIME_THREADS): Undefine macro.
18257         (_XOPEN_SHM): Undefine macro.
18258         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18259         macro to -1.
18260         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18261         macro to -1.
18262         (_POSIX_ASYNC_IO): Undefine macro.
18263         (_POSIX_PRIORITIZED_IO): Undefine macro.
18264         (_POSIX_SPIN_LOCKS): Define macro to -1.
18266         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18267         SA_NODEFER, SA_RESETHAND.
18268         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18269         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18270         F_DUPFD_CLOEXEC.
18272 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18274         * elf/Makefile (pldd-modules): Define unconditionally.
18276 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18278         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18280 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18282         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18283         Return ENOENT when name is empty.
18284         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18286 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18288         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18290         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18292 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18294         Fix mlock in all cases except non-readable pages.
18295         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18296         instead of VM_PROT_ALL as parameter to __vm_wire function.
18298         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18299         (__mkdir): When path is `/', just fail with EEXIST.
18300         * sysdeps/mach/hurd/mkdirat.c: Likewise.
18302 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18304         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18305         <sys/uio.h> (for writev).
18306         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18307         and <sys/param.h> (for MIN).
18309 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18311         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18312         REQUESTED_TIME.  Properly set the remaining time and return EINTR
18313         if interrupted.
18315 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18317         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18318         Depend on against $(link-rpcuserlibs).
18320 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18322         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18323         (__libc_stack_end): Do not use attribute_relro.
18324         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18325         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
18326         to libthread-provided value.
18327         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18328         attribute_relro.
18330 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18332         [BZ #3748]
18333         * bits/libc-lock.h (__libc_once_get): New macro.
18334         * sysdeps/mach/bits/libc-lock.h: Likewise.
18335         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18336         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18337         instead of using implementation details.
18339         * libio/fileops.c: Unconditionally include <kernel-features.h>.
18340         * libio/freopen.c: Likewise.
18341         * libio/freopen64.c: Likewise.
18342         * misc/syslog.c: Likewise.
18343         * nscd/connections.c: Likewise.
18344         * nscd/netgroupcache.c: Likewise.
18345         * sysdeps/posix/getcwd.c: Likewise.
18347 2012-05-10  Roland McGrath  <roland@hack.frob.com>
18349         * math/w_ilogbf.c: Add #include <limits.h>.
18351 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18353         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
18354         path instead of returning without unlocking.
18356         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18357         immediate-write ioctls.
18358         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18360 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18362         * sysdeps/mach/hurd/i386/init-first.c (init): Use
18363         __builtin_frame_address instead of making assumptions about the
18364         location of the return address relative to DATA.  Force early load of
18365         the return address.
18366         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18367         __builtin_frame_address.
18369         dup3 for GNU Hurd.
18370         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18371         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
18372         implement dup3 and do some further code clean-ups.
18373         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18374         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18376 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18378         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18380         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18381         HURD_CRITICAL_END around holding _hurd_dtable_lock.
18382         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18383         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18384         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18385         d->port.lock.
18387         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18388         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
18389         when handler == SIG_ERR, not when handler != SIG_ERR.
18391 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18393         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18394         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18395         definitions.
18397         accept4 for GNU Hurd.
18398         * include/sys/socket.h (__libc_accept4): New prototype.
18399         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
18400         to implement __libc_accept4.
18401         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18402         __libc_accept4.
18403         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18405         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18406         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18407         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18408         signal-defines.sym.
18410 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18412         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
18414 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18416         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18417         assertion on O_CLOEXEC flag.
18418         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18419         * hurd/intern-fd.c: Likewise.
18420         * hurd/port2fd.c: Likewise.
18422 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18424         [BZ #3906]
18425         * bits/in.h (IPV6_PKTINFO): Define new macro.
18426         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18428 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18430         [BZ #13954]
18431         [BZ #13955]
18432         [BZ #13956]
18433         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18434         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18435         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18436         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18437         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18438         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18439         * math/libm-test.inc (logb_test) : Additional logb tests.
18441 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
18442             Andreas Jaeger  <aj@suse.de>
18444         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18445         * configure: Regenerated.
18446         * config.h.in (LINK_OBSOLETE_RPC): New macro.
18447         * config.make.in (link-obsolete-rpc): New substituted variable.
18448         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18449         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18450         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18451         (shared-only-routines): Don't set it under [link-obsolete-rpc],
18452         so that libc.a contains the symbols.
18453         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18454         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18455         * sunrpc/auth_none.c: Likewise.
18456         * sunrpc/auth_unix.c: Likewise.
18457         * sunrpc/authdes_prot.c: Likewise.
18458         * sunrpc/authuxprot.c: Likewise.
18459         * sunrpc/clnt_gen.c: Likewise.
18460         * sunrpc/clnt_perr.c: Likewise.
18461         * sunrpc/clnt_raw.c: Likewise.
18462         * sunrpc/clnt_simp.c: Likewise.
18463         * sunrpc/clnt_tcp.c: Likewise.
18464         * sunrpc/clnt_udp.c: Likewise.
18465         * sunrpc/clnt_unix.c: Likewise.
18466         * sunrpc/des_crypt.c: Likewise.
18467         * sunrpc/des_soft.c: Likewise.
18468         * sunrpc/get_myaddr.c: Likewise.
18469         * sunrpc/key_call.c: Likewise.
18470         * sunrpc/key_prot.c: Likewise.
18471         * sunrpc/netname.c: Likewise.
18472         * sunrpc/pm_getmaps.c: Likewise.
18473         * sunrpc/pm_getport.c: Likewise.
18474         * sunrpc/pmap_clnt.c: Likewise.
18475         * sunrpc/pmap_prot.c: Likewise.
18476         * sunrpc/pmap_prot2.c: Likewise.
18477         * sunrpc/pmap_rmt.c: Likewise.
18478         * sunrpc/publickey.c: Likewise.
18479         * sunrpc/rpc_cmsg.c: Likewise.
18480         * sunrpc/rpc_common.c: Likewise.
18481         * sunrpc/rpc_dtable.c: Likewise.
18482         * sunrpc/rpc_prot.c: Likewise.
18483         * sunrpc/rpc_thread.c: Likewise.
18484         * sunrpc/rtime.c: Likewise.
18485         * sunrpc/svc.c: Likewise.
18486         * sunrpc/svc_auth.c: Likewise.
18487         * sunrpc/svc_raw.c: Likewise.
18488         * sunrpc/svc_run.c: Likewise.
18489         * sunrpc/svc_tcp.c: Likewise.
18490         * sunrpc/svc_udp.c: Likewise.
18491         * sunrpc/svc_unix.c: Likewise.
18492         * sunrpc/svcauth_des.c: Likewise.
18493         * sunrpc/xcrypt.c: Likewise.
18494         * sunrpc/xdr.c: Likewise.
18495         * sunrpc/xdr_array.c: Likewise.
18496         * sunrpc/xdr_float.c: Likewise.
18497         * sunrpc/xdr_intXX_t.c: Likewise.
18498         * sunrpc/xdr_mem.c: Likewise.
18499         * sunrpc/xdr_rec.c: Likewise.
18500         * sunrpc/xdr_ref.c: Likewise.
18501         * sunrpc/xdr_sizeof.c: Likewise.
18502         * sunrpc/xdr_stdio.c: Likewise.
18504 2012-05-10  Roland McGrath  <roland@hack.frob.com>
18506         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18507         change.  Update copyright years.
18509 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
18511         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18513 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
18514             Joseph Myers  <joseph@codesourcery.com>
18515             Paul Pluzhnikov  <ppluzhnikov@google.com>
18517         [BZ #14012]
18518         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18519         requiring rpcgen.
18520         [cross-compiling] (extra-libs): Likewise.
18521         [cross-compiling] (extra-libs-others): Likewise.
18522         [cross-compiling] (librpcsvc-routines): Likewise.
18523         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18524         [cross-compiling] (omit-deps): Likewise.
18525         (sunrpc-CPPFLAGS): New variable.
18526         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18527         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18528         (cross-rpcgen-objs): New variable.
18529         (extra-objs): Append $(cross-rpcgen-objs).
18530         ($(cross-rpcgen-objs)): New rule.
18531         ($(objpfx)cross-rpcgen): Likewise.
18532         (rpcgen-cmd): Define to use $(built-program-file).  Expand
18533         comment.
18534         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18535         ($(objpfx)x%.stmp): Likewise.
18536         * sunrpc/proto.h [IS_IN_build] (_): Define.
18537         [IS_IN_build] (_libc_intl_domainname): Likewise.
18539 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18541         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18542         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18543         and R_X86_64_TPOFF64.
18545 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
18547         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18548         sysdeps/unix/sysv/syscalls.list.
18549         (stime): Likewise.
18550         (utime): Likewise.
18551         * sysdeps/unix/sysv/syscalls.list: Remove file.
18553 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
18555         [BZ #3440]
18556         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18557         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18558         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18559         (__LC_IDENTIFICATION): Make these macros useful in #if
18560         expressions, as required by C99.
18562 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
18564         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18565         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
18566         after this.
18568 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
18570         * stdlib/longlong.h: Updated from GCC.
18572 2012-05-09  Andreas Jaeger  <aj@suse.de>
18574         * nscd/nscd.c (run_modes): Make named enum, reorder so that
18575         default is first entry.
18576         (run_mode): Set type.
18577         (main): Remove informal message about syslog.
18578         (options): Fix typo.
18580         [BZ #14053]
18581         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
18582         to asm.
18583         (lrint): Likewise.
18584         (llrintf): Likewise.
18585         (llrint): Likewise.
18586         (rint): Likewise.
18587         (rintf): Likewise.
18588         (nearbyint): Likewise.
18589         (nearbyintf): Likewise.
18591 2012-05-09  Andreas Jaeger  <aj@suse.de>
18592             Pedro Alves  <palves@redhat.com>
18594         * nscd/nscd.c (run_mode): Use enum.
18595         (main): Cleanup coding style issue.
18597 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
18598             Andreas Jaeger  <aj@suse.de>
18600         * nscd/nscd.c (go_background): Replaced with...
18601         (run_mode): ... this.
18602         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
18603         (options): Add -F --foreground.
18604         (main): Implement it.
18605         (parse_opt): Parse it.
18607 2012-05-09  Andreas Jaeger  <aj@suse.de>
18609         [BZ #14083]
18610         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18611         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18612         -Wconversion warning.
18613         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18614         Likewise.
18616 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
18618         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
18619         == 0.
18620         (LC_ALL): Use macro-int-constant.
18621         (LC_COLLATE): Likewise.
18622         (LC_CTYPE): Likewise.
18623         (LC_MESSAGES): Likewise.
18624         (LC_MONETARY): Likewise.
18625         (LC_NUMERIC): Likewise.
18626         (LC_TIME): Likewise.
18627         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18628         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18629         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18630         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18631         Specify type.
18632         [C99-based standards] (float_t): Expect type.
18633         [C99-based standards] (double_t): Expect type.
18634         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
18635         type.
18636         [C99-based standards] (HUGE_VALL): Likewise.
18637         [C99-based standards] (INFINITY): Likewise.
18638         [C99-based standards] (NAN): Likewise.
18639         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18640         [C99-based standards] (FP_NAN): Likewise.
18641         [C99-based standards] (FP_NORMAL): Likewise.
18642         [C99-based standards] (FP_SUBNORMAL): Likewise.
18643         [C99-based standards] (FP_ZERO): Likewise.
18644         [C99-based standards] (FP_FAST_FMA): Use
18645         optional-macro-int-constant.  Specify type.  Require == 1.
18646         [C99-based standards] (FP_FAST_FMAF): Likewise.
18647         [C99-based standards] (FP_FAST_FMAL): Likewise.
18648         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18649         [C99-based standards] (FP_ILOGBNAN): Likewise.
18650         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18651         Specify type.
18652         [C99-based standards] (MATH_ERREXCEPT): Likewise.
18653         [C99-based standards] (math_errhandling): Specify type.
18654         [ISO99 || ISO11] (signgam): Do not allow.
18655         [non-C99-based standards] (copysignf): Do not allow.
18656         [non-C99-based standards] (exp2f): Likewise.
18657         [non-C99-based standards] (log2f): Likewise.
18658         [non-C99-based standards] (modff): Allow.
18659         [non-C99-based standards] (erff): Do not allow.
18660         [non-C99-based standards] (erfcf): Likewise.
18661         [non-C99-based standards] (gammaf): Likewise.
18662         [non-C99-based standards] (hypotf): Likewise.
18663         [non-C99-based standards] (j0f): Likewise.
18664         [non-C99-based standards] (j1f): Likewise.
18665         [non-C99-based standards] (jnf): Likewise.
18666         [non-C99-based standards] (lgammaf): Likewise.
18667         [non-C99-based standards] (tgammaf): Likewise.
18668         [non-C99-based standards] (y0f): Likewise.
18669         [non-C99-based standards] (y1f): Likewise.
18670         [non-C99-based standards] (ynf): Likewise.
18671         [non-C99-based standards] (isnanf): Likewise.
18672         [non-C99-based standards] (acoshf): Likewise.
18673         [non-C99-based standards] (asinhf): Likewise.
18674         [non-C99-based standards] (atanhf): Likewise.
18675         [non-C99-based standards] (cbrtf): Likewise.
18676         [non-C99-based standards] (expm1f): Likewise.
18677         [non-C99-based standards] (ilogbf): Likewise.
18678         [non-C99-based standards] (log1pf): Likewise.
18679         [non-C99-based standards] (logbf): Likewise.
18680         [non-C99-based standards] (nextafterf): Likewise.
18681         [non-C99-based standards] (remainderf): Likewise.
18682         [non-C99-based standards] (rintf): Likewise.
18683         [non-C99-based standards] (scalbf): Likewise.
18684         [non-C99-based standards] (copysignl): Likewise.
18685         [non-C99-based standards] (exp2l): Likewise.
18686         [non-C99-based standards] (log2l): Likewise.
18687         [non-C99-based standards] (modfl): Allow.
18688         [non-C99-based standards] (erfl): Do not allow.
18689         [non-C99-based standards] (erfcl): Likewise.
18690         [non-C99-based standards] (gammal): Likewise.
18691         [non-C99-based standards] (hypotl): Likewise.
18692         [non-C99-based standards] (j0l): Likewise.
18693         [non-C99-based standards] (j1l): Likewise.
18694         [non-C99-based standards] (jnl): Likewise.
18695         [non-C99-based standards] (lgammal): Likewise.
18696         [non-C99-based standards] (tgammal): Likewise.
18697         [non-C99-based standards] (y0l): Likewise.
18698         [non-C99-based standards] (y1l): Likewise.
18699         [non-C99-based standards] (ynl): Likewise.
18700         [non-C99-based standards] (isnanl): Likewise.
18701         [non-C99-based standards] (acoshl): Likewise.
18702         [non-C99-based standards] (asinhl): Likewise.
18703         [non-C99-based standards] (atanhl): Likewise.
18704         [non-C99-based standards] (cbrtl): Likewise.
18705         [non-C99-based standards] (expm1l): Likewise.
18706         [non-C99-based standards] (ilogbl): Likewise.
18707         [non-C99-based standards] (log1pl): Likewise.
18708         [non-C99-based standards] (logbl): Likewise.
18709         [non-C99-based standards] (nextafterl): Likewise.
18710         [non-C99-based standards] (remainderl): Likewise.
18711         [non-C99-based standards] (rintl): Likewise.
18712         [non-C99-based standards] (scalbl): Likewise.
18713         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18714         [non-C99-based standards] (FP_*): Do not allow.
18715         [C99-based standards] (FP_*): Change to
18716         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18717         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18718         allow.
18719         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18720         (SIG_ERR): Likewise.
18721         [X/Open-based standards] (SIG_HOLD): Likewise.
18722         (SIG_IGN): Likewise.
18723         (SIGABRT): Use macro-int-constant.  Specify type.  Require
18724         positive value.
18725         (SIGFPE): Likewise.
18726         (SIGILL): Likewise.
18727         (SIGINT): Likewise.
18728         (SIGSEGV): Likewise.
18729         (SIGTER): Likewise.
18730         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18731         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18732         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18733         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18734         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18735         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18736         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18737         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18738         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18739         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18740         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18741         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18742         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18743         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18744         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18745         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18746         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18747         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18748         [X/Open-based standards] (SIGTRAP): Likewise.
18749         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18750         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18751         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18752         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18753         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18754         allow.
18756 2012-05-08  Ian Wienand  <ianw@vmware.com>
18758         [BZ #14080]
18759         * time/tzset.c (__tzset_parse_tz): Update default rules for
18760         daylight time changes in the Energy Policy Act of 2005.
18762 2012-05-09  Andreas Jaeger  <aj@suse.de>
18764         [BZ #13983]
18765         * elf/ldconfig.c (parse_conf): Change string to make clear that
18766         ldconfig only issued a warning if ld.so.conf does not exist.
18768 2012-05-08  David S. Miller  <davem@davemloft.net>
18770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18771         movxtod instead of popping the value on the stack.
18773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18775 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
18777         * config.h.in: Add HAVE_ARM_PCS_VFP.
18779 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
18781         [BZ #13979]
18782         * include/features.h: Warn if user requests __FORTIFY_SOURCE
18783         checking but the checks are disabled for any reason.
18785 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
18787         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18788         and ELF64_R_TYPE with ELFW(R_TYPE).
18790 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
18792         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18793         (ulimit): Likewise.
18795         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18796         (settimeofday): Likewise.
18798 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
18800         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
18801         a struct th_u2 inside the union, and move tu_block/tu_code into
18802         a new th_u3 union of tu_block/tu_code inside of that.  Move
18803         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
18804         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
18805         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18806         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18807         (th_stuff): Change to th_u1.tu_stuff.
18808         (th_data): Define.
18809         (th_msg): Change to th_u1.th_u2.tu_data.
18811 2012-05-07  David S. Miller  <davem@davemloft.net>
18813         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18815         [BZ #14074]
18816         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18817         (SETUP_PIC_REG): Use it.
18818         (SETUP_PIC_REG_LEAF): Use it.
18820 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
18822         [BZ #13885]
18823         [BZ #13923]
18824         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18825         USE_AS_EXPM1L.
18826         (EXPL_FINITE): Likewise.
18827         (FLDLOG): Likewise.
18828         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18829         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18830         e_expl.S.
18831         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18832         USE_AS_EXPM1L.
18833         (EXPL_FINITE): Likewise.
18834         (FLDLOG): Likewise.
18835         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18836         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18837         e_expl.S.
18838         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
18839         test of -max_value argument for long double.
18840         * sysdeps/i386/fpu/libm-test-ulps: Update.
18841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18843 2012-05-06  David S. Miller  <davem@davemloft.net>
18845         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18846         quad soft-float symbols whose references which are compiler
18847         generated.
18848         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18850 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
18852         [BZ #13884]
18853         [BZ #13914]
18854         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18855         USE_AS_EXP10L.
18856         (EXPL_FINITE): Likewise.
18857         (FLDLOG): Likewise.
18858         (c0): Likewise.
18859         (c1): Likewise.
18860         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
18861         Adjust comments for base varying.
18862         (__expl_finite): Change alias to EXPL_FINITE.
18863         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18864         e_expl.S.
18865         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18866         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18867         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18868         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18869         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18870         USE_AS_EXP10L.
18871         (EXPL_FINITE): Likewise.
18872         (FLDLOG): Likewise.
18873         (c0): Likewise.
18874         (c1): Likewise.
18875         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
18876         Adjust comments for base varying.
18877         (__expl_finite): Change alias to EXPL_FINITE.
18878         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
18879         tests for bugs.
18880         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18882         [BZ #14064]
18883         * math/libm-test.inc (check_float_internal): Correct ulp
18884         calculation for subnormal expected results.
18886 2012-05-06  Andreas Jaeger  <aj@suse.de>
18888         * Makeconfig (+math-flags): New, set to -frounding-math.
18889         (+cflags): Add +math-flags so that all of glibc gets compiled with
18890         it.
18892         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18894 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
18896         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18897         Disable one test.
18899         [BZ #13787]
18900         [BZ #13922]
18901         [BZ #14036]
18902         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18903         (__ieee754_expl): Allow for and saturate large arguments.
18904         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18905         (u_threshold): Likewise.
18906         (__exp): Call __ieee754_exp before checking for overflow and
18907         underflow.
18908         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18909         (u_threshold): Likewise.
18910         (__expf): Call __ieee754_expf before checking for overflow and
18911         underflow.
18912         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18913         (u_threshold): Likewise.
18914         (__expl): Call __ieee754_expl before checking for overflow and
18915         underflow.
18916         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18917         (__ieee754_expl): Allow for and saturate large arguments.
18918         * math/libm-test.inc (exp_test): Add another test.  Do not allow
18919         missing overflow exception on overflow.
18920         (expm1_test): Do not allow missing overflow exception on overflow.
18922         * sysdeps/i386/fpu/e_expl.c: Move to ...
18923         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
18924         rather than using inline asm.
18925         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18926         * sysdeps/x86_64/fpu/e_expl.S: Copy from
18927         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18929         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18930         (nice): Likewise.
18931         (poll): Likewise.
18932         (signal): Likewise.
18933         (time): Likewise.
18934         (times): Likewise.
18936 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
18938         * sysdeps/unix/syscalls.list (adjtime): Add entry from
18939         sysdeps/unix/common/syscalls.list.
18940         (fchmod): Likewise.
18941         (fchown): Likewise.
18942         (ftruncate): Likewise.
18943         (getrusage): Likewise.
18944         (gettimeofday): Likewise.
18945         (setpgid): Likewise.
18946         (setregid): Likewise.
18947         (setreuid): Likewise.
18948         (sigaction): Likewise.
18949         (truncate): Likewise.
18950         (vhangup): Likewise.
18951         * sysdeps/unix/common/syscalls.list: Remove file.
18952         * sysdeps/unix/bsd/Implies: Don't include unix/common.
18953         * sysdeps/unix/sysv/linux/Implies: Likewise.
18955 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
18957         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18958         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18959         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18960         Moved to ...
18961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18962         Here.
18963         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18964         to ...
18965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18966         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18967         to ...
18968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18969         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18970         to ...
18971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18972         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18973         to ...
18974         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18975         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18976         to ...
18977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18978         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18979         to ...
18980         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18981         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18982         to ...
18983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18984         Here.
18985         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18986         to ...
18987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18988         Here.
18989         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18990         to ...
18991         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18992         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18993         Moved to ...
18994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18995         Here.
18996         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18997         to ...
18998         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19000 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
19002         * sysdeps/unix/common/bits/dirent.h: Remove file.
19003         * sysdeps/unix/common/bits/fcntl.h: Likewise.
19005         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19006         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19007         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19008         * sysdeps/unix/bsd/isatty.c: Likewise.
19009         * sysdeps/unix/bsd/tcdrain.c: Likewise.
19010         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19011         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19013 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19015         [BZ #13563]
19016         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19017         long double comparison inaccuracies.
19018         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19021 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
19023         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19024         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19026 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
19028         [BZ #14049]
19029         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19030         nonzero digits before rounding a hex value.
19031         * stdlib/tst-strtod.c (tests): Add another test.
19033 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19035         * sysdeps/s390/fpu/libm-test-ulps: Update.
19037 2012-05-03  Andreas Jaeger  <aj@suse.de>
19039         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19040         does not get optimized out.
19041         (malloc_opt_barrier): New.
19043 2012-05-03  Andreas Jaeger  <aj@suse.de>
19044             Roland McGrath  <roland@hack.frob.com>
19046         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19047         intermediate file deletion.
19048         (generated): Add .symlist files.
19050 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
19052         [BZ #13775]
19053         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19054         Redirect under this condition.
19055         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19056         [__USE_GNU] (__dprintf_chk): Not under this condition.
19057         [__USE_GNU] (__vdprintf_chk): Likewise.
19058         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19059         under this condition.
19060         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19061         [__USE_XOPEN2K8] (dprintf): Define under this condition.
19062         [__USE_XOPEN2K8] (vdprintf): Likewise.
19063         [__USE_GNU] (__dprintf_chk): Not under this condition.
19064         [__USE_GNU] (__vdprintf_chk): Likewise.
19065         [__USE_GNU] (dprintf): Likewise.
19066         [__USE_GNU] (vdprintf): Likewise.
19068 2012-05-03  Roland McGrath  <roland@hack.frob.com>
19070         * elf/Makefile (common-generated): Set this instead of generated for
19071         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
19072         $(all-built-dso)-derived lists.
19074 2012-05-03  Andreas Jaeger  <aj@suse.de>
19076         * sysdeps/i386/fpu/libm-test-ulps: Update.
19078         * FAQ: Removed.
19079         * FAQ.in: Likewise.
19080         * scripts/gen-FAQ.pl: Likewise.
19081         * manual/install.texi (Installation): Point to online location of
19082         FAQ.
19083         * Makefile (files-for-dist): Remove FAQ.
19084         (FAQ): Remove.
19086 2012-05-02  Allan McRae  <allan@archlinux.org>
19088         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19089         (LDFLAGS-reldepmod5.so): Likewise.
19090         (LDFLAGS-reldep6mod1.so): Likewise.
19091         (LDFLAGS-reldep6mod4.so): Likewise.
19092         (LDFLAGS-reldep8mod3.so): Likewise.
19093         (LDFLAGS-unload4mod1.so): Likewise.
19094         (LDFLAGS-unload4mod2.so): Likewise.
19095         (LDFLAGS-tst-initorder): Likewise.
19096         (LDFLAGS-tst-initordera2.so): Likewise.
19097         (LDFLAGS-tst-initordera3.so): Likewise.
19098         (LDFLAGS-tst-initordera4.so): Likewise.
19099         (LDFLAGS-tst-initorderb2.so): Likewise.
19100         (LDFLAGS-noload): Likewise.
19101         (LDFLAGS-next): Likewise.
19102         (LDFLAGS-order2mod1.so): Likewise.
19103         (LDFLAGS-order2mod2.so): Likewise.
19104         (LDFLAGS-tst-initorder2): Likewise.
19105         (LDFLAGS-tst-initorder2a.so): Likewise.
19106         (LDFLAGS-tst-initorder2b.so): Likewise.
19107         (LDFLAGS-tst-initorder2c.so): Likewise.
19108         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19110 2012-05-02  David S. Miller  <davem@davemloft.net>
19112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19114 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
19116         [BZ #14055]
19117         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19119 2012-05-02  Andreas Jaeger  <aj@suse.de>
19121         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19122         since we manipulate rounding mode.
19123         (CPPFLAGS-test-idouble.c): Likewise.
19124         (CPPFLAGS-test-ifloat.c): Likewise.
19125         (CFLAGS-test-ldouble.c): Likewise.
19126         (CFLAGS-test-double.c): Likewise.
19127         (CFLAGS-test-float.c): Likewise.
19128         (CFLAGS-test-misc.c): Likewise.
19129         (CFLAGS-test-test-fenv.c): Likewise.
19131 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19133         [BZ #2550]
19134         [BZ #2570]
19135         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19136         comparisons to determine direction to adjust input.
19138 2012-05-01  Roland McGrath  <roland@hack.frob.com>
19140         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19141         output to the target.
19143         * scripts/localplt.awk: New file.
19144         * elf/Makefile ($(objpfx)check-localplt): Target removed.
19145         (check-localplt-CFLAGS): Variable removed.
19146         ($(all-built-dso:=.jmprel)): New static pattern rule.
19147         (generated): Add those targets.
19148         (localplt-built-dso): New variable.
19149         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19151         * elf/check-localplt.c: File removed.
19153         * scripts/check-execstack.awk: New file.
19154         * elf/Makefile ($(objpfx)check-execstack): Target removed.
19155         (check-execstack-CFLAGS): Variable removed.
19156         ($(objpfx)check-execstack.h): Target removed.
19157         ($(objpfx)execstack-default): New target.
19158         (generated): Add that instead of check-execstack.h.
19159         ($(all-built-dso:=.phdr)): New static pattern rule.
19160         (generated): Add those targets.
19161         * elf/check-execstack.c: File removed.
19163         * scripts/check-textrel.awk: New file.
19164         * elf/Makefile ($(objpfx)check-textrel): Target removed.
19165         (check-textrel-CFLAGS): Variable removed.
19166         (all-built-dso): Use := to define.o
19167         ($(all-built-dso:=.dyn)): New static pattern rule.
19168         (generated): Add those targets.
19169         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19170         * config.make.in (READELF): New substituted variable.
19171         * elf/check-textrel.c: File removed.
19173 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
19175         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19176         allow.
19177         * conform/data/ctype.h-data [C99-based standards] (isblank):
19178         Expect function.
19179         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19180         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19181         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19182         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19183         Specify type.  Require positive value.
19184         (EILSEQ): Likewise.
19185         (ERANGE): Likewise.
19186         [ISO || POSIX] (EILSEQ): Do not expect.
19187         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19188         Specify type.  Require positive value.
19189         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19190         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19191         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19192         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19193         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19194         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19195         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19196         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19197         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19198         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19199         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19200         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19201         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19202         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19203         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19204         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19205         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19206         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19207         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19208         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19209         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19210         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19211         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19212         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19213         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19214         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19215         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19216         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19217         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19218         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19219         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19220         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19221         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19222         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19223         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19224         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19225         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19226         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19227         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19228         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19229         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19230         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19231         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19232         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19233         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19234         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19235         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19236         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19237         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19238         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19239         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19240         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19241         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19242         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19243         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19244         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19245         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19246         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19247         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19248         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19249         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19250         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19251         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19252         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19253         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19254         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19255         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19256         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19257         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19258         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19259         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19260         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19261         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19262         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19263         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19264         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19265         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19266         Require >= 2.
19267         (FLT_ROUNDS): Expect as macro, not constant.
19268         (FLT_MANT_DIG): Use macro-int-constant.
19269         (DBL_MANT_DIG): Likewise.
19270         (LDBL_MANT_DIG): Likewise.
19271         (FLT_DIG): Likewise.
19272         (DBL_DIG): Likewise.
19273         (LDBL_DIG): Likewise.
19274         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
19275         (DBL_MIN_EXP): Likewise.
19276         (LDBL_MIN_EXP): Likewise.
19277         (FLT_MAX_EXP): Use macro-int-constant.
19278         (DBL_MAX_EXP): Likewise.
19279         (LDBL_MAX_EXP): Likewise.
19280         (FLT_MAX_10_EXP): Likewise.
19281         (DBL_MAX_10_EXP): Likewise.
19282         (LDBL_MAX_10_EXP): Likewise.
19283         (FLT_MAX): Use macro-constant.
19284         (DBL_MAX): Likewise.
19285         (LDBL_MAX): Likewise.
19286         (FLT_EPSILON): Use macro-constant.  Give upper bound.
19287         (DBL_EPSILON): Likewise.
19288         (LDBL_EPSILON): Likewise.
19289         (FLT_MIN): Likewise.
19290         (DBL_MIN): Likewise.
19291         (LDBL_MIN): Likewise.
19292         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19293         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19294         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19295         [ISO11] (FLT_HAS_SUBNORM): Likewise.
19296         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19297         [ISO11] (DBL_DECIMAL_DIG): Likewise.
19298         [ISO11] (FLT_DECIMAL_DIG): Likewise.
19299         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19300         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19301         [ISO11] (FLT_TRUE_MIN): Likewise.
19302         [ISO11] (LDBL_TRUE_MIN): Likewise.
19303         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19304         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19305         (SCHAR_MIN): Use macro-int-constant.  Specify type.
19306         (SCHAR_MAX): Likewise.
19307         (UCHAR_MAX): Likewise.
19308         (CHAR_MIN): Likewise.
19309         (CHAR_MAX): Likewise.
19310         (MB_LEN_MAX): Use macro-int-constant.
19311         (SHRT_MIN): Use macro-int-constant.  Specify type.
19312         (SHRT_MAX): Likewise.
19313         (USHRT_MAX): Likewise.
19314         (INT_MAX): Likewise.
19315         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
19316         bound negative.
19317         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19318         bound with "U".
19319         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19320         bound with "L".
19321         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
19322         bound negative.  Suffix upper bound with "L".
19323         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19324         bound with "UL".
19325         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19326         Specify type.
19327         [C99-based standards] (LLONG_MAX): Likewise.
19328         [C99-based standards] (ULLONG_MAX): Likewise.
19329         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
19330         == 0.
19331         [ISO11] (max_align_t): Require type.
19332         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19334         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19335         from $CFLAGS, without defining away __attribute__ calls.
19336         (checknamespace): Use $CFLAGS_namespace.
19338         * conform/conformtest.pl (@keywords): Only include C99 keywords
19339         for standards based on C99 or C11.
19341         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19342         Disable tests.
19343         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19344         UNIX98]: Likewise.
19346         * conform/conformtest.pl: Handle "macro-int-constant" and test for
19347         usability of symbols in #if.
19349         * conform/conformtest.pl: If macro or constant types start
19350         "promoted:", expect the symbol to be of the following type
19351         promoted by the integer promotions.
19353         * conform/conformtest.pl: Parse all "constant" and "macro" lines
19354         in one place.  Also handle "macro-constant".
19356         * conform/conformtest.pl: Only accept expected macro values with
19357         "==".  Parse all "macro" lines in one place.
19358         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19360         * conform/conformtest.pl: Handle braced types on "constant" lines
19361         instead of handling "typed-constant".
19362         * conform/data/signal.h-data: Use "constant" instead of
19363         "typed-constant".
19365         * conform/conformtest.pl: Handle "optional-" at start of lines in
19366         one place rather than duplicating several cases.  Handle each
19367         format of "macro" line with initial "optional-".
19369         * conform/conformtest.pl: Only accept expected constant or
19370         optional-constant values with "==".  Parse all "constant" lines in
19371         one place.  Parse all "optional-constant" lines in one place.
19372         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19373         * conform/data/fmtmsg.h-data: Likewise.
19374         * conform/data/netinet/in.h-data: Likewise.
19375         * conform/data/tar.h-data: Likewise.
19376         * conform/data/limits.h-data: Use "==" form on "constant" and
19377         "optional-constant" lines.
19379         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19380         Use -std=c99 for XOPEN2K.
19381         (@knownproblems): Remove.
19382         (newtoken): Don't check %isknown.
19384         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19385         Do not expect macro.
19386         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19387         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19388         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19389         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19390         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19391         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19392         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19393         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19394         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19395         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19396         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19397         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19398         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19399         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19400         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19401         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19402         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19403         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19404         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19405         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19406         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19407         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19408         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19409         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19410         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19411         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19412         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19413         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19414         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19415         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19416         [XPG3] (acosh): Likewise.
19417         [XPG3] (asinh): Likewise.
19418         [XPG3] (atanh): Likewise.
19419         [XPG3] (cbrt): Likewise.
19420         [XPG3] (expm1): Likewise.
19421         [XPG3] (ilogb): Likewise.
19422         [XPG3] (log1p): Likewise.
19423         [XPG3] (logb): Likewise.
19424         [XPG3] (nextafter): Likewise.
19425         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19426         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19427         [XPG3] (remainder): Likewise.
19428         [XPG3] (rint): Likewise.
19429         [XPG3 || XPG4 || UNIX98] (round): Likewise.
19430         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19431         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19432         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19433         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19434         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19435         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19436         [UNIX98 || XOPEN2K] (scalb): Expect.
19437         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19438         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19439         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19440         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19441         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19442         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19443         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19444         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19445         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19446         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19447         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19448         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19449         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19450         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19451         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19452         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19453         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19454         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19455         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19456         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19457         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19458         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19459         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19460         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19461         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19462         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19463         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19464         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19465         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19466         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19467         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19468         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19469         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19470         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19471         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19472         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19473         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19474         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19475         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19476         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19477         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19478         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19479         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19480         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19481         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19482         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19483         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19484         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19485         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19486         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19487         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19488         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19489         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19490         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19491         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19492         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19493         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19494         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19495         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19496         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19497         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19498         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19499         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19500         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19501         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19502         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19503         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19504         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19505         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19506         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19507         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19508         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19509         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19510         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19511         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19512         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19513         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19514         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19515         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19516         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19517         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19518         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19519         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19520         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19521         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19522         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19523         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19524         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19525         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19526         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19527         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19528         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19529         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19530         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19531         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19532         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19533         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19534         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19535         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19536         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19537         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19538         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19539         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19540         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19541         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19542         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19543         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19544         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19545         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19546         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19547         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19548         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19549         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19550         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19551         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19552         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19553         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19554         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19555         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19556         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19557         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19558         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19559         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19560         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19561         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19562         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19563         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19564         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19565         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19566         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19567         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19568         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19569         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19570         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19571         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19572         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19573         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19575         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19576         _XOPEN_SOURCE_EXTENDED for XPG4.
19578         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19580         * Makeconfig (localtime): Remove variable.
19581         (inst_localtime-file): Likewise.
19583 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19586         Update.
19587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19588         Update.
19589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19590         Update.
19591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19592         Update.
19593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19594         Update.
19595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19596         Update.
19597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19598         Update.
19599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19600         Update.
19601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19602         Update.
19604 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
19606         [BZ #2550]
19607         [BZ #2570]
19608         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19609         comparisons to determine direction to adjust input.
19610         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19611         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19612         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19613         Likewise.
19614         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19615         Likewise.
19616         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19617         Likewise.
19618         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19619         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19620         Likewise.
19621         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19622         Likewise.
19623         * math/libm-test.inc (nexttoward_test): Add more tests.
19625 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19627         [BZ #14040]
19628         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19629         in version GLIBC_2.1, not GLIBC_2.0.
19630         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19631         Likewise.
19633 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
19635         [BZ #13942]
19636         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19637         (1 - x) * (1 + x).
19638         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19639         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19640         * math/libm-test.inc (acos_test): Add more tests.
19641         (asin_test): Likewise.
19642         * sysdeps/i386/fpu/libm-test-ulps: Update.
19643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19645         [BZ #14034]
19646         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19647         of square root.
19648         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19649         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19650         * math/libm-test.inc (acos_test_tonearest): New function.
19651         (acos_test_towardzero): Likewise.
19652         (acos_test_downward): Likewise.
19653         (acos_test_upward): Likewise.
19654         (asin_test_tonearest): Likewise.
19655         (asin_test_towardzero): Likewise.
19656         (asin_test_downward): Likewise.
19657         (asin_test_upward): Likewise.
19658         (main): Call the new functions.
19659         * sysdeps/i386/fpu/libm-test-ulps: Update.
19660         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19662         [BZ #13884]
19663         [BZ #13924]
19664         * math/e_exp10.c: Include <float.h>.
19665         (__ieee754_exp10): Handle underflow here rather than multiplying
19666         large negative argument by M_LN10.
19667         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19668         of __ieee754_expf.
19669         * math/e_exp10l.c: Include <float.h>.
19670         (__ieee754_exp10l): Handle underflow here rather than multiplying
19671         large negative argument by M_LN10l.
19672         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
19673         spurious overflow exception on underflow.
19675 2012-04-29  Marek Polacek  <polacek@redhat.com>
19677         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19678         (__fortify_function): New macro.
19679         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19680         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19681         __extern_always_inline.
19682         * libio/bits/stdio2.h: Likewise.
19683         * libio/bits/stdio.h: Likewise.
19684         * string/string.h: Likewise.
19685         * string/bits/string3.h: Likewise.
19686         * include/stdio.h: Likewise.
19687         * stdlib/bits/stdlib.h: Likewise.
19688         * stdlib/stdlib.h: Likewise.
19689         * rt/bits/mqueue2.h: Likewise.
19690         * rt/mqueue.h: Likewise.
19691         * posix/bits/unistd.h: Likewise.
19692         * posix/unistd.h: Likewise.
19693         * io/bits/poll2.h: Likewise.
19694         * io/bits/fcntl2.h: Likewise.
19695         * io/fcntl.h: Likewise.
19696         * io/sys/poll.h: Likewise.
19697         * misc/bits/syslog.h: Likewise.
19698         * misc/bits/syslog-ldbl.h: Likewise.
19699         * misc/sys/syslog.h: Likewise.
19700         * socket/bits/socket2.h: Likewise.
19701         * socket/sys/socket.h: Likewise.
19702         * debug/tst-chk1.c: Likewise.
19703         * wcsmbs/bits/wchar2.h: Likewise.
19704         * wcsmbs/bits/wchar-ldbl.h: Likewise.
19705         * wcsmbs/wchar.h: Likewise.
19707 2012-04-29  Andreas Jaeger  <aj@suse.de>
19709         * Makerules (tests): Remove enable-check-abi protection.
19710         (check-abi-warn): Remove.
19711         (check-abi-%): Remove check-abi-warn usage.
19713         * configure.in: Remove check-abi configure option.
19714         * configure: Regenerated.
19715         * config.make.in (enable-check-abi): Remove.
19717 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
19719         [BZ #14033]
19720         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19721         double functions to double *_finite functions.
19723         [BZ #13941]
19724         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19725         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19726         LDBL_MIN_EXP.
19727         * stdio-common/Makefile (tests): Add tst-sprintf3.
19728         * stdio-common/tst-sprintf3.c: New file.
19730         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19731         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19733 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
19735         * conform/conformtest.pl: Remove duplicate typed-constant
19736         handling.
19738 2012-04-28  David S. Miller  <davem@davemloft.net>
19740         * Makerules (%.abilist): Add vpath on sysdep_dirs.
19741         (check-abi-%): Remove AWK script prerequisite and explicit
19742         abilist directory.
19743         (check-abi): Rewrite to just diff the symlist with the abilist.
19744         (config-tls, config-abi-config): Delete, no longer used.
19745         (update-abi-%): Remove AWK script and explicit abilist directory.
19746         (update-abi): Rewrite to simply compare and conditionally copy the
19747         symlist and the sysdep abilist file.  Remove update-abi-config
19748         checks.
19749         * abilist/ld.abilist: Remove.
19750         * abilist/libBrokenLocale.abilist: Remove.
19751         * abilist/libanl.abilist: Remove.
19752         * abilist/libcrypt.abilist: Remove.
19753         * abilist/libdl.abilist: Remove.
19754         * abilist/librt.abilist: Remove.
19755         * abilist/libthread_db.abilist: Remove.
19756         * abilist/libutil.abilist: Remove.
19757         * scripts/extract-abilist.awk: Remove.
19758         * scripts/merge-abilist.awk: Remove.
19759         * sysdeps/generic/libcidn.abilist: New file.
19760         * sysdeps/generic/libnss_compat.abilist: New file.
19761         * sysdeps/generic/libnss_db.abilist: New file.
19762         * sysdeps/generic/libnss_dns.abilist: New file.
19763         * sysdeps/generic/libnss_files.abilist: New file.
19764         * sysdeps/generic/libnss_hesiod.abilist: New file.
19765         * sysdeps/generic/libnss_nis.abilist: New file.
19766         * sysdeps/generic/libnss_nisplus.abilist: New file.
19767         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19768         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19769         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19770         file.
19771         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19772         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19773         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19774         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19775         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19776         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19777         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19778         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19779         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19780         file.
19781         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19782         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19783         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19784         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19785         file.
19786         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19787         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19788         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19789         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19790         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19791         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19792         file.
19793         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19794         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19795         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19796         file.
19797         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19798         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19799         New file.
19800         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19801         New file.
19802         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19803         New file.
19804         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19805         New file.
19806         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19807         New file.
19808         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19809         New file.
19810         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19811         New file.
19812         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19813         New file.
19814         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19815         New file.
19816         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19817         New file.
19818         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19819         New file.
19820         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19821         New file.
19822         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19823         New file.
19824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19825         file.
19826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19827         New file.
19828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19829         New file.
19830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19831         file.
19832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19833         New file.
19834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19835         New file.
19836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19837         file.
19838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19839         New file.
19840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19841         New file.
19842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19843         New file.
19844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19845         New file.
19846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19847         New file.
19848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19849         New file.
19850         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19852         file.
19853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19854         New file.
19855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19856         file.
19857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19858         file.
19859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19860         file.
19861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19862         file.
19863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19864         file.
19865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19866         New file.
19867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19868         file.
19869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19870         file.
19871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19872         New file.
19873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19874         file.
19875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19877         file.
19878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19879         New file.
19880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19881         file.
19882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19883         file.
19884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19885         file.
19886         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19887         file.
19888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19889         file.
19890         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19891         New file.
19892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19893         file.
19894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19895         file.
19896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19897         New file.
19898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19899         file.
19900         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19901         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19902         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19903         file.
19904         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19905         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19906         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19907         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19908         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19909         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19910         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19911         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19912         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19913         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19914         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19916         file.
19917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19918         New file.
19919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19920         file.
19921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19922         file.
19923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19924         file.
19925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19926         file.
19927         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19928         file.
19929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19930         New file.
19931         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19932         New file.
19933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19934         file.
19935         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19936         New file.
19937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19938         file.
19939         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19941         file.
19942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19943         New file.
19944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19945         file.
19946         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19947         file.
19948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19949         file.
19950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19951         file.
19952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19953         file.
19954         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19955         New file.
19956         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19957         New file.
19958         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19959         file.
19960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19961         New file.
19962         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19963         file.
19965 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
19967         * conform/conformtest.pl: Fix typo in handling typed-constant from
19968         allow-header.
19970 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
19972         * README: Cut down references to pre-2.6 Linux kernels and
19973         Linuxthreads.  Update lists of configurations in libc and ports
19974         and sort alphabetically.  Say "or newer" with Linux kernel version
19975         requirements.
19977         * config.h.in [IS_IN_build]: Allow compiling without optimization.
19979 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19981         [BZ #887]
19982         * math/libm-test.inc (logb_test_downward): New test to expose
19983         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19984         rounding mode.
19986 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
19988         [BZ #14027]
19989         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19990         to be done.
19991         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19992         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19994 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
19996         * sysdeps/unix/i386/brk.S: Remove file.
19997         * sysdeps/unix/i386/dl-brk.S: Likewise.
19998         * sysdeps/unix/i386/pipe.S: Likewise.
19999         * sysdeps/unix/i386/sigreturn.S: Likewise.
20000         * sysdeps/unix/i386/syscall.S: Likewise.
20001         * sysdeps/unix/i386/vfork.S: Likewise.
20002         * sysdeps/unix/i386/wait.S: Likewise.
20004         * sysdeps/unix/common/tcsendbrk.c: Move to ...
20005         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20007         * configure.in (arm*-none*): Do not allow without
20008         --enable-hacker-mode.
20009         (netbsd*): Remove case setting base_os.
20010         (386bsd*): Likewise.
20011         (freebsd*): Likewise.
20012         (bsdi*): Likewise.
20013         (osf*): Likewise.
20014         (sunos*): Likewise.
20015         (ultrix*): Likewise.
20016         (newsos*): Likewise.
20017         (dynix*): Likewise.
20018         (*bsd*): Likewise.
20019         (sysv*): Likewise.
20020         (isc*): Likewise.
20021         (esix*): Likewise.
20022         (sco*): Likewise.
20023         (minix*): Likewise.
20024         (irix4*): Likewise.
20025         (irix6*): Likewise.
20026         (solaris[2-9]*): Likewise.
20027         (none): Likewise.
20028         * configure: Regenerated.
20030 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20032         [BZ #11521]
20033         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20034         overflow or cancellation in calculating denominator.
20035         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20036         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20037         down expression to avoid unexpected rounding in newer GCCs.
20038         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20040 2012-04-26  David S. Miller  <davem@davemloft.net>
20042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20043         long-double compat symbols.
20044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20058 2012-04-25  David S. Miller  <davem@davemloft.net>
20060         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20061         HWCAP_* values only after the memory barriers have been defined.
20062         (atomic_full_barrier): Define.
20063         (atomic_read_barrier): Define.
20064         (atomic_write_barrier): Define.
20066 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20068         * shlib-versions: Add libgcc_s version information.
20069         * sysdeps/generic/libgcc_s.h: Remove.
20070         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20071         libgcc_s.h.
20072         * sysdeps/gnu/unwind-resume.c: Likewise.
20073         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20075 2012-04-25  David S. Miller  <davem@davemloft.net>
20077         * sysdeps/unix/sparc/brk.S: Delete.
20078         * sysdeps/unix/sparc/dl-brk.S: Delete.
20079         * sysdeps/unix/sparc/pipe.S: Delete.
20080         * sysdeps/unix/sparc/sysdep.S: Delete.
20081         * sysdeps/unix/sparc/sysdep.h: Delete.
20082         * sysdeps/unix/sparc/vfork.S: Delete.
20083         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20084         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20085         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20086         ret_ERRVAL, r0, r1, MOVE): Define.
20087         (JUMPTARGET): Remove.
20088         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20089         sysdeps/unix/sparc/sysdep.h
20090         (ENTRY, END): Remove.
20091         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20093 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
20095         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20096         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20097         -DIS_IN_build.
20099         * timezone/README: Update upstream location and email address for
20100         tzcode and tzdata.
20101         * timezone/zdump.c: Update from tzcode 2012b.
20102         * timezone/zic.c: Likewise.
20104         * configure.in (libc_cv_as_needed): Remove test.
20105         * configure: Regenerated.
20106         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20107         conditional definition.
20108         [$(have-as-needed) != yes] (no-as-needed): Likewise.
20109         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20110         * config.make.in (have-as-needed): Remove variable.
20112 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20113             Paul Pluzhnikov  <ppluzhnikov@google.com>
20115         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20116         strings correctly.
20118 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
20120         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20121         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20122         * sysdeps/sh/strlen.S: Likewise.
20124 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
20126         * sysdeps/unix/fork.S: Remove file.
20127         * sysdeps/unix/i386/fork.S: Likewise.
20128         * sysdeps/unix/sparc/fork.S: Likewise.
20130         * sysdeps/unix/system.c: Remove file.
20131         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20133         * sysdeps/unix/getegid.S: Remove file.
20134         * sysdeps/unix/geteuid.S: Likewise.
20136 2012-04-24  Roland McGrath  <roland@hack.frob.com>
20138         * scripts/check-localplt.awk: New file.
20139         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20140         of diff.
20141         * scripts/data/localplt-generic.data: Add a comment.
20143         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20144         NODE when __dir_mkfile failed.
20145         * sysdeps/mach/hurd/symlinkat.c: Likewise.
20146         Reported by Ludovic Courtès <ludo@gnu.org>.
20148 2012-04-24  Andreas Jaeger  <aj@suse.de>
20150         * Makerules (common-clean): Also remove gen-as-const-headers
20151         files.
20153 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
20155         * Makerules (native-compile): Do not change working directory for
20156         build.  Use $(OUTPUT_OPTION) in command.
20157         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20159 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20161         [BZ #13886]
20162         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20163         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20164         * math/libm-test.inc (floor_test): Add more tests.
20165         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20167 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
20169         * sysdeps/unix/getdents.c: Remove file.
20170         * sysdeps/unix/sysv/getdents.c: Likewise.
20171         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20173         * sysdeps/unix/syscalls.list (madvise): Add syscall from
20174         sysdeps/unix/mman/syscalls.list.
20175         (mmap): Likewise.
20176         (mprotect): Likewise.
20177         (msync): Likewise.
20178         (munmap): Likewise.
20179         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20180         * sysdeps/unix/mman/syscalls.list: Remove.
20181         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20183         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20184         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20185         * configure: Regenerated.
20186         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20187         $(libgcc_s_suffix).
20188         * config.make.in (libgcc_s_suffix): Remove variable.
20190 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
20192         * sysdeps/unix/sysv/gethostname.c: Move to ...
20193         * sysdeps/posix/gethostname.c: ... here.
20195         * sysdeps/unix/execve.S: Remove file.
20197         * sysdeps/unix/_exit.S: Remove file.
20199 2012-04-23  Andreas Jaeger  <aj@suse.de>
20201         [BZ #13739]
20202         * manual/Makefile: Remove make dist support, there's no
20203         need for a stand-alone documentation tar ball.
20204         (TEXI2DVI): Define always, it's not in Makeconfig.
20205         (dist): Removed.
20206         (tar-it): Removed.
20207         (edition): Removed.
20208         (glibc-doc-$(edition).tar): Removed
20209         (%.Z): Removed.
20210         (%.gz): Removed.
20211         (%.uu): Removed.
20212         (ETAGS): Remove, it's in Makeconfig.
20213         (move-if-change): Remove, it's in Makeconfig.
20215 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
20217         [BZ #13970]
20218         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20219         (strtod, strtof, strtold, strtol, strtoul, strtoq)
20220         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20221         (strtod_l, strtof_l, strtold_l): Remove __wur.
20222         It is not necessarily an error to ignore strtol's return value.
20223         One can reliably look at the stored endptr to decide whether
20224         the number had valid syntax.
20226 2012-04-21  Andreas Jaeger  <aj@suse.de>
20228         [BZ #13739]
20229         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20231 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
20233         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20234         * sysdeps/unix/sysv/Versions: Remove file.
20236 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
20238         [BZ #13927]
20239         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20241 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
20243         [BZ #7064]
20244         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20245         version from __vm86.
20247 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
20249         * sysdeps/unix/common/lxstat.c: Remove file.
20250         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20252         * sysdeps/unix/sysv/Makefile: Remove file.
20254         * sysdeps/unix/sysv/direct.h: Remove file.
20256         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20257         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20258         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20259         * sysdeps/unix/sysv/bits/signum.h: Likewise.
20260         * sysdeps/unix/sysv/bits/stat.h: Likewise.
20261         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20262         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20264         * sysdeps/unix/sysv/setrlimit.c: Remove file.
20266         * sysdeps/unix/xmknod.c: Remove file.
20267         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20269         * sysdeps/unix/sysv/settimeofday.c: Remove file.
20271         * sysdeps/unix/sysv/i386/time.S: Remove file.
20273         * sysdeps/unix/fxstat.c: Remove file.
20274         * sysdeps/unix/xstat.c: Likewise.
20275         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20277         * sysdeps/unix/sysv/sigaction.c: Remove file.
20279         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20280         (sysdep_headers): Remove variable.
20281         [termio.h not in sysdep_headers] (generated): Likewise.
20282         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20283         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20284         * sysdeps/unix/sysv/tcdrain.c: Likewise.
20285         * sysdeps/unix/sysv/tcflow.c: Likewise.
20286         * sysdeps/unix/sysv/tcflush.c: Likewise.
20287         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20288         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20289         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20290         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20291         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20293         * sysdeps/unix/siglist.c: Remove file.
20295         * sysdeps/unix/getppid.S: Remove file.
20297         * sysdeps/unix/mkdir.c: Remove file.
20298         * sysdeps/unix/rmdir.c: Likewise.
20300 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
20302         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20303         ERR_MAX value.
20304         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20305         errlist-compat value.
20307 2012-04-18  David S. Miller  <davem@davemloft.net>
20309         * sysdeps/generic/memcopy.h (reg_char): Delete.
20310         * debug/strcat_chk.c: Use char, not reg_char.
20311         * debug/strcpy_chk.c: Likewise.
20312         * debug/strncat_chk.c: Likewise.
20313         * debug/strncpy_chk.c: Likewise.
20314         * string/memchr.c: Likewise.
20315         * string/memrchr.c: Likewise.
20316         * string/rawmemchr.c: Likewise.
20317         * string/strcat.c: Likewise.
20318         * string/strchr.c: Likewise.
20319         * string/strchrnul.c: Likewise.
20320         * string/strcmp.c: Likewise.
20321         * string/strcpy.c: Likewise.
20322         * string/strncat.c: Likewise.
20323         * string/strncmp.c: Likewise.
20324         * string/strncpy.c: Likewise.
20326 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20328         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20329         __builtin_memcopy is called when src and dest ranges are known to not
20330         overlap.
20332 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20334         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20335         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20336         fwd_align_merge macro call.
20337         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20338         bwd_align_merge macro call.
20339         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20341 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20343         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20344         bwd_align_merge macros.
20345         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20346         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20347         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20349 2012-04-18  David S. Miller  <davem@davemloft.net>
20351         * sysdeps/sparc/sparc64/memcopy.h: Delete.
20353 2012-04-18  Andreas Jaeger  <aj@suse.de>
20355         [BZ# 6794]
20356         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20357         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20358         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20360         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20361         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20362         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20364         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20365         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20366         Adjust for changed ldbl-128 files.
20368         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20369         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20370         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20372 2012-04-17  David S. Miller  <davem@davemloft.net>
20374         * sysdeps/sparc/sparc32/memcopy.h: Delete.
20376 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
20378         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20379         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20380         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20381         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20382         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20383         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20385 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20387         [BZ #6794]
20388         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20389         * math/libm-test.inc: Add ilogb errno and exception tests.
20390         * math/w_ilogb.c: New file: ilogb wrapper.
20391         * math/w_ilogbf.c: New file: ilogbf wrapper.
20392         * math/w_ilogbl.c: New file: ilogbl wrapper.
20393         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20394         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20395         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20396         exception being thrown with 0.0 as argument.
20397         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20398         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20399         exception being thrown with 0.0 as argument.
20400         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20401         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20402         exception being thrown with 0.0 as argument.
20403         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20404         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20405         exception being thrown with 0.0 as argument.
20406         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20407         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
20408         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
20409         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20410         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20411         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20412         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20413         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20414         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20416 2012-04-17  Petr Baudis  <pasky@ucw.cz>
20418         * include/sys/uio.h: Change __vector to __iovec to avoid clash
20419         with altivec.
20421 2012-04-16  Marek Polacek  <polacek@redhat.com>
20423         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20425 2012-04-16  Marek Polacek  <polacek@redhat.com>
20427         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20428         operands of fdivp instruction.
20430 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
20432         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20433         * elf/tst-auditmod3b.c: Likewise.
20434         * elf/tst-auditmod4b.c: Likewise.
20435         * elf/tst-auditmod5b.c: Likewise.
20436         * elf/tst-auditmod6b.c: Likewise.
20437         * elf/tst-auditmod6c.c: Likewise.
20438         * elf/tst-auditmod7b.c: Likewise.
20439         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20440         * sysdeps/x86_64/preconfigure.in: Likewise.
20441         * sysdeps/x86_64/preconfigure: Regenerated.
20443 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
20445         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20446         __ILP32__.
20448 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
20450         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20451         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20453 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
20455         [BZ #13973]
20456         * locale/iso-639.def: Fix gl language name. Spotted by
20457         Yaron Shahrabani.
20459 2012-04-12  Roland McGrath  <roland@hack.frob.com>
20461         [BZ #2074]
20462         * libio/libio.h (__io_write_fn): Update comment.
20464 2012-04-12  Petr Baudis  <pasky@ucw.cz>
20466         [BZ #2074]
20467         * stdio.texi (Hook Functions): The user provided writer function
20468         is not allowed to return -1.
20470 2012-04-11  David S. Miller  <davem@davemloft.net>
20472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20474 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
20476         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20477         Add a leading slash to rtkaio.
20479 2012-04-11  Jim Meyering  <meyering@redhat.com>
20481         [BZ #11959]
20482         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20483         It is not necessarily an error to ignore fwrite's return
20484         value.  One can reliably use ferror to test for errors after
20485         the fact.
20487 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
20489         * bits/types.h (__snseconds_t): New type.
20490         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20492         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20493         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20494         (__SNSECONDS_T_TYPE): Likewise.
20495         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20496         (__SNSECONDS_T_TYPE): Likewise.
20497         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20498         (__SNSECONDS_T_TYPE): Likewise.
20500 2012-04-10  Andreas Jaeger  <aj@suse.de>
20502         [BZ #2636]
20503         * manual/time.texi (Processor Time): Return type of times is
20504         elapsed real time since an arbitrary point in the past.
20505         (CPU Time): Move CLK_TCK from here...
20506         (Processor Time): ...to here.  Correct description.
20507         * manual/conf.texi (Constants for Sysconf): Correct description of
20508         _SC_CLK_TCK.
20510 2012-04-10  David S. Miller  <davem@davemloft.net>
20512         [BZ #13967]
20513         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20514         where the is a gap between DT_REL(A) and DT_JMPREL.
20516 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
20518         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20519         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20520         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20522 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20524         * elf/dl-support.c (_dl_inhibit_cache): New variable.
20525         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20526         (dl_main): Handle --inhibit-cache.
20527         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20528         _dl_inhibit_cache.
20529         * elf/dl-load.c (_dl_map_object): Use it.
20530         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20532 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
20534         [BZ #13872]
20535         * sysdeps/i386/fpu/e_powl.S (p78): New object.
20536         (__ieee754_powl): Saturate large exponents rather than testing for
20537         overflow of y*log2(x).
20538         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20539         * math/libm-test.inc (pow_test): Do not permit spurious overflow
20540         exceptions.
20542         [BZ #11521]
20543         * math/s_ctan.c: Include <float.h>.
20544         (__ctan): Avoid internal overflow or cancellation in calculating
20545         denominator.
20546         * math/s_ctanf.c: Likewise.
20547         * math/s_ctanl.c: Likewise.
20548         * math/s_ctanh.c: Likewise.
20549         * math/s_ctanhf.c: Likewise.
20550         * math/s_ctanhl.c: Likewise.
20551         * math/libm-test.inc (ctan_test): Add more tests.
20552         (ctanh_test): Likewise.
20553         * sysdeps/i386/fpu/libm-test-ulps: Update.
20554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20556 2012-04-09  Andreas Jaeger  <aj@suse.de>
20558         [BZ #6894]
20559         * manual/filesys.texi (Directory Entries): Mention that d_namlen
20560         is an optional BSD extension.
20562         [BZ #10254]
20563         * manual/stdio.texi (Opening Streams): Document additional fopen
20564         parameters.
20566 2012-04-09  Roland McGrath  <roland@hack.frob.com>
20568         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20569         %eax without telling the compiler.
20571 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
20573         [BZ # 13963]
20574         * manual/install.texi: Use sourceware.org.
20576 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
20578         [BZ #13873]
20579         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20580         (__ieee754_pow): Generate overflow and underflow using huge*huge
20581         and tiny*tiny rather than just returning constant infinity or zero
20582         for large exponents.
20583         * math/libm-test.inc (pow_test): Require overflow exceptions for
20584         applicable cases of large exponents.
20586         [BZ #706]
20587         * sysdeps/i386/fpu/e_pow.S (p10): New object.
20588         (__ieee754_pow): Use iterative multiplication algorithm only for
20589         integer exponents with absolute value below 1024.  Check for odd
20590         integer exponents when using algorithm for real exponents.
20591         * math/libm-test.inc (pow_test): Add more tests.
20592         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20594 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
20596         [BZ #13705]
20597         * math/libm-test.inc (exp_test): Do not allow overflow exception
20598         on underflow test.
20600 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
20602         [BZ #13705]
20603         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20604         instead of __kernel_standard_f.
20606 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
20608         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20609         * sysdeps/x86_64/memset_chk.S: Likewise.
20611 2012-04-08  Andreas Jaeger  <aj@suse.de>
20613         [BZ #10153]
20614         * manual/startup.texi (Environment Access): Describe return value
20615         for putenv and setenv.
20617         [BZ #6895]
20618         * manual/filesys.texi (Directory Entries): Add description for
20619         DT_LNK.
20621         [BZ #6890]
20622         * manual/filesys.texi (Directory Entries): Clarify that it's file
20623         system not operating system in the description of DT_UNKNOWN.
20625         [BZ #6578]
20626         * manual/syslog.texi (closelog): Fix reference, it's openlog.
20628 2012-04-08  Stephen Compall  <s11@member.fsf.org>
20630         [BZ #6649]
20631         * manual/llio.texi (Opening and Closing Files): Add cross
20632         reference to explain mode argument.
20634 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
20636         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20637         * sysdeps/x86_64/memset_chk.S: Likewise.
20639 2012-04-07  David S. Miller  <davem@davemloft.net>
20641         * elf/elf.h (R_SPARC_WDISP10): Define.
20642         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20643         R_SPARC_SIZE32.
20644         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20645         R_SPARC_SIZE64 and R_SPARC_H34.
20647 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
20649         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20650         conditions and remove no longer applicable assertion.
20652 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
20654         * bits/byteswap.h: Include <features.h>.
20655         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20656         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20658 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
20660         * bits/byteswap.h (__bswap_16): Removed.
20661         Include <bits/byteswap-16.h> to get __bswap_16.
20662         * sysdeps/i386/bits/byteswap.h: Likewise.
20663         * sysdeps/s390/bits/byteswap.h: Likewise.
20664         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20665         * bits/byteswap-16.h: New file.
20666         * sysdeps/i386/bits/byteswap-16.h: Likewise.
20667         * sysdeps/s390/bits/byteswap-16.h: Likewise.
20668         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20669         * string/Makefile (headers): Add bits/byteswap-16.h.
20671 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20673         [BZ #13895]
20674         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20675         extra indirection.
20676         * nss/Makefile (tests-static, tests): Add tst-nss-static.
20677         * nss/tst-nss-static.c: New.
20679 2012-04-06  Robert Millan  <rmh@gnu.org>
20681         [BZ #6486]
20682         * manual/llio.texi (File Position Primitive): lseek
20683         refers to WHENCE when it really means OFFSET.
20685 2012-04-06  Andreas Jaeger  <aj@suse.de>
20687         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20688         strncmp declarations.
20690         * abilist/libc.abilist: Add __poll and __ppoll.
20692 2012-04-05  David S. Miller  <davem@davemloft.net>
20694         * scripts/check-local-headers.sh: Accept a host triplet in the
20695         path matched by the exclude regexp.
20697         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20698         definition.
20699         * sysdeps/powerpc/powerpc32/dl-machine.h
20700         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20701         * sysdeps/s390/s390-32/dl-machine.h
20702         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20703         * sysdeps/sparc/sparc32/dl-machine.h
20704         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20705         * sysdeps/sparc/sparc64/dl-machine.h
20706         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20708         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20709         lazy binding.
20710         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
20711         undefined symbol errors.
20713         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
20714         DT_NEEDED entries.
20716 2012-04-05  Michael Matz  <matz@suse.de>
20718         [BZ #13592]
20719         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20721 2012-04-05  Andreas Jaeger  <aj@suse.de>
20723         [BZ #13908]
20724         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20725         comment.
20727 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20729         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20730         which ROUND is no valid rounding mode.
20732 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20734         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20735         read again.
20736         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20738 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20740         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20741         an exception using FPU order intentionally.
20743 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20745         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20746         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20747         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20748         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20750 2012-04-05  Simon Josefsson  <simon@josefsson.org>
20752         [BZ #12340]
20753         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20754         EINVAL when BUFLEN is too smal.
20756 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20758         [BZ #13553]
20759         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20760         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20762 2012-04-03  Andreas Jaeger  <aj@suse.de>
20764         [BZ #13938]
20765         * manual/setjmp.texi (System V contexts): Fix sentence.
20767         [BZ #13926]
20768         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20769         New macro for this case.
20770         [!__GNUC__] (__bswap_64): New inline function for this case.
20771         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20772         * bits/byteswap.h: Likewise.
20773         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20774         ull, guard with __GLIBC_HAVE_LONG_LONG.
20776         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20777         __GLIBC_HAVE_LONG_LONG.
20779         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20780         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20782 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20784         [BZ #13691]
20785         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20786         inptr and inend, rather than using last_ch.
20788 2012-04-02  David S. Miller  <davem@davemloft.net>
20790         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20791         * stdio-common/printf-parse.h (read_int): Change return type to
20792         'int', return -1 on INT_MAX overflow.
20793         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20794         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
20795         overflows INT_MAX.  Check for overflow of in-format-string precision
20796         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
20797         SIZE_MAX not INT_MAX for integer overflow test.
20798         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20799         skip the construct in the format string but do not record anything.
20800         * stdio-common/bug22.c: Adjust to test both width/prevision
20801         INT_MAX overflow as well as total length INT_MAX overflow.  Check
20802         explicitly for proper errno values.
20804 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20806         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20807         CHAR_MAX.
20808         * string/test-strcmp.c [! WIDE]: Likewise.
20809         * time/tst-mktime2.c: Likewise for INT_MAX.
20810         * string/test-string.h: #include <sys/param.h> for MIN.
20812         * csu/init-first.c (__libc_init_first): Call __ctype_init.
20813         * sysdeps/i386/init-first.c (init): Likewise.
20814         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20815         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20816         * sysdeps/sh/init-first.c (init): Likewise.
20818 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
20820         * po/ru.po: Update from translation team.
20821         * po/vi.po: Likewise.
20823 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20825         * resolv/nss_dns/dns-host.c: Merge copyright years.
20827 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20829         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20830         Optimize memcpy with prefetch if
20831         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
20832         src, dst pointers have unequal 16 byte alignments.
20834 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20836         [BZ #13928]
20837         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20838         from a CNAME entry and return the minimum ttl for the query.
20839         (gaih_getanswer_slice): Likewise.
20841 2012-03-30  Jeff Law  <law@redhat.com>
20843         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20844         due to long keys.
20845         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20846         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20848         * resolv/nss_dns/dns-host.c: Update copyright year.
20850 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
20852         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
20853         requests to save a system call.  Fix check that all bytes are sent.
20855         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20856         comments for sendmmsg.
20858 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20860         [BZ #13691]
20861         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20862         with only 1 character between 0x0041 and 0x01b0.
20863         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20864         * wcsmbs/tst-mbsnrtowcs.c: New file.
20866 2012-03-29  David S. Miller  <davem@davemloft.net>
20868         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20869         small copies by hand.
20871 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20873         [BZ #13761]
20874         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20875         _nss_compat_initgroups_dyn): Fall back to malloc/free
20876         for large group memberships.
20878 2012-03-28  David S. Miller  <davem@davemloft.net>
20880         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20881         that branches into memcpy.
20882         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20883         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20884         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20885         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20886         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20887         bits.
20888         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20889         implementation too.
20890         * sysdeps/sparc/mempcpy.S: New file.
20892         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20893         the IFUNC routine in the libc case.
20894         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20896         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20897         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20898         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20899         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20900         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20901         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20902         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20903         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20905         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20906         loop to 256 bytes instead of 64 bytes and fix test signedness.
20908         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20909         * sysdeps/sparc/sparc32/Makefile: rather than here...
20910         * sysdeps/sparc/sparc64/Makefile: and here.
20912 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
20914         * malloc/mallocbug.c: Avoid warnings about unused variables.
20916 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20918         [BZ #13760]
20919         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20920         in the right place. Discard and retry query if response is
20921         larger than input buffer size.
20923 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
20925         [BZ #369]
20926         [BZ #2678]
20927         [BZ #3866]
20928         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20929         x for large integer exponent.
20930         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20931         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
20932         sign of result as needed afterwards.
20933         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20934         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20935         result for underflowing pow the same as for overflow.
20936         (__kernel_standard_l): Handle powl overflow and underflow here
20937         rather than calling __kernel_standard.
20938         * math/libm-test.inc (pow_test): Add more tests.
20940         [BZ #3868]
20941         [BZ #13879]
20942         [BZ #13910]
20943         [BZ #13911]
20944         [BZ #13912]
20945         [BZ #13913]
20946         [BZ #13915]
20947         [BZ #13916]
20948         [BZ #13917]
20949         [BZ #13918]
20950         [BZ #13919]
20951         [BZ #13920]
20952         [BZ #13921]
20953         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20954         * sysdeps/ieee754/k_standard.c: Include <float.h>.
20955         (__kernel_standard_l): New function.
20956         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20957         __kernel_standard.
20958         * math/w_acosl.c (__acosl): Likewise.
20959         * math/w_asinl.c (__asinl): Likewise.
20960         * math/w_atan2l.c (__atan2l): Likewise.
20961         * math/w_atanhl.c (__atanhl): Likewise.
20962         * math/w_coshl.c (__coshl): Likewise.
20963         * math/w_exp10l.c (__exp10l): Likewise.
20964         * math/w_exp2l.c (__exp2l): Likewise.
20965         * math/w_fmodl.c (__fmodl): Likewise.
20966         * math/w_hypotl.c (__hypotl): Likewise.
20967         * math/w_j0l.c (__j0l, __y0l): Likewise.
20968         * math/w_j1l.c (__j1l, __y1l): Likewise.
20969         * math/w_jnl.c (__jnl, __ynl): Likewise.
20970         * math/w_lgammal.c (__lgammal): Likewise.
20971         * math/w_log10l.c (__log10l): Likewise.
20972         * math/w_log2l.c (__log2l): Likewise.
20973         * math/w_logl.c (__logl): Likewise.
20974         * math/w_powl.c (__powl): Likewise.
20975         * math/w_remainderl.c (__remainderl): Likewise.
20976         * math/w_scalbl.c (sysv_scalbl): Likewise.
20977         * math/w_sinhl.c (__sinhl): Likewise.
20978         * math/w_sqrtl.c (__sqrtl): Likewise.
20979         * math/w_tgammal.c (__tgammal): Likewise.
20980         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20981         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20982         * math/libm-test.inc (acos_test): Add more tests.
20983         (acosh_test): Likewise.
20984         (asin_test): Likewise.
20985         (atanh_test): Likewise.
20986         (exp_test): Likewise.
20987         (exp10_test): Likewise.
20988         (exp2_test): Likewise.
20989         (expm1_test): Likewise.
20990         (lgamma_test): Likewise.
20991         (log_test): Likewise.
20992         (log10_test): Likewise.
20993         (log1p_test): Likewise.
20994         (log2_test): Likewise.
20995         (pow_test): Do not allow some spurious overflow exceptions.
20996         (sqrt_test): Add more tests.
20997         (tgamma_test): Likewise.
20998         (y0_test): Likewise.
20999         (y1_test): Likewise.
21000         (yn_test): Likewise.
21002 2012-03-27  Anton Blanchard  <anton@samba.org>
21004         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21005         MAP_HUGETLB.
21006         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21007         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21008         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21010 2012-03-27  David S. Miller  <davem@davemloft.net>
21012         * conform/Makefile: Run run-conformtest.sh using $(BASH).
21014         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21015         have-as-vis3 check.
21017 2012-03-27  Andreas Jaeger  <aj@suse.de>
21019         * sysdeps/x86_64/elf/configure.in: Moved to ...
21020         * sysdeps/x86_64/configure.in: ... here.
21021         * sysdeps/x86_64/elf/start.S: Moved to ...
21022         * sysdeps/x86_64/start.S: ... here.
21023         * sysdeps/x86_64/elf/configure: Delete.
21025         * sysdeps/x86_64/configure.in: Merge contents from
21026         sysdeps/i386/configure.in (without i686 check).
21028         * sysdeps/i386/elf/Versions: Merge into ...
21029         * sysdeps/i386/Versions: ... this.
21030         * sysdeps/i386/elf/Versions: Delete file.
21031         * sysdeps/i386/elf/start.S: Moved to ...
21032         * sysdeps/i386/start.S: ...here.
21033         * sysdeps/i386/elf/configure.in: Merge into...
21034         * sysdeps/i386/configure.in: ...here.
21035         * sysdeps/i386/elf/configure.in: Delete file.
21036         * sysdeps/i386/elf/configure: Delete file.
21038         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21039         * debug/backtracesyms.c: ... here.
21040         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21041         * debug/backtracesymsfd.c: ... here.
21042         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21043         * sysdeps/generic/ifunc-sel.h: ... here.
21045         * sysdeps/unix/i386/start.c: Delete file.
21046         * sysdeps/unix/sparc/start.c: Delete file.
21047         * sysdeps/unix/start.c: Delete file.
21049         * sysdeps/sh/elf/configure.in: Moved to ...
21050         * sysdeps/sh/configure.in: ... here.
21051         * sysdeps/sh/elf/start.S: Moved to ...
21052         * sysdeps/sh/start.S: ... here.
21053         * sysdeps/sh/elf/configure: Delete file.
21055         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21056         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21057         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21058         * sysdeps/powerpc/powerpc64/entry.h: ... here.
21059         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21060         * sysdeps/powerpc/powerpc64/start.S: here.
21061         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21062         * sysdeps/powerpc/powerpc64/Makefile: ... this.
21063         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21064         * sysdeps/powerpc/powerpc64/configure.in: ... this.
21065         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21067         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21068         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21069         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21070         * sysdeps/powerpc/powerpc32/start.S: ... here.
21071         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21072         * sysdeps/powerpc/powerpc32/configure.in: ... this.
21073         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21075         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21076         * sysdeps/powerpc/ifunc-sel.h: ... here.
21077         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21078         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21080         * sysdeps/sparc/elf/configure.in: Moved to ...
21081         * sysdeps/sparc/configure.in: ... here.
21082         * sysdeps/sparc/elf/configure: Delete file.
21083         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21084         * sysdeps/sparc/sparc32/start.S: ... here.
21085         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21086         * sysdeps/sparc/sparc64/start.S: ... here.
21087         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21088         * sysdeps/sparc/sparc32/Makefile: ... this.
21089         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21090         * sysdeps/sparc/sparc64/Makefile: ... this.
21092         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21093         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21094         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21095         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21096         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21097         * sysdeps/s390/s390-32/setjmp.S: ... here.
21098         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21099         * sysdeps/s390/s390-32/configure.in: ... here.
21100         * sysdeps/s390/s390-32/elf/configure: Delete file.
21101         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21102         * sysdeps/s390/s390-32/start.S: ... here.
21104         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21105         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21106         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21107         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21108         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21109         * sysdeps/s390/s390-64/setjmp.S: ... here.
21110         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21111         * sysdeps/s390/s390-64/configure.in: ... here
21112         * sysdeps/s390/s390-64/elf/configure: Delete file.
21113         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21114         * sysdeps/s390/s390-64/start.S: ... here.
21115         * sysdeps/s390/s390-64/elf/configure: Delete.
21117         * configure.in: Remove support for elf directories in sysdeps.
21119         * configure: Regenerated.
21120         * sysdeps/i386/configure: Regenerated.
21121         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21122         * sysdeps/powerpc/powerpc64/configure: Regenerated.
21123         * sysdeps/s390/s390-32/configure: Regenerated.
21124         * sysdeps/s390/s390-64/configure: Regenerated.
21125         * sysdeps/sh/configure: Regenerated.
21126         * sysdeps/sparc/configure: Regenerated.
21127         * sysdeps/x86_64/configure: Regenerated.
21129 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
21131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21133         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21134         denormal result into account.
21136 2012-03-25  Roland McGrath  <roland@hack.frob.com>
21138         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21139         Reported by Allan McRae <allan@archlinux.org>.
21141 2012-03-23  Jeff Law  <law@redhat.com>
21143         * nss/getnssent.c (__nss_getent): Fix typo.
21145 2012-03-23  David S. Miller  <davem@davemloft.net>
21147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21149 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
21151         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21152         to pad to uint64_t for each field.
21153         (dl_tls_index): Replace unsigned long with uint64_t.
21155 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
21156         Paul Pluzhnikov  <ppluzhnikov@google.com>
21158         [BZ #6528]
21159         * grp/Makefile (otherlibs): Don't set it.
21160         * inet/Makefile (otherlibs): Likewise.
21161         * login/Makefile (otherlibs): Likewise.
21162         * nscd/Makefile (otherlibs): Likewise.
21163         * posix/Makefile (otherlibs): Likewise.
21164         * pwd/Makefile (otherlibs): Likewise.
21165         * rt/Makefile (otherlibs): Likewise.
21166         * sunrpc/Makefile (otherlibs): Likewise.
21167         * nss/Makefile (otherlibs): Likewise.
21168         Add libnss_files to routines and static-only-routines.
21169         ($(objpfx)getent): Remove rule.
21170         * resolv/Makefile: Add libnss_dns and libresolv to routines and
21171         static-only-routines.
21173 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
21175         [BZ #13892]
21176         * math/s_cexp.c: Include <float.h>.
21177         (__cexp): Handle exp result overflowing not necessarily
21178         overflowing both real and imaginary parts of result.
21179         * math/s_cexpf.c: Likewise.
21180         * math/s_cexpl.c: Likewise.
21181         * math/libm-test.inc (cexp_test): Add more tests.
21182         * sysdeps/i386/fpu/libm-test-ulps: Update.
21183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21185 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21187         * include/link.h (ELFW): New macro.
21188         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21189         Replace ELF64_R_TYPE with ELFW(R_TYPE).
21191 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21193         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21194         with uint64_t.
21196 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21198         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21199         declaration.
21200         (struct La_x32_retval): Likewise.
21202 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21204         * sysdeps/x86_64/preconfigure.in: New file.
21205         * sysdeps/x86_64/preconfigure: New generated file.
21207 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
21209         [BZ #13824]
21210         * math/e_exp2l.c: Include <float.h>.
21211         (__ieee754_exp2l): Handle overflow and underflow cases
21212         separately.  Only pass fractional part of argument to
21213         __ieee754_expl.
21214         * math/libm-test.inc (exp2_test): Add more tests.
21216         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21217         negating x to take absolute value.
21218         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21219         Likewise.
21220         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21221         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21222         Likewise.
21223         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21224         computing low part if x was negated.
21225         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21227 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21229         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21230         la_x32_gnu_pltexit.
21231         (pltexit): Cast int_retval to ptrdiff_t.
21232         * elf/tst-auditmod3b.c: Likewise.
21233         * elf/tst-auditmod4b.c: Likewise.
21234         * elf/tst-auditmod5b.c: Likewise.
21235         * elf/tst-auditmod6b.c: Likewise.
21236         * elf/tst-auditmod6c.c: Likewise.
21237         * elf/tst-auditmod7b.c: Likewise.
21239         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21240         and x32_gnu_pltexit.
21242         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21243         __ELF_NATIVE_CLASS.
21244         (La_x32_regs): New macro.
21245         (La_x32_retval): Likewise.
21246         (la_x32_gnu_pltenter): New function prototype.
21247         (la_x32_gnu_pltexit): Likewise.
21249 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
21251         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21252         exponent.
21254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21256         * configure.in (libc_cv_cc_nofma): Check for option to disable
21257         generation of FMA instructions.
21258         * configure: Regenerate.
21259         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21260         * sysdeps/ieee754/dbl-64/Makefile: New file.
21261         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21262         Remove brandred-fma4.
21263         (CFLAGS-brandred-fma4.c): Remove.
21264         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21265         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21266         define.
21267         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21268         define.
21270 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21272         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21273         LLONG_MAX != LONG_MAX.
21274         (_itoa_word): Use _ITOA_WORD_TYPE on value.
21275         (_fitoa_word): Likewise.
21276         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21277         LLONG_MAX != LONG_MAX.
21278         * stdio-common/_itowa.h: Include <_itoa.h>.
21279         (_itowa_word): Use _ITOA_WORD_TYPE on value.
21280         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
21281         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
21282         only if not defined.
21283         (_ITOA_WORD_TYPE): Likewise.
21284         (_itoa_word): Use _ITOA_WORD_TYPE on value.
21285         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21287 2012-03-21  David S. Miller  <davem@davemloft.net>
21289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21291 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21293         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21294         of x86_64 when setting libc_cv_slibdir, libdir and
21295         libc_cv_localedir.
21296         * sysdeps/unix/sysv/linux/configure: Regenerated.
21298 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21300         * manual/lang.texi (Old Varargs): Remove section.
21301         (How Variadic): Update menu.
21302         (va_start): Do not mention varargs.h.
21304 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21305             Joseph Myers  <joseph@codesourcery.com>
21307         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21308         link test.
21309         * configure: Regenerated.
21311 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21313         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21314         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21315         conformtest.pl
21317 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21319         * NOTES: Remove.
21320         * Makefile (files-for-dist): Remove NOTES.
21321         (NOTES): Remove rule.
21322         * README: Don't refer to NOTES.
21323         * manual/creature.texi: Don't include macros.texi.
21324         * manual/intro.texi (creature.texi): Remove comment referring to
21325         NOTES.
21327         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21328         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21329         * configure: Regenerated.
21330         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21331         LIBC_TRY_CC_OPTION.
21332         (libc_cv_as_i686): Likewise.
21333         (libc_cv_cc_avx): Likewise.
21334         (libc_cv_cc_sse2avx): Likewise.
21335         (libc_cv_cc_fma4): Likewise.
21336         (libc_cv_cc_novzeroupper): Likewise.
21337         * sysdeps/i386/configure: Regenerated.
21339         [BZ #13883]
21340         * sysdeps/i386/fpu/s_cexp.S: Remove.
21341         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21342         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21343         * math/libm-test.inc (cexp_test): Add more tests.
21344         * sysdeps/i386/fpu/libm-test-ulps: Update.
21345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21347 2012-03-21  Allan McRae  <allan@archlinux.org>
21349         * timezone/Makefile: Do not install iso3166.tab and zone.tab
21351 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21353         [BZ #13871]
21354         * math/w_exp2.c: Do not include <float.h>.
21355         (o_threshold, u_threshold): Remove.
21356         (__exp2): Calculate result before checking finiteness and calling
21357         __kernel_standard.
21358         * math/w_exp2f.c: Likewise.
21359         * math/w_exp2l.c: Likewise.
21360         * math/libm-test.inc (exp2_test): Require overflow exception for
21361         1e6 input.
21363         [BZ #3866]
21364         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21365         range of signed 64-bit integers before using fistpll.  Remove
21366         checks for whether integers fit in mantissa bits.
21367         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21368         the range of signed 32-bit integers before using fistpl.  Remove
21369         checks for whether integers fit in mantissa bits.
21370         * sysdeps/i386/fpu/e_powl.S (p64): New object.
21371         (__ieee754_powl): Test for y outside the range of signed 64-bit
21372         integers before using fistpll.  Reduce 64-bit values to 63-bit
21373         ones as needed.
21374         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21375         divide-by-zero is raised for zero to large negative powers.
21376         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21377         (__ieee754_powl): Test for y outside the range of signed 64-bit
21378         integers before using fistpll.  Reduce 64-bit values to 63-bit
21379         ones as needed.
21380         * math/libm-test.inc (pow_test): Add more tests.
21382 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21384         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21385         <stdio-common/_itoa.h>.
21386         * debug/segfault.c: Likewise.
21387         * elf/dl-cache.c: Likewise.
21388         * elf/dl-minimal.c: Likewise.
21389         * elf/dl-misc.c: Likewise.
21390         * elf/dl-sysdep.c: Likewise.
21391         * elf/dl-version.c: Likewise.
21392         * elf/rtld.c: Likewise.
21393         * hurd/hurdsock.c: Likewise.
21394         * hurd/lookup-retry.c: Likewise.
21395         * malloc/malloc.c: Likewise.
21396         * malloc/mtrace.c: Likewise.
21397         * nscd/nscd_getgr_r.c: Likewise.
21398         * nscd/nscd_getpw_r.c: Likewise.
21399         * nscd/nscd_getserv_r.c: Likewise.
21400         * posix/getopt_init.c: Likewise.
21401         * posix/wordexp.c: Likewise.
21402         * stdio-common/_itoa.c: Likewise.
21403         * stdio-common/printf_fphex.c: Likewise.
21404         * stdio-common/vfprintf.c: Likewise.
21405         * string/_strerror.c: Likewise.
21406         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21407         * sysdeps/i386/i686/hp-timing.h: Likewise.
21408         * sysdeps/mach/_strerror.c: Likewise.
21409         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21410         * sysdeps/mach/hurd/sethostid.c: Likewise.
21411         * sysdeps/mach/hurd/xmknodat.c: Likewise.
21412         * sysdeps/mach/xpg-strerror.c: Likewise.
21413         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21414         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21415         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21416         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21417         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21418         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21419         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21420         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21421         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21422         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21423         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21424         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21425         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21426         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21427         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21428         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21429         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21430         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21431         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21432         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21433         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21435         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21437         * stdio-common/_itoa.h: Moved to ...
21438         * sysdeps/generic/_itoa.h: Here.
21440         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21442         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21443         instead of "_itoa.h" and "_itowa.h".
21444         * stdio-common/vfprintf.: Likewise.
21446 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21448         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21449         <bits/wordsize.h>.
21450         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21451         (__signbit): Likwise.
21452         (llrintf): Likwise.
21453         (llrint): Likwise.
21455 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21457         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21458         __WORDSIZE != 64.
21460 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
21462         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21463         OVERFLOW_EXCEPTION_OK.
21464         * math/libm-test.inc ("Philosophy"): Update comment about
21465         exception testing.
21466         (OVERFLOW_EXCEPTION): Define.
21467         (OVERFLOW_EXCEPTION_OK): Likewise.
21468         (INVALID_EXCEPTION_OK): Renumber.
21469         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21470         (IGNORE_ZERO_INF_SIGN): Likewise.
21471         (test_exceptions): Handle FE_OVERFLOW.
21472         (exp10_test): Expect overflow exceptions.
21473         (exp2_test): Likewise.
21474         (expm1_test): Likewise.
21475         (nextafter_test): Likewise.
21476         (pow_test): Likewise.
21477         (scalbn_test): Likewise.
21478         (scalbln_test): Likewise.
21480 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21482         * sysdeps/x86_64/bits/atomic.h
21483         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21484         64bit integer.
21485         (atomic_exchange_acq): Likewise.
21486         (__arch_exchange_and_add_body): Likewise.
21487         (__arch_add_body): Likewise.
21488         (atomic_add_negative): Likewise.
21489         (atomic_add_zero): Likewise.
21491 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21493         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
21494         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21496 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21498         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21499         Check __x86_64__ instead of __WORDSIZE.
21501 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21503         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21505 2012-03-19  David S. Miller  <davem@davemloft.net>
21507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21509         * sysdeps/sparc/fpu/fenv_private.h: New file.
21510         * sysdeps/sparc/fpu/math_private.h: Use it.
21511         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21512         Remove.
21513         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21514         (libc_feholdexcept_setroundl): Remove.
21515         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21516         Remove.
21517         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21518         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21520 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21522         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21523         int64_t instead of long int.
21524         (INSERT_WORDS64): Likwise.
21526 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21528         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21529         _Unwind_GetCFA return to _Unwind_Ptr first.
21531 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
21533         [BZ #13629]
21534         * math/s_clog.c: Include <float.h>.
21535         (__clog): Scale large or subnormal inputs.
21536         * math/s_clogf.c: Likewise.
21537         * math/s_clogl.c: Likewise.
21538         * math/s_clog10.c: Include <float.h>.
21539         (M_LOG10_2): Define.
21540         (__clog10): Scale large or subnormal inputs.
21541         * math/s_clog10f.c: Likewise.
21542         * math/s_clog10l.c: Likewise.
21543         * math/libm-test.inc (clog_test): Add more tests.
21544         (clog10_test): Likewise.
21545         * sysdeps/i386/fpu/libm-test-ulps: Update.
21546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21548         [BZ #11451]
21549         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21550         x and y.
21551         * math/libm-test.inc (atan2_test): Add another test.
21553         * Makerules (common-objdir-compile): Remove.
21554         * sysdeps/unix/Makefile (config-generated): Do not add
21555         $(unix-generated) to variable.
21556         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21557         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21558         Remove rule.
21559         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21560         Likewise.
21561         [generic bits/local_lim.h] (before-compile): Do not append to
21562         variable.
21563         [generic bits/local_lim.h] (common-generated): Likewise.
21564         [generic sys/param.h] (before-compile): Do not append to variable.
21565         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21566         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21567         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21568         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21569         include.
21570         [generic sys/param.h] (sys/param.h-includes): Remove variable.
21571         [generic sys/param.h] (sys/param.h-includes): Remove rule.
21572         [generic sys/param.h] ($(addprefix
21573         $(common-objpfx),$(sys/param.h-includes))): Likewise.
21574         [generic sys/param.h] (common-generated): Do not append to
21575         variable.
21576         [generic sys/param.h] (sysdep_headers): Likewise.
21577         [generic bits/errno.h] (before-compile): Do not append to
21578         variable.
21579         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21580         rule.
21581         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21582         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21583         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21584         [generic bits/errno.h] (common-generated): Do not append to
21585         variable.
21586         [generic bits/ioctls.h] (before-compile): Do not append to
21587         variable.
21588         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21589         rule.
21590         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21591         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21592         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21593         rule.
21594         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21595         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21596         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21597         [generic bits/ioctls.h] (common-generated): Do not append to
21598         variable.
21599         [generic sys/syscall.h] (syscall.h): Remove variable.
21600         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21601         rule.
21602         [generic sys/syscall.h] (before-compile): Do not append to
21603         variable.
21604         [generic sys/syscall.h] (common-generated): Likewise.
21605         * sysdeps/unix/errnos-tmpl.c: Remove file.
21606         * sysdeps/unix/errnos.awk: Likewise.
21607         * sysdeps/unix/ioctls-tmpl.c: Likewise.
21608         * sysdeps/unix/ioctls.awk: Likewise.
21609         * sysdeps/unix/mk-local_lim.c: Likewise.
21610         * sysdeps/unix/snarf-ioctls: Likewise.
21612 2012-03-19  Richard Henderson  <rth@twiddle.net>
21614         * sysdeps/i386/fpu/fenv_private.h: New file.
21615         * sysdeps/i386/fpu/math_private.h: Use it.
21616         (math_opt_barrier, math_force_eval): Remove.
21617         (libc_feholdexcept_setround_53bit): Remove.
21618         (libc_feupdateenv_53bit): Remove.
21619         * sysdeps/x86_64/fpu/math_private.h: Likewise.
21620         (math_opt_barrier, math_force_eval): Remove.
21621         (libc_feholdexcept): Remove.
21622         (libc_feholdexcept_setround): Remove.
21623         (libc_fetestexcept, libc_fesetenv): Remove.
21624         (libc_feupdateenv_test): Remove.
21625         (libc_feupdateenv, libc_feholdsetround): Remove.
21626         (libc_feresetround): Remove.
21628         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21629         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21631         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21632         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21633         (libc_feupdateenv_testl): New.
21634         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21635         (libc_feupdateenv_testf): New.
21636         (libc_feupdateenv): Use libc_feupdateenv_test.
21637         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21638         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21640         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21641         (libc_feholdsetroundf, libc_feholdsetroundl): New.
21642         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21643         (libc_feresetround_noex): New.
21644         (libc_feresetround_noexf): New.
21645         (libc_feresetround_noexl): New.
21646         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21647         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21648         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21649         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21650         SET_RESTORE_ROUND.
21651         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21652         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21653         (__cos): Likewise.
21654         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21655         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21656         SET_RESTORE_ROUND_NOEX.
21657         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21658         SET_RESTORE_ROUND_NOEXF.
21659         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21660         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21661         (libc_feholdsetroundf): New.
21662         (libc_feresetround, libc_feresetroundf): New.
21664         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21665         (libc_feholdexcept_setround_53bit): Convert from macro to function.
21666         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
21668         * sysdeps/generic/math_private.h: Include <fenv.h>.
21669         (default_libc_feholdexcept): New.
21670         (default_libc_feholdexcept_setround): New.
21671         (default_libc_fesetenv, default_libc_feupdateenv): New.
21672         (libc_feholdexcept): Only define if undefined.
21673         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21674         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21675         (libc_feholdexcept_setroundl): Likewise.
21676         (libc_feholdexcept_setround_53bit): Likewise.
21677         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21678         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21679         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21680         (libc_feupdateenv_53bit): Likewise.
21681         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21682         (libc_feholdexcept): Convert from macro to inline function.
21683         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21684         (libc_fesetenv, libc_feupdateenv): Likewise.
21686         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21687         not previously defined.
21688         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21689         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21690         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21691         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21692         * sysdeps/ieee754/flt-32/math_private.h: New file.
21693         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21694         math_private.h below SET_FLOAT_WORD.
21695         (__isnan, __isinf_ns, __finite): Remove.
21696         (__isnanf, __isinf_nsf, __finitef): Remove.
21698 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
21700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21702 2012-03-17  David S. Miller  <davem@davemloft.net>
21704         [BZ #6471]
21705         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21706         for 2.16.
21708 2012-03-16  David S. Miller  <davem@davemloft.net>
21710         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21711         warnings.
21713         [BZ #6471]
21714         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21715         properly.
21716         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21717         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21718         sysdep_routines when subdir is sysvipc.
21719         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21720         __getshmlba helper.
21722         * sysdeps/sparc/fpu/libm-test/ulps: Update.
21724 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21726         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21727         [__LP64__].
21729 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21731         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21732         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21733         (__lround): Renamed to ...
21734         (__llround): This.  Replace long int with long long int.
21735         Define lround functions as aliases of llround functions.
21736         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21738 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21740         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21741         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
21742         adresses to uintptr_t.  Replace "long int" and "unsigned long
21743         int" with "greg_t" on va_arg.
21745 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21747         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21748         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21750         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21751         Move e_machine check before EI_CLASS check.  Handle x32
21752         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21753         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21754         SKIP_EM_IA_64 and include
21755         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21757         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21758         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21759         (add_system_dir): New macro.
21761         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21762         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21764 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
21766         [BZ #2551]
21767         [BZ #2552]
21768         [BZ #2553]
21769         [BZ #2554]
21770         [BZ #2562]
21771         [BZ #2563]
21772         [BZ #2565]
21773         [BZ #2566]
21774         [BZ #2576]
21775         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21776         (y0): Likewise.
21777         * math/w_j0f.c (j0f): Likewise.
21778         (y0f): Likewise.
21779         * math/w_j0l.c (__j0l): Likewise.
21780         (__y0l): Likewise.
21781         * math/w_j1.c (j1): Likewise.
21782         (y1): Likewise.
21783         * math/w_j1f.c (j1f): Likewise.
21784         (y1f): Likewise.
21785         * math/w_j1l.c (__j1l): Likewise.
21786         (__y1l): Likewise.
21787         * math/w_jn.c (jn): Likewise.
21788         (yn): Likewise.
21789         * math/w_jnf.c (jnf): Likewise.
21790         (ynf): Likewise.
21791         * math/w_jnl.c (__jnl): Likewise.
21792         (__ynl): Likewise.
21793         * math/libm-test.inc (j0_test): Add more tests.
21794         (j1_test): Likewise.
21795         (jn_test): Likewise.  Add trailing semicolon to existing test.
21796         (y0_test): Likewise.
21797         (y1_test): Likewise.
21798         * sysdeps/i386/fpu/libm-test-ulps: Update.
21799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21801         [BZ #13851]
21802         [BZ #13854]
21803         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21804         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21805         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21806         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21807         (__tanl): Set errno for infinite argument.
21808         * sysdeps/i386/fpu/mptan.c: Remove.
21809         * sysdeps/i386/fpu/s_tan.S: Likewise.
21810         * sysdeps/i386/fpu/s_tanl.S: Likewise.
21811         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21812         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21813         * math/libm-test.inc (tan_test): Add more tests and enable more
21814         tests for double and long double.
21815         * sysdeps/i386/fpu/libm-test-ulps: Update.
21816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21818 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
21820         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21821         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21823 2012-03-16  Roland McGrath  <roland@hack.frob.com>
21825         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21826         * configure.in: Use it for both main tree and add-ons.
21827         * configure: Regenerated.
21829 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21831         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21833 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
21835         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21836         in comment.
21838         [BZ #13851]
21839         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21840         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21841         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21842         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21843         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21844         infinite argument.
21845         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21846         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21847         != 0 for prec == 2.
21848         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21849         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21850         * sysdeps/i386/fpu/s_cosl.S: Likewise.
21851         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21852         * sysdeps/i386/fpu/s_sinl.S: Likewise.
21853         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21854         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21855         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21856         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21857         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21858         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21859         * math/libm-test.inc (cos_test): Add more tests and enable more
21860         tests for long double.
21861         (sin_test): Likewise.
21862         (sincos_test): Likewise.
21863         * sysdeps/i386/fpu/libm-test-ulps: Update.
21864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21866 2012-03-16  David S. Miller  <davem@davemloft.net>
21868         * sysdeps/sparc/fpu/math_private.h: New file.
21870 2012-03-15  David S. Miller  <davem@davemloft.net>
21872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21873         file.
21874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
21875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21876         file.
21877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21878         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21879         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21880         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21881         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21882         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21883         sysdep routines.
21884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21886         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21887         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21889         * sysdeps/sparc/sparc-ifunc.h: New file.
21890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21891         sparc-ifunc.h
21892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21894         Likewise.
21895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21896         Likewise.
21897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21901         Likewise.
21902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
21906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21907         Likewise.
21908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21909         Likewise.
21910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21914         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21915         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21916         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21917         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21918         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21919         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21920         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21921         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21922         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21923         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21924         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21925         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21926         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21927         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21928         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21929         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21930         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21931         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21932         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21933         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21935 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
21937         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21938         scaling.
21939         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21941 2012-03-15  Andreas Jaeger  <aj@suse.de>
21943         [BZ #13852]
21944         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21945         ieee754/flt-32 implementation for sin, cos and sincos.
21946         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21947         * sysdeps/i386/fpu/s_cosf.S: Likewise.
21948         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21949         * sysdeps/i386/fpu/s_sinf.S: Likewise.
21950         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21951         ieee754/flt-32 implementation for tan.
21953         * math/libm-test.inc (cos_test): Enable some large input tests for
21954         float as well
21955         (sin_test): Likewise.
21956         (sincos_test): Likewise.
21957         (tan_test): Add tests for large input.
21959         * sysdeps/i386/fpu/libm-test-ulps: Update.
21961 2012-03-15  Andreas Jaeger  <aj@suse.de>
21963         [BZ #13658]
21964         * math/libm-test.inc (cos_test): Add more test cases.
21965         (sin_test): Likewise.
21966         (sincos_test): Likewise.
21968 2012-03-15  Andreas Jaeger  <aj@suse.de>
21970         [BZ #13837]
21971         * math/libm-test.inc (cos_test): Add a test case for large input
21972         value.
21973         (sin_test): Likewise.
21974         (sincos_test): Likewise.
21976 2012-03-15  Andreas Jaeger  <aj@suse.de>,
21977         Joseph Myers  <joseph@codesourcery.com>
21979         [BZ #13658]
21980         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
21981         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21982         * sysdeps/i386/fpu/branred.c: Likewise.
21983         * sysdeps/i386/fpu/dosincos.c: Likewise.
21984         * sysdeps/i386/fpu/mpa.c: Likewise.
21985         * sysdeps/i386/fpu/s_cos.S: Likewise.
21986         * sysdeps/i386/fpu/s_sin.S: Likewise.
21987         * sysdeps/i386/fpu/s_sincos.S: Likewise.
21988         * sysdeps/i386/fpu/sincos32.c: Likewise.
21990         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21991         Define.
21992         (libc_feupdateenv_53bit): Define.
21993         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21994         Define.
21995         (libc_feupdateenv_53bit): Define.
21997         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21998         53 bit (without extend i386 double precision).
22000         * math/libm-test.inc (sincos_test): Add tests for large input.
22001         (sin): Likewise.
22002         (cos): Likewise.
22004         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22006 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
22008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22010 2012-03-15  David S. Miller  <davem@davemloft.net>
22012         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22013         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22014         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22015         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22020         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22021         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22022         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22023         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22024         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22025         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22026         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22028         file.
22029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22031         file.
22032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22034         file.
22035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22037         file.
22038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22039         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22040         fmin/fmax sysdep routines.
22041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22043 2012-03-14  David S. Miller  <davem@davemloft.net>
22045         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22046         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22047         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22048         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22049         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22050         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22051         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22052         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22053         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22054         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22055         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22056         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22057         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22058         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22059         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22060         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22061         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22062         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22063         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22064         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22065         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22066         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22067         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22068         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22069         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22070         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22071         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22072         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22073         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22074         routines.
22075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22076         file.
22077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22079         file.
22080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22082         file.
22083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22085         file.
22086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22088         file.
22089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22091         file.
22092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22093         file.
22094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22095         file.
22096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22097         file.
22098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22099         New file.
22100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22101         file.
22102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22103         file.
22104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
22105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22106         file.
22107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
22108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22109         file.
22110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
22111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22112         file.
22113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
22114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22115         VIS3 routines.
22117         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22118         New file.
22120         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22122         * sysdeps/sparc/configure.in: New file.
22123         * sysdeps/sparc/configure: Generate.
22124         * configure.in (libc_cv_sparc_as_vis3): Substitute.
22125         * configure: Regenerate.
22126         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22127         * config.make.in (have-as-vis3): New.
22128         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22129         available use -Av9d instead of -Av9a.
22130         * sysdeps/sparc/sparc64/Makefile: Likewise.
22131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
22132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22133         New file.
22134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22135         file.
22136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22137         New file.
22138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22139         file.
22140         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22141         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22142         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22143         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22144         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22146         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22147         fzeros/fnegs to load 0x80000000 into a float register instead of
22148         using the stack.
22149         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22151 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
22153         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22154         bits/syscall.h.
22155         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22156         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22157         ($(inst_includedir)/bits/syscall.h): Remove rule.
22158         ($(objpfx)bits/syscall.d): Include instead of
22159         $(objpfx)syscall-list.d.
22160         (generated): Change syscall-list.h and syscall-list.d to
22161         bits/syscall.h and bits/syscall.d.
22163 2012-03-14  Roland McGrath  <roland@hack.frob.com>
22165         [BZ #13846]
22166         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22168 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
22170         [BZ #13841]
22171         * math/s_csqrt.c: Include <float.h>.
22172         (__csqrt): Scale large or subnormal inputs.
22173         * math/s_csqrtf.c: Likewise.
22174         * math/s_csqrtl.c: Likewise.
22175         * math/libm-test.inc (csqrt_test): Add more tests.
22176         * sysdeps/i386/fpu/libm-test-ulps: Update.
22177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22179         [BZ #13840]
22180         * math/libm-test.inc (hypot_test): Add more tests.
22182 2012-03-13  David S. Miller  <davem@davemloft.net>
22184         [BZ #13840]
22185         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22186         double-precision for the calculation instead of scaling.
22188 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
22190         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22191         manipulate bits before adding and subtracting TWO52[sx].
22192         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22193         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22194         Likewise.
22195         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22197 2012-03-13  David S. Miller  <davem@davemloft.net>
22199         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22200         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22201         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22202         rtld-global-offsets.h
22203         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22205         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22206         large parameters.
22208         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22210         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22211         'err' in the ifdef scope in which it is actually used.
22213         * nss/nss_db/db-init.c: Include string.h
22215 2012-03-12  David S. Miller  <davem@davemloft.net>
22217         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22218         masking out of the most significant byte of random value used.
22219         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22220         Fix coding style in previous change.
22222         * sysdeps/unix/sysv/linux/kernel-features.h
22223         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22224         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22225         expression.
22226         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22227         later.
22229 2012-03-11  David S. Miller  <davem@davemloft.net>
22231         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22232         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22233         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22234         for 'resultvar' otherwise things get truncated on 64-bit.
22236         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22237         Fix masking out of the most significant byte of random value used.
22239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22241 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
22243         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22245 2012-03-09  David S. Miller  <davem@davemloft.net>
22247         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22248         variables with appropriate CPP guards.
22249         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22250         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
22251         on resulting framesize and the management of the outregs buffer for pltexit.
22252         Preserve floating point return values across _dl_call_pltexit call.
22253         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22254         framesize and the management of the outregs buffer for pltexit.
22255         Preserve floating point return values across _dl_call_pltexit
22256         call.
22257         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22258         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22259         (print_exit): Fix format string for return register value.
22261 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
22263         * sunrpc/Makefile (others): Add rpcgen.
22264         ($(objpfx)rpcgen): Remove special build rule and dependency on
22265         libc.
22266         * sunrpc/rpcgen.c: New file.
22268 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
22270         [BZ #13673]
22271         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22272         * stdio-common/bug-vfprintf-nargs.c: Likewise.
22273         * sysdeps/i386/crti.S: Likewise.
22274         * sysdeps/i386/crtn.S: Likewise.
22275         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22276         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22277         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22278         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22279         * sysdeps/sh/crti.S: Likewise.
22280         * sysdeps/sh/crtn.S: Likewise.
22281         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22283         [BZ #13673]
22284         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22285         with URL.
22286         * locale/programs/locfile-kw.gperf: Likewise.
22287         * locale/programs/charmap-kw.h: Regenerated.
22288         * locale/programs/locfile-kw.h: Likewise.
22290         [BZ #13673]
22291         * intl/plural.y: Replace FSF snail mail address with URL.
22292         * intl/plural.c: Regenerated.
22294 2012-03-09  Richard Henderson  <rth@twiddle.net>
22296         * include/math_private.h: Remove file.
22297         * math/math_private.h: Move file ...
22298         * sysdeps/generic/math_private.h: ... here.
22300         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22301         * sysdeps/powerpc/fpu/math_private.h: Likewise.
22302         * sysdeps/x86_64/fpu/math_private.h: Likewise.
22304         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
22305         and <math_private.h>.
22306         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22307         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22308         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22309         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22310         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22311         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22312         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22313         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22314         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22315         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22316         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22317         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22318         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22319         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22320         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22321         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22322         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22323         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22324         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22325         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22326         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22327         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22328         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22329         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22330         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22331         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22332         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22333         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22334         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22335         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22336         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22337         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22338         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22339         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22340         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22341         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22342         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22343         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22344         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22345         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22346         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22347         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22348         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22349         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22350         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22351         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22352         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22353         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22354         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22355         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22356         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22357         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22358         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22359         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22360         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22361         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22362         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22363         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22364         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22365         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22366         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22367         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22368         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22369         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22370         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22371         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22372         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22373         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22374         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22375         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22376         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22377         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22378         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22379         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22380         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22381         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22382         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22383         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22384         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22385         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22386         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22387         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22388         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22389         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22390         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22391         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22392         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22393         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22394         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22395         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22396         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22397         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22398         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22399         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22400         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22401         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22402         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22403         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22404         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22405         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22406         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22407         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22408         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22409         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22410         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22411         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22412         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22413         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22414         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22415         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22416         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22417         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22418         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22419         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22420         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22421         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22422         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22423         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22424         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22425         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22426         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22427         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22428         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22429         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22430         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22431         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22432         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22433         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22434         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22435         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22436         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22437         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22438         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22439         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22440         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22441         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22442         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22443         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22444         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22445         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22446         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22447         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22448         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22449         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22450         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22451         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22452         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22453         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22454         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22455         * sysdeps/ieee754/k_standard.c: Likewise.
22456         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22457         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22458         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22459         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22460         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22461         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22462         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22463         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22464         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22465         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22466         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22467         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22468         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22469         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22470         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22471         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22472         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22473         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22474         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22475         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22476         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22477         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22478         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22479         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22480         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22481         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22482         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22483         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22484         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22485         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22486         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22487         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22488         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22489         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22490         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22491         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22492         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22493         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22494         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22495         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22496         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22497         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22498         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22499         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22500         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22501         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22502         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22503         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22504         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22505         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22506         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22507         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22508         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22509         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22510         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22511         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22512         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22513         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22514         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22515         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22516         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22517         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22518         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22519         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22520         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22521         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22522         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22523         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22524         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22525         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22526         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22527         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22528         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22529         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22530         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22531         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22532         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22533         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22534         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22535         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22536         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22537         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22538         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22539         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22540         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22541         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22542         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22543         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22544         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22545         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22546         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22547         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22548         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22549         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22550         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22551         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22552         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22553         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22554         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22555         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22556         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22557         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22558         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22559         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22560         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22561         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22562         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22563         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22564         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22565         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22566         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22567         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22568         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22569         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22570         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22571         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22572         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22573         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22574         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22575         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22576         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22577         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22578         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22579         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22580         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22581         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22582         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22583         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22584         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22585         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22586         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22587         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22588         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22589         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22590         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22591         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22592         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22593         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22594         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22595         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22596         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22597         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22598         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22599         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22600         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22601         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22602         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22603         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22604         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22605         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22606         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22607         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22608         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22609         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22610         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22611         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22612         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22613         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22614         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22615         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22616         * sysdeps/ieee754/s_lib_version.c: Likewise.
22617         * sysdeps/ieee754/s_matherr.c: Likewise.
22618         * sysdeps/ieee754/s_signgam.c: Likewise.
22619         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22620         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22621         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22622         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22623         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22624         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22625         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22626         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22627         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22628         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22629         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22630         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22631         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22632         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22633         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22634         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22635         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22636         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22637         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22638         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22639         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22641 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
22643         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22644         * sunrpc/rpc_main.c: Likewise.
22645         * sunrpc/rpc_svcout.c: Likewise.
22647 2012-03-09  David S. Miller  <davem@davemloft.net>
22649         * include/math_private.h: New file.
22651 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
22653         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22654         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22655         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22656         from <bits/socket_type.h>.
22657         (enum __socket_type): Don't define here.
22658         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22659         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22660         bits/socket_type.h.
22662         [BZ #13566]
22663         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22664         checking __USE_GNU.
22666         * Makerules ($(inst_includedir)/%.h): New rule.
22667         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22668         (install-others): Remove variable setting.
22669         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22671 2012-03-08  Richard Henderson  <rth@twiddle.net>
22673         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22674         from macro to inline function; merge with the
22675         !__LIBC_INTERNAL_MATH_INLINES version.
22676         (__ieee754_sqrtf): Likewise.
22678         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22679         to inline function.
22680         (__rintf, __floor, __floorf): Likewise.
22682         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22683         macro to inline function.
22684         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22686         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22687         not <math/math_private.h>.
22689 2012-03-08  David S. Miller  <davem@davemloft.net>
22691         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22692         copyright year.
22693         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22695 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
22697         * resolv/gai_misc.c (handle_requests): Fix struct timespec
22698         normalization.
22699         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22700         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22702 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
22704         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
22705         be defined individually, they must be defined as a block.  Define
22706         S for printing a string instead of hidint the different by using a
22707         macro for adding the 'l'.
22708         * stdio-common/tst-fphex-wide.c: Adjust.
22710 2012-03-07  Marek Polacek  <polacek@redhat.com>
22712         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22714 2012-03-08  Marek Polacek  <polacek@redhat.com>
22716         [BZ #13806]
22717         * stdio-common/Makefile (tests): Add tst-fphex-wide.
22718         * stdio-common/tst-fphex.c: Define a few macros to make the
22719         test reusable.  Use them.
22720         * stdio-common/tst-fphex-wide.c: New file.
22722 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
22724         [BZ #6911]
22725         * manual/macros.texi (gnusystems): New macro.
22726         (nongnusystems): Likewise.
22727         (gnulinuxhurdsystems): Likewise.
22728         (gnuhurdsystems): Likewise..
22729         (gnulinuxsystems): Likewise.
22730         * manual/charset.texi: Use new macros or @theglibc{} to refer to
22731         variants of the GNU system, not "GNU system".
22732         * manual/conf.texi: Likewise.
22733         * manual/errno.texi: Likewise.  Update example of errno macro
22734         expansion.
22735         * manual/filesys.texi: Likewise.
22736         (getumask): Document as specific to GNU/Hurd.
22737         * manual/install.texi: Likewise.  Reword some references to
22738         GNU/Linux.
22739         * manual/intro.texi: Likewise.
22740         * manual/io.texi: Likewise.
22741         (File Name Portability): Detail which constraints are inapplicable
22742         to all GNU systems and which are only inapplicable to GNU/Hurd.
22743         * manual/job.texi: Likewise.
22744         * manual/llio.texi: Likewise.
22745         (O_NOCTTY): Document as present on GNU/Linux.
22746         * manual/maint.texi: Likewise.
22747         * manual/memory.texi: Likewise.
22748         * manual/pattern.texi: Likewise.
22749         * manual/pipe.texi: Likewise.
22750         * manual/process.texi: Likewise.
22751         * manual/resource.texi: Likewise.
22752         (RUSAGE_CHILDREN): Remove statement about specifying a particular
22753         child on GNU/Hurd.
22754         * manual/setjmp.texi: Likewise.
22755         * manual/signal.texi: Likewise.
22756         * manual/startup.texi: Likewise.
22757         * manual/stdio.texi: Likewise.
22758         * manual/terminal.texi: Likewise.
22759         (ONLCR): Document as POSIX.
22760         (OXTABS): Document availability on GNU/Linux as XTABS.
22761         (ONOEOT): Document availability separately from other bits.
22762         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22763         * manual/time.texi: Likewise.
22764         * manual/users.texi: Likewise.
22765         * INSTALL: Regenerated.
22766         * sysdeps/gnu/errlist.c: Regenerated.
22768         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22769         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22770         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
22771         puts.
22772         * configure: Regenerated.
22774 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
22776         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22777         default includes instead of AC_HEADER_CHECK.
22778         * sysdeps/i386/configure: Regenerated.
22780         [BZ #10716]
22781         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22782         * math/s_cacoshf.c (__cacoshf): Likewise.
22783         * math/s_cacoshl.c (__cacoshl): Likewise.
22784         * math/s_casinh.c (__casinh): Set signs of result from argument.
22785         * math/s_casinhf.c (__casinhf): Likewise.
22786         * math/s_casinhl.c (__casinhl): Likewise.
22787         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22788         (casinh_test): Add more tests.
22789         * sysdeps/i386/fpu/libm-test-ulps: Update.
22790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22792 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
22794         * po/zh_TW.po: Update from translation team.
22796         * login/Makefile (distribute): Remove variable.
22797         * catgets/Makefile: Likewise.
22798         * mach/Makefile: Likewise.
22799         * malloc/Makefile: Likewise.
22800         * misc/Makefile: Likewise.
22801         * iconv/Makefile: Likewise.
22802         * nscd/Makefile: Likewise.
22803         * hurd/Makefile: Likewise.
22804         * manual/Makefile: Likewise.
22805         * locale/Makefile: Likewise.
22806         * intl/Makefile: Likewise.
22807         * conform/Makefile: Likewise.
22808         * nss/Makefile: Likewise.
22809         * time/Makefile: Likewise.
22810         * soft-fp/Makefile: Likewise.
22811         * dirent/Makefile: Likewise.
22812         * gmon/Makefile: Likewise.
22813         * po/Makefile: Likewise.
22814         * rt/Makefile: Likewise.
22815         * socket/Makefile: Likewise.
22816         * math/Makefile: Likewise.
22817         * signal/Makefile: Likewise.
22818         * debug/Makefile: Likewise.
22819         * elf/Makefile: Likewise.
22820         * timezone/Makefile: Likewise.
22821         * stdlib/Makefile: Likewise.
22822         * iconvdata/Makefile: Likewise.
22823         * sunrpc/Makefile: Likewise.
22824         * io/Makefile: Likewise.
22825         * argp/Makefile: Likewise.
22826         * inet/Makefile: Likewise.
22827         * hesiod/Makefile: Likewise.
22828         * grp/Makefile: Likewise.
22829         * csu/Makefile: Likewise.
22830         * wctype/Makefile: Likewise.
22831         * crypt/Makefile: Likewise.
22832         * libio/Makefile: Likewise.
22833         * string/Makefile: Likewise.
22834         * nis/Makefile: Likewise.
22835         * resolv/Makefile: Likewise.
22836         * stdio-common/Makefile: Likewise.
22837         * wcsmbs/Makefile: Likewise.
22838         * dlfcn/Makefile: Likewise.
22839         * posix/Makefile: Likewise.
22841         [BZ #6959]
22842         * timezone/Makefile: Don't install timezone files, just the programs
22843         and scripts.
22845 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
22847         * nss/databases.def: Add missing gshadow entry.
22849         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
22851 2012-03-06  Marek Polacek  <polacek@redhat.com>
22853         [BZ #13726]
22854         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22855         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22856         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22857         * stdio-common/tst-long-dbl-fphex.c: New file.
22859 2012-03-06  David S. Miller  <davem@davemloft.net>
22861         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22862         (set_obp_int): New function.
22863         (get_obp_int): New function.
22864         (__get_clockfreq_via_dev_openprom): Likewise.
22865         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22866         Avoid unused variable warnings on 'val' and use builtin_expect.
22867         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22868         __builtin_expect.
22869         (INLINE_CLONE_SYSCALL): Likewise.
22871 2012-03-05  David S. Miller  <davem@davemloft.net>
22873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22875 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
22877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22879         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22880         only for |x| >= 40.
22881         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22883 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22885         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22886         Replace gettimeofday with __vdso_gettimeofday.
22888         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22889         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22890         __vdso_clock_gettime and __vdso_getcpu.
22892         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22893         time with __vdso_time.
22895 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
22897         * manual/lang.texi (size_t): Note types to which size_t may be
22898         equivalent with the GNU C Library, but do not describe when
22899         differences between them are significant.
22901 2012-03-05  Andreas Jaeger  <aj@suse.de>
22903         * sysdeps/i386/fpu/libm-test-ulps: Update.
22905 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
22907         [BZ #3976]
22908         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22909         (__ieee754_pow): Save and restore rounding mode and use
22910         round-to-nearest for main computations.
22911         * math/libm-test.inc (pow_test_tonearest): New function.
22912         (pow_test_towardzero): Likewise.
22913         (pow_test_downward): Likewise.
22914         (pow_test_upward): Likewise.
22915         (main): Call the new functions.
22916         * sysdeps/i386/fpu/libm-test-ulps: Update.
22917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22919         [BZ #3976]
22920         * math/libm-test.inc (cosh_test_tonearest): New function.
22921         (cosh_test_towardzero): Likewise.
22922         (cosh_test_downward): Likewise.
22923         (cosh_test_upward): Likewise.
22924         (sinh_test_tonearest): Likewise.
22925         (sinh_test_towardzero): Likewise.
22926         (sinh_test_downward): Likewise.
22927         (sinh_test_upward): Likewise.
22928         (main): Call the new functions.
22929         * sysdeps/i386/fpu/libm-test-ulps: Update.
22930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22932 2012-03-05  Tom de Vries  <tom@codesourcery.com>
22934         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22935         default stack guard is set in last bytes.
22936         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22938 2012-03-05  Kees Cook  <keescook@chromium.org>
22940         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
22942         [BZ #13656]
22943         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22944         possibly allocate from heap instead of stack.
22945         * stdio-common/bug-vfprintf-nargs.c: New file.
22946         * stdio-common/Makefile (tests): Add nargs overflow test.
22948 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
22950         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22952 2012-03-03  Marek Polacek  <polacek@redhat.com>
22954         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22955         * math/math_private.h: Likewise.
22956         * stdlib/tst-strtod.c: Likewise.
22957         * sysdeps/i386/i486/bits/atomic.h: Likewise.
22958         * sysdeps/x86_64/bits/atomic.h: Likewise.
22960 2012-03-02  David S. Miller  <davem@davemloft.net>
22962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22966         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22967         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22968         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22969         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22971 2012-03-02  Roland McGrath  <roland@hack.frob.com>
22973         [BZ #13792]
22974         * manual/examples/README: New file, says the example source files
22975         can be used under GPL>=2.
22976         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22977         line containing just "*/".
22978         * manual/examples/add.c: Add copyright header (GPL>=2).
22979         * manual/examples/argp-ex1.c: Likewise.
22980         * manual/examples/argp-ex2.c: Likewise.
22981         * manual/examples/argp-ex3.c: Likewise.
22982         * manual/examples/argp-ex4.c: Likewise.
22983         * manual/examples/atexit.c: Likewise.
22984         * manual/examples/db.c: Likewise.
22985         * manual/examples/dir.c: Likewise.
22986         * manual/examples/dir2.c: Likewise.
22987         * manual/examples/execinfo.c: Likewise.
22988         * manual/examples/filecli.c: Likewise.
22989         * manual/examples/filesrv.c: Likewise.
22990         * manual/examples/fmtmsgexpl.c: Likewise.
22991         * manual/examples/genpass.c: Likewise.
22992         * manual/examples/inetcli.c: Likewise.
22993         * manual/examples/inetsrv.c: Likewise.
22994         * manual/examples/isockad.c: Likewise.
22995         * manual/examples/longopt.c: Likewise.
22996         * manual/examples/memopen.c: Likewise.
22997         * manual/examples/memstrm.c: Likewise.
22998         * manual/examples/mkfsock.c: Likewise.
22999         * manual/examples/mkisock.c: Likewise.
23000         * manual/examples/mygetpass.c: Likewise.
23001         * manual/examples/pipe.c: Likewise.
23002         * manual/examples/popen.c: Likewise.
23003         * manual/examples/rprintf.c: Likewise.
23004         * manual/examples/search.c: Likewise.
23005         * manual/examples/select.c: Likewise.
23006         * manual/examples/setjmp.c: Likewise.
23007         * manual/examples/sigh1.c: Likewise.
23008         * manual/examples/sigusr.c: Likewise.
23009         * manual/examples/stpcpy.c: Likewise.
23010         * manual/examples/strdupa.c: Likewise.
23011         * manual/examples/strftim.c: Likewise.
23012         * manual/examples/strncat.c: Likewise.
23013         * manual/examples/subopt.c: Likewise.
23014         * manual/examples/swapcontext.c: Likewise.
23015         * manual/examples/termios.c: Likewise.
23016         * manual/examples/testopt.c: Likewise.
23017         * manual/examples/testpass.c: Likewise.
23018         * manual/examples/timeval_subtract.c: Likewise.
23020         [BZ #13792]
23021         * manual/time.texi (Elapsed Time): Move timeval_subtract example
23022         function to ...
23023         * manual/timeval_subtract.c.texi: ... here, new file.
23025 2012-03-02  David S. Miller  <davem@davemloft.net>
23027         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23029 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
23031         [BZ #3976]
23032         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23033         (__sin): Save and restore rounding mode and use round-to-nearest
23034         for all computations.
23035         (__cos): Save and restore rounding mode and use round-to-nearest
23036         for all computations.
23037         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23038         <fenv.h>.
23039         (tan): Save and restore rounding mode and use round-to-nearest for
23040         all computations.
23041         * math/libm-test.inc (cos_test_tonearest): New function.
23042         (cos_test_towardzero): Likewise.
23043         (cos_test_downward): Likewise.
23044         (cos_test_upward): Likewise.
23045         (sin_test_tonearest): Likewise.
23046         (sin_test_towardzero): Likewise.
23047         (sin_test_downward): Likewise.
23048         (sin_test_upward): Likewise.
23049         (tan_test_tonearest): Likewise.
23050         (tan_test_towardzero): Likewise.
23051         (tan_test_downward): Likewise.
23052         (tan_test_upward): Likewise.
23053         (main): Call the new functions.
23054         * sysdeps/i386/fpu/libm-test-ulps: Update.
23055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23057         [BZ #10135]
23058         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23059         small n, then large n, before computing and testing k+n.
23060         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23061         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23062         Likewise.
23063         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23064         Likewise.
23065         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23066         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23067         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23068         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23069         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23070         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23071         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23072         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23073         * math/libm-test.inc (scalbn_test): Add more tests.
23074         (scalbln_test): Likewise.
23076         * manual/filesys.texi (mode_t): Describe constraints on size and
23077         signedness, not exact equivalence to a particular type.
23078         (ino_t): Likewise.
23079         (ino64_t): Likewise.
23080         (dev_t): Likewise.
23081         (nlink_t): Likewise.
23082         (blkcnt_t): Likewise.
23083         (blkcnt64_t): Likewise.
23084         * manual/llio.texi (off_t): Likewise.
23086         [BZ #3976]
23087         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23088         (__ieee754_exp): Save and restore rounding mode and use
23089         round-to-nearest for all computations.
23090         * math/libm-test.inc (exp_test_tonearest): New function.
23091         (exp_test_towardzero): Likewise.
23092         (exp_test_downward): Likewise.
23093         (exp_test_upward): Likewise.
23094         (main): Call the new functions.
23095         * sysdeps/i386/fpu/libm-test-ulps: Update.
23096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23098 2012-03-01  Chris Demetriou  <cgd@google.com>
23100         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23101         have predictable order.
23103 2012-03-01  David S. Miller  <davem@davemloft.net>
23105         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23107         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23108         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23109         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23110         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23112         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23113         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23114         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23116         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23117         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23118         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23119         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23120         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23124         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23125         * sysdeps/sparc/fpu/libm-test-ulps: to here.
23126         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23128         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23129         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23130         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23131         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23132         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23133         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23134         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23135         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23136         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23137         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23138         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23139         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23140         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23141         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23142         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23143         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23144         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23145         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23146         * sysdeps/sparc/elf/configure: Regenerated.
23148 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
23150         * configure.in (AS, LD): Require binutils 2.20 or later.
23151         * configure: Regenerated.
23152         * manual/install.texi (Tools for Compilation): Give binutils 2.20
23153         as required minimum version.
23154         * INSTALL: Regenerated.
23156         [BZ #2541]
23157         [BZ #4108]
23158         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23159         before squaring exponent.
23160         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23161         bottom long double and 27 bits of top long double before squaring
23162         exponent.
23163         * math/libm-test.inc (erfc_test): Add more tests.
23164         * sysdeps/i386/fpu/libm-test-ulps: Update.
23165         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23168 2012-03-01  Kai Tietz  <ktietz@redhat.com>
23170         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23171         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23172         containing bit-fields.
23173         * soft-fp/extended.h (_FP_UNION_E): Likewise.
23174         * soft-fp/single.h (_FP_UNION_S): Likewise.
23175         * soft-fp/double.h (_FP_UNION_D): Likewise.
23177 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
23179         [BZ #13786]
23180         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23181         not include ../strcmp.S.
23182         [USE_AS_STRNCASECMP_L]: Likewise.
23183         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23184         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23185         * sysdeps/i386/i686/multiarch/strncase_l-c.c
23186         (__strncasecmp_l_ia32): Define as alias to
23187         __strncasecmp_l_nonascii.
23189         [BZ #5794]
23190         * math/libm-test.inc (expm1_test): Add test for bug 5794.
23191         * sysdeps/i386/fpu/libm-test-ulps: Update.
23192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23194         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23197 2012-02-29  Jeff Law  <law@redhat.com>
23199         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23200         out of bounds read.
23202 2012-02-29  Marek Polacek  <polacek@redhat.com>
23204         [BZ #13706]
23205         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23206         * elf/Makefile: Add rules to run tst-unused-dep.out.
23208 2012-02-28  David S. Miller  <davem@davemloft.net>
23210         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23211         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23212         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23213         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23214         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23215         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23217 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
23219         * math/libm-test.inc (llround_test): Move one test from
23220         lround_test.  Use TEST_f_L in moved test.
23221         (lround_test): Move misplaced test to llround_test.  Add testcase
23222         from bug 2561.
23224 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
23226         * sysdeps/x86_64/fpu/e_expf.S: New file.
23227         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23229 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
23231         [BZ #13637]
23232         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23233         of remain_len that may cause incomplete multi-byte character and
23234         false match.
23235         * posix/bug-regex33.c: New file.
23236         * posix/Makefile (tests): Add bug-regex33.
23238 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
23240         * manual/macros.texi: New file.
23241         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23242         * manual/libc.texinfo: Include macros.texi.
23243         * manual/creatute.texi: Likewise.
23244         * manual/install.texi: Likewise.
23245         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23246         @glibcadj{} in references to the GNU C Library.
23247         * manual/charset.texi: Likewise.
23248         * manual/conf.texi: Likewise.
23249         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
23250         when not using those macros.
23251         * manual/creature.texi: Likewise.
23252         * manual/crypt.texi: Likewise.
23253         * manual/errno.texi: Likewise.
23254         * manual/filesys.texi: Likewise.
23255         * manual/header.texi: Likewise.
23256         * manual/install.texi: Likewise.
23257         * manual/intro.texi: Likewise.
23258         * manual/io.texi: Likewise.
23259         * manual/job.texi: Likewise.
23260         * manual/lang.texi: Likewise.
23261         * manual/libc.texiinfo: Likewise.
23262         * manual/llio.texi: Likewise.
23263         * manual/locale.texi: Likewise.
23264         * manual/maint.texi: Likewise.
23265         * manual/math.texi: Likewise.
23266         * manual/memory.texi: Likewise.
23267         * manual/message.texi: Likewise.
23268         * manual/nss.texi: Likewise.
23269         * manual/pattern.texi: Likewise.
23270         * manual/process.texi: Likewise.
23271         * manual/resource.texi: Likewise.
23272         * manual/search.texi: Likewise.
23273         * manual/setjmp.texi: Likewise.
23274         * manual/signal.texi: Likewise.
23275         * manual/socket.texi: Likewise.
23276         * manual/startup.texi: Likewise.
23277         * manual/stdio.texi: Likewise.
23278         * manual/string.texi: Likewise.
23279         * manual/sysinfo.texi: Likewise.
23280         * manual/syslog.texi: Likewise.
23281         * manual/terminal.texi: Likewise.
23282         * manual/time.texi: Likewise.
23283         * manual/users.texi: Likewise.
23284         * INSTALL: Regenerated.
23285         * NOTES: Regenerated.
23286         * sysdeps/gnu/errlist.c: Regenerated.
23288 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
23290         * include/dirent.h: Include <dirstream.h> before
23291         <dirent/dirent.h>.
23293 2012-02-28  David S. Miller  <davem@davemloft.net>
23295         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23296         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23297         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23298         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23300 2012-02-27  David S. Miller  <davem@davemloft.net>
23302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23304         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23305         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23308         frame pointer instead of stack pointer relative arg slot.
23309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23310         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23311         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23313 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
23315         [BZ #3992]
23316         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23318 2012-02-27  David S. Miller  <davem@davemloft.net>
23320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23324         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23325         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23326         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23327         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23329 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
23331         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23332         later.  Allow versions 5-9.
23333         * configure: Regenerated.
23334         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23335         required minimum version and 4.6 as recommended version.  Do not
23336         mention bugs in GCC 2.7 and 2.8.
23337         * INSTALL: Regenerated.
23339 2012-02-27  David S. Miller  <davem@davemloft.net>
23341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23342         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23345         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23346         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23347         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23348         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23350         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23351         manipulate bits before adding and subtracting TWO112[sx].
23352         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23354 2012-02-27  Roland McGrath  <roland@hack.frob.com>
23356         [BZ #13775]
23357         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23358         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23359         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23360         being in POSIX, because they are in 1003.1-2008.
23362         * rt/tst-aio.c: Include <fcntl.h>.
23363         * rt/tst-aio7.c: Likewise.
23364         * rt/tst-aio64.c: Likewise.
23366         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23368 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
23370         * manual/install.texi (--with-headers): Describe headers as
23371         interface headers, not private headers.
23372         (Specific advice for GNU/Linux systems): Describe use of headers
23373         from "make headers_install", not private headers from older
23374         kernels.
23375         * INSTALL: Regenerated.
23376         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23377         Change to 2.6.19.
23378         * sysdeps/unix/sysv/linux/configure: Regenerated.
23380         * manual/llio.texi (fclean): Remove documentation.
23382         * manual/Makefile (libc-texi-generated): New variable.  Include
23383         version.texi.
23384         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23385         $(libc-texi-generated), not duplicated list of files.
23386         (version.texi, stamp-version): New rules.
23387         (realclean): Remove $(libc-texi-generated), not individual files
23388         from that list.  Do not remove dir-add.texinfo.
23389         * manual/libc.texinfo: Comment out uses of edition numbers and
23390         references to printed manual.  Remove last-updated dates.
23391         (EDITION): Comment out.
23392         (ISBN): Likewise.
23393         (VERSION, UPDATED): Remove.
23394         (version.texi): Include.
23396 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
23398         * sysdeps/posix/spawni.c: Include <signal.h>.
23399         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23400         * sysdeps/pthread/aio_fsync.c: Likewise.
23402 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
23404         * conform/Makefile (tests): Run only when not cross-compiling and
23405         when fast-check is not defined.
23407         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23408         * conform/data/limits.h-data: Fixes for POSIX2008.
23409         * conform/run-conformtest.sh: Run all tests.
23410         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23411         headers.
23412         * include/bits/dlfcn.h: Likewise.
23413         * include/langinfo.h: Likewise.
23414         * include/monetary.h: Likewise.
23415         * include/sys/poll.h: Likewise.
23417         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23418         for __USE_GNU.
23419         * posix/spawn.h: Define __need_sigset_t.
23420         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23421         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23422         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
23423         to get sigevent_t only.
23424         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23425         only for __USE_GNU.
23426         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23427         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23428         process_vm_writev only for __USE_GNU.
23429         * termios/termios.h: Declare tcgetsid also for POSIX2008.
23431         * conform/Makefile: For now ignore errors from run-conformtest.
23432         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
23433         POSIX to avoid namespace pollution.  Don't prepend headers.
23434         * conform/data/aio.h-data: Fixes for POSIX testing.
23435         * conform/data/fcntl.h-data: Likewise.
23436         * conform/data/glob.h-data: Likewise.
23437         * conform/data/grp.h-data: Likewise.
23438         * conform/data/pthread.h-data: Likewise.
23439         * conform/data/pwd.h-data: Likewise.
23440         * conform/data/signal.h-data: Likewise.
23441         * conform/data/spawn.h-data: Likewise.
23442         * conform/data/stdio.h-data: Likewise.
23443         * conform/data/stdlib.h-data: Likewise.
23444         * conform/data/stropts.h-data: Likewise.
23445         * conform/data/sys/mman.h-data: Likewise.
23446         * conform/data/sys/stat.h-data: Likewise.
23447         * conform/data/sys/types.h-data: Likewise.
23448         * conform/data/sys/wait.h-data: Likewise.
23449         * conform/data/time.h-data: Likewise.
23450         * conform/data/unistd.h-data: Likewise.
23451         * conform/data/utime.h-data: Likewise.
23453         * io/sys/stat.h: fchmod was always in POSIX.
23454         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23455         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23456         * rt/aio.h: Define __need_timespec before including <time.h>.
23457         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23458         struct.  Add forward declaration of pthread_attr_t and use it in
23459         sigevent.
23460         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23461         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23462         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23463         always remove CLK_TCK definition.
23465 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
23467         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23469 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
23471         * conform/run-conformtest.sh: New file.
23472         * conform/Makefile: Run run-conformtest for tests.
23473         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
23474         support.
23476         * conform/data/uchar.h-data: New file.
23477         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23478         * conform/data/arpa/inet.h-data: Likewise.
23479         * conform/data/assert.h-data: Likewise.
23480         * conform/data/complex.h-data: Likewise.
23481         * conform/data/cpio.h-data: Likewise.
23482         * conform/data/ctype.h-data: Likewise.
23483         * conform/data/dirent.h-data: Likewise.
23484         * conform/data/dlfcn.h-data: Likewise.
23485         * conform/data/errno.h-data: Likewise.
23486         * conform/data/fcntl.h-data: Likewise.
23487         * conform/data/float.h-data: Likewise.
23488         * conform/data/fmtmsg.h-data: Likewise.
23489         * conform/data/fnmatch.h-data: Likewise.
23490         * conform/data/ftw.h-data: Likewise.
23491         * conform/data/glob.h-data: Likewise.
23492         * conform/data/grp.h-data: Likewise.
23493         * conform/data/iconv.h-data: Likewise.
23494         * conform/data/inttypes.h-data: Likewise.
23495         * conform/data/langinfo.h-data: Likewise.
23496         * conform/data/libgen.h-data: Likewise.
23497         * conform/data/limits.h-data: Likewise.
23498         * conform/data/locale.h-data: Likewise.
23499         * conform/data/math.h-data: Likewise.
23500         * conform/data/monetary.h-data: Likewise.
23501         * conform/data/mqueue.h-data: Likewise.
23502         * conform/data/ndbm.h-data: Likewise.
23503         * conform/data/net/if.h-data: Likewise.
23504         * conform/data/netdb.h-data: Likewise.
23505         * conform/data/netinet/in.h-data: Likewise.
23506         * conform/data/nl_types.h-data: Likewise.
23507         * conform/data/poll.h-data: Likewise.
23508         * conform/data/pthread.h-data: Likewise.
23509         * conform/data/pwd.h-data: Likewise.
23510         * conform/data/regex.h-data: Likewise.
23511         * conform/data/sched.h-data: Likewise.
23512         * conform/data/search.h-data: Likewise.
23513         * conform/data/semaphore.h-data: Likewise.
23514         * conform/data/setjmp.h-data: Likewise.
23515         * conform/data/signal.h-data: Likewise.
23516         * conform/data/spawn.h-data: Likewise.
23517         * conform/data/stdarg.h-data: Likewise.
23518         * conform/data/stdio.h-data: Likewise.
23519         * conform/data/stdlib.h-data: Likewise.
23520         * conform/data/string.h-data: Likewise.
23521         * conform/data/strings.h-data: Likewise.
23522         * conform/data/stropts.h-data: Likewise.
23523         * conform/data/sys/ipc.h-data: Likewise.
23524         * conform/data/sys/mman.h-data: Likewise.
23525         * conform/data/sys/msg.h-data: Likewise.
23526         * conform/data/sys/resource.h-data: Likewise.
23527         * conform/data/sys/select.h-data: Likewise.
23528         * conform/data/sys/sem.h-data: Likewise.
23529         * conform/data/sys/shm.h-data: Likewise.
23530         * conform/data/sys/socket.h-data: Likewise.
23531         * conform/data/sys/stat.h-data: Likewise.
23532         * conform/data/sys/statvfs.h-data: Likewise.
23533         * conform/data/sys/time.h-data: Likewise.
23534         * conform/data/sys/timeb.h-data: Likewise.
23535         * conform/data/sys/times.h-data: Likewise.
23536         * conform/data/sys/types.h-data: Likewise.
23537         * conform/data/sys/uio.h-data: Likewise.
23538         * conform/data/sys/un.h-data: Likewise.
23539         * conform/data/sys/utsname.h-data: Likewise.
23540         * conform/data/sys/wait.h-data: Likewise.
23541         * conform/data/syslog.h-data: Likewise.
23542         * conform/data/tar.h-data: Likewise.
23543         * conform/data/termios.h-data: Likewise.
23544         * conform/data/utime.h-data: Likewise.
23545         * conform/data/utmpx.h-data: Likewise.
23546         * conform/data/varargs.h-data: Likewise.
23547         * conform/data/wchar.h-data: Likewise.
23548         * conform/data/wctype.h-data: Likewise.
23549         * conform/data/wordexp.h-data: Likewise.
23551         * include/stropts.h: New file.
23552         * include/uchar.h: New file.
23553         * include/aio.h: Changes to allow conformtest.pl to use the headers.
23554         * include/assert.h: Likewise.
23555         * include/ctype.h: Likewise.
23556         * include/dirent.h: Likewise.
23557         * include/dlfcn.h: Likewise.
23558         * include/fcntl.h: Likewise.
23559         * include/fnmatch.h: Likewise.
23560         * include/glob.h: Likewise.
23561         * include/grp.h: Likewise.
23562         * include/libio.h: Likewise.
23563         * include/locale.h: Likewise.
23564         * include/math.h: Likewise.
23565         * include/net/if.h: Likewise.
23566         * include/netdb.h: Likewise.
23567         * include/netinet/in.h: Likewise.
23568         * include/pthread.h: Likewise.
23569         * include/pwd.h: Likewise.
23570         * include/regex.h: Likewise.
23571         * include/sched.h: Likewise.
23572         * include/search.h: Likewise.
23573         * include/setjmp.h: Likewise.
23574         * include/signal.h: Likewise.
23575         * include/stdio.h: Likewise.
23576         * include/stdlib.h: Likewise.
23577         * include/string.h: Likewise.
23578         * include/sys/cdefs.h: Likewise.
23579         * include/sys/mman.h: Likewise.
23580         * include/sys/msg.h: Likewise.
23581         * include/sys/resource.h: Likewise.
23582         * include/sys/select.h: Likewise.
23583         * include/sys/socket.h: Likewise.
23584         * include/sys/stat.h: Likewise.
23585         * include/sys/statvfs.h: Likewise.
23586         * include/sys/time.h: Likewise.
23587         * include/sys/times.h: Likewise.
23588         * include/sys/uio.h: Likewise.
23589         * include/sys/utsname.h: Likewise.
23590         * include/sys/wait.h: Likewise.
23591         * include/termios.h: Likewise.
23592         * include/time.h: Likewise.
23593         * include/ulimit.h: Likewise.
23594         * include/unistd.h: Likewise.
23595         * include/utime.h: Likewise.
23596         * include/wchar.h: Likewise.
23597         * include/wctype.h: Likewise.
23598         * include/wordexp.h: Likewise.
23600         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23602         * time/time.h: TIME_UTC must be a macro.
23603         Make timespec_get available for ISO C11 only as well.
23605 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
23607         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23608         Reported by Peng Haitao <penght@cn.fujitsu.com>.
23610 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23612         * configure.in: Use -o not -a in test for unsupported multi-arch.
23614 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23616         * manual/texinfo.tex: Update to version 2012-01-19.16.
23618 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23620         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23622 2012-02-24  Roland McGrath  <roland@hack.frob.com>
23624         [BZ #13738]
23625         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23626         * manual/fdl-1.3.texi: New file.
23627         * manual/fdl-1.1.texi: File removed.
23629         [BZ #13738]
23630         * manual/libc.texinfo (FDL_VERSION): New @set.
23631         Use it for mention of FDL in cover text.
23632         (Documentation License): Use it in @include file name.
23634 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23635             Roland McGrath  <roland@hack.frob.com>
23637         [BZ #5461]
23638         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23639         not LONG_LONG_MAX and LONG_LONG_MIN.
23640         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23641         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
23642         name.
23643         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23645 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23647         [BZ #2547]
23648         [BZ #11365]
23649         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23650         manipulate bits before adding and subtracting TWO23[sx].
23651         * math/libm-test.inc (nearbyint_test): Add more tests.
23653 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23655         [BZ #2548]
23656         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23657         bits before adding and subtracting TWO23[sx].
23658         * math/libm-test.inc (rint_test): Add more tests.
23659         (rint_test_tonearest): Likewise.
23660         (rint_test_towardzero): Likewise.
23661         (rint_test_downward): Likewise.
23662         (rint_test_upward: Likewise.
23664 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23666         [BZ #10110]
23667         * include/stdc-predef.h: New file.  Extracted from features.h.
23668         * include/features.h: Include stdc-predef.h.
23669         * Makefile (headers): Add stdc-predef.h.
23670         * CONFORMANCE (Compiler limitations): Update.
23672 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23674         * manual/libc.texinfo (VERSION, UPDATED): Revert.
23676 2012-02-21  David S. Miller  <davem@davemloft.net>
23678         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23679         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23681 2012-02-20  David S. Miller  <davem@davemloft.net>
23683         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23684         using a normal save/restore sequence, rather than allocating a
23685         dummy stack frame just to store a frame pointer and restore.
23686         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23688 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23690         * manual/install.texi: Fix stray word in line-wrapped comment.
23692 2012-02-20  David S. Miller  <davem@davemloft.net>
23694         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23695         both binutils and gcc support GOTDATA.
23697         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23698         "rd %pc" in the PIC register setup sequences.
23700         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23701         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23702         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23703         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23704         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23705         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23706         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23707         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23708         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23709         (SYSCALL_ERROR_HANDLER): Likewise.
23710         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23711         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23712         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23713         (SYSCALL_ERROR_HANDLER): Likewise.
23715         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23716         (HAVE_GCC_GOTDATA): New.
23717         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23718         relocation support in both binutils and gcc.
23719         * sysdeps/sparc/elf/configure: Regenerate.
23721         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23722         * sysdeps/sparc/sparc32/elf/configure: Delete.
23723         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23724         * sysdeps/sparc/sparc64/elf/configure: Delete.
23725         * sysdeps/sparc/elf/configure.in: New file.
23726         * sysdeps/sparc/elf/configure: Generate.
23728         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23729         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23730         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23731         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23732         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23734 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23736         * manual/install.texi: Do not mention specific glibc version
23737         numbers.
23738         * manual/libc.texinfo (VERSION, UPDATED): Update.
23739         (@copying): Use @copyright{} and range of years.
23741 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23743         [BZ #13695]
23744         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23745         [crti.S not in sysdirs] (generated): Do not append.
23746         [crti.S not in sysdirs] (omit-deps): Likewise.
23747         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23748         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23749         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23750         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23751         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23752         Likewise.
23753         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23754         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23755         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23756         * csu/defs.awk: Remove file.
23757         * sysdeps/generic/initfini.c: Likewise.
23758         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23759         variable.
23760         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23761         Likewise.
23763 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23765         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23766         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23767         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23768         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23769         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23770         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23771         <bits/epoll.h>.
23772         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23773         (__EPOLL_PACKED): Define to empty if not defined by
23774         <bits/epoll.h>.
23775         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23776         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23777         bits/epoll.h.
23779 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23781         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23782         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23783         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23784         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23785         <bits/timerfd.h>.
23786         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23787         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23788         bits/timerfd.h.
23790 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23792         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23793         in C locale.
23794         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23795         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23796         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23799 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
23801         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23802         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23804 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
23806         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23807         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23808         defined.
23809         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23810         Likewise.
23811         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23812         entry for 2.16.
23814 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
23816         * math/w_acos.c: Use non-signaling floating-point comparisons.
23817         * math/w_acosf.c: Likewise.
23818         * math/w_acosh.c: Likewise.
23819         * math/w_acoshf.c: Likewise.
23820         * math/w_acoshl.c: Likewise.
23821         * math/w_acosl.c: Likewise.
23822         * math/w_asin.c: Likewise.
23823         * math/w_asinf.c: Likewise.
23824         * math/w_asinl.c: Likewise.
23825         * math/w_atanh.c: Likewise.
23826         * math/w_atanhf.c: Likewise.
23827         * math/w_atanhl.c: Likewise.
23828         * math/w_exp2.c: Likewise.
23829         * math/w_exp2f.c: Likewise.
23830         * math/w_exp2l.c: Likewise.
23831         * math/w_j0.c: Likewise.
23832         * math/w_j0f.c: Likewise.
23833         * math/w_j0l.c: Likewise.
23834         * math/w_j1.c: Likewise.
23835         * math/w_j1f.c: Likewise.
23836         * math/w_j1l.c: Likewise.
23837         * math/w_jn.c: Likewise.
23838         * math/w_jnf.c: Likewise.
23839         * math/w_log.c: Likewise.
23840         * math/w_log10.c: Likewise.
23841         * math/w_log10f.c: Likewise.
23842         * math/w_log10l.c: Likewise.
23843         * math/w_log2.c: Likewise.
23844         * math/w_log2f.c: Likewise.
23845         * math/w_log2l.c: Likewise.
23846         * math/w_logf.c: Likewise.
23847         * math/w_logl.c: Likewise.
23848         * math/w_sqrt.c: Likewise.
23849         * math/w_sqrtf.c: Likewise.
23850         * math/w_sqrtl.c: Likewise.
23851         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23852         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23853         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23854         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23855         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23857 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23859         [BZ #9739]
23860         * manual/string.texi (strnlen): Use correct parameter name in
23861         equivalent expression.
23863 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23865         [BZ #11174]
23866         * manual/users.texi (seteuid): Consistently use neweuid for
23867         argument name.
23869 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23871         [BZ #13704]
23872         * manual/nss.texi (Services in the NSS configuration): Correct
23873         list of services in example configuration file.
23875 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
23877         [BZ #11322]
23878         * manual/arith.texi: Remove statements about negative zero
23879         behaving identically to zero.
23881 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
23883         [BZ #5993]
23884         * manual/install.texi: Do not document upgrading from libc5.
23886 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
23888         [BZ #4596]
23889         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23891 2012-02-18  David S. Miller  <davem@davemloft.net>
23893         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23894         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23895         %o7 across the call.
23896         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23897         instead.
23898         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23899         SETUP_PIC_REG_LEAF.
23900         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23901         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23902         * sysdeps/sparc/crtn.S: Likewise.
23904 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
23906         * aout/Makefile: Remove.
23908 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
23910         [BZ #13058]
23911         * manual/examples/argp-ex1.c (main): Format definition in GNU
23912         style.
23913         * manual/examples/argp-ex2.c (main): Likewise.
23914         * manual/examples/argp-ex3.c (main): Likewise.
23915         * manual/examples/argp-ex4.c (main): Likewise.
23916         * manual/examples/longopt.c (main): Use new-style prototype
23917         definition.
23918         * manual/examples/strncat.c (main): Specify return type and use
23919         (void) for arguments.
23920         * manual/examples/subopt.c (main): Use char **argv argument.
23922 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23924         [BZ #5077]
23925         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23926         rounding modes.
23928 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
23930         [BZ #6907]
23931         * manual/string.texi (strchr): Change when strchrnul is
23932         recommended.
23934 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
23936         [BZ #174]
23937         * manual/locale.texi (setlocale): Document LOCPATH.
23939 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23941         [BZ #10210]
23942         * manual/process.texi (execle): Move @dots{} before last argument.
23944 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
23946         [BZ #12047]
23947         * manual/charset.texi (Generic Charset Conversion): Fix typo
23948         (LC_TYPE -> LC_CTYPE).
23950 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
23952         [BZ #5805]
23953         * manual/arith.texi (scalbn): Use @var{} on parameter names.
23954         (scalbnf): Likewise.
23955         (scalbnl): Likewise.
23956         (scalbln): Likewise.
23957         (scalblnf): Likewise.
23958         (scalblnl): Likewise.
23959         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23960         (vwarnx): Likewise.
23961         (verr): Likewise.
23962         (verrx): Likewise.
23963         * manual/filesys.texi (telldir): Use braces around return type.
23964         * manual/llio.texi (mmap): Add space after comma.
23965         (mmap64): Likewise.
23966         * manual/math.texi (jn): Use @var{} on parameter names.
23967         (jnf): Likewise.
23968         (jnl): Likewise.
23969         (yn): Likewise.
23970         (ynf): Likewise.
23971         (ynl): Likewise.
23972         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23973         line.
23974         * manual/resource.texi (ulimit): Use @dots{} instead of literal
23975         "...".
23976         (sched_get_priority_min): Remove semicolon on @deftypefun line.
23977         (sched_get_priority_max): Likewise.
23978         * manual/signal.texi (sigvec): Add space after comma.
23979         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23980         names.
23981         (if_indextoname): Likewise.
23982         (if_freenameindex): Likewise.
23983         (sendto): Use ',' instead of '.' in prototype.
23984         * manual/startup.texi (syscall): Use @dots{} instead of literal
23985         "...".
23986         * manual/stdio.texi (__fpending): Separate initial words of
23987         paragraph from @deftypefun line.
23988         * manual/syslog.texi (syslog): Use @dots{} instead of literal
23989         "...".
23990         (vsyslog): Use @var{} on parameter names.
23991         * manual/terminal.texi (stty): Use @var{} on parameter names.
23992         * manual/users.texi (getutmp): Use @var{} on parameter names.
23993         (getutmpx): Likewise.
23995 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23997         [BZ #6884]
23998         * manual/stdio.texi (fopen): Fix typos in description of
23999         ",ccs=STRING".
24001 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
24003         [BZ #4026]
24004         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24005         get clock_id definition.
24007 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
24009         [BZ #4822]
24010         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24011         (madvise): Cast every argument to void on its own.
24013 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24015         [BZ #9902]
24016         * manual/startup.texi (Exit Status): Fix typo.
24018 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24020         [BZ #10140]
24021         * manual/examples/argp-ex1.c: Include <stdlib.h>.
24022         * manual/examples/argp-ex2.c: Likewise.
24023         * manual/examples/argp-ex3.c: Likewise.
24025 2012-02-16  Richard Henderson  <rth@redhat.com>
24027         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24028         * sysdeps/s390/s390-32/initfini.c: Remove.
24029         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24030         * sysdeps/s390/s390-64/initfini.c: Remove.
24032 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24034         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24035         compiler output for sysdeps/generic/initfini.c.
24036         * sysdeps/sh/elf/initfini.c: Remove file.
24038 2012-02-16  David S. Miller  <davem@davemloft.net>
24040         [BZ #11494]
24041         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24043         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24044         * sysdeps/sparc/crti.S: New file.
24045         * sysdeps/sparc/crtn.S: New file.
24046         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24047         * sysdeps/sparc/sparc64/Makefile: Likewise.
24049 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
24051         [BZ #3335]
24052         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24054 2012-02-15  Roland McGrath  <roland@hack.frob.com>
24056         [BZ #4822]
24057         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24059         * mach/devstream.c (cookie_io_functions_t): Macro removed.
24060         (write, read, close): Likewise.
24061         Patch by Aurelien Jarno <aurelien@aurel32.net>.
24063 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
24065         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24066         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24067         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24068         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24069         <bits/signalfd.h>.
24070         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24071         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24072         bits/signalfd.h.
24074 2012-02-14  Marek Polacek  <polacek@redhat.com>
24076         * sysdeps/x86_64/crti.S: New file.
24077         * sysdeps/x86_64/crtn.S: New file.
24078         * sysdeps/x86_64/elf/initfini.c: Remove file.
24080 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
24082         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24083         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24084         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24085         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24086         <bits/inotify.h>.
24087         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24088         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24089         bits/inotify.h.
24091 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
24093         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24094         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24095         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24096         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24097         <bits/eventfd.h>.
24098         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24099         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24100         bits/eventfd.h.
24102 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
24104         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24105         __feraiseexcept instead of feraiseexcept.
24107         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24108         nanosleep invocations.
24109         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24110         strings, and add error checking for a nanosleep invocations.
24112 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
24114         Replace FSF snail mail address with URLs, as per GNU coding standards.
24115         Most of the snail mail addresses were wrong anyway, and omitting
24116         them makes the source code easier to maintain.  Almost all of the
24117         changes are to license notices and to locale LC_IDENTIFICATION
24118         addresses, except for this one:
24119         * manual/libc.texinfo: In "Published by", give the FSF's URL,
24120         not its snail mail address.
24122 2012-02-09  Richard Henderson  <rth@twiddle.net>
24124         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24125         of kernel-features.h.
24127         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24129 2012-02-08  Marek Polacek  <polacek@redhat.com>
24131         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24132         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24133         * sysdeps/gnu/_G_config.h: Likewise.
24134         * sysdeps/generic/_G_config.h: Likewise.
24136 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
24138         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24139         tests.
24140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24142         * sysdeps/powerpc/powerpc32/crti.S: New file.
24143         * sysdeps/powerpc/powerpc32/crtn.S: New file.
24144         * sysdeps/powerpc/powerpc64/crti.S: New file.
24145         * sysdeps/powerpc/powerpc64/crtn.S: New file.
24147         * Makeconfig (have-initfini): Don't set.
24148         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24149         * configure.in (nopic_initfini): Don't substitute.
24150         * config.h.in (HAVE_INITFINI): Don't #undef.
24151         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24152         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24154 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
24156         Support crti.S and crtn.S provided directly by architectures.
24157         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24158         [crti.S in sysdirs] (omit-deps): Likewise.
24159         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24160         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24161         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24162         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24163         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24164         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24165         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24166         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24167         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24168         compiler output for sysdeps/generic/initfini.c.
24169         * sysdeps/i386/elf/Makefile: Remove file.
24170         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24172 2012-02-07  Marek Polacek  <polacek@redhat.com>
24174         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24175         * sysdeps/gnu/_G_config.h: Likewise.
24176         * sysdeps/mach/hurd/_G_config.h: Likewise.
24178 2012-02-07  Marek Polacek  <polacek@redhat.com>
24180         * math/Makefile (tests): Add tst-CMPLX2.
24181         * math/tst-CMPLX2.c: New file.
24183 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
24185         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24187         * math/libm-test.inc (jn_test): Add missing L suffix.
24189 2012-02-06  Marek Polacek  <polacek@redhat.com>
24191         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24192         * sysdeps/i386/fpu/e_powf.S: Likewise.
24193         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24194         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24195         * sysdeps/i386/fpu/e_acosh.S: Likewise.
24196         * sysdeps/i386/fpu/e_pow.S: Likewise.
24197         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24198         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24199         * sysdeps/i386/fpu/s_expm1.S: Likewise.
24200         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24201         * sysdeps/i386/fpu/e_log2.S: Likewise.
24202         * sysdeps/i386/fpu/e_log2l.S: Likewise.
24203         * sysdeps/i386/fpu/e_scalb.S: Likewise.
24204         * sysdeps/i386/fpu/e_powl.S: Likewise.
24205         * sysdeps/i386/fpu/s_log1p.S: Likewise.
24206         * sysdeps/i386/fpu/e_log10f.S: Likewise.
24207         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24208         * sysdeps/i386/fpu/e_logl.S: Likewise.
24209         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24210         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24211         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24212         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24213         * sysdeps/i386/fpu/e_log2f.S: Likewise.
24214         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24215         * sysdeps/i386/fpu/e_log.S: Likewise.
24216         * sysdeps/i386/fpu/s_cexp.S: Likewise.
24217         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24218         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24219         * sysdeps/i386/fpu/e_logf.S: Likewise.
24220         * sysdeps/i386/fpu/e_log10l.S: Likewise.
24221         * sysdeps/i386/fpu/e_atanh.S: Likewise.
24222         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24223         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24224         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24225         * sysdeps/i386/fpu/e_log10.S: Likewise.
24226         * sysdeps/i386/fpu/s_frexp.S: Likewise.
24227         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24228         * sysdeps/i386/fpu/s_asinh.S: Likewise.
24229         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24230         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24231         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24232         * sysdeps/i386/asm-syntax.h: Likewise.
24233         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24234         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24235         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24236         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24237         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24238         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24239         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24240         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24241         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24242         * sysdeps/powerpc/sysdep.h: Likewise.
24243         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24244         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24246 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
24248         [BZ #411]
24249         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24251 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
24253         * sysdeps/i386/sysdep.h: Include <features.h>.
24254         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24255         version.
24257 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
24259         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24260         Define.
24261         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24262         LOAD_PIC_REG_STR.
24264 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24266         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24267         (SETUP_PIC_REG): Use GET_PC_THUNK.
24268         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24269         macro.
24271 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24273         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24274         for non-PIC compilation.
24275         (SETUP_PIC_REG): Add .p2align directive.
24276         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24277         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24278         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24279         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24280         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24281         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24282         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24283         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24284         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24285         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24286         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24287         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24288         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24289         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24290         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24291         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24292         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24293         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24294         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24295         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24296         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24297         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24298         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24299         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24300         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24301         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24302         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24303         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24304         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24305         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24306         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24307         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24308         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24309         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24310         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24311         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24312         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24313         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24314         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24315         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24316         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24318 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24320         * math/tst-CMPLX.c: Include <stdio.h>.
24322 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
24324         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24325         float.
24326         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24327         * sysdeps/sparc/bits/mathdef.h: Likewise.
24329 2012-01-31  Marek Polacek  <polacek@redhat.com>
24331         * libio/libio.h: Don't define _PARAMS.
24332         * locale/programs/config.h: Don't define PARAMS.
24333         * stdlib/strtol_l.c: Likewise.
24334         (__strtol_l): Remove PARAMS from the prototype.
24336 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
24338         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
24339         names.  Just use the correct names.  Remove unnecessary wrapper
24340         functions.
24341         * malloc/arena.c: Likewise.
24342         * malloc/hooks.c: Likewise.
24344         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24345         ARENA_TEST says not to.  Simplify test for creation of a new arena.
24346         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24348 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
24350         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24351         into tail calls.
24352         (update_get_addr): New function.
24353         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24354         GET_ADDR_MODULE parameter.
24356 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
24358         * crypt/cert.c: Remove __STDC__ conditionals.
24359         * crypt/crypt-entry.c: Likewise.
24360         * crypt/crypt_util.c: Likewise.
24361         * libio/filedoalloc.c: Likewise.
24362         * libio/fileops.c: Likewise.
24363         * libio/genops.c: Likewise.
24364         * libio/iofclose.c: Likewise.
24365         * libio/iofdopen.c: Likewise.
24366         * libio/iofopen.c: Likewise.
24367         * libio/iofopen64.c: Likewise.
24368         * libio/iogetdelim.c: Likewise.
24369         * libio/iopopen.c: Likewise.
24370         * libio/obprintf.c: Likewise.
24371         * libio/oldfileops.c: Likewise.
24372         * libio/oldiofclose.c: Likewise.
24373         * libio/oldiofdopen.c: Likewise.
24374         * libio/oldiofopen.c: Likewise.
24375         * libio/oldiopopen.c: Likewise.
24376         * libio/wfiledoalloc.c: Likewise.
24377         * libio/wgenops.c: Likewise.
24378         * locale/programs/xmalloc.c: Likewise.
24379         * misc/syslog.c: Likewise.
24380         * stdio-common/xbug.c: Likewise.
24381         * string/memchr.c: Likewise.
24382         * string/memcmp.c: Likewise.
24383         * string/memrchr.c: Likewise.
24384         * string/rawmemchr.c: Likewise.
24385         * sysdeps/posix/getcwd.c: Likewise.
24386         * time/strftime_l.c: Likewise.
24388 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
24390         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
24391         * config.make.in (config-cflags-sse2avx): Define.
24392         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24393         Fix typo.
24395 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
24397         * scripts/config.guess: Update from upstream config git repository.
24398         * scripts/config.sub: Likewise.
24400 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
24402         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24403         (EM_NUM): Update.
24404         (R_TILEPRO_*, R_TILEGX_*): New macros.
24406         * scripts/firstversions.awk: Fix bug in version range handling.
24408         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24410         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24412         * include/sys/epoll.h: New file.
24413         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24414         libc_hidden_def.
24416 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
24418         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24419         Avoid unnecessary __WORDSIZE == 64 test.
24420         (fmaxf): Use VEX format if possible.
24421         (fmax): Likewise.
24422         (fminf): Likewise.
24423         (fmin): Likewise.
24425         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24426         * math/math_private.h: Remove libc_fegetround* and
24427         libc_fesetround*.
24428         * sysdeps/i386/configure.in: Check for -msse2avx.
24429         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24430         also if SSE2AVX is defined.
24431         Remove libc_fegetround* and libc_fesetround*.
24432         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24433         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
24434         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24435         of HAS_YMM_USABLE.
24436         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24437         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24438         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24439         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24440         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24442         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24444 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24446         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24447         size is not set.
24448         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24450 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
24452         [BZ #13618]
24453         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24454         relocation.
24455         * Makeconfig (libm): Define.
24456         * elf/Makefile: Add rules to build and run tst-relsort1.
24457         * elf/tst-relsort1.c: New file.
24458         * elf/tst-relsort1mod1.c: New file.
24459         * elf/tst-relsort1mod2.c: New file.
24461 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
24463         * math/s_ldexp.c: Remove __STDC__ conditionals.
24464         * math/s_ldexpf.c: Likewise.
24465         * math/s_ldexpl.c: Likewise.
24466         * math/s_nextafter.c: Likewise.
24467         * math/s_nexttowardf.c: Likewise.
24468         * math/s_significand.c: Likewise.
24469         * math/s_significandf.c: Likewise.
24470         * math/s_significandl.c: Likewise.
24471         * math/w_jnl.c: Likewise.
24472         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24473         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24474         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24475         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24476         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24477         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24478         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24479         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24480         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24481         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24482         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24483         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24484         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24485         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24486         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24487         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24488         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24489         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24490         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24491         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24492         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24493         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24494         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24495         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24496         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24497         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24498         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24499         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24500         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24501         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24502         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24503         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24504         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24505         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24506         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24507         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24508         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24509         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24510         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24511         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24512         * sysdeps/ieee754/k_standard.c: Likewise.
24513         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24514         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24515         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24516         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24517         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24518         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24519         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24520         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24521         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24522         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24523         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24524         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24525         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24526         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24527         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24528         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24529         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24530         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24531         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24532         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24533         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24534         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24535         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24536         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24537         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24538         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24539         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24540         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24541         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24542         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24543         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24544         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24545         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24546         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24547         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24548         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24549         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24550         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24551         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24552         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24553         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24554         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24555         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24556         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24557         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24558         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24559         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24560         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24561         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24562         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24563         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24564         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24565         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24566         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24567         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24568         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24569         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24570         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24571         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24572         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24573         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24574         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24575         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24576         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24577         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24578         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24579         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24580         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24581         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24582         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24583         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24584         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24585         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24586         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24587         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24588         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24589         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24590         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24591         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24592         * sysdeps/ieee754/s_matherr.c: Likewise.
24593         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24594         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24595         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24596         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24598 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
24600         * crypt/md5.h: Remove __STDC__ conditionals.
24601         * libio/libioP.h: Likewise.
24602         * locale/programs/config.h: Likewise.
24603         * sysdeps/generic/sysdep.h: Likewise.
24604         * sysdeps/i386/asm-syntax.h: Likewise.
24605         * sysdeps/s390/asm-syntax.h: Likewise.
24606         * sysdeps/unix/sysdep.h: Likewise.
24607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24610 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
24612         * libio/libio.h: Remove __STDC__ conditionals.
24613         * malloc/obstack.h: Likewise.
24614         * math/complex.h: Likewise.
24615         * math/math.h: Likewise.
24616         * sysdeps/generic/_G_config.h: Likewise.
24617         * sysdeps/gnu/_G_config.h: Likewise.
24618         * sysdeps/mach/hurd/_G_config.h: Likewise.
24619         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24620         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24621         * sysdeps/sparc/bits/mathdef.h: Likewise.
24623 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
24625         [BZ #13583]
24626         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
24627         Clean up HAS_* macros.
24628         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
24629         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24630         possible.
24631         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24632         HAS_AVX.
24633         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24634         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24635         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24636         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24637         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24639 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
24641         * elf/tst-unique3.cc (gets): Remove declaration.
24642         * elf/tst-unique3lib.cc (gets): Likewise.
24643         * elf/tst-unique3lib2.cc (gets): Likewise.
24644         * elf/tst-unique4.cc (gets): Likewise.
24646 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
24648         * include/stdio.h: Add C++ protection.  Add gets declarations and
24649         definitions.
24650         * debug/tst-chk1.c: Don't declare gets here.
24651         * stdio-common/tst-gets.c: Likewise.
24653 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
24655         * posix/glob: Remove directory.
24657 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
24659         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24661 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
24663         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24664         of the non-standard EPFNOSUPPORT.
24666 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24668         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24669         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24670         ANYWHERE set to 1 only on KERN_NO_SPACE error.
24672 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
24674         * wcsmbs/uchar.h: Test __STDC_VERSION__.
24676 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
24678         * nscd/aicache.c (addhstaiX): Do not cache negative results of
24679         transient errors.
24680         * nscd/grpcache.c (cache_addgr): Likewise.
24681         * nscd/hstcache.c (cache_addhst): Likewise.
24682         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24683         * nscd/pwdcache.c (cache_addpw): Likewise.
24684         * nscd/servicescache.c (cache_addserv): Likewise.
24686 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
24688         * malloc/malloc.c: Various cleanups.
24689         * malloc/hooks.c: Likewise.
24691         * stdlib/Makefile (tests): Add bug-fmtmsg1.
24692         * stdlib/bug-fmtmsg1.c: New file.
24694         * stdlib/fmtmsg.c (init): Add missing unlock.
24695         Patch by Peng Haitao <penght@cn.fujitsu.com>.
24697 2012-01-12  Marek Polacek  <polacek@redhat.com>
24699         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24700         and _GNU_SOURCE.
24702 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
24704         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24705         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24706         macro to ensure uniqueness of label name.
24707         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24708         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24710 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
24712         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24714         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24715         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24716         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24717         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24719 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
24721         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24723         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24724         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24725         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24727         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24729         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
24730         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24731         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24732         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
24734         * math/bits/math-finite.h: Add ldexp support.
24736 2012-01-10  Marek Polacek  <polacek@redhat.com>
24738         * locale/programs/localedef.h (show_archive_content): Add noreturn
24739         attribute.
24741 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
24743         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24745 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24747         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24749         * io/Makefile (headers): Add bits/poll2.h.
24751 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
24753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24754         typo #include statement.
24756 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24758         * include/sys/cdefs.h: Define __attribute_alloc_size.
24759         * catgets/gencat.c: Add alloc_size attribute and apply consistently
24760         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24761         * elf/pldd.c: Likewise.
24762         * iconv/iconv_charmap.c: Likewise.
24763         * iconv/iconvconfig.c: Likewise.
24764         * iconv/strtab.c: Likewise.
24765         * locale/programs/locale.c: Likewise.
24766         * locale/programs/localedef.h: Likewise.
24767         * locale/programs/simple-hash.c: Likewise.
24768         * nscd/nscd.h: Likewise.
24769         * nss/makedb.c: Likewise.
24770         * sysdeps/generic/ldconfig.h: Likewise.
24771         * locale/programs/localedef.c: Remove xmalloc prototype.
24772         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24774 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24776         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24777         appropriate.
24779 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24781         * math/Makefile (tests): Add tst-CMPLX.
24782         * math/tst-CMPLX.c: New file.
24784         * math/complex.h (CMPLXL): Fix typo.
24786         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24787         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24788         GLIBC_2.16.
24789         * debug/tst-chk1.c: Add poll and ppoll tests.
24790         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24791         * include/sys/poll.h: Add hidden proto for ppoll.
24792         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24793         * sysdeps/mach/hurd/ppoll.c: Likewise.
24794         * io/ppoll.c: Likewise.
24795         * debug/poll_chk.c: New file.
24796         * debug/ppoll_chk.c: New file.
24797         * include/bits/poll2.h: New file.
24798         * io/bits/poll2.h: New file.
24800         [BZ #1350]
24801         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24803         * configure.in: static is always set to yes.  Remove.
24804         * config.make.in: Don't set build-static.
24805         * Makeconfig: Remove use of build-static.
24806         * dlfcn/Makefile: Likewise.
24807         * elf/Makefile: Likewise.
24808         * math/Makefile: Likewise.
24809         * misc/Makefile: Likewise.
24810         * nptl/Makefile: Likewise.
24811         * sysdeps/mach/hurd/Makefile: Likewise.
24813         * configure.in: PWD_P is not used anymore.
24814         * config.make.in: Remove PWD_P entry.
24816         * configure.in: Remove last remnants of RANLIB.
24817         No need to check for signed size_t anymore.
24818         Don't set libc_commonpagesize and libc_relro_required here for Alpha
24819         and IA-64.
24820         Remove __builtin_expect test because we require at least gcc 3.4.
24821         * aclocal.m4: Likewise.
24823         * wcsmbs/mbrtoc16.c: Implement using towc function.
24824         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24825         * wcsmbs/wcsmbsload.c: Likewise.
24826         * iconv/gconv_simple.c: Likewise.
24827         * iconv/gconv_int.h: Likewise.
24828         * iconv/gconv_builtin.h: Likewise.
24829         * iconv/iconv_prog.c: Remove CHAR16 handling.
24831         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24833         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24835         * configure.in: Remove --with-elf and --enable-bounded options.
24836         Dont set base_machine for ia64.  More non-ELF conditions removed.
24837         Remove testing and setting of leading underscore information.
24838         * config.make.in (build-bounded): Set to no.
24839         * config.h.in: Remove NO_UNDERSCORES entry.
24840         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
24841         them.
24842         * csu/start.c: Remove !NO_UNDERSCORE code.
24843         * locale/localeinfo.h: Likewise.
24844         * sysdeps/generic/machine-gmon.h: Likewise.
24845         * sysdeps/generic/sysdep.h: Likewise.
24846         * sysdeps/i386/sysdep.h: Likewise.
24847         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24848         * sysdeps/mach/sysdep.h: Likewise.
24849         * sysdeps/s390/s390-32/sysdep.h: Likewise.
24850         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24851         * sysdeps/sh/sysdep.h: Likewise.
24852         * sysdeps/sparc/sparc32/alloca.S: Likewise.
24853         * sysdeps/unix/i386/sysdep.S: Likewise.
24854         * sysdeps/unix/sparc/start.c: Likewise.
24855         * sysdeps/unix/sparc/sysdep.S: Likewise.
24856         * sysdeps/unix/sparc/sysdep.h: Likewise.
24857         * sysdeps/unix/start.c: Likewise.
24858         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24859         * sysdeps/x86_64/sysdep.h: Likewise.
24861 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
24863         [BZ #13553]
24864         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24865         for non-gcc.
24866         * argp/argp-fmtstream.h: Use const instead __const.
24867         * argp/argp.h: Likewise.
24868         * assert/assert.h: Likewise.
24869         * bits/fenv.h: Likewise.
24870         * bits/sched.h: Likewise.
24871         * bits/sigset.h: Likewise.
24872         * bits/sigthread.h: Likewise.
24873         * catgets/nl_types.h: Likewise.
24874         * conform/data/pthread.h-data: Likewise.
24875         * crypt/crypt-private.h: Likewise.
24876         * crypt/crypt.h: Likewise.
24877         * crypt/crypt_util.c: Likewise.
24878         * ctype/ctype.h: Likewise.
24879         * debug/execinfo.h: Likewise.
24880         * debug/mbsnrtowcs_chk.c: Likewise.
24881         * debug/mbsrtowcs_chk.c: Likewise.
24882         * debug/wcsnrtombs_chk.c: Likewise.
24883         * debug/wcsrtombs_chk.c: Likewise.
24884         * debug/wcstombs_chk.c: Likewise.
24885         * dirent/dirent.h: Likewise.
24886         * dlfcn/dlfcn.h: Likewise.
24887         * elf/neededtest4.c: Likewise.
24888         * grp/grp.h: Likewise.
24889         * gshadow/gshadow.h: Likewise.
24890         * iconv/gconv.h: Likewise.
24891         * iconv/gconv_int.h: Likewise.
24892         * iconv/gconv_simple.c: Likewise.
24893         * iconv/iconv.h: Likewise.
24894         * iconv/loop.c: Likewise.
24895         * iconv/skeleton.c: Likewise.
24896         * include/aio.h: Likewise.
24897         * include/aliases.h: Likewise.
24898         * include/argz.h: Likewise.
24899         * include/arpa/inet.h: Likewise.
24900         * include/assert.h: Likewise.
24901         * include/dirent.h: Likewise.
24902         * include/dlfcn.h: Likewise.
24903         * include/execinfo.h: Likewise.
24904         * include/fcntl.h: Likewise.
24905         * include/fenv.h: Likewise.
24906         * include/glob.h: Likewise.
24907         * include/grp.h: Likewise.
24908         * include/libintl.h: Likewise.
24909         * include/mntent.h: Likewise.
24910         * include/netdb.h: Likewise.
24911         * include/pwd.h: Likewise.
24912         * include/rpc/netdb.h: Likewise.
24913         * include/sched.h: Likewise.
24914         * include/search.h: Likewise.
24915         * include/shadow.h: Likewise.
24916         * include/signal.h: Likewise.
24917         * include/stdio.h: Likewise.
24918         * include/stdlib.h: Likewise.
24919         * include/string.h: Likewise.
24920         * include/sys/socket.h: Likewise.
24921         * include/sys/stat.h: Likewise.
24922         * include/sys/statfs.h: Likewise.
24923         * include/sys/statvfs.h: Likewise.
24924         * include/sys/syslog.h: Likewise.
24925         * include/sys/time.h: Likewise.
24926         * include/sys/uio.h: Likewise.
24927         * include/time.h: Likewise.
24928         * include/unistd.h: Likewise.
24929         * include/utmp.h: Likewise.
24930         * include/wchar.h: Likewise.
24931         * include/wctype.h: Likewise.
24932         * inet/aliases.h: Likewise.
24933         * inet/arpa/inet.h: Likewise.
24934         * inet/netinet/ether.h: Likewise.
24935         * inet/netinet/in.h: Likewise.
24936         * intl/libintl.h: Likewise.
24937         * io/bits/fcntl2.h: Likewise.
24938         * io/fcntl.h: Likewise.
24939         * io/ftw.h: Likewise.
24940         * io/sys/poll.h: Likewise.
24941         * io/sys/stat.h: Likewise.
24942         * io/sys/statfs.h: Likewise.
24943         * io/sys/statvfs.h: Likewise.
24944         * io/utime.h: Likewise.
24945         * libio/bits/stdio.h: Likewise.
24946         * libio/bits/stdio2.h: Likewise.
24947         * libio/libio.h: Likewise.
24948         * libio/libioP.h: Likewise.
24949         * libio/stdio.h: Likewise.
24950         * locale/lc-ctype.c: Likewise.
24951         * locale/locale.h: Likewise.
24952         * login/utmp.h: Likewise.
24953         * malloc/arena.c: Likewise.
24954         * malloc/malloc.c: Likewise.
24955         * malloc/malloc.h: Likewise.
24956         * malloc/mcheck.c: Likewise.
24957         * malloc/mtrace.c: Likewise.
24958         * math/bits/mathcalls.h: Likewise.
24959         * math/fenv.h: Likewise.
24960         * math/math_private.h: Likewise.
24961         * misc/bits/error.h: Likewise.
24962         * misc/bits/syslog.h: Likewise.
24963         * misc/err.h: Likewise.
24964         * misc/error.h: Likewise.
24965         * misc/fstab.h: Likewise.
24966         * misc/mntent.h: Likewise.
24967         * misc/regexp.h: Likewise.
24968         * misc/search.h: Likewise.
24969         * misc/sgtty.h: Likewise.
24970         * misc/sys/mman.h: Likewise.
24971         * misc/sys/syslog.h: Likewise.
24972         * misc/sys/uio.h: Likewise.
24973         * misc/sys/xattr.h: Likewise.
24974         * misc/ttyent.h: Likewise.
24975         * nis/rpcsvc/ypclnt.h: Likewise.
24976         * nss/nss.h: Likewise.
24977         * posix/bits/unistd.h: Likewise.
24978         * posix/fnmatch.h: Likewise.
24979         * posix/glob.h: Likewise.
24980         * posix/sched.h: Likewise.
24981         * posix/spawn.h: Likewise.
24982         * posix/sys/wait.h: Likewise.
24983         * posix/unistd.h: Likewise.
24984         * posix/wordexp.h: Likewise.
24985         * pwd/pwd.h: Likewise.
24986         * resolv/netdb.h: Likewise.
24987         * resource/sys/resource.h: Likewise.
24988         * rt/aio.h: Likewise.
24989         * rt/bits/mqueue2.h: Likewise.
24990         * rt/mqueue.h: Likewise.
24991         * shadow/shadow.h: Likewise.
24992         * signal/signal.h: Likewise.
24993         * socket/send.c: Likewise.
24994         * socket/sendto.c: Likewise.
24995         * socket/sys/socket.h: Likewise.
24996         * stdio-common/printf.h: Likewise.
24997         * stdlib/bits/stdlib.h: Likewise.
24998         * stdlib/fmtmsg.h: Likewise.
24999         * stdlib/monetary.h: Likewise.
25000         * stdlib/stdlib.h: Likewise.
25001         * stdlib/ucontext.h: Likewise.
25002         * streams/stropts.h: Likewise.
25003         * string/argz.h: Likewise.
25004         * string/bits/string2.h: Likewise.
25005         * string/string.h: Likewise.
25006         * string/strings.h: Likewise.
25007         * sunrpc/rpc/auth.h: Likewise.
25008         * sunrpc/rpc/auth_des.h: Likewise.
25009         * sunrpc/rpc/clnt.h: Likewise.
25010         * sunrpc/rpc/netdb.h: Likewise.
25011         * sunrpc/rpc/pmap_clnt.h: Likewise.
25012         * sunrpc/rpc/xdr.h: Likewise.
25013         * sysdeps/generic/inttypes.h: Likewise.
25014         * sysdeps/generic/net/if.h: Likewise.
25015         * sysdeps/generic/sys/swap.h: Likewise.
25016         * sysdeps/gnu/net/if.h: Likewise.
25017         * sysdeps/gnu/utmpx.h: Likewise.
25018         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25019         * sysdeps/i386/i486/bits/string.h: Likewise.
25020         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25021         * sysdeps/s390/bits/string.h: Likewise.
25022         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25023         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25024         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25025         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25026         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25027         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25028         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25029         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25030         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25031         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25032         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25033         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25034         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25035         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25036         * sysdeps/unix/sysv/linux/readv.c: Likewise.
25037         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25038         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25039         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25040         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25041         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25042         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25043         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25044         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25045         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25046         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25047         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25048         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25049         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25050         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25051         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25052         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25053         * sysvipc/sys/ipc.h: Likewise.
25054         * sysvipc/sys/msg.h: Likewise.
25055         * sysvipc/sys/sem.h: Likewise.
25056         * sysvipc/sys/shm.h: Likewise.
25057         * termios/termios.h: Likewise.
25058         * time/sys/time.h: Likewise.
25059         * time/time.h: Likewise.
25060         * wcsmbs/bits/wchar2.h: Likewise.
25061         * wcsmbs/uchar.h: Likewise.
25062         * wcsmbs/wchar.h: Likewise.
25063         * wctype/wctype.h: Likewise.
25065         [BZ #13551]
25066         * Makeconfig: Remove all but ELF support including AIX support.
25067         * Makerules: Likewise.
25068         * config.h.in: Likewise.
25069         * config.make.in: Likewise.
25070         * configure: Likewise.
25071         * configure.in: Likewise.
25072         * csu/Makefile: Likewise.
25073         * csu/version.c: Likewise.
25074         * debug/Makefile: Likewise.
25075         * dlfcn/Makefile: Likewise.
25076         * elf/Makefile: Likewise.
25077         * extra-lib.mk: Likewise.
25078         * iconv/Makefile: Likewise.
25079         * include/libc-symbols.h: Likewise.
25080         * include/shlib-compat.h: Likewise.
25081         * resolv/Makefile: Likewise.
25082         * resolv/res_libc.c: Likewise.
25083         * rt/Makefile: Likewise.
25084         * sysdeps/i386/asm-syntax.h: Likewise.
25085         * sysdeps/i386/sysdep.h: Likewise.
25086         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25087         * sysdeps/mach/sysdep.h: Likewise.
25088         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25089         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25090         * sysdeps/s390/asm-syntax.h: Likewise.
25091         * sysdeps/s390/s390-32/sysdep.h: Likewise.
25092         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25093         * sysdeps/sh/sysdep.h: Likewise.
25094         * sysdeps/unix/sparc/sysdep.h: Likewise.
25095         * sysdeps/wordsize-32/divdi3.c: Likewise.
25096         * sysdeps/x86_64/sysdep.h: Likewise.
25098         * argp/Versions: Remove _argp_unlock_xxx.
25100         [BZ #13559]
25101         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
25102         * abilist/libBrokenLocale.abilist: Likewise.
25103         * abilist/libanl.abilist: Likewise.
25104         * abilist/libc.abilist: Likewise.
25105         * abilist/libcrypt.abilist: Likewise.
25106         * abilist/libdl.abilist: Likewise.
25107         * abilist/libm.abilist: Likewise.
25108         * abilist/libnsl.abilist: Likewise.
25109         * abilist/libpthread.abilist: Likewise.
25110         * abilist/libresolv.abilist: Likewise.
25111         * abilist/librt.abilist: Likewise.
25112         * abilist/libthread_db.abilist: Likewise.
25113         * abilist/libutil.abilist: Likewise.
25114         * abilist/libnss_db.abilist: New file.
25116         * scripts/abilist.awk: Add support for indirect functions.
25118         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25120         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25122         * shlib-versions: Remove entries for ports architectures.
25124         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
25125         files in ports.
25126         * elf/stackguard-macros.h: Remove support for IA-64.
25127         * elf/tst-auditmod1.c: Likewise.
25128         * sysdeps/generic/ldsodefs.h: Likewise.
25130         * sysdeps/unix/sysv/linux/configure.in: Ports should define
25131         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25132         configure files.
25134         [BZ #13552]
25135         * configure.in: Remove --enable-omitfp support.
25136         * FAQ.in: Adjust.
25137         * config.make.in: Likewise.
25138         * Makeconfig: Likewise.
25139         * manual/install.texi: Likewise.
25141         In case anyone cares, the IA-64 architecture could move to ports.
25142         * sysdeps/ia64/*: Removed.
25143         * sysdeps/unix/sysv/linux/ia64/*: Removed.
25144         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
25146         [BZ #13555]
25147         * configure.in: Remove entries for unsupported architectures.
25149         [BZ #13533]
25150         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25151         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
25152         routines.
25153         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25154         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25155         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
25156         fall back to using wcrtomb.
25157         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25158         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
25159         renaming.
25160         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25161         * wcsmbs/tst-c16c32-1.c: New file.
25163         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25164         local variable.
25166         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25168         * elf/tst-unique3.cc: Add explicit declaration of gets.
25169         * elf/tst-unique3lib.cc: Likewise.
25170         * elf/tst-unique3lib2.cc: Likewise.
25171         * elf/tst-unique4.cc: Likewise.
25173         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25175 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
25177         [BZ #13566]
25178         * assert/assert.h (static_assert): Don't define for C++.
25179         * libio/stdio.h (gets): Do declare for C++ <= C++11.
25180         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25182 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
25184         * iconv/loop.c (single loop): Fix assertion in storing of
25185         remaining bytes.
25187         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25189 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
25191         * posix/getconf.c: Update copyright year.
25192         * nss/getent.c: Likewise.
25193         * nss/makedb.c: Likewise.
25194         * iconv/iconvconfig.c: Likewise.
25195         * iconv/iconv_prog.c: Likewise.
25196         * elf/ldconfig.c: Likewise.
25197         * elf/pldd.c: Likewise.
25198         * elf/sotruss.ksh: Likewise.
25199         * catgets/gencat.c: Likewise.
25200         * csu/version.c: Likewise.
25201         * elf/ldd.bash.in: Likewise.
25202         * elf/sprof.c (print_version): Likewise.
25203         * locale/programs/locale.c: Likewise.
25204         * locale/programs/localedef.c: Likewise.
25205         * login/programs/pt_chown.c: Likewise.
25206         * nscd/nscd.c (print_version): Likewise.
25207         * debug/xtrace.sh: Likewise.
25208         * malloc/memusage.sh: Likewise.
25209         * malloc/mtrace.pl: Likewise.
25210         * debug/catchsegv.sh: Likewise.
25212 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
25214         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25215         pure attribute.
25217 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
25219         [BZ #13533]
25220         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25221         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25222         transformations.
25223         * iconv/gconv_int.h: Likewise.
25224         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25225         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25226         from libc for GLIBC_2.16.
25227         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25228         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25229         * wcsmbs/uchar.h: Really define mbstate_t.
25230         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25231         * wcsmbs/c16rtomb.c: New file.
25232         * wcsmbs/mbrtoc16.c: New file.
25233         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25234         for C/POSIX locale.
25235         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25236         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25238         * wcsmbs/wchar.h: Add missing __restrict.
25240 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
25242         [BZ #13532]
25243         * time/Makefile (routines): Add timespec_get.
25244         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25245         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
25246         timespec for ISO C11.
25247         * time/timespec_get.c: New file.
25248         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25249         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25251         [BZ #13531]
25252         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25253         * stdlib/stdlib.h: Declare aligned_alloc.
25254         * Versions.def: Add GLIBC_2.16 for libc.
25255         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25257         [BZ 13527]
25258         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25259         ISO C11.
25261         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
25262         code.
25264         [BZ #13528]
25265         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25267         [BZ #13529]
25268         * assert/assert.h (static_assert): Define.
25270         * version.h: Update for 2.16 development version.
25272         [BZ #13526]
25273         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25274         _ISOC11_SOURCE.
25276         * version.h (RELEASE): Bump for 2.15 release.
25277         * include/features.h (__GLIBC_MINOR__): Bump to 15.
25279         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25280         Patch by Marek Polacek <mpolacek@redhat.com>.
25282         * bits/byteswap.h: Protect long long constants with __extension__.
25283         * sysdeps/i386/bits/byteswap.h: Likewise.
25284         * sysdeps/ia64/bits/byteswap.h: Likewise.
25285         * sysdeps/s390/bits/byteswap.h: Likewise.
25286         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25288 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25290         [BZ #13540]
25291         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25292         destination buffer.
25293         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25295 2011-12-23  Marek Polacek  <polacek@redhat.com>
25297         * elf/dl-addr.c (determine_info): Add inline keyword.
25298         * elf/tst-auditmod4b.c (check_avx): Likewise.
25299         * elf/tst-auditmod6b.c (check_avx): Likewise.
25300         * elf/tst-auditmod6c.c (check_avx): Likewise.
25301         * elf/tst-auditmod7b.c (check_avx): Likewise.
25303 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
25305         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25306         !__SSE_MATH__.
25308 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25310         [BZ #13540]
25311         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25312         processing for last bytes.
25314 2011-08-06  Bruno Haible  <bruno@clisp.org>
25316         [BZ #13061]
25317         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25318         U+0385, not to U+1FEE.
25320         [BZ #13062]
25321         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25322         entry for U+00A5 U+0301.
25324 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
25326         [BZ #13166]
25327         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25328         buffer for the output is too small.
25330         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25331         optimization.
25333         [BZ #13185]
25334         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25335         SSE flags if possible.
25337 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25339         [BZ #13540]
25340         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25341         processing for last bytes.
25343 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
25345         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25346         (syscall-list-default-options, syscall-list-default-condition)
25347         (syscall-list-includes): Define.
25348         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25349         list of ABIs and options and #if conditions for each ABI.  Do not
25350         handle common syscalls between ABIs specially.
25351         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25352         Remove.
25353         (syscall-list-variants, syscall-list-32bit-options)
25354         (syscall-list-32bit-condition, syscall-list-64bit-options)
25355         (syscall-list-64bit-condition): Define.
25356         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25357         (syscall-list-variants, syscall-list-32bit-options)
25358         (syscall-list-32bit-condition, syscall-list-64bit-options)
25359         (syscall-list-64bit-condition): Define.
25360         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25361         Remove.
25362         (syscall-list-variants, syscall-list-32bit-options)
25363         (syscall-list-32bit-condition, syscall-list-64bit-options)
25364         (syscall-list-64bit-condition): Define.
25365         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25366         Remove.
25367         (syscall-list-variants, syscall-list-32bit-options)
25368         (syscall-list-32bit-condition, syscall-list-64bit-options)
25369         (syscall-list-64bit-condition): Define.
25371 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
25373         * locale/iso-639.def: Add brx entry.
25375         [BZ #13328]
25376         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25377         Proposed by Mariusz_Cukr <marcukr@op.pl>.
25379         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25380         __feraiseexcept_renamed.
25382 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
25384         [BZ #13538]
25385         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25386         EPOLLET with unsigned values.
25387         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25388         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25390         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25391         to large cancellation.
25392         * math/s_cacoshf.c: Likewise.
25393         * math/s_cacoshl.c: Likewise.
25395 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
25397         [BZ #13305]
25398         [BZ #12786]
25399         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25400         * math/s_cacoshf.c: Likewise.
25401         * math/s_cacoshl.c: Likewise.
25403 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
25405         [BZ #13439]
25406         * iconv/gconv.h: Define __GCONV_SWAP.
25407         * iconvdata/unicode.c: The swap bit must be stored in __flags.
25408         * iconvdata/utf-16.c: Likewise.
25409         * iconvdata/utf-32.c: Likewise.
25411 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25413         [BZ #13524]
25414         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25415         numerator after shifting it by one limb.
25417 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
25419         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25420         under [__USE_EXTERN_INLINES].
25422 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
25424         [BZ #13446]
25425         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25427 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25429         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25430         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25431         optimized code.
25432         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25433         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25434         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25435         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25436         for strncasecmp/strncasecmp_l compilation.
25437         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25438         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25440 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
25442         [BZ #13484]
25443         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25444         of __asm__.
25446 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
25448         [BZ #13506]
25449         * time/tzfile.c (__tzfile_read): Check values from file header.
25451 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
25453         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25454         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25455         * powerpc/powerpc32/dl-start.S: Likewise.
25456         * powerpc/powerpc32/elf/start.S: Likewise.
25457         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25458         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25459         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25460         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25461         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25462         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25463         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25464         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25465         * powerpc/powerpc32/fpu/s_round.S: Likewise.
25466         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25467         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25468         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25469         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25470         * powerpc/powerpc32/memset.S: Likewise.
25471         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25472         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25473         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25474         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25475         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25476         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25477         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25478         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25479         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25480         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25481         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25482         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25483         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25485 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25487         * math/libm-test.inc: Added more nearbyint tests.
25488         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25489         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25490         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25491         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25493 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
25495         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25496         FD_CLOEXEC.
25498 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25500         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25501         Add wcscpy-ssse3 wcscpy-c.
25502         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25503         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25504         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25505         * sysdeps/x86_64/wcschr.S: New file.
25506         * sysdeps/x86_64/wcsrchr.S: New file.
25507         * string/test-strcmp.c: Remove checking of wcscmp function for
25508         wrong alignments.
25509         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25510         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25511         wcsrchr-sse2 wcsrchr-c.
25512         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25513         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25514         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25515         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25516         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25517         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25518         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25519         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25520         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25521         * wcsmbc/wcschr.c (WCSCHR): New macro.
25523 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25525         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25526         * wcsmbs/test-wcsrchr.c: New file.
25527         * string/test-strrchr.c: Add wcsrchr support.
25528         (WIDE): New macro.
25529         * wcsmbs/test-wcscpy.c: New file.
25530         * string/test-strcpy.c: Add wcscpy support.
25531         (WIDE): New macro.
25533 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
25535         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25536         the inner loop.
25538 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
25540         [BZ #13472]
25541         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25543 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
25545         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
25546         Minor optimizations.
25548         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25549         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25550         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25552 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
25554         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25555         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25556         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25557         for gcc to avoid warnings.
25558         * inet/Makefile (tests): Add tst-checks.
25559         * inet/tst-checks.c: New file.
25561         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25562         warning.
25564         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25565         __wmemcmp_sse2.
25567         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25568         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25570         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25572 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
25574         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25575         problem.
25577         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25579 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
25581         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25582         conditional on GCC version.
25583         (__arch_compare_and_exchange_val_8_acq)
25584         (__arch_compare_and_exchange_val_16_acq)
25585         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25586         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25587         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25589 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
25591         * sysdeps/sh/backtrace.c: New file.
25593 2011-12-02  Andreas Schwab  <schwab@redhat.com>
25595         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
25596         parenthesis.
25598 2011-12-01  Andreas Schwab  <schwab@redhat.com>
25600         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25601         falling back to utime.
25603 2011-11-30  Andreas Schwab  <schwab@redhat.com>
25605         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25606         expectations for float.
25608 2011-11-29  Andreas Schwab  <schwab@redhat.com>
25610         * locale/weight.h (findidx): Add parameter len.
25611         * locale/weightwc.h (findidx): Likewise.
25612         * posix/fnmatch_loop.c (FCT): Adjust caller.
25613         * posix/regcomp.c (build_equiv_class): Likewise.
25614         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25615         * posix/regexec.c (check_node_accept_bytes): Likewise.
25616         * string/strcoll_l.c (STRCOLL): Likewise.
25617         * string/strxfrm_l.c (STRXFRM): Likewise.
25619 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
25621         * Makefile.in: Remove CVSOPT handling.
25622         * configure.in: Remove use of AC_REVISION.
25623         * iconvdata/Makefile (distribute): No need to filter out CVS.
25624         * scripts/list-sources.sh: Remove CVS, subversion and monotone
25625         handling.
25627 2011-11-16  Andreas Schwab  <schwab@redhat.com>
25629         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25630         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25631         [USE_AS_STRNCASECMP_L]: Likewise.
25632         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25633         NO_TLS_DIRECT_SEG_REFS.
25634         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25635         Fix argument offsets for non-PIC.
25636         [USE_AS_STRNCASECMP_L]: Likewise.
25637         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25638         NO_TLS_DIRECT_SEG_REFS.
25640 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
25642         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
25643         O_CLOEXEC.
25644         * locale/loadlocale.c (_nl_load_locale): Likewise.
25646 2011-11-15  Andreas Schwab  <schwab@redhat.com>
25648         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25649         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25650         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25651         (SYSCALL_GETTIME): Set errno on error.
25653         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25654         count references to noai6ai_cached.
25656 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
25658         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25660         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25661         FD_CLOEXEC for /proc/self/maps.
25663         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25664         FD_CLOEXEC for /proc/meminfo.
25666         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25667         gai.conf.
25669         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
25670         FD_CLOEXEC for given file.
25672         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25674         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25675         FD_CLOEXEC for /etc/hosts.
25676         (_gethtent): Likewise.
25678         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25680         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25681         cancellation and set FD_CLOEXEC for /etc/netgroup.
25683         * nss/nss_files/files-key.c (search): Don't allow cancellation when
25684         reading /etc/publickey.
25686         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25687         allow cancellation when reading /etc/group.
25689         * nss/nss_files/files-alias.c (internal_setent): Don't allow
25690         cancellation.
25691         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
25693         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25694         when using data file.
25696         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25698         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25699         (write_nis_obj): Use "c" and "e" in fopen.
25701         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25703         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25705         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25707         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25709         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25710         locale.alias.
25712         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25714         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25716         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25718         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25719         file parsing and set FD_CLOEXEC.
25721 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
25723         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25725 2011-11-14  Andreas Schwab  <schwab@redhat.com>
25727         * malloc/arena.c (arena_get2): Don't call reused_arena when
25728         _int_new_arena failed.
25730 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
25732         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25733         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25734         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25735         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25736         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25737         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25738         to compile strcasecmp and strncasecmp.
25739         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25740         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25742         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25744 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
25746         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25747         locale-defines.sym to gen-as-const-headers.
25748         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25749         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25750         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25751         to compile strcasecmp and strncasecmp.
25752         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25753         strcasecmp_l and strncasecmp_l.
25754         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25755         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25756         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25757         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25758         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25759         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25760         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25761         * sysdeps/i386/i686/multiarch/strncase.S: New file.
25762         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25763         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25764         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25766 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
25768         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25769         result of SYSDEP_GETTIME_CPU to retval.
25770         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25771         parameter list to macro.  Remove trailing semicolon.  Adjust users.
25773         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25774         variable.
25776         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25777         mantissa words.
25778         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25780         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25781         from unused variable.
25783         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25784         DWARF definitions.
25785         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25786         for assembling.
25788         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25789         over namespaces.
25791         * sunrpc/rpc_prot.c (rejected): Fix case value.
25793         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25794         unsigned long long int to avoid warnings in shift.
25796         * posix/regex_internal.c (re_string_reconstruct): Actually use result
25797         of use of trans.
25798         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25799         variable tmp.
25801         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25802         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25803         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25805         * nis/nis_table.c (nis_list): Use variable of correct type for
25806         result of __follow_path call.
25808 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25810         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25811         of math functions ceil, trunc, floor, round, and sqrt, when
25812         avaliable on the platform.
25813         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25814         name clash.
25815         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25816         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25817         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25819 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
25821         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25822         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25824 2011-11-11  Roland McGrath  <roland@hack.frob.com>
25826         * include/unistd.h: Fix __readlink return type.
25827         Reported by Chris Metcalf <cmetcalf@tilera.com>.
25829 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
25831         * stdlib/ucontext.h: Undo last change for makecontext.
25833 2011-11-11  Andreas Schwab  <schwab@redhat.com>
25835         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25837         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25838         * setjmp/setjmp.h: Mark functions as non-leaf.
25839         * setjmp/bits/setjmp2.h: Likewise.
25840         * stdlib/ucontext.h: Likewise.
25842 2011-11-10  Andreas Schwab  <schwab@redhat.com>
25844         * malloc/arena.c (_int_new_arena): Don't increment narenas.
25845         (reused_arena): Don't check arena limit.
25846         (arena_get2): Atomically check arena limit.
25848 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
25850         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25851         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25853         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25854         instructions.
25856 2011-11-07  Andreas Schwab  <schwab@redhat.com>
25858         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25859         handler when locking.
25861         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25862         Fix size of allocated buffer.
25864 2011-11-04  Andreas Schwab  <schwab@redhat.com>
25866         [BZ #10103]
25867         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25868         declarations for long double functions.
25869         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25871         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25873 2011-11-03  Andreas Schwab  <schwab@redhat.com>
25875         * nscd/nscd.c (main): Don't start AVC thread until credentials are
25876         installed.
25878         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25879         is disabled.
25881 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25883         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25885 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25887         * include/alloca.h (stackinfo_alloca_round): Define.
25888         (extend_alloca): Use it.
25889         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25890         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25891         here.
25893         * scripts/check-local-headers.sh: Ignore libaudit.h.
25895         * nscd/Makefile (extra-objs): Make recursively expanded.
25897 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
25899         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25900         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25902         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25903         * posix/tst-rfc3484-2.c: Likewise.
25904         * posix/tst-rfc3484-3.c: Likewise.
25906         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25907         process_vm_writev.
25908         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25909         process_vm_writev.
25910         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25911         process_vm_writev from libc using GLIBC_2.15 version.
25913         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25915 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
25917         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25918         stack usage.
25920 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
25922         [BZ #13367]
25923         * nss/getent.c (initgroups_keys): Show error message in case no group
25924         names are given.
25926         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25927         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25928         __bump_nl_timestamp.
25929         * nscd/connections (nscd_init): When host database is served open
25930         netlink socket and request notification about configuration changes.
25931         (main_loop_poll): Track netlink file descriptor and bump timestamp
25932         in case data becomes available.
25933         (main_loop_epoll): Likewise.
25934         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25935         (database_pers_head): Add extra_data fileds.
25936         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25937         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25938         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25939         Adjust caller.
25940         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25941         in6ai data, call __free_in6ai.
25942         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25943         Add -DHAVE_NETLINK.
25944         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
25945         interface information.  Reuse previous data if netlink timestamp
25946         is not changed.
25947         (__bump_nl_timestamp): New function.
25948         (__free_in6ai): New function.
25950 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
25952         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25953         close_not_cancel_no_status here.
25954         (__check_pf): Reorganize code a bit to not call close twice if OOM.
25956 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
25958         [BZ #13276]
25959         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25960         return value.
25962         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
25963         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25964         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25966 2011-07-03  Andreas Jaeger  <aj@suse.de>
25968         [BZ #10709]
25969         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25970         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25971         * math/libm-test.inc (sin_test): Add test case.
25973 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
25975         [BZ #13337]
25976         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25977         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25979         * elf/chroot_canon.c (chroot_canon): Cleanups.
25981         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25983         [BZ #13335]
25984         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25985         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25987         * string/test-strchr.c: Make usable for strchrnul testing.
25988         * string/test-strchrnul.c: New file.
25989         * string/Makefile (strop-tests): Add strchrnul.
25991         * po/it.po: Update from translation team.
25992         * po/es.po: Likewise.
25994 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
25996         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25997         the three constants needed as parameters.  Drop the others.
25998         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25999         __m128i_strloadu_tolower.
26000         Create and initialize variable zero and use it in all the places
26001         where _mm_setzero_si128 was used.
26003         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26004         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26005         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26006         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26007         anymore.
26008         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26009         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26010         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26011         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26012         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26013         __mpranred, __mptan.
26014         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26015         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26016         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26017         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26018         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26019         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26020         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26021         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26022         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26024 2011-10-28  Andreas Schwab  <schwab@redhat.com>
26026         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26027         redefine if SHARED.
26028         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26030         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26031         wide char related routines to wcsmbs subdir.
26033 2011-10-27  Andreas Schwab  <schwab@redhat.com>
26035         [BZ #13344]
26036         * misc/sys/cdefs.h (__THROWNL): Define.
26037         * posix/unistd.h: Use __THREADNL instead of __THREAD
26038         for memory synchronization functions.
26040 2011-10-26  Roland McGrath  <roland@hack.frob.com>
26042         [BZ #13349]
26043         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26044         doesn't exist.
26045         * manual/stdio.texi (Obstack Streams): Node removed.
26047 2011-10-26  Andreas Schwab  <schwab@redhat.com>
26049         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26050         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26051         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26053         * math/math_private.h (math_force_eval): Allow non-addressable
26054         arguments.
26055         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26057 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
26059         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26060         file is not needed.
26062         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26063         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26064         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26065         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26066         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26067         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26068         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26069         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26070         Add AVX variants.
26071         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26072         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26073         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26074         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26075         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26076         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26077         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26078         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26079         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26080         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26081         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26082         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26083         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26084         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26085         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26086         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26087         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26088         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26089         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26091         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26092         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
26094         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26095         place.  Use VEX encoding when compiling for AVX.
26097 2011-10-25  Andreas Schwab  <schwab@redhat.com>
26099         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26100         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26102         * string/test-strchr.c (do_test): Don't generate NUL bytes.
26104 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
26106         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
26107         useless if() expression.
26108         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26109         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26110         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26111         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26112         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26113         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26114         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26115         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26116         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26117         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26118         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26119         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26120         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26121         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26122         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26123         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26124         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26125         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26126         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26128         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26130 2011-10-25  Andreas Schwab  <schwab@redhat.com>
26132         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26133         condition.
26134         * elf/dl-fini.c (_dl_sort_fini): Likewise.
26136 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
26138         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26139         .text section.  Avoid duplicate constants.
26140         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26141         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26142         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26143         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26144         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26145         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26146         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26147         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26148         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26149         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26150         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26151         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26152         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26153         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26154         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26155         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26156         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26157         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26158         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26159         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26160         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26161         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26162         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26163         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26164         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26165         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26166         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26167         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26168         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26169         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26170         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26171         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26172         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26173         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26174         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26175         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26176         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26177         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26178         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26179         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26180         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26181         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26182         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26183         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26184         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26186 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
26188         * sysdeps/x86_64/dla.h: Move to ...
26189         * sysdeps/x86_64/fpu/dla.h: ...here.
26190         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26191         situations.  Use __builtin_fma only for gcc 4.6 and up.
26193         * config.make.in: Add have-mfma4 entry.
26194         * configure.in: Substitute libc_cv_cc_fma4.
26195         * math/Makefile (dbl-only-routines): Add sincostab.
26196         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26197         Use __sincostab not sincos.
26198         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26199         name is a macro.
26200         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26201         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26202         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26203         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
26204         using __copysign.
26205         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
26206         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
26207         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26208         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26209         and __inv.
26210         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26211         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26212         __copysign.
26213         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
26214         define aliases when function name is a macro.
26215         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26216         sysdeps/ieee754/dbl-64/sincos.tbl.
26217         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26218         fma4-enabled routines.
26219         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26220         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26221         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26222         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26223         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26224         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26225         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26226         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26227         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26228         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26229         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26230         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26231         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26232         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26233         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26234         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26235         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26236         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26237         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26238         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26239         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26240         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26241         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26242         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26243         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26244         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26245         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26246         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26247         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26248         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26250         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26251         rename.
26252         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26253         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26254         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26255         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26256         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26257         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26258         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26259         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26261 2011-10-24  Andreas Schwab  <schwab@redhat.com>
26263         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26265 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26267         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26269         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26270         prediction.
26271         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26273         * string/strnlen.c: Don't define STRNLEN, reverse logic.
26274         Remove unused variable magic_bits.
26275         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26277         * string/strnlen.c: Define and use STRNLEN macro.
26278         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26279         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26280         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26281         * wcsmbs/wcslen.c: Define and use WCSLEN.
26282         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26283         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26284         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26285         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26286         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26287         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26288         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26290 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26292         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26293         strnlen-sse2-no-bsf.
26294         Rename strlen-no-bsf to strlen-sse2-no-bsf.
26295         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26296         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26297         Add strnlen support.
26298         (USE_AS_STRNLEN): New macro.
26299         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26300         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26301         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26302         * sysdeps/x86_64/wcslen.S: New file.
26304 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
26306         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26307         XMM-moves are used for copying on small sizes.
26309 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26311         * wcsmbs/Makefile (strop-tests): Add wcschr.
26312         * wcsmbs/test-wcschr.c: New file.
26313         * string/test-strchr.c: Update.
26314         Add wcschr support.
26315         (WIDE): New macro.
26317 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26319         * wcsmbs/Makefile (strop-tests): Add wcslen.
26320         * wcsmbs/test-wcslen.c: New file.
26321         * string/test-strlen.c: Update.
26322         Add wcslen support.
26323         (WIDE): New macro.
26325 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26327         * po/it.po: Update from translation team.
26329 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26331         * sysdeps/x86_64/wcscmp.S: Update.
26332         Fix wrong comparison semantics.
26333         wcscmp shall use signed comparison not unsigned.
26334         Don't use substraction to avoid overflow bug.
26335         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26336         * wcsmbc/wcscmp.c: Likewise.
26337         * string/test-strcmp.c: Likewise.
26338         Add new tests to check cases with negative values.
26340 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26342         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26343         * sysdeps/x86_64/dla.h: ...here.  New file.
26344         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26345         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26346         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26347         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26348         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26349         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26350         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26351         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26352         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26354 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
26356         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26357         __ynl_finite aliases.
26359 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
26361         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26363         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26364         define DLA_FMA.
26365         [DLA_FMA] (EMULV): Use DLA_FMA.
26366         [DLA_FMA] (MUL12): Use EMULV.
26367         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26368         that are not needed.
26369         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26370         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26371         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26372         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26373         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26374         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26375         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26377 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
26379         * math/s_nan.c: Undef __nan.
26380         * math/s_nanf.c: Undef __nanf.
26381         * math/s_nanl.c: Undef __nanl.
26382         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26383         "math_private.h".
26385 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
26387         * math/s_catan.c: Add branch predictions.
26388         * math/s_catanf.c: Likewise.
26389         * math/s_catanh.c: Likewise.
26390         * math/s_catanhf.c: Likewise.
26391         * math/s_catanhl.c: Likewise.
26392         * math/s_catanl.c: Likewise.
26393         * math/s_cexp.c: Likewise.
26394         * math/s_cexpf.c: Likewise.
26395         * math/s_cexpl.c: Likewise.
26396         * math/s_clog.c: Likewise.
26397         * math/s_clog10.c: Likewise.
26398         * math/s_clog10f.c: Likewise.
26399         * math/s_clog10l.c: Likewise.
26400         * math/s_clogf.c: Likewise.
26401         * math/s_clogl.c: Likewise.
26402         * math/s_csqrt.c: Likewise.
26403         * math/s_csqrtf.c: Likewise.
26404         * math/s_csqrtl.c: Likewise.
26405         * math/s_ctanf.c: Likewise.
26406         * math/s_ctanh.c: Likewise.
26407         * math/s_ctanhf.c: Likewise.
26408         * math/s_ctanhl.c: Likewise.
26409         * math/s_ctanl.c: Likewise.
26411         * math/math_private.h: Define __nan, __nanf, __nanl.
26412         * math/s_cacosh.c: Include <math_private.h>.
26413         * math/s_cacoshl.c: Likewise.
26414         * math/s_casinh.c: Likewise.
26415         * math/s_casinhf.c: Likewise.
26416         * math/s_casinhl.c: Likewise.
26417         * math/s_ccos.c: Rely entire on ccosh.
26418         * math/s_ccosf.c: Rely entire on ccoshf.
26419         * math/s_ccosl.c: Rely entirely on ccoshl.
26420         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
26421         Remove tests for FE_INVALID.
26422         * math/s_ccoshf.c: Likewise.
26423         * math/s_ccoshl.c: Likewise.
26424         * math/s_csin.c: Likewise.
26425         * math/s_csinf.c: Likewise.
26426         * math/s_csinh.c Likewise.
26427         * math/s_csinhf.c: Likewise.
26428         * math/s_csinhl.c: Likewise.
26429         * math/s_csinl.c: Likewise.
26430         * math/s_ctan.c: Likewise.
26431         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26432         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26433         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26435 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
26437         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26438         compilation problems.
26440         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26441         __builtin_expect.
26443 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
26445         * sysdeps/i386/configure.in: Test for -mfma4 option.
26446         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26447         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26448         COMMON_CPUID_INDEX_80000001.
26449         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26450         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26451         use it if FMA3 is not supported.
26452         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26454         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26455         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26457 2011-10-20  Andreas Schwab  <schwab@redhat.com>
26459         [BZ #12892]
26460         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26461         it would create a cycle with a link time dependency.
26463 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
26465         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26466         instruction.
26467         * string/Makefile (strop-tests): Add rawmemchr.
26468         * string/test-rawmemchr.c: New file.
26470         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26471         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
26472         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
26473         when compiling str{,n}casecmp and when AVX is available.  Hook up
26474         new optimized code in initializers.
26476 2011-10-19  Andreas Schwab  <schwab@redhat.com>
26478         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26479         __feraiseexcept instead of feraiseexcept.
26481 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
26483         * math/math_private.h: Define defaults for libc_fetestexcept and
26484         libc_feupdateenv.
26485         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26486         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26487         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26488         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26489         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26490         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26491         libc_fetestexcept and libc_feupdateenv.
26493         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26494         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26495         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26496         * sysdeps/x86_64/fpu/math_private.h: Define special version of
26497         libc_feholdexcept_setround.
26499         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26500         Add s_nearbyint-c and s_nearbyintf-c.
26501         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26502         nearbyintf inlines.
26503         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26504         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26505         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26506         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26508         * math/math_private.h: Define defaults for libc_fegetround,
26509         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26510         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26511         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26512         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26513         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26514         standard functions.
26515         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26516         Remove comments and hacks for old compiler versions.
26517         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26518         libc_fegetround, libc_fesetround, libc_feholdexcept, and
26519         libc_feholdexceptl.
26521 2011-10-18  Andreas Schwab  <schwab@redhat.com>
26523         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
26524         (__feraiseexcept_renamed): Add __NTH.
26525         (feraiseexcept): Add __NTH.  Rename local variables to fix
26526         namespace violations.
26528 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
26530         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26532         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26534         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26535         recently added interfaces.
26536         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26538         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26539         about macro parameter expansion.
26541         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26542         __NO_MATH_INLINES is defined.  Cleanups.
26544         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26545         and __floorf is target has SSE4.1.
26546         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26547         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26548         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26549         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26551         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26552         name.
26553         (floorf): Likewise.
26555         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26557 2011-10-17  Andreas Schwab  <schwab@redhat.com>
26559         * misc/sys/cdefs.h: Fix last change.
26561         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26562         database lookup.
26564 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
26566         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26568         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26569         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26570         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26571         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26572         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26573         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26574         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26575         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26576         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26577         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26578         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26579         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26580         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26581         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26582         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26583         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26584         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26585         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26586         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26587         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26588         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26589         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26591         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26592         ceil, ceilf, floor, floorf.
26594         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26595         Perform IRELATIVE relocations last.
26597         * elf/do-rel.h: Add another parameter nrelative, replacing the
26598         local variable with the same name.  Change name of the function
26599         to end in Rel or Rela (uppercase).
26600         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26601         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
26602         elf_dynamic_do_##reloc function.
26604 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
26606         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26607         is sufficient, at least on modern CPUs.
26609         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26611         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26612         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26614         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26615         __expl_finite.
26616         * math/bits/math-finite.h: Add entries for exp.
26617         * math/e_expl.c: Add __*_finite alias.
26618         * sysdeps/i386/fpu/e_exp.S: Likewise.
26619         * sysdeps/i386/fpu/e_expf.S: Likewise.
26620         * sysdeps/i386/fpu/e_expl.c: Likewise.
26621         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26622         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26623         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26624         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26625         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26626         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26627         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26629         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26630         is sufficient, at least on modern CPUs.
26632         * ctype/ctype-info.c (__ctype_init): Define.
26633         * include/ctype.h (__ctype_init): Declare.
26634         (__ctype_b_loc): The variable is always initialized.
26635         (__ctype_toupper_loc): Likewise.
26636         (__ctype_tolower_loc): Likewise.
26637         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26638         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26640 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
26642         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26644         * configure.in: Also look in $cxxmachine/include for C++ system
26645         headers.
26647 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26649         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26650         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26651         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26652         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
26653         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26654         (USE_AS_WMEMCMP): New macro.
26655         Fixing indents.
26656         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26657         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26658         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26659         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26660         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26661         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26662         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26663         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26664         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26665         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26666         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26667         (USE_AS_WMEMCMP): New macro.
26668         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26669         * sysdeps/string/test-memcmp.c: Update.
26670         Fix simple_wmemcmp.
26671         Add new tests.
26672         * wcsmbs/wmemcmp.c: Update.
26673         (WMEMCMP): New macro.
26674         Fix overflow bug.
26676 2011-10-12  Andreas Jaeger  <aj@suse.de>
26678         [BZ #13268]
26679         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26681 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
26683         * libio/iofwide.c (do_length): Avoid warning.
26685         * ctype/ctype.h (__isctype_f): Add missing __THROW.
26687 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
26689         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26691         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26692         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26693         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26694         * sysdeps/i386/i686/fpu/e_log.S: New file.
26695         * sysdeps/i386/i686/fpu/e_logf.S: New file.
26696         * sysdeps/i386/i686/fpu/e_logl.S: New file.
26698         * ctype/ctype.h: Add support for inlined isXXX functions when
26699         compiling C++ code.
26701 2011-10-14  Andreas Schwab  <schwab@redhat.com>
26703         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26705         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26707 2011-10-13  Roland McGrath  <roland@hack.frob.com>
26709         [BZ #13291]
26710         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26712 2011-10-13  Andreas Schwab  <schwab@redhat.com>
26714         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26715         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26716         feraiseexcept.
26718         * sysdeps/x86_64/memrchr.S: Check for zero size.
26720         * string/stratcliff.c: Add memrchr tests.
26722 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26724         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26725         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26726         rawmemchr-sse2 rawmemchr-sse2-bsf.
26727         * sysdeps/i386/i686/multiarch/memchr.S: New file.
26728         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26729         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26730         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26731         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26732         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26733         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26734         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26735         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26736         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26737         * string/memrchr.c (MEMRCHR): New macro.
26739 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
26741         Add integration with gcc's -ffinite-math-only and optimize wrapper
26742         functions in libm.
26743         * Versions.def: Define GLIBC_2.15 version for libm.
26744         * math/Makefile (headers): Add bits/math-finite.h.
26745         * math/bits/math-finite.h: New file.
26746         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26747         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26748         * math/e_acoshl.c: Add __*_finite alias.
26749         * math/e_acosl.c: Likewise.
26750         * math/e_asinl.c: Likewise.
26751         * math/e_atan2l.c: Likewise.
26752         * math/e_atanhl.c: Likewise.
26753         * math/e_coshl.c: Likewise.
26754         * math/e_exp10.c: Likewise.
26755         * math/e_exp10f.c: Likewise.
26756         * math/e_exp10l.c: Likewise.
26757         * math/e_exp2l.c: Likewise.
26758         * math/e_fmodl.c: Likewise.
26759         * math/e_gammal_r.c: Likewise.
26760         * math/e_hypotl.c: Likewise.
26761         * math/e_j0l.c: Likewise.
26762         * math/e_j1l.c: Likewise.
26763         * math/e_jnl.c: Likewise.
26764         * math/e_lgammal_r.c: Likewise.
26765         * math/e_log10l.c: Likewise.
26766         * math/e_log2l.c: Likewise.
26767         * math/e_logl.c: Likewise.
26768         * math/e_powl.c: Likewise.
26769         * math/e_sinhl.c: Likewise.
26770         * math/e_sqrtl.c: Likewise.
26771         * math/e_scalb.c: Completely rewritten and optimized.
26772         * math/e_scalbf.c: Likewise.
26773         * math/e_scalbl.c: Likewise.
26774         * math/w_acos.c: Likewise.
26775         * math/w_acosf.c: Likewise.
26776         * math/w_acosl.c: Likewise.
26777         * math/w_acosh.c: Likewise.
26778         * math/w_acoshf.c: Likewise.
26779         * math/w_acoshl.c: Likewise.
26780         * math/w_asin.c: Likewise.
26781         * math/w_asinf.c: Likewise.
26782         * math/w_asinl.c: Likewise.
26783         * math/w_atan2.c: Likewise.
26784         * math/w_atan2f.c: Likewise.
26785         * math/w_atan2l.c: Likewise.
26786         * math/w_atanh.c: Likewise.
26787         * math/w_atanhf.c: Likewise.
26788         * math/w_atanhl.c: Likewise.
26789         * math/w_exp10.c: Likewise.
26790         * math/w_exp10f.c: Likewise.
26791         * math/w_exp10l.c: Likewise.
26792         * math/w_fmod.c: Likewise.
26793         * math/w_fmodf.c: Likewise.
26794         * math/w_fmodl.c: Likewise.
26795         * math/w_j0.c: Likewise.
26796         * math/w_j0f.c: Likewise.
26797         * math/w_j0l.c: Likewise.
26798         * math/w_j1.c: Likewise.
26799         * math/w_j1f.c: Likewise.
26800         * math/w_j1l.c: Likewise.
26801         * math/w_jn.c: Likewise.
26802         * math/w_jnf.c: Likewise.
26803         * math/w_log.c: Likewise.
26804         * math/w_logf.c: Likewise.
26805         * math/w_logl.c: Likewise.
26806         * math/w_log10.c: Likewise.
26807         * math/w_log10f.c: Likewise.
26808         * math/w_log10l.c: Likewise.
26809         * math/w_log2.c: Likewise.
26810         * math/w_log2f.c: Likewise.
26811         * math/w_log2l.c: Likewise.
26812         * math/w_pow.c: Likewise.
26813         * math/w_powf.c: Likewise.
26814         * math/w_powl.c: Likewise.
26815         * math/w_remainder.c: Likewise.
26816         * math/w_remainderf.c: Likewise.
26817         * math/w_remainderl.c: Likewise.
26818         * math/w_scalb.c: Likewise.
26819         * math/w_scalbf.c: Likewise.
26820         * math/w_scalbl.c: Likewise.
26821         * math/w_sqrt.c: Likewise.
26822         * math/w_sqrtf.c: Likewise.
26823         * math/w_sqrtl.c: Likewise.
26824         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26825         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
26826         used.
26827         * math/math_private.h: Declare __kernel_standard_f.
26828         * math/w_cosh.c: Remove cruft and optimize a bit.
26829         * math/w_coshf.c: Likewise.
26830         * math/w_coshl.c: Likewise.
26831         * math/w_exp2.c: Likewise.
26832         * math/w_exp2f.c: Likewise.
26833         * math/w_exp2l.c: Likewise.
26834         * math/w_hypot.c: Likewise.
26835         * math/w_hypotf.c: Likewise.
26836         * math/w_hypotl.c: Likewise.
26837         * math/w_lgamma.c: Likewise.
26838         * math/w_lgamma_r.c: Likewise.
26839         * math/w_lgammaf.c: Likewise.
26840         * math/w_lgammaf_r.c: Likewise.
26841         * math/w_lgammal.c: Likewise.
26842         * math/w_lgammal_r.c: Likewise.
26843         * math/w_sinh.c: Likewise.
26844         * math/w_sinhf.c: Likewise.
26845         * math/w_sinhl.c: Likewise.
26846         * math/w_tgamma.c: Likewise.
26847         * math/w_tgammaf.c: Likewise.
26848         * math/w_tgammal.c: Likewise.
26849         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26850         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26851         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26852         Minor optimizations.  Pretty printing.  Remove cruft.
26853         * sysdeps/i386/fpu/e_acosf.S: Likewise.
26854         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26855         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26856         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26857         * sysdeps/i386/fpu/e_acosl.c: Likewise.
26858         * sysdeps/i386/fpu/e_asin.S: Likewise.
26859         * sysdeps/i386/fpu/e_asinf.S: Likewise.
26860         * sysdeps/i386/fpu/e_atan2.S: Likewise.
26861         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26862         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26863         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26864         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26865         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26866         * sysdeps/i386/fpu/e_exp10.S: Likewise.
26867         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26868         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26869         * sysdeps/i386/fpu/e_exp2.S: Likewise.
26870         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26871         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26872         * sysdeps/i386/fpu/e_fmod.S: Likewise.
26873         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26874         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26875         * sysdeps/i386/fpu/e_hypot.S: Likewise.
26876         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26877         * sysdeps/i386/fpu/e_log.S: Likewise.
26878         * sysdeps/i386/fpu/e_log10.S: Likewise.
26879         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26880         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26881         * sysdeps/i386/fpu/e_log2.S: Likewise.
26882         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26883         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26884         * sysdeps/i386/fpu/e_logf.S: Likewise.
26885         * sysdeps/i386/fpu/e_logl.S: Likewise.
26886         * sysdeps/i386/fpu/e_pow.S: Likewise.
26887         * sysdeps/i386/fpu/e_powf.S: Likewise.
26888         * sysdeps/i386/fpu/e_powl.S: Likewise.
26889         * sysdeps/i386/fpu/e_remainder.S: Likewise.
26890         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26891         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26892         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26893         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26894         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26895         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26896         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26897         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26898         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26899         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26900         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26901         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26902         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26903         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26904         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26905         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26906         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26907         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26908         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26909         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26910         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26911         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26912         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26913         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26914         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26915         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26916         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26917         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26918         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26919         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26920         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26921         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26922         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26923         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26924         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26925         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26926         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26927         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26928         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26929         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26930         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26931         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26932         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26933         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26934         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26935         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26936         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26937         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26938         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26939         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26940         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26941         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26942         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26943         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26944         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26945         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26946         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26947         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26948         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26949         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26950         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26951         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26952         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26953         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26954         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26955         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26956         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26957         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26958         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26959         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26960         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26961         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26962         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26963         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26964         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26965         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26966         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26967         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26968         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26969         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26970         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26971         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26972         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26973         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26974         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26975         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26976         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26977         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26978         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26979         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26980         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26981         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26982         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26983         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26984         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26985         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26986         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26987         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26988         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26989         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26990         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26991         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26992         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26993         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26994         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26995         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26996         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26997         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26998         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26999         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27000         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27001         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27002         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27003         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27004         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27005         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27006         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27007         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27008         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
27009         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27010         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27011         (__isnanf): Likewise.
27012         (__isinf_ns): Likewise.
27013         (__isinf_nsf): Likewise.
27014         (__finite): Likewise.
27015         (__finitef): Likewise.
27016         (__ieee754_sqrt): Define as macro.
27017         (__ieee754_sqrtf): Define as macro.
27018         (__ieee754_sqrtl): Define as macro.
27019         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27020         inlined copy.
27021         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27022         __FINITE_MATH_ONLY__ consistent.
27023         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27025 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
27027         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27028         of rawmemchr.
27030         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27032 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
27034         * po/ja.po: Update from translation team.
27036 2011-10-08  Roland McGrath  <roland@hack.frob.com>
27038         * locale/programs/locarchive.c (prepare_address_space): New function.
27039         (create_archive, enlarge_archive, open_archive): Use it.
27041         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27042         inside [SHARED], where it is used.
27044         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27046         * nss/getent.c (netgroup_keys): Remove unused variable.
27047         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27049 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
27051         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27052         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27053         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27054         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27055         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27056         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27057         * math/Makefile (libm-calls): Add s_isinf_ns.
27058         * math/divtc3.c: Use __isinf_nsl instead of isinf.
27059         * math/multc3.c: Likewise.
27060         * math/s_casin.c: Likewise.
27061         * math/s_casinf.c: Likewise.
27062         * math/s_casinl.c: Likewise.
27063         * math/s_ccos.c: Likewise.
27064         * math/s_ccosf.c: Likewise.
27065         * math/s_ccosl.c: Likewise.
27066         * math/s_ctan.c: Likewise.
27067         * math/s_ctanf.c: Likewise.
27068         * math/s_ctanh.c: Likewise.
27069         * math/s_ctanhf.c: Likewise.
27070         * math/s_ctanhl.c: Likewise.
27071         * math/s_ctanl.c: Likewise.
27072         * math/w_fmod.c: Likewise.
27073         * math/w_fmodf.c: Likewise.
27074         * math/w_fmodl.c: Likewise.
27075         * math/w_remainder.c: Likewise.
27076         * math/w_remainderf.c: Likewise.
27077         * math/w_remainderl.c: Likewise.
27078         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27079         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27080         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27081         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27082         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27083         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27084         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27085         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27087         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27088         of the number.
27089         * stdio-common/printf_fphex.c: Likewise.
27090         * stdio-common/printf_size.c: Likewise.
27092         * math/e_exp10.c: Include math_private.h using <...> not "...".
27093         * math/e_exp10f.c: Likewise.
27094         * math/e_exp10l.c: Likewise.
27095         * math/e_exp2l.c: Likewise.
27096         * math/e_j0l.c: Likewise.
27097         * math/e_j1l.c: Likewise.
27098         * math/e_jnl.c: Likewise.
27099         * math/e_lgammal_r.c: Likewise.
27100         * math/e_rem_pio2l.c: Likewise.
27101         * math/e_scalb.c: Likewise.
27102         * math/e_scalbf.c: Likewise.
27103         * math/e_scalbl.c: Likewise.
27104         * math/k_cosl.c: Likewise.
27105         * math/k_sinl.c: Likewise.
27106         * math/k_tanl.c: Likewise.
27107         * math/s_cacoshf.c: Likewise.
27108         * math/s_catan.c: Likewise.
27109         * math/s_catanf.c: Likewise.
27110         * math/s_catanh.c: Likewise.
27111         * math/s_catanhf.c: Likewise.
27112         * math/s_catanhl.c: Likewise.
27113         * math/s_catanl.c: Likewise.
27114         * math/s_ccosh.c: Likewise.
27115         * math/s_ccoshf.c: Likewise.
27116         * math/s_ccoshl.c: Likewise.
27117         * math/s_cexp.c: Likewise.
27118         * math/s_cexpf.c: Likewise.
27119         * math/s_cexpl.c: Likewise.
27120         * math/s_clog.c: Likewise.
27121         * math/s_clog10.c: Likewise.
27122         * math/s_clog10f.c: Likewise.
27123         * math/s_clog10l.c: Likewise.
27124         * math/s_clogf.c: Likewise.
27125         * math/s_clogl.c: Likewise.
27126         * math/s_csin.c: Likewise.
27127         * math/s_csinf.c: Likewise.
27128         * math/s_csinh.c: Likewise.
27129         * math/s_csinhf.c: Likewise.
27130         * math/s_csinhl.c: Likewise.
27131         * math/s_csinl.c: Likewise.
27132         * math/s_csqrt.c: Likewise.
27133         * math/s_csqrtf.c: Likewise.
27134         * math/s_csqrtl.c: Likewise.
27135         * math/s_ctan.c: Likewise.
27136         * math/s_ctanf.c: Likewise.
27137         * math/s_ctanh.c: Likewise.
27138         * math/s_ctanhf.c: Likewise.
27139         * math/s_ctanhl.c: Likewise.
27140         * math/s_ctanl.c: Likewise.
27141         * math/s_ldexp.c: Likewise.
27142         * math/s_ldexpf.c: Likewise.
27143         * math/s_ldexpl.c: Likewise.
27144         * math/s_significand.c: Likewise.
27145         * math/s_significandf.c: Likewise.
27146         * math/s_significandl.c: Likewise.
27147         * math/w_acos.c: Likewise.
27148         * math/w_acosf.c: Likewise.
27149         * math/w_acosh.c: Likewise.
27150         * math/w_acoshf.c: Likewise.
27151         * math/w_acoshl.c: Likewise.
27152         * math/w_acosl.c: Likewise.
27153         * math/w_asin.c: Likewise.
27154         * math/w_asinf.c: Likewise.
27155         * math/w_asinl.c: Likewise.
27156         * math/w_atan2.c: Likewise.
27157         * math/w_atan2f.c: Likewise.
27158         * math/w_atan2l.c: Likewise.
27159         * math/w_atanh.c: Likewise.
27160         * math/w_atanhf.c: Likewise.
27161         * math/w_atanhl.c: Likewise.
27162         * math/w_cosh.c: Likewise.
27163         * math/w_coshf.c: Likewise.
27164         * math/w_coshl.c: Likewise.
27165         * math/w_dremf.c: Likewise.
27166         * math/w_exp10.c: Likewise.
27167         * math/w_exp10f.c: Likewise.
27168         * math/w_exp10l.c: Likewise.
27169         * math/w_exp2.c: Likewise.
27170         * math/w_exp2f.c: Likewise.
27171         * math/w_fmod.c: Likewise.
27172         * math/w_fmodf.c: Likewise.
27173         * math/w_fmodl.c: Likewise.
27174         * math/w_hypot.c: Likewise.
27175         * math/w_hypotf.c: Likewise.
27176         * math/w_hypotl.c: Likewise.
27177         * math/w_j0.c: Likewise.
27178         * math/w_j0f.c: Likewise.
27179         * math/w_j0l.c: Likewise.
27180         * math/w_j1.c: Likewise.
27181         * math/w_j1f.c: Likewise.
27182         * math/w_j1l.c: Likewise.
27183         * math/w_jn.c: Likewise.
27184         * math/w_jnf.c: Likewise.
27185         * math/w_jnl.c: Likewise.
27186         * math/w_lgamma.c: Likewise.
27187         * math/w_lgamma_r.c: Likewise.
27188         * math/w_lgammaf.c: Likewise.
27189         * math/w_lgammaf_r.c: Likewise.
27190         * math/w_lgammal.c: Likewise.
27191         * math/w_lgammal_r.c: Likewise.
27192         * math/w_log.c: Likewise.
27193         * math/w_log10.c: Likewise.
27194         * math/w_log10f.c: Likewise.
27195         * math/w_log10l.c: Likewise.
27196         * math/w_log2.c: Likewise.
27197         * math/w_log2f.c: Likewise.
27198         * math/w_log2l.c: Likewise.
27199         * math/w_logf.c: Likewise.
27200         * math/w_logl.c: Likewise.
27201         * math/w_pow.c: Likewise.
27202         * math/w_powf.c: Likewise.
27203         * math/w_powl.c: Likewise.
27204         * math/w_remainder.c: Likewise.
27205         * math/w_remainderf.c: Likewise.
27206         * math/w_remainderl.c: Likewise.
27207         * math/w_scalb.c: Likewise.
27208         * math/w_scalbf.c: Likewise.
27209         * math/w_scalbl.c: Likewise.
27210         * math/w_sinh.c: Likewise.
27211         * math/w_sinhf.c: Likewise.
27212         * math/w_sinhl.c: Likewise.
27213         * math/w_sqrt.c: Likewise.
27214         * math/w_sqrtf.c: Likewise.
27215         * math/w_sqrtl.c: Likewise.
27216         * math/w_tgamma.c: Likewise.
27217         * math/w_tgammaf.c: Likewise.
27218         * math/w_tgammal.c: Likewise.
27220         * po/ja.po: Update from translation team.
27222 2011-09-29  Andreas Jaeger  <aj@suse.de>
27224         [BZ #13179]
27225         * sunrpc/netname.c (netname2host): Fix logic.
27227         [BZ #6779]
27228         [BZ #6783]
27229         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27230         correctly.
27231         * math/w_remainder.c (__remainder): Likewise.
27232         * math/w_remainderf.c (__remainderf): Likewise.
27233         * math/libm-test.inc (remainder_test): Add test cases.
27235 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27237         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
27238         sdiv_qrnnd.
27240 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
27242         * string/test-memcmp.c: Avoid unncessary #defines.
27243         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27245 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27247         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27248         Use new sse2 version for core i3 - i7 as it's faster
27249         than sse42 version.
27250         (bit_Prefer_PMINUB_for_stringop): New.
27251         * sysdeps/x86_64/rawmemchr.S: Update.
27252         Replace with faster SSE2 version.
27253         * sysdeps/x86_64/memrchr.S: New file.
27254         * sysdeps/x86_64/memchr.S: Update.
27255         Replace with faster SSE2 version.
27257 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
27259         * elf/dl-load.c (lose): Add cast to avoid warning.
27261 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
27263         * po/ca.po: Update from translation team.
27265         * inet/getnetgrent_r.c: Hook up nscd.
27266         * nscd/Makefile (routines): Add nscd_netgroup.
27267         (nscd-modules): Add netgroupcache.
27268         (CFLAGS-netgroupcache.c): Define.
27269         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27270         (cache_search): Add const to second parameter.
27271         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27272         INNETGR.
27273         (dbs): Add netgrdb entry.
27274         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27275         (verify_persistent_db): Handle netgrdb.
27276         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27277         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27278         GETFDNETGR.
27279         (netgroup_response_header): Define.
27280         (innetgroup_response_header): Define.
27281         (datahead): Add netgroup_response_header and innetgroup_response_header
27282         elements.
27283         * nscd/nscd.conf: Add entries for netgroup cache.
27284         * nscd/nscd.h (dbtype): Add netgrdb.
27285         (_PATH_NSCD_NETGROUP_DB): Define.
27286         (netgroup_iov_disabled): Declare.
27287         (xmalloc, xcalloc, xrealloc): Move declarations here.
27288         (cache_search): Adjust prototype.
27289         Add netgroup-related prototypes.
27290         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27291         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27292         (__nscd_innetgr): Declare.
27293         * nscd/selinux.c (perms): Use access_vector_t as element type and
27294         add netgroup-related initializers.
27295         * nscd/netgroupcache.c: New file.
27296         * nscd/nscd_netgroup.c: New file.
27297         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27298         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27299         For four parameters use innetgr.
27300         * nss/nss_files/files-init.c: Add definition and callback for netgr.
27301         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27302         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27303         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27305         * nscd/connections.c (register_traced_file): Don't register file
27306         for disabled databases.
27308 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
27310         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27312         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27313         from tree and freeing node.
27315 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
27317         * nss/nsswitch.c (__nss_database_lookup): Handle
27318         nss_parse_service_list out of memory case.
27320 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
27322         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27323         out of memory case.
27325 2011-10-04  Andreas Schwab  <schwab@redhat.com>
27327         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27328         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27329         pass it down.
27330         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27331         elf_machine_rela, elf_machine_lazy_rel.
27332         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27333         (ELF_DYNAMIC_DO_REL): Likewise.
27334         (ELF_DYNAMIC_DO_RELA): Likewise.
27335         (ELF_DYNAMIC_RELOCATE): Likewise.
27336         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27337         to ELF_DYNAMIC_DO_REL.
27338         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27339         (dl_main): In trace mode always set __RTLD_NOIFUNC.
27340         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27341         elf_machine_rela.
27342         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27343         skip_ifunc, don't call ifunc function if non-zero.
27344         (elf_machine_rela): Likewise.
27345         (elf_machine_lazy_rel): Likewise.
27346         (elf_machine_lazy_rela): Likewise.
27347         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27348         (elf_machine_lazy_rel): Likewise.
27349         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27350         Likewise.
27351         (elf_machine_lazy_rel): Likewise.
27352         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27353         Likewise.
27354         (elf_machine_lazy_rel): Likewise.
27355         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27356         (elf_machine_lazy_rel): Likewise.
27357         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27358         (elf_machine_lazy_rel): Likewise.
27359         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27360         (elf_machine_lazy_rel): Likewise.
27361         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27362         (elf_machine_lazy_rel): Likewise.
27363         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27364         (elf_machine_lazy_rel): Likewise.
27365         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27366         (elf_machine_lazy_rel): Likewise.
27368 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
27370         * nss/nss_files/files-init.c (_nss_files_init): Use static
27371         initialization for all the *_traced_file variables.
27373 2011-09-28  Andreas Schwab  <schwab@redhat.com>
27375         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27377 2011-09-27  Roland McGrath  <roland@hack.frob.com>
27379         [BZ #13226]
27380         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27382 2011-09-27  Andreas Schwab  <schwab@redhat.com>
27384         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27385         Reread the line before reparsing it.
27387 2011-09-26  Andreas Schwab  <schwab@redhat.com>
27389         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27391 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
27392             Maxim Kuvyrkov  <maxim@codesourcery.com>
27393             Joseph Myers  <joseph@codesourcery.com>
27395         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27396         if needed for __stack_chk_guard.
27398 2011-09-19  Roland McGrath  <roland@hack.frob.com>
27400         * sysdeps/posix/spawni.c (script_execute): Always define it.
27401         It will be optimized away if unused.
27402         (maybe_script_execute): New function.
27403         (__spawni): Call it.
27405         * Makerules: Don't include tls.make.
27406         (config-tls): Always set to thread.
27407         * tls.make.c: File removed.
27409 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
27411         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27412         * config.make.in (CPPFLAGS-config): New substituted variable.
27414 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
27416         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27418         [BZ #13192]
27419         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27420         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27422 2011-09-15  Roland McGrath  <roland@hack.frob.com>
27424         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27425         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27426         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27427         (CALL_FAIL): Likewise.
27428         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27429         (CALL_FAIL): Macro removed.
27430         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27432 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
27434         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27435         for __FINITE_MATH_ONLY__ == 1.
27437 2011-09-15  Andreas Schwab  <schwab@redhat.com>
27439         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27440         __ieee754_sqrt instead of sqrt.
27441         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27442         __ieee754_sqrtf instead of sqrtf.
27443         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27444         __floorf instead of floorf.
27445         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27446         __floorf, __truncf instead of floorf, truncf.
27448 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
27450         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27452         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27453         __extern_always_inline.
27454         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27455         32-bit.
27457 2011-09-14  Andreas Schwab  <schwab@redhat.com>
27459         * elf/rtld.c (dl_main): Also relocate in dependency order when
27460         doing symbol dependency testing.
27462 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
27464         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27465         Always define `refsym'.
27467 2011-09-13  Andreas Schwab  <schwab@redhat.com>
27469         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27470         (__FD_ELT): Renamed from __FDELT.
27471         * misc/bits/select2.h (__FD_ELT): Likewise.
27472         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27473         __FD_MASK instead of __FDELT, __FDMASK.
27474         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27475         Likewise.
27476         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27477         Likewise.
27479         * elf/Makefile (gen-ldd): Fix pattern.
27481         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27482         (init_tls): Likewise.
27484 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
27486         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27488 2011-09-12  Andreas Schwab  <schwab@redhat.com>
27490         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27491         `struct cmsghdr *' instead of `void *'.
27492         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27493         Likewise.
27495 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
27497         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27498         if non-absolute.
27499         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27500         ldd_rewrite_script.
27502 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
27504         * configure.in: Remove --with-tls option.
27505         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27506         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27507         out in case it is missing.
27508         * sysdeps/ia64/elf/configure.in: Likewise.
27509         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27510         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27511         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27512         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27513         * sysdeps/sh/elf/configure.in: Likewise.
27514         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27515         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27516         * sysdeps/x86_64/elf/configure.in: Likewise.
27517         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27518         * sysdeps/mach/hurd/tls.h: Likewise.
27520         [BZ #13067]
27521         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27523         [BZ #13090]
27524         * configure.in: Fix use of AC_INIT.
27526         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27528 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
27530         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27531         __set_errno.
27532         * malloc/hooks.c: Likewise.
27534         [BZ #11929]
27535         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
27536         variables statically.
27537         (narenas): Initialize.
27538         (list_lock): Initialize.
27539         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
27540         initializtion of main_arena and list_lock.  Small cleanups.
27541         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27542         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
27543         Add initializers to main_arena and mp_.
27544         (malloc_state): Remove pagesize member.  Change all users to use
27545         GLRO(dl_pagesize).
27547         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27548         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
27549         is always initialized.
27551         * malloc/malloc.c: Removed unused configurations and dead code.
27552         * malloc/arena.c: Likewise.
27553         * malloc/hooks.c: Likewise.
27554         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
27556         * include/tls.h: Removed.  USE___THREAD must always be defined.
27557         * bits/libc-tsd.h: Don't handle !USE___THREAD.
27558         * elf/dl-libc.c: Likewise.
27559         * elf/dl-tsd.c: Likewise.
27560         * include/errno.h: Likewise.
27561         * include/netdb.h: Likewise.
27562         * include/resolv.h: Likewise.
27563         * inet/herrno-loc.c: Likewise.
27564         * inet/herrno.c: Likewise.
27565         * malloc/arena.c: Likewise.
27566         * malloc/hooks.c: Likewise.
27567         * malloc/malloc.c: Likewise.
27568         * resolv/res-state.c: Likewise.
27569         * resolv/res_libc.c: Likewise.
27570         * sysdeps/i386/dl-machine.h: Likewise.
27571         * sysdeps/ia64/dl-machine.h: Likewise.
27572         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27573         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27574         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27575         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27576         * sysdeps/sh/dl-machine.h: Likewise.
27577         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27578         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27579         * sysdeps/unix/i386/sysdep.S: Likewise.
27580         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27581         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27582         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27583         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27584         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27585         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27586         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27587         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27588         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27589         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27590         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27591         * sysdeps/x86_64/dl-machine.h: Likewise.
27592         * tls.make.c: Likewise.
27594         * configure.in: Remove --with-__thread option.  Make tests for
27595         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27596         tls_model attribute fail if no support is available.  Remove
27597         USE_IN_LIBIO.
27598         * Makeconfig: Adjust for dropped configure option.  All features are
27599         now mandatory.
27600         * Makerules: Likewise.
27601         * Versions.def: Likewise.
27602         * argp/argp-fmtstream.c: Likewise.
27603         * argp/argp-fmtstream.h: Likewise.
27604         * argp/argp-help.c: Likewise.
27605         * assert/assert.c: Likewise.
27606         * config.h.in: Likewise.
27607         * config.make.in: Likewise.
27608         * configure: Likewise.
27609         * configure.in: Likewise.
27610         * csu/Versions: Likewise.
27611         * csu/init.c: Likewise.
27612         * elf/tst-audit2.c: Likewise.
27613         * elf/tst-tls10.c: Likewise.
27614         * elf/tst-tls10.h: Likewise.
27615         * elf/tst-tls11.c: Likewise.
27616         * elf/tst-tls12.c: Likewise.
27617         * elf/tst-tls14.c: Likewise.
27618         * elf/tst-tlsmod11.c: Likewise.
27619         * elf/tst-tlsmod12.c: Likewise.
27620         * elf/tst-tlsmod13.c: Likewise.
27621         * elf/tst-tlsmod13a.c: Likewise.
27622         * elf/tst-tlsmod14a.c: Likewise.
27623         * elf/tst-tlsmod15b.c: Likewise.
27624         * elf/tst-tlsmod16a.c: Likewise.
27625         * elf/tst-tlsmod16b.c: Likewise.
27626         * elf/tst-tlsmod7.c: Likewise.
27627         * elf/tst-tlsmod8.c: Likewise.
27628         * elf/tst-tlsmod9.c: Likewise.
27629         * gmon/gmon.c: Likewise.
27630         * grp/fgetgrent_r.c: Likewise.
27631         * grp/putgrent.c: Likewise.
27632         * hurd/fopenport.c: Likewise.
27633         * include/libc-symbols.h: Likewise.
27634         * include/tls.h: Likewise.
27635         * intl/gettextP.h: Likewise.
27636         * intl/loadinfo.h: Likewise.
27637         * locale/global-locale.c: Likewise.
27638         * locale/localeinfo.h: Likewise.
27639         * mach/devstream.c: Likewise.
27640         * malloc/arena.c: Likewise.
27641         * malloc/set-freeres.c: Likewise.
27642         * misc/err.c: Likewise.
27643         * misc/getttyent.c: Likewise.
27644         * misc/mntent_r.c: Likewise.
27645         * posix/getopt.c: Likewise.
27646         * posix/wordexp.c: Likewise.
27647         * pwd/fgetpwent_r.c: Likewise.
27648         * resolv/Versions: Likewise.
27649         * resolv/res_hconf.c: Likewise.
27650         * shadow/fgetspent_r.c: Likewise.
27651         * shadow/putspent.c: Likewise.
27652         * stdio-common/printf_fphex.c: Likewise.
27653         * stdio-common/tmpfile.c: Likewise.
27654         * stdlib/abort.c: Likewise.
27655         * stdlib/fmtmsg.c: Likewise.
27656         * sunrpc/auth_unix.c: Likewise.
27657         * sunrpc/clnt_perr.c: Likewise.
27658         * sunrpc/clnt_tcp.c: Likewise.
27659         * sunrpc/clnt_udp.c: Likewise.
27660         * sunrpc/clnt_unix.c: Likewise.
27661         * sunrpc/openchild.c: Likewise.
27662         * sunrpc/svc_simple.c: Likewise.
27663         * sunrpc/svc_tcp.c: Likewise.
27664         * sunrpc/svc_udp.c: Likewise.
27665         * sunrpc/svc_unix.c: Likewise.
27666         * sunrpc/xdr.c: Likewise.
27667         * sunrpc/xdr_array.c: Likewise.
27668         * sunrpc/xdr_rec.c: Likewise.
27669         * sunrpc/xdr_ref.c: Likewise.
27670         * sunrpc/xdr_stdio.c: Likewise.
27672 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27674         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27676 2011-07-03  Andreas Jaeger  <aj@suse.de>
27678         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27679         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27680         regenerate with gen-libm-tests.pl.
27682 2010-05-12  Petr Baudis  <pasky@suse.cz>
27684         [BZ #11589]
27685         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27686         around j0() zero points by switching to j1().
27687         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27688         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27689         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27690         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27692 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27694         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27695         instead of 0.
27696         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
27697         instead of 0.
27698         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27699         Patch in part by Pavel Roskin <proski@gnu.org>.
27701         [BZ #13138]
27702         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27703         realloc.
27704         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
27705         Free memory block if necessary.
27707         [BZ #12847]
27708         * libio/genops.c (INTDEF): For string streams the _lock pointer can
27709         be NULL.  Don't lock in this case.
27711 2011-09-09  Roland McGrath  <roland@hack.frob.com>
27713         * elf/elf.h (ELFOSABI_GNU): New macro.
27714         (ELFOSABI_LINUX): Define to that.
27716 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
27718         * string/strncat.c (strncat): Undef the symbol in case it has been
27719         defined in bits/string.h.
27721 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27723         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27725         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
27726         link map.
27728 2011-08-17  Andreas Jaeger  <aj@suse.de>
27730         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27732 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27733             Ian Lance Taylor  <iant@google.com>
27735         * math/libm-test.inc (lround_test): New testcase.
27736         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27738 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
27740         * Makefile: Remove support for automatic cvs check-ins.
27741         * Makerules: Likewise.
27742         * config.make.in: Likewise.
27743         * configure.in: Likewise.
27744         * intl/Makefile: Likewise.
27745         * locale/Makefile: Likewise.
27746         * po/Makefile: Likewise.
27747         * posix/Makefile: Likewise.
27748         * sysdeps/gnu/Makefile: Likewise.
27749         * sysdeps/mach/hurd/Makefile: Likewise.
27750         * sysdeps/sparc/sparc32/Makefile: Likewise.
27752         [BZ #13118]
27753         * posix/Makefile (bug-regex32-ENV): Define.
27754         Patch by John Stanley <jpsinthemix@verizon.net>.
27756         * misc/Makefile (headers): Add bits/select2.h.
27757         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27758         * misc/bits/select2.h: New file.
27759         * include/bits/select2.h: New file.
27760         * debug/Makefile (routines): Add fdelt_chk.
27761         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27762         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27763         FD_ISSET.
27764         * debug/fdelt_chk.c: New file.
27766         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
27767         * wcsmbs/test-wmemcmp.c: Likewise.
27768         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
27769         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
27771 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27773         * string/Makefile (strop-tests): Add memcmp.
27774         * string/test-wmemcmp.c: New file.
27775         * string/test-memcmp.c: Add wmemcmp support.
27777 2011-09-08  Roland McGrath  <roland@hack.frob.com>
27779         [BZ #13153]
27780         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27781         2011-07-19 change.
27783         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27784         garbage value in a __mach_port_mod_refs call in the cases of the
27785         task-self and thread-self ports.
27787 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27789         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27791 2011-09-08  Andreas Schwab  <schwab@redhat.com>
27793         * elf/dl-load.c (lose): Check for non-null L.
27795 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
27797         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27799         * elf/dl-libc.c (dlerror_run): Pass back error code from
27800         dl_catch_error.
27802         [BZ #13123]
27803         * elf/dl-load.c (lose): Free l_origin if it is valid.
27805         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27806         names.
27807         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27808         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27809         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27810         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27811         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27812         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27814 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27816         * sysdeps/powerpc/fpu/e_hypot.c: New file.
27817         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27818         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27819         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27820         * sysdeps/powerpc/fpu/k_cosf.c: New file.
27821         * sysdeps/powerpc/fpu/k_sinf.c: New file.
27822         * sysdeps/powerpc/fpu/s_cosf.c: New file.
27823         * sysdeps/powerpc/fpu/s_sinf.c: New file.
27824         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27825         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27827 2011-08-15  Alan Modra  <amodra@gmail.com>
27829         [BZ #13092]
27830         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27831         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27832         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
27833         ppc_mcount to static-only-routines.
27834         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27835         __mcount_internal.
27836         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27837         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
27839 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
27841         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27842         for finite and infinity parameters.
27844 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
27846         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27847         and add nop instructions for throughput optimization.
27848         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27850 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
27852         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27853         aligned copy for power7 with vector-scalar instructions.
27854         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27856 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
27858         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27859         AVX check.
27861 2011-09-07  Andreas Schwab  <schwab@redhat.com>
27863         [BZ #13144]
27864         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27865         last change.
27867 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
27869         * sysdeps/unix/sysv/linux/x86_64/init-first.c
27870         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27871         syscall wrapper around clock_gettime in __vdso_clock_gettime.
27872         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27873         clock_gettime.
27875 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
27877         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27878         Forgot to demangle the pointer.
27880         * sysdeps/i386/sysdep.h: Define atom_text_section.
27881         * sysdeps/x86_64/sysdep.h: Likewise.
27882         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27883         section with atom_text_section.
27884         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27885         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27886         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27887         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27888         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27890         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27891         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27892         already be defined.  Change to take two parameters and don't assign
27893         result to variable.  Adjust all users.
27894         Define INTERNAL_GETTIME if not already defined.
27895         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27896         call.
27897         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27898         HAVE_CLOCK_GETTIME_VSYSCALL.
27899         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27901         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27902         gettimeofday vsyscall, just use time.
27904 2011-09-06  Andreas Schwab  <schwab@redhat.com>
27906         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27907         <errno.h>.
27909 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
27911         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27912         syscall on x86-64.
27913         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27914         syscall.
27915         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27916         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27917         syscall if possible.
27919 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27921         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27922         e_ident.  Don't pass to find_mapsXX.
27923         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27925 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27927         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27928         strchr-sse2-no-bsf strrchr-sse2-no-bsf
27929         * sysdeps/x86_64/multiarch/strchr.S: Update.
27930         Check bit_slow_BSF bit.
27931         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27932         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27933         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27935 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27937         [BZ #13134]
27938         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27939         before glibc 2.15.
27940         (tryshell): Define.
27941         (__spawni): Change last parameter to be flag.  Test
27942         SPAWN_XFLAGS_USE_PATH flag to use path or not.
27943         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27944         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27945         * posix/spawni.c: Likewise.
27946         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27947         * posix/spawnp.c: Likewise.  Change normal version to use
27948         SPAWN_XFLAGS_USE_PATH.
27949         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27950         SPAWN_XFLAGS_TRY_SHELL.
27952         [BZ #13150]
27953         * posix/glob.h: Remove gcc 1.x support.
27955         [BZ #13068]
27956         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27958 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27960         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27961         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27962         strrchr-sse2-bsf
27963         * sysdeps/i386/i686/multiarch/strchr.S: New file.
27964         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27965         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27966         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27967         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27968         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27970 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27972         * sysdeps/x86_64/wcscmp.S: New file.
27974         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27975         wcscmp-c wcscmp-sse2
27976         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27977         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27978         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27979         * wcsmbs/wcscmp.c: Allow renaming.
27981 2011-09-05  David S. Miller  <davem@davemloft.net>
27983         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27984         stack slot, rather than the struct return pointer slot.
27985         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27986         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27988         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27990 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27992         * po/ja.po: Update from translation team.
27994         [BZ #13144]
27995         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27996         kernel in 64-bit binaries.
27998 2011-09-01  David S. Miller  <davem@davemloft.net>
28000         * elf/elf.h (HWCAP_SPARC_*): Move to..
28001         * sysdeps/sparc/sysdep.h: this new file and add new values.
28002         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28003         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28004         _DL_HWCAP_COUNT to 24.
28005         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28006         entries.
28007         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28008         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28009         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28010         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28011         instead of magic constants.
28012         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28014 2011-08-31  David S. Miller  <davem@davemloft.net>
28016         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28017         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28018         Reimplement to do errno handling inline.
28019         (SYSCALL_ERROR_HANDLER): New macro.
28020         (__SYSCALL_STRING): Do not do errno handling in asm.
28021         (__CLONE_SYSCALL_STRING): Delete.
28022         (__INTERNAL_SYSCALL_STRING): Delete.
28023         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28024         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28025         (PSEUDO): Reimplement to do errno handling inline.
28026         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28027         (SYSCALL_ERROR_HANDLER): New macro.
28028         (__SYSCALL_STRING): Do not do errno handling in asm.
28029         (__CLONE_SYSCALL_STRING): Delete.
28030         (__INTERNAL_SYSCALL_STRING): Delete.
28031         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28032         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28033         i386.
28034         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28035         (inline_syscall*): Add 'err' argument.
28036         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28037         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28038         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28039         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28041         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28042         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28044 2011-08-30  Andreas Schwab  <schwab@redhat.com>
28046         * elf/rtld.c (dl_main): Relocate objects in dependency order.
28048 2011-08-29  Jiri Olsa <jolsa@redhat.com>
28050         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28051         directive.
28053 2011-08-24  David S. Miller  <davem@davemloft.net>
28055         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28057 2011-08-24  Andreas Schwab  <schwab@redhat.com>
28059         * elf/Makefile: Add rules to build and run unload8 test.
28060         * elf/unload8.c: New file.
28061         * elf/unload8mod1.c: New file.
28062         * elf/unload8mod1x.c: New file.
28063         * elf/unload8mod2.c: New file.
28064         * elf/unload8mod3.c: New file.
28066         * elf/dl-close.c (_dl_close_worker): Reset private search list if
28067         it wasn't used.
28069 2011-08-23  David S. Miller  <davem@davemloft.net>
28071         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28072         subtract stack bias.
28073         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28074         %sp not %fp in calculations.
28075         (_JMPBUF_UNWINDS_ADJ): Likewise.
28077         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28078         (aio_suspend): Call it to force an exception region around the
28079         AIO_MISC_WAIT() invocation.
28081 2011-08-23  Andreas Schwab  <schwab@redhat.com>
28083         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28084         backslash.
28086 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
28088         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28089         protection macro.
28090         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28091         and <dl-machine.h>.
28092         (Elf64_FuncDesc): Remove.
28094 2011-08-22  David S. Miller  <davem@davemloft.net>
28096         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28097         sigaltstack check, add missing cfi directives.
28098         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28099         missing cfi directives, and sigaltstack handling.
28101 2011-08-16  Andreas Schwab  <schwab@redhat.com>
28103         [BZ #11724]
28104         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28105         object is seen twice.
28106         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28108         * elf/Makefile (distribute): Add tst-initorder2.c.
28109         (tests): Add tst-initorder2.
28110         (modules-names): Add tst-initorder2a tst-initorder2b
28111         tst-initorder2c tst-initorder2d.  Add rules to build them.
28112         ($(objpfx)tst-initorder2.out): New rule.
28113         * elf/tst-initorder2.c: New file.
28114         * elf/tst-initorder2.exp: New file.
28116 2011-08-22  Andreas Schwab  <schwab@redhat.com>
28118         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28120         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28121         dependencies back to end of function.
28123         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28124         $(elfobjdir)/ld.so.
28126 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
28128         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28129         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28130         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28131         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28132         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28133         of __vdso_gettimeofday.
28134         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28135         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
28136         attribute_hidden.
28137         (_libc_vdso_platform_setup): Remove initialization of
28138         __vdso_gettimeofday and __vdso_time.
28140 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
28142         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28143         and fgetc_unlocked.
28144         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28145         getc_unlocked.
28147         * elf/dl-open.c (add_to_global): Report additions to the global scope
28148         for LD_DEBUG=scopes.
28149         (dl_open_worker): Also print scope of newly loaded dependencies.
28150         (_dl_show_scope): Indicate if there is no scope.
28152         [BZ #13114]
28153         * stdio-common/Makefile (tests): Add bug24.
28154         * stdio-common/bug24.c: New file.
28156 2011-08-19  Andreas Jaeger  <aj@suse.de>
28158         [BZ #13114]
28159         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28160         non-existant file when using close-on-exec mode.
28162 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
28164         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28165         the very first instruction.
28167         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28168         the CFI state in the end.
28169         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28170         inclusion of dl-trampoline.h.
28171         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28173 2011-08-19  Andreas Schwab  <schwab@redhat.com>
28175         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28176         expectations for long double.
28178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28179         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28181 2011-08-14  David S. Miller  <davem@davemloft.net>
28183         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28184         artificual limit depends upon the system page size.
28186 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
28188         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28189         * resolv/Makefile: Define CFLAGS-libresolv.
28191 2011-08-17  Andreas Schwab  <schwab@redhat.com>
28193         * nss/makedb.c (compute_tables): Make variables used in nested
28194         function static.
28196 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
28198         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28199         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28200         if buffer was too small.
28202         * elf/pldd.c (main): Attach to all threads in the process.
28203         Rewrite /proc handling to use *at functions.
28205 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
28207         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28208         specifies first scope to show.
28209         (dl_open_worker): Update callers.  Move printing scope of new
28210         object to before the relocation.
28211         * elf/rtld.c (dl_main): Update _dl_show_scope call.
28212         * sysdeps/generic/ldsodefs.h: Update declaration.
28214         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28215         string for the scope number.
28217 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
28219         * nscd/servicescache.c (cache_addserv): Make sure written is always
28220         initialized.
28222 2011-08-14  Roland McGrath  <roland@hack.frob.com>
28224         * sysdeps/i386/i486/bits/atomic.h
28225         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28226         statement expression, so as to suppress "set but not used" warning.
28227         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28229         * string/strncat.c (STRNCAT): Use prototype definition.
28231         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28232         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28233         -Iprograms here.
28234         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28235         (localedef-modules): Add localedef.
28236         (locale-modules): Add locale.
28238         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28239         * elf/rtld.c (dl_main): Invert order of assignment in last change,
28240         to avoid a warning.
28242 2011-08-14  David S. Miller  <davem@davemloft.net>
28244         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28245         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28247 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
28249         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
28250         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28251         * elf/rtld.c (dl_main): Set l_name of vDSO.
28252         Call _dl_show_scope when DL_DEBUG_SCOPES.
28253         (process_dl_debug): Recognize scopes flag and also set it for all.
28254         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28255         Declare _dl_show_scope.
28257         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28258         (do_dlopen): Pass caller_dlopen to dl_open.
28259         (__libc_dlopen_mode): Initialize caller_dlopen.
28261         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28262         of libc.  Make tolower call locale-independent.  Optimize a bit by
28263         using isdigit instead of isalnum.
28264         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28266 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
28268         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28269         was a dependency or dynamically loaded.
28271 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
28273         * intl/l10nflist.c: Allow architecture-specific pop function.
28274         * sysdeps/x86_64/l10nflist.c: New file.
28276         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28277         classification.
28279 2011-08-10  Andreas Schwab  <schwab@redhat.com>
28281         * include/dirent.h: Add libc_hidden_proto for scandirat and
28282         scandirat64.  Don't declare __scandirat64.
28283         * dirent/scandirat.c: Add libc_hidden_def.
28284         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28285         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28287 2011-08-10  David S. Miller  <davem@davemloft.net>
28289         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28290         enum.
28291         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28292         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28293         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28295 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
28297         * Versions.def [libc]: Add GLIBC_2.15.
28298         * dirent/Makefile (routines): Add scandirat and scandirat64.
28299         * dirent/Versions [libc]: Export scandirat and scandirat64 for
28300         GLIBC_2.15.
28301         * dirent/dirent.h: Declare scandirat and scandirat64.
28302         * dirent/scandirat.c: New file.
28303         * dirent/scandirat64.c: New file.
28304         * sysdeps/wordsize-64/scandirat.c: New file.
28305         * sysdeps/wordsize-64/scandirat64.c: New file.
28306         * dirent/opendir.c: Define opendirat.
28307         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
28308         using scandirat.
28309         * dirent/scandir64.c: Adjust for scandir.c change.
28310         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
28311         __scandirat64, and __scandir_cancel_handler.
28312         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
28313         additional parameter and use openat instead of open (outside of ld.so).
28314         Add new __opendir as wrapper around __opendirat.
28315         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28316         here without requiring old scandirat implementation.
28318 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
28320         * dirent/scandir.c (cancel_handler): Renamed to
28321         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
28322         defined.  Adjust users.
28323         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28324         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28326 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
28328         * string/test-string.h (IMPL): Use __STRING to expand name and then
28329         stringify it.
28331         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
28332         of cleanups.
28334 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28336         * string/Makefile: Update.
28337         (strop-tests): Append strncat.
28338         * string/test-wcscmp.c: New file.
28339         New comprehensive test for wcscmp.
28340         * string/test-strcmp.c: Update.
28341         (WIDE): New define.
28343 2011-07-22  Andreas Schwab  <schwab@redhat.com>
28345         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28346         line.
28348 2011-07-26  Andreas Schwab  <schwab@redhat.com>
28350         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28351         encoding to ACE if AI_IDN.
28353 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
28355         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28356         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28358 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28360         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28361         Fix overflow bug in strncat.
28362         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28364         * string/test-strncat.c: Update.
28365         Add new tests for checking overflow bugs.
28367 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28369         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28370         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28371         * sysdeps/i386/i686/multiarch/strcat.S: New file.
28372         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28373         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28374         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28375         * sysdeps/i386/i686/multiarch/strncat.S: New file.
28376         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28377         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28379         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28380         (USE_AS_STRCAT): Define.
28381         Add strcat and strncat support.
28382         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28384 2011-07-25  Andreas Schwab  <schwab@redhat.com>
28386         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28387         __n bigger than INT_MAX+1.
28388         (__strncmp_g): Likewise.
28390 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
28392         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28393         * libio/stido.h: Likewise.
28395         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28396         (AF_NFC): Define.
28397         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28398         (AF_NFC): Define.
28400         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28401         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28402         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28403         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28404         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28406         [BZ #13021]
28407         * scripts/test-installation.pl: Don't expect libnss_test1 to be
28408         installed.
28410         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28411         typo.
28412         (_dl_x86_64_save_sse): Likewise.
28414 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
28416         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28417         OSXSAVE.
28418         (_dl_x86_64_save_sse): Likewise.
28420         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28422         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28424 2011-07-21  Andreas Schwab  <schwab@redhat.com>
28426         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28427         change.
28428         (_dl_x86_64_save_sse): Use correct AVX check.
28430 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28432         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28433         bug in strncpy/strncat.
28434         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28436 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
28438         * string/tester.c (test_strcat): Add tests for different alignments
28439         of source and destination.
28440         (test_strncat): Likewise.
28442 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
28444         [BZ #12852]
28445         * posix/glob.c (glob): Check passed in values before using them in
28446         expressions to avoid some overflows.
28447         (glob_in_dir): Likewise.
28449         [BZ #13007]
28450         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28451         check for AVX enablement so that we don't crash with old kernels and
28452         new hardware.
28453         * elf/tst-audit4.c: Add same checks here.
28454         * elf/tst-audit6.c: Likewise.
28456         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
28458 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
28460         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28462 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
28464         * po/cs.po: Update from translation team.
28465         * po/bg.po: Likewise.
28467 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
28469         * misc/sys/cdefs.h: Add support for const attribute.
28470         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28471         to gnu_dev_{major,minor,makedev} functions.
28473 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
28475         * intl/dcigettext.c (get_output_charset): Add missing bracket.
28477 2011-07-20  Andreas Schwab  <schwab@redhat.com>
28479         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28480         strlen results.
28482 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28484         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28485         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28486         register in order to avoid conflicts with the soft frame pointer
28487         being held in r11 when necessary.
28488         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28489         (INTERNAL_VSYSCALL_NCS): Likewise.
28491 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
28493         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28494         * elf/dl-fini.c (_dl_fini): Adjust caller.
28495         * elf/dl-close.c (_dl_close_worker): Likewise.
28496         * sysdeps/generic/ldsodefs.h: Adjust declaration.
28498 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
28500         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28501         "aux_cache->nlibs < 0".
28503         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28504         in the reload-count case.
28506 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28508         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28509         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28510         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28511         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28512         * sysdeps/x86_64/multiarch/strcat.S: New file.
28513         * sysdeps/x86_64/multiarch/strncat.S: New file.
28514         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28515         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28516         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28517         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28518         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28519         (USE_AS_STRCAT): Define.
28520         Add strcat and strncat support.
28521         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28522         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28523         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28524         * string/strncat.c: Update.
28525         (USE_AS_STRNCAT): Define.
28526         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28527         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28528         and i7.
28529         * sysdeps/x86_64/multiarch/init-arch.h
28530         (bit_Prefer_PMINUB_for_stringop): New.
28531         (index_Prefer_PMINUB_for_stringop): Likewise.
28532         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28533         bit_Prefer_PMINUB_for_stringop.
28535 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
28537         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28538         buffer64.
28539         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28540         of casting of buffer.
28541         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28542         buffer32 and buffer64.
28543         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28544         writes instead of casting of buffer.
28545         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28546         buffer32.
28547         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28548         casting of buffer.
28550 2011-07-19  Andreas Schwab  <schwab@redhat.com>
28552         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28554 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
28556         * nscd/nscd.c (termination_handler): Don't do anything for a database
28557         if it has not yet been initialized.
28559 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
28561         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28563 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
28565         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28567 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
28569         * po/nl.po: Update from translation team.
28570         * po/sv.po: Likewise.
28572 2011-07-16  Roland McGrath  <roland@hack.frob.com>
28574         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28575         now disallowed by GCC.
28577         * configure.in (use-default-link): Default to yes if a test -shared
28578         link meets our qualifications.
28579         * configure: Regenerated.
28581         * config.make.in (output-format): New variable.
28582         * configure.in: Check for ld --print-output-format support.
28583         * configure: Regenerated.
28584         * Makerules ($(common-objpfx)format.lds)
28585         [$(output-format) != unknown]: Just use $(output-format),
28586         instead of the linker-script munging.
28588 2011-07-14  Roland McGrath  <roland@hack.frob.com>
28590         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28591         of $(common-objpfx)shlib.lds.
28592         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28594         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28595         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28597         * configure.in (-z relro check): Adjust test code to add a large
28598         writable data section after it.
28599         * configure: Regenerated.
28601 2011-07-11  Roland McGrath  <roland@hack.frob.com>
28603         * configure.in (-z relro check): Fix test code to make the variable
28604         truly const.
28605         * configure: Regenerated.
28607 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
28609         * nscd/nscd.h (struct traced_file): Define.
28610         (struct database_dyn): Remove inotify_descr, reset_res, and filename
28611         elements.  Add traced_files.
28612         (inotify_fd): Declare.
28613         (register_traced_file): Declare.
28614         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28615         (inotify_fd): Export.
28616         (resolv_conf_descr): Remove.
28617         (nscd_init): Move inotify descriptor creation to main.
28618         Don't register files for notification here.
28619         (register_traced_file): New function.
28620         (invalidate_cache): Don't use reset_res to determine whether to call
28621         res_init, go through the list of registered files.
28622         (main_loop_poll): The inotify descriptors are now stored in the
28623         structures for the traced files.
28624         (main_loop_epoll): Likewise
28625         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
28626         to __nss_disable_nscd.
28627         * nscd/cache.c (prune_cache): There is no single inotify descriptor
28628         for a database anymore.  Check the records for all the registered
28629         files instead.
28630         * nss/Makefile (libnss_files-routines): Add files-init.
28631         (libnss_db-routines): Add db-init.
28632         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28633         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28634         * nss/nss_db/db-init.c: New file.
28635         * nss/nss_files/files-init.c: New file.
28636         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
28637         __nss_lookup_function.
28638         (__nss_lookup_function): Call nss_load_library.
28639         (nss_load_all_libraries): New function.
28640         (__nss_disable_nscd): Take parameter with callback function for files
28641         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
28642         used for the cached services.
28643         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28644         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28645         options for features to all the files in nscd.
28647         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28649 2011-07-10  Roland McGrath  <roland@hack.frob.com>
28651         * csu/elf-init.c (__libc_csu_init): Comment typo.
28653 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
28655         * po/pl.po: Update from translation team.
28656         * po/ja.po: Likewise.
28657         * po/ru.po: Likewise.
28658         * po/ko.po: Likewise.
28659         * po/fr.po: Likewise.
28661 2011-07-09  Roland McGrath  <roland@hack.frob.com>
28663         * configure.in (.ctors/.dtors header and trailer check):
28664         Use an empirical test on a built program.
28665         * configure: Regenerated.
28667         * configure.in (-z relro check): Use an empirical test on a built DSO.
28668         Detect, but do not require, on ia64.
28669         * configure: Regenerated.
28671         * configure.in (READELF): Find it with AC_CHECK_TOOL.
28672         Update tests that use readelf to use $READELF instead.
28673         * configure: Regenerated.
28675 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
28677         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28678         if the result is not used.
28680 2011-07-05  Andreas Jaeger  <aj@suse.de>
28682         [BZ#9696]
28683         * stdlib/tst-strtod.c: Add testcase.
28685 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
28687         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
28688         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
28689         The latter has a higher limit.  Take additional parameter to pass to
28690         the new function.
28691         (__pathconf): Pass file to __statfs_link_max.
28692         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28693         __statfs_link_max.
28694         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28695         __statfs_link_max.
28697         [BZ #12868]
28698         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28699         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28700         Handle Lustre.
28701         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28702         (__statfs_filesize_max): Likewise.
28703         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28705 2011-07-05  Andreas Jaeger  <aj@suse.de>
28707         * resolv/res_comp.c (dn_skipname): Remove unused variable.
28709 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
28711         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28712         `status' variable.
28713         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28714         Likewise.
28716 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
28718         * Makefile (strop-tests): Add strncat.
28719         * string/test-strncat.c: New file.
28721 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
28723         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28725 2011-06-21  Andreas Jaeger  <aj@suse.de>
28727         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28728         Copy rule from iconvdata/Makefile.
28730 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
28732         [BZ #12922]
28733         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28734         but no long options are defined, just return 'W'.
28736 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
28738         [BZ #9696]
28739         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28741 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
28743         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28744         netgroups to read.
28745         (innetgr): Likewise.
28747 2011-07-05  Roland McGrath  <roland@hack.frob.com>
28749         * config.make.in (install_root): Default to $(DESTDIR).
28751 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
28753         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28755 2011-07-02  Roland McGrath  <roland@hack.frob.com>
28757         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28759         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28760         containing directory rather than embedding absolute directory names.
28762         * scripts/check-local-headers.sh: Rewritten using awk.
28763         Match by word, not by line.  Print error messages for matches.
28764         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28766         * Makerules [shlib-lds-flags empty]:
28767         ($(common-objpfx)libc_pic.opts): New target.
28768         ($(common-objpfx)libc_pic.os.clean): New target.
28769         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28771         * config.make.in (OBJCOPY): New variable.
28772         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28773         * configure: Regenerated.
28775         * config.make.in (use-default-link): New variable.
28776         * configure.in (use_default_link): Grok --with-default-link to set it.
28777         * configure: Regenerated.
28778         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28779         (shlib-lds, shlib-lds-flags): Define to empty.
28781         * Makerules (shlib-lds): New variable.
28782         (shlib-lds-flags): New variable.
28783         (build-shlib, build-moduile, build-module-asneeded): Use it.
28784         ($(common-objpfx)libc.so): Use $(shlib-lds).
28785         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28786         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28788         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28789         DT_FLAGS/DT_FLAGS_1 with zero flags.
28791         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28792         linker script munging.
28794 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
28796         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28797         as 128-bit value.
28798         * crypt/sha512.c (sha512_process_block): Perform total addition using
28799         128-bit if possible.
28800         (__sha512_finish_ctx): Likewise.
28801         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28802         as 64-bit value.
28803         * crypt/sha256.c (SWAP64): Define.
28804         (sha256_process_block): Perform total addition using 64-bit if
28805         possible.
28806         (__sha256_finish_ctx): Likewise.
28808 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
28810         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
28811         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28812         * nscd/hstcache.c (cache_addhst): Likewise.
28813         * nscd/grpcache.c (cache_addgr): Likewise.
28814         * nscd/aicache.c (addhstaiX): Likewise
28815         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28817 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
28819         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28820         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28821         * nscd/hstcache.c (cache_addhst): Likewise.
28822         * nscd/grpcache.c (cache_addgr): Likewise.
28823         * nscd/aicache.c (addhstaiX): Likewise
28825 2011-07-01  Andreas Schwab  <schwab@redhat.com>
28827         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28828         domain only when needed.
28830 2011-06-30  Andreas Schwab  <schwab@redhat.com>
28832         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28833         is always restored.
28835 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
28837         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28838         are re-adding the entry.
28839         * nscd/servicescache.c (cache_addserv): Likewise.
28841 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
28843         * sysdeps/generic/dl-irel.h: fix protection against multiple
28844         inclusions.
28845         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28847 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
28849         [BZ #12935]
28850         * malloc/memusage.sh: Fix quoting in message.
28851         * debug/xtrace.sh: Likewise.
28853         * configure.in: Remove support for --experimental-malloc option, make
28854         it the default.
28855         * config.make.in: Likewise.
28856         * malloc/Makefile: Likewise.
28858 2011-06-27  Andreas Schwab  <schwab@redhat.com>
28860         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28861         two-byte characters.
28863 2011-06-27  Roland McGrath  <roland@hack.frob.com>
28865         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28866         AC_CACHE_CHECK invocation.
28867         * configure: Regenerated.
28869         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28871 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
28873         [BZ #12350]
28874         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
28875         bit from old_res_options.
28877         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28879         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28880         value type for setfct.
28882 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
28884         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28885         __gettimeofday instead of gettimeofday.
28887 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
28889         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28891 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28893         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28895         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28896         info.
28898 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
28900         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28901         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28902         strcpy-sse2-unaligned strncpy-sse2-unaligned
28903         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28904         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28905         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28906         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28907         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28908         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28909         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28910         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28911         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28912         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28913         (STRCPY): Support SSE2 and SSSE3 versions.
28915 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
28917         [BZ #12874]
28918         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28919         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28920         kernels which artificially limit size of requests.
28922 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
28924         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28925         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28926         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28927         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28928         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28929         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28930         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28931         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28932         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28933         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28934         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28935         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28936         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28937         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28938         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28939         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28940         Enable unaligned load optimization for Intel Core i3, i5 and i7
28941         processors.
28942         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28943         Define.
28944         (index_Fast_Unaligned_Load): Define.
28945         (HAS_FAST_UNALIGNED_LOAD): Define.
28947 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
28949         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28951 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
28953         [BZ #12907]
28954         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28955         until it is clear that the information is realy needed.
28956         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28958 2011-06-22  Andreas Schwab  <schwab@redhat.com>
28960         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28962 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
28964         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28965         /sys/devices/system/cpu/online if it is usable.
28967         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28968         reading the information from the /proc filesystem to once a second.
28970 2011-06-21  Andreas Jaeger  <aj@suse.de>
28972         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28973         NULL after inclusion of kernel headers.
28975 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
28977         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28978         calls to internal_setent.
28980         [BZ #12885]
28981         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28982         addresses using gethostbyname4_r ignore IPv4 addresses.
28984         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28985         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
28987         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28989 2011-06-20  David S. Miller  <davem@davemloft.net>
28991         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28992         inclusions.
28993         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28995         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28996         (elf_irel): Use it.
28997         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28998         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28999         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29000         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29001         * sysdeps/x86_64/dl-irel.h: Likewise.
29003         * elf/dl-runtime.c: Use elf_ifunc_invoke.
29004         * elf/dl-sym.c: Likewise.
29006 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
29008         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
29009         need to dereference resplen2.
29011 2011-06-14  Andreas Schwab  <schwab@redhat.com>
29013         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29015 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
29017         * Makeconfig: Define vardbdir and inst_vardbdir.
29018         * nss/Makefile: Add rules to install db-Makefile.
29020         * nss/nss_db/db-XXX.c: Cleanup.
29022         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29023         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29024         GLIBC_PRIVATE.
29025         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29026         * nss/makedb.c: Implement -g option to specify that value strings
29027         are generated and should not be added to table iterated over for
29028         get*ent calls.
29029         * nss/nss_db/db-initgroups.c: New file.
29031         * nss/getent.c: Add support for initgroups lookups through getgrouplist
29032         interface.
29034         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29035         (internal_getgrouplist): Adjust to name change.
29036         Update use_initgroups_entry if this is not the first call.
29037         * nss/databases.def: Add initgroups entry.
29039         * nss/makedb.c (compute_tables): Check result of multiple hash table
29040         sizes to minimize maximum chain length.
29042 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
29044         * Versions.def: Add entry for libnss_db.
29045         * shlib-versions: Likewise.
29046         * nss/Makefile: Add rules to build libnss_db.
29047         * nss/Versions: Add libnss_db information.  Organize libnss_files
29048         entries better.
29049         * nss/db-Makefile: Add gshadow support.  Change rules for the new
29050         makedb progra.  Some minor improvements to generate smaller files.
29051         * nss/nss_db/nss_db.h: Move NSS database header data structures to
29052         here from...
29053         * nss/makedb.c: ...here.
29054         Improve database format to be smaller and require less memory at
29055         runtime.
29056         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
29057         db anymore.
29058         * nss/nss_db/db-netgrp.c: Likewise.
29059         * nss/nss_db/db-open.c: Likewise.
29060         * nss/nss_files/flies-XXX.x: Adjust comments.
29061         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29062         * nss/nss_files/files-grp.c: Likewise.
29063         * nss/nss_files/files-hosts.c: Likewise.
29064         * nss/nss_files/files-network.c: Likewise.
29065         * nss/nss_files/files-proto.c: Likewise.
29066         * nss/nss_files/files-pwd.c: Likewise.
29067         * nss/nss_files/files-rpc.c: Likewise.
29068         * nss/nss_files/files-service.c: Likewise.
29069         * nss/nss_files/files-sgrp.c: Likewise.
29070         * nss/nss_files/files-spwd.c: Likewise.
29071         * nss/nss_db/db-alias.c: Removed.
29072         * nss/nss_db/dummy-db.h: Removed.
29074 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
29076         * nss/makedb.c: Rewritten to not use database library.
29077         * nss/Makefile: Update to build new makedb program.
29079 2011-06-14  Andreas Jaeger  <aj@suse.de>
29081         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29082         memset declaration.
29084 2011-06-10  Andreas Schwab  <schwab@redhat.com>
29086         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29087         tmpbuf.
29089 2011-06-10  Roland McGrath  <roland@hack.frob.com>
29091         * Makerules (shlib.lds): Fail if the linker script comes out empty.
29092         * elf/Makefile ($(objpfx)ld.so): Likewise.
29094         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29095         Don't list ld.so twice in dependencies.
29097         * posix/bug-regex31.c: Include <stdlib.h>.
29099         * nscd/hstcache.c (cache_addhst): Remove unused variable.
29101         * nis/nss_compat/compat-spwd.c
29102         (getspent_next_nss_netgr): Remove unused variable.
29103         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29105         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29106         nonmembers" output to use the right array.
29108         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29110         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29112         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29113         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29114         * catgets/gencat.c (read_input_file): Likewise.
29115         * locale/programs/locarchive.c (enlarge_archive): Likewise.
29117         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29118         variable definition inside #if's controlling its use.
29120         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29122         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29124         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29126         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29127         unreachable code.
29129         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29131         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29132         * configure: Regenerated.
29134         * Makerules: Revert last change.
29135         * elf/Makefile: Likewise.
29137 2011-06-09  Roland McGrath  <roland@hack.frob.com>
29139         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29140         * elf/Makefile ($(objpfx)librtld.os): Likewise.
29141         (reloc-link): Likewise.
29143 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
29145         * elf/Makefile: Add rules to build pldd.
29146         * elf/pldd.c: New file.
29147         * elf/pldd-xx.c: New file.
29149 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
29151         * version.h: Update for 2.15 development version.
29153 2011-06-07  David S. Miller  <davem@davemloft.net>
29155         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29156         ifuncs.
29157         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29158         elf_machine_lazy_rel): Likewise.
29159         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29160         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29161         elf_machine_lazy_rel): Likewise.
29162         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29163         dl_hwcap via passed in argument.
29164         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29165         Likewise.
29167 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29169         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
29171 2011-06-06  Roland McGrath  <roland@hack.frob.com>
29173         [BZ #12849]
29174         * manual/fdl-1.1.texi: New file, verbatim from:
29175         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29176         * manual/lgpl-2.1.texi: New file, verbatim from:
29177         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29178         * manual/Makefile (licenses): New variable, list those new file names.
29179         (texis): Use it.
29180         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29182         * manual/fdl.texi: File removed.
29183         * manual/lesser.texi: File removed.
29184         * manual/libc.texinfo (Copying, Documentation License):
29185         Use new @include file names, put @appendix directive before @include.
29187 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
29189         [BZ #12841]
29190         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29191         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29192         (mq_open): Add __NTH.
29194 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
29196         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29197         Assume Intel Core i3/i5/i7 processor if AVX is available.
29199 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
29201         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29202         typo.
29204 2011-05-31  Andreas Schwab  <schwab@redhat.com>
29206         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29207         memory.  Use alloca_account.  Fix memory leak when retrying.
29209 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
29211         * version.h (RELEASE): Bump for 2.14 release.
29212         * include/features.h (__GLIBC_MINOR__): Bump to 14.
29214         * config.make.in (RANLIB): Remove entry.
29216 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
29218         * po/Makefile (po-sed-cmd): Add ksh to extensions.
29219         (libc.pot): Work around missing support for .ksh extension in xgettext.
29221         [BZ #12684]
29222         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29223         if both request failed.
29224         (send_dg): In case of server errors clear resplen or *resplen2.
29226         [BZ #12454]
29227         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29228         when there are multiple maps.
29229         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29230         (_dl_fini): Remove test here.
29232         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29234 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
29236         [BZ #12350]
29237         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29238         bit from old_res_options.
29239         (gaih_inet): Likewise.
29241         [BZ #11099]
29242         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
29243         as signed.
29245         * resolv/res_init.c (res_setoptions): Make the code more compact.
29247         [BZ #11558]
29248         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29249         set RES_USEVC.
29251         [BZ #11634]
29252         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29254         * malloc/malloc.h: Mark malloc hook variables as deprecated.
29256         [BZ #11781]
29257         * malloc/malloc.h: Declare malloc hook variables as volatile.
29259         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29260         in last patch.
29262         [BZ #11799]
29263         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
29264         raise in the comment.
29265         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29266         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29267         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
29269 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
29271         [BZ #12811]
29272         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29273         grow the buffers more if it already has to be sufficient.
29274         (build_wcs_upper_buffer): Likewise.
29275         * posix/regexec.c (check_matching): Likewise.
29276         (clean_state_log_if_needed): Likewise.
29277         (extend_buffers): Don't enlarge buffers beyond size of the input
29278         buffer.
29279         Patches mostly by Emil Wojak <emil@wojak.eu>.
29280         * posix/bug-regex32.c: New file.
29281         * posix/Makefile (tests): Add bug-regex32.
29283         * locale/findlocale.c (_nl_find_locale): Return right away if
29284         _nl_explode_name failed.
29285         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29287         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29289         * debug/xtrace.sh: Unify messages.
29290         * malloc/memusage.sh: Likewise.
29292         [BZ #12813]
29293         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29294         time symbol from vDSO.  Substitute with vsyscall if not available.
29295         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29296         __vdso_time.
29298         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29299         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29300         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29301         Add sendmmsg and internal_sendmmsg.
29302         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29303         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29304         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29306         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29307         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29308         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29310 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
29312         [BZ #12813]
29313         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29314         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
29315         available.
29316         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29317         __vdso_getcpu.
29319         [BZ #12814]
29320         * iconvdata/Makefile (tests): Add bug-iconv9.
29321         * iconvdata/bug-iconv9.c: New file.
29323 2011-05-27  Andreas Schwab  <schwab@redhat.com>
29325         [BZ #12814]
29326         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29328 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
29330         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29331         (struct user_regs_struct): Change intcs field back to cs.
29333 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
29335         * po/ja.po: Update from translation team.
29337 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
29339         [BZ #12795]
29340         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29341         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29343 2011-05-20  Andreas Schwab  <schwab@redhat.com>
29345         * stdlib/longlong.h: Update from GCC.
29347 2011-05-23  Andreas Schwab  <schwab@redhat.com>
29349         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29350         parameter name.
29351         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29352         Add parameter name.
29353         (__sysconf): Pass it down.
29355 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
29357         [BZ #12671]
29358         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29359         some situations.
29360         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29361         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29362         add in in __libc_use_alloca calls.  Adjust callers.
29363         (glob): Use malloc in some situations.
29365         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29366         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29367         pltexit.
29369 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
29371         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29372         and CLOCK_BOOTTIME_ALARM.
29374         [BZ #12782]
29375         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29376         is returned.
29378         * string/_strerror.c (__strerror_r): Print negative errors as signed
29379         numbers.
29381         [BZ #12777]
29382         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29383         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29384         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29386         * configure.in: Fix typo in redirection and correct removal of test
29387         files in two cases.
29389         [BZ #12788]
29390         * locale/setlocale.c (new_composite_name): Fix test to check for
29391         identical name of all categories.
29393         [BZ #12792]
29394         * libio/filedoalloc.c (local_isatty): New function.
29395         (_IO_file_doallocate): Use local_isatty.
29396         * stdio-common/perror.c (perror): In case a new stream is used
29397         forward the stream error.
29398         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29399         error flag.
29401 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
29403         [BZ #11869]
29404         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29405         alloca.
29406         * include/alloca.h (extend_alloca_account): Define.
29408         [BZ #11857]
29409         * posix/regex.h: Fix comments with documentation of user-accessible
29410         fields after compilation and describe correct free'ing of pattern
29411         after re_compile_pattern.
29412         Patch by Reuben Thomas <rrt@sc3d.org>.
29414 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
29416         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29417         and -mno-altivec to prevent the compiler from using Altivec and/or
29418         VSX instructions when the corresponding registers are not available.
29420 2011-05-19  Andreas Schwab  <schwab@redhat.com>
29422         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29424 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
29426         * libio/freopen.c (freopen): Use __dup2, not dup2.
29427         * libio/freopen64.c (freopen64): Likewise.
29429 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29431         [BZ #12775]
29432         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29433         * math/Makefile (tests): Add test-powl.
29434         (CFLAGS-test-powl.c): Define.
29435         * math/test-powl.c: New file.
29437 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29439         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29441 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
29443         [BZ #11837]
29444         * iconvdata/gb18030.c: Update to GB18020-2005.
29446 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
29448         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29449         RE_SYNTAX_POSIX_AWK): Update to match recent development.
29450         Patch by Aharon Robbins <arnold@skeeve.com>.
29452         [BZ #11892]
29453         * stdlib/putenv.c (putenv): Don't always create copy of the variable
29454         on the stack.
29456         [BZ #11895]
29457         * misc/pselect.c (__pselect): Handle timeout value errors hidden
29458         through underflows.
29460         [BZ #12766]
29461         * misc/error.c (error_at_line): Ensure file_name and old_file_name
29462         point to strings before performing equality test for error_one_per_line
29463         mode.
29465         [BZ #11697]
29466         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29468         [BZ #11820]
29469         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29470         (struct user_fpregs_struct): Avoid __uint*_t types.
29472         [BZ #6420]
29473         * malloc/mtrace.c (tr_where): Add additional parameter to point to
29474         symbol info.  Use it instead of calling _dl_addr locally.
29475         (lock_and_info): New function.
29476         (tr_freehook): Call lock_and_info and pass symbol info as additional
29477         parameter to tr_where.
29478         (tr_mallochook): Likewise.
29479         (tr_reallochook): Likewise.
29480         (tr_memalignhook): Likewise.
29482         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
29483         used and couldn't be at all thread-safe.
29485 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
29487         * libio/freopen.c (freopen): Don't close old file descriptor
29488         before the new one is opened.  Instead dup the new file descriptor
29489         to the old one after the new stream is created.
29490         * libio/freopen64.c (freopen64): Likewise.
29491         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29492         * libio/fileops.c (_IO_new_file_close_it): Handle new
29493         _IO_FLAGS2_NOCLOSE flag.
29494         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29495         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29496         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29497         _IO_FLAGS2_NOCLOSE flag.
29498         * include/unistd.h: Add hidden_proto for dup3.
29499         Define __have_dup3.
29500         * io/dup3.c: Define hidden symbol.
29501         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29503         [BZ #7101]
29504         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29505         when an incomplete long option is used.
29506         * posix/tst-getopt_long1.c: New file.
29507         * posix/Makefile (tests): Add tst-getopt_long1.
29509         [BZ #10138]
29510         * scripts/config.guess: Update from autoconf-2.68.
29511         * scripts/config.sub: Likewise.
29513         [BZ #10157]
29514         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29515         tests into ...
29516         (has_cpuclock): ...this.  New function.
29517         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29518         macro here based on has_cpuclock code.
29520         [BZ #10149]
29521         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29522         First byte (not low byte) is now always NUL.
29523         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29525         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29526         Use non-cancelable interfaces.
29528         [BZ #9809]
29529         * locale/iso-639.def: Add entry for Sorani.
29531         [BZ #11901]
29532         * include/stdlib.h: Move include protection to the right place.
29533         Define abort_msg_s.  Declare __abort_msg with it.
29534         * stdlib/abort.c (__abort_msg): Adjust type.
29535         * assert/assert.c (__assert_fail_base): New function.  Majority
29536         of code from __assert_fail.  Allocate memory for __abort_msg with
29537         mmap.
29538         (__assert_fail): Now call __assert_fail_base.
29539         * assert/assert-perr.c: Remove bulk of implementation.  Use
29540         __assert_fail_base.
29541         * include/assert.hL Declare __assert_fail_base.
29542         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29543         mmap.
29544         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29546 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
29548         [BZ #11952]
29549         [BZ #12453]
29550         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29551         until all modules are registered in the DTV.
29552         * elf/Makefile: Add rules to build and run tst-tls19.
29553         * elf/tst-tls19.c: New file.
29554         * elf/tst-tls19mod1.c: New file.
29555         * elf/tst-tls19mod2.c: New file.
29556         * elf/tst-tls19mod3.c: New file.
29557         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29559         [BZ #12083]
29560         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29561         correctly.
29563         [BZ #12601]
29564         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29565         two-byte sequence errors.
29566         * iconvdata/Makefile (tests): Add bug-iconv8.
29567         * iconvdata/bug-iconv8.c: New file.
29569         [BZ #12626]
29570         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29571         buf2 definition.
29573         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29575         [BZ #12432]
29576         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29577         (dummy_getcfa): New function.
29578         (init): Get _Unwind_GetCFA address, use dummy if not found.
29579         (backtrace_helper): In recursion check, also check whether CFA changes.
29580         (__backtrace): Completely initialize arg.
29582         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
29583         storing incomplete byte sequence in state object.  Avoid testing for
29584         guaranteed too small input if we know there is enough data available.
29586 2011-05-11  Andreas Schwab  <schwab@redhat.com>
29588         * Makeconfig (+link-pie): Indent.
29589         * Rules (binaries-pie): Define if $(have-fpie) and
29590         $(build-shared).
29591         (binaries-shared): Also filter out $(binaries-pie).
29592         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29593         * nscd/Makefile (others-pie): Add nscd.
29594         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29595         ($(objpfx)nscd): Remove command override.
29596         * login/Makefile (others-pie): Add pt_chown.
29597         ($(objpfx)pt_chown): Remove command override.
29598         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29599         remove command overrides.
29601 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
29603         * libio/tst_putwc.c: Fix error messages.
29605         [BZ #12724]
29606         * libio/fileops.c (_IO_new_file_close_it): Always flush when
29607         currently writing and seek to current position when not.
29608         * libio/Makefile (tests): Add bug-fclose1.
29609         * libio/bug-fclose1.c: New file.
29611 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
29613         [BZ #12511]
29614         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29615         don't set DF_1_NODELETE here.
29616         (do_lookup_x): When entering new entry test for copy relocation
29617         and if necessary set DF_1_NODELETE flag.
29618         * elf/tst-unique4.cc: New file.
29619         * elf/tst-unique4.h: New file.
29620         * elf/tst-unique4lib.cc: New file.
29621         * elf/Makefile: Add rules to build and run tst-unique4.
29622         Patch by Piotr Bury <pbury@goahead.com>.
29624 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
29626         [BZ #12052]
29627         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29629         [BZ #12625]
29630         * misc/mntent_r.c (addmntent): Flush the stream after the output
29632         [BZ #12393]
29633         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29634         (is_trusted_path_normalize): Skip initial colon.  Append slash
29635         to empty buffer.  Duplicate is_trusted_path code but allow
29636         constructed patch to be prefix.
29637         (is_dst): Allow $ORIGIN followed by /.
29638         (_dl_dst_substitute): Correct clearing of check_for_trusted.
29639         Correct testing of result of is_trusted_path_normalize
29640         (decompose_rpath): Fix warning.
29642 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
29644         [BZ #11257]
29645         * grp/initgroups.c (internal_getgrouplist): When we found the service
29646         list through the initgroups entry in nsswitch.conf do not always
29647         continue on a successful lookup.  Don't always use the
29648         __nss_group_database value if it is set.
29649         * nss/nsswitch.conf (initgroups): Change action for successful db
29650         lookup to continue for compatibility.
29652 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
29654         [BZ #11532]
29655         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29656         and CP774 modules.
29657         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29658         and CP774 modules.
29659         * iconvdata/tst-tables.sh: Likewise.
29660         * iconvdata/cp770.c: New file.
29661         * iconvdata/cp771.c: New file.
29662         * iconvdata/cp772.c: New file.
29663         * iconvdata/cp773.c: New file.
29664         * iconvdata/cp774.c: New file.
29665         * iconvdata/testdata/CP770: New file.
29666         * iconvdata/testdata/CP770..UTF8: New file.
29667         * iconvdata/testdata/CP771: New file.
29668         * iconvdata/testdata/CP771..UTF8: New file.
29669         * iconvdata/testdata/CP772: New file.
29670         * iconvdata/testdata/CP772..UTF8: New file.
29671         * iconvdata/testdata/CP773: New file.
29672         * iconvdata/testdata/CP773..UTF8: New file.
29673         * iconvdata/testdata/CP774: New file.
29674         * iconvdata/testdata/CP774..UTF8: New file.
29676         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29677         END CHARMAP line.
29678         * iconvdata/gen-8bit-gap.sh: Likewise.
29679         * iconvdata/gen-8bit.sh: Likewise.
29681         * locale/iso-639.def: Add ary entry.
29683         [BZ #11258]
29684         * locale/C-translit.h.in: Add U20A1 transliteration.
29686         [BZ #12178]
29687         * locale/iso-639.def: Add wae entry.
29688         Patch by Kevin Bortis <bortis@translate-wae.ch>.
29690         [BZ #12545]
29691         * locale/programs/localedef.c (construct_output_path): Use ssize_t
29692         for n.
29694         [BZ #12711]
29695         * locale/C-translit.h.in: Add entry for U20B9.
29696         Patch by pravin.d.s@gmail.com.
29698 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
29700         [BZ #12713]
29701         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29702         ENAMETOOLONG use generic getcwd.
29703         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
29704         in rtld.  Use *stat64.
29705         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
29706         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
29707         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
29708         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29709         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29710         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29711         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29712         __fstatat64 macros.
29713         * include/dirent.h: Add libc_hidden_proto for rewinddir.
29714         * dirent/rewinddir.c: Add libc_hidden_def.
29715         * sysdeps/mach/hurd/rewinddir.c: Likewise.
29716         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
29718         * include/dirent.h (__alloc_dir): Add flags parameter.
29719         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29720         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29721         __alloc_dir.
29722         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
29723         from fdopendir if O_CLOEXEC is already set.
29725 2011-03-15  Alan Modra  <amodra@gmail.com>
29727         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29728         l_tls_firstbyte_offset non-zero.  Save padding offset in
29729         l_tls_firstbyte_offset for later use.
29730         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29731         freeing static tls block.
29733 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
29735         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29736         where #ifdef was intended.  The intent is to prevent ARG_MAX from
29737         being defined by the kernel headers.
29739 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
29741         [BZ #12734]
29742         * resolv/resolv.h: Define RES_NOTLDQUERY.
29743         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29744         no-tld-query and set RES_NOTLDQUERY.
29745         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29746         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29747         modern BIND to search name as TLD unless forbidden.
29749 2011-05-07  Petr Baudis  <pasky@suse.cz>
29750             Ulrich Drepper  <drepper@gmail.com>
29752         [BZ #12393]
29753         * elf/dl-load.c (fillin_rpath): Move trusted path check...
29754         (is_trusted_path): ...to here.
29755         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
29756         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
29757         using is_trusted_path_normalize() in setuid scripts.
29759 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29761         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29762         __BEGIN/__END_DECLS.
29764 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
29766         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29767         NSS_STATUS_NOTFOUND if no record was found.
29769 2011-05-05  Andreas Schwab  <schwab@redhat.com>
29771         * sunrpc/Makefile (headers): Add rpc/netdb.h.
29772         (headers-not-in-tirpc): Remove rpc/netdb.h
29773         * resolv/netdb.h: Revert last change.
29775 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29777         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29778         circular dependency between libgcc.a and libc.a.
29780 2011-05-05  Andreas Schwab  <schwab@redhat.com>
29782         * resolv/netdb.h: Don't include <rpc/netdb.h>.
29783         * nis/Makefile: Don't install rpcsvc/*.
29784         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29785         instead of <rpc/types.h>.
29786         (MAXHOSTNAMELEN): Define.
29788 2011-05-03  Andreas Schwab  <schwab@redhat.com>
29790         * elf/ldconfig.c (add_dir): Don't crash on empty path.
29792 2011-04-28  Maciej Babinski  <mbabinski@google.com>
29794         [BZ #12714]
29795         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29796         gethostbyname4_r when IPv6 results are possible.
29798 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
29800         [BZ #12723]
29801         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29802         _PC_PIPE_BUF handling.
29804 2011-04-30  Bruno Haible  <bruno@clisp.org>
29806         [BZ #12717]
29807         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29808         * resolv/netdb.h (getnameinfo): Change type of flags parameter
29809         to 'int'.
29810         * inet/getnameinfo.c (getnameinfo): Likewise.
29812 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
29814         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29815         to groups setting in database lookup.
29816         * nss/nsswitch.conf: Add initgroups entry.
29818 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
29820         [BZ #12685]
29821         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29822         mode string.
29823         Patch by Eric Blake <eblake@redhat.com>.
29825 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
29827         * sunrpc/Makefile (need-export-routines): Add svc_run.
29828         (routines): Remove svc_run.
29829         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29830         * sunrpc/clnt_perr.c (clnt_perrno): Export.
29831         * sunrpc/svc_run.c (svc_run): Likewise.
29832         * sunrpc/svc_udp.c (svcudp_create): Likewise.
29834 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
29836         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29837         problem in reallocation in last patch.
29839 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
29841         * sunrpc/Makefile: Move inclusion of Rules.
29843 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29845         * nss/nss_files/files-initgroups.c: New file.
29846         * nss/Makefile (libnss_files-routines): Add files-initgroups.
29847         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29848         _nss_files_initgroups_dyn.
29850 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
29852         * elf/elf.h (R_ARM_IRELATIVE): Define.
29854 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29856         * po/ru.po: Update from translation team.
29858 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
29860         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29861         dependencies.
29863 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
29865         [BZ #12653]
29866         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29867         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29868         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29869         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29870         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29872 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
29874         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29875         differing bytes.
29876         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29877         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29878         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29880 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
29882         [BZ #12420]
29883         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29884         storing it.
29885         * stdlib/bug-getcontext.c: New file.
29886         * stdlib/Makefile: Add rules to build and run bug-getcontext.
29888 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29890         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29891         instructions into .machine "z9-109".
29892         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29893         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29895 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29897         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29898         between environment variables and auxiliary vector.
29900 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
29902         * Makefile: Add rules to build linkobj/libc.so.
29903         * include/libc-symbols.h: Define libc_hidden_nolink.
29904         * include/rpc/auth.h: Mark functions which are to be hidden.
29905         * include/rpc/auth_des.h: Likewise.
29906         * include/rpc/auth_unix.h: Likewise.
29907         * include/rpc/clnt.h: Likewise.
29908         * include/rpc/des_crypt.h: Likewise.
29909         * include/rpc/key_prot.h: Likewise.
29910         * include/rpc/pmap_clnt.h: Likewise.
29911         * include/rpc/pmap_prot.h: Likewise.
29912         * include/rpc/pmap_rmt.h: Likewise.
29913         * include/rpc/rpc_msg.h: Likewise.
29914         * include/rpc/svc.h: Likewise.
29915         * include/rpc/svc_auth.h: Likewise.
29916         * include/rpc/xdr.h: Likewise.
29917         * nis/Makefile: Link all DSOs against linkobj/libc.so.
29918         * nss/Makefile: Likewise.
29919         * sunrpc/Makefile: Don't install headers.  Build library with normal
29920         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
29921         * sunrpc/auth_des.c: Hide exported symbols by default, export some
29922         for the compat linking library.  Remove use of INTDEF/INTUSE.
29923         * sunrpc/auth_none.c: Likewise.
29924         * sunrpc/auth_unix.c: Likewise.
29925         * sunrpc/authdes_prot.c: Likewise.
29926         * sunrpc/authuxprot.c: Likewise.
29927         * sunrpc/clnt_gen.c: Likewise.
29928         * sunrpc/clnt_perr.c: Likewise.
29929         * sunrpc/clnt_raw.c: Likewise.
29930         * sunrpc/clnt_simp.c: Likewise.
29931         * sunrpc/clnt_tcp.c: Likewise.
29932         * sunrpc/clnt_udp.c: Likewise.
29933         * sunrpc/clnt_unix.c: Likewise.
29934         * sunrpc/des_crypt.c: Likewise.
29935         * sunrpc/des_soft.c: Likewise.
29936         * sunrpc/get_myaddr.c: Likewise.
29937         * sunrpc/key_call.c: Likewise.
29938         * sunrpc/key_prot.c: Likewise.
29939         * sunrpc/netname.c: Likewise.
29940         * sunrpc/pm_getmaps.c: Likewise.
29941         * sunrpc/pm_getport.c: Likewise.
29942         * sunrpc/pmap_clnt.c: Likewise.
29943         * sunrpc/pmap_prot.c: Likewise.
29944         * sunrpc/pmap_prot2.c: Likewise.
29945         * sunrpc/pmap_rmt.c: Likewise.
29946         * sunrpc/publickey.c: Likewise.
29947         * sunrpc/rpc_cmsg.c: Likewise.
29948         * sunrpc/rpc_common.c: Likewise.
29949         * sunrpc/rpc_dtable.c: Likewise.
29950         * sunrpc/rpc_prot.c: Likewise.
29951         * sunrpc/rpc_thread.c: Likewise.
29952         * sunrpc/rtime.c: Likewise.
29953         * sunrpc/svc.c: Likewise.
29954         * sunrpc/svc_auth.c: Likewise.
29955         * sunrpc/svc_authux.c: Likewise.
29956         * sunrpc/svc_raw.c: Likewise.
29957         * sunrpc/svc_run.c: Likewise.
29958         * sunrpc/svc_simple.c: Likewise.
29959         * sunrpc/svc_tcp.c: Likewise.
29960         * sunrpc/svc_udp.c: Likewise.
29961         * sunrpc/svc_unix.c: Likewise.
29962         * sunrpc/svcauth_des.c: Likewise.
29963         * sunrpc/xcrypt.c: Likewise.
29964         * sunrpc/xdr.c: Likewise.
29965         * sunrpc/xdr_array.c: Likewise.
29966         * sunrpc/xdr_float.c: Likewise.
29967         * sunrpc/xdr_intXX_t.c: Likewise.
29968         * sunrpc/xdr_mem.c: Likewise.
29969         * sunrpc/xdr_rec.c: Likewise.
29970         * sunrpc/xdr_ref.c: Likewise.
29971         * sunrpc/xdr_sizeof.c: Likewise.
29972         * sunrpc/xdr_stdio.c: Likewise.
29974 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
29976         [BZ #12650]
29977         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29978         * sysdeps/ia64/dl-tls.h: Likewise.
29979         * sysdeps/powerpc/dl-tls.h: Likewise.
29980         * sysdeps/s390/dl-tls.h: Likewise.
29981         * sysdeps/sh/dl-tls.h: Likewise.
29982         * sysdeps/sparc/dl-tls.h: Likewise.
29983         * sysdeps/x86_64/dl-tls.h: Likewise.
29984         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29986 2011-03-14  Andreas Schwab  <schwab@redhat.com>
29988         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29989         rpath element also skip the following colon.
29990         (expand_dynamic_string_token): Add is_path parameter and pass
29991         down to DL_DST_REQUIRED and _dl_dst_substitute.
29992         (decompose_rpath): Call expand_dynamic_string_token with
29993         non-zero is_path.  Ignore empty rpaths.
29994         (_dl_map_object_from_fd): Call expand_dynamic_string_token
29995         with zero is_path.
29997 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
29999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30000         Make cancelable.
30002 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
30004         [BZ #12655]
30005         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30006         Patch by Filipe David Manana <fdmanana@apache.org>.
30008 2011-04-07  Andreas Schwab  <schwab@redhat.com>
30010         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30011         Maintain aligned stack.
30012         (CHECK_RSP): Remove unused macro.
30014 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
30016         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30017         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30019 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
30021         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30023         * include/features.h: Mention __USE_XOPEN2K8 in comment.
30025 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
30027         [BZ #12518]
30028         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30029         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30030         * sysdeps/x86_64/memmove.c: New file.
30031         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30032         (memcpy): Renamed to ...
30033         (__new_memcpy): This.
30034         (memcpy): Provide GLIBC_2_14 memcpy.
30035         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30036         (memcpy): Provide GLIBC_2_2_5 memcpy.
30038 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30040         [BZ #12631]
30041         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30043 2011-03-30  Andreas Schwab  <schwab@redhat.com>
30045         * misc/syncfs.c: New file.
30046         * misc/Makefile (routines): Add syncfs.
30047         * posix/unistd.h: Declare syncfs.
30048         * sysdeps/unix/syscalls.list: Add syncfs.
30050 2011-04-01  Andreas Schwab  <schwab@redhat.com>
30052         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30053         open_by_handle_at.
30054         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30055         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30056         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30057         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30058         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30059         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30060         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30062 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30064         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30065         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30066         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30067         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30068         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30069         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30070         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30072         * io/Makefile: Compile fallocate.c, fallocate64.c, and
30073         sync_file_range.c with -fexceptions.
30074         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30075         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30076         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30077         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30078         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30079         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30080         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30081         sync_file_range as cancellation point
30082         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
30083         now a wrapper around __call_sync_file_range with cancellation handling.
30084         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30085         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
30086         function name to __call_sync_file_range.
30087         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30088         Add call_sync_file_range.
30090 2011-04-01  Andreas Schwab  <schwab@redhat.com>
30092         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30093         bits/timex.h.
30095 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30097         * iconv/iconv.h: Fix typo in comment.
30098         * io/fcntl.h: Likewise.
30099         * libio/stdio.h: Likewise.
30100         * posix/spawn.h: Likewise.
30101         * posix/unistd.h: Likewise.
30102         * stdlib/stdlib.h: Likewise.
30103         * time/time.h: Likewise.
30104         * wcsmbs/wchar.h: Likewise.
30106         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30107         open_by_handle): Add.
30108         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30109         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
30110         Augment a few comments.
30111         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30112         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30113         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30114         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30115         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30116         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30117         open_by_handle.
30119         * io/fcntl.h (AT_EMPTY_PATH): Define.
30121 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
30123         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30124         * sysdeps/unix/sysv/linux/bits/time.h: New file.
30125         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30126         to...
30127         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
30128         * Versions.def: Add GLIBC_2.14.
30129         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30130         Export.
30132 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
30134         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30135         round counter.
30136         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30138 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
30140         [BZ #12597]
30141         * string/test-strncmp.c (do_page_test): New function.
30142         (check2): Likewise.
30143         (test_main): Call check2.
30144         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30146 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
30148         [BZ #12587]
30149         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30150         Handle cache information in CPU leaf 4.
30151         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30153 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
30155         [BZ #12583]
30156         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30157         character representation.
30158         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30160 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
30162         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30163         END(__isnan) to END(__isnanf) to match function entry point/label
30164         EALIGN(__isnanf,...).
30166 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
30168         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30170 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
30172         [BZ #12510]
30173         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30174         copy from the symbol referenced in the relocation to initialize the
30175         used variable.
30176         Patch by Piotr Bury <pbury@goahead.com>.
30177         * elf/Makefile: Add rules to build and tst-unique3.
30178         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30179         * elf/tst-unique3.cc: New file.
30180         * elf/tst-unique3.h: New file.
30181         * elf/tst-unique3lib.cc: New file.
30182         * elf/tst-unique3lib2.cc: New file.
30184         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30186 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
30188         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30189         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
30190         to _start.
30192 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
30194         * elf/dl-load.c (_dl_map_object): If we are looking for the first
30195         to-be-loaded object along a path to loader is ld.so.
30197 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
30198             Ulrich Drepper  <drepper@gmail.com>
30200         * sysdeps/x86_64/memset.S: After aligning destination, code
30201         branches to different locations depending on the value of
30202         misalignment, when multiarch is enabled. Fix this.
30204 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
30206         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30207         Set _x86_64_preferred_memory_instruction for AMD processsors.
30208         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30209         Set bit_Prefer_SSE_for_memop for AMD processors.
30211 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
30213         * libio/fmemopen.c (fmemopen): Optimize a bit.
30215 2011-03-03  Andreas Schwab  <schwab@redhat.com>
30217         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30219 2011-03-03  Roland McGrath  <roland@redhat.com>
30221         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30223 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
30225         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
30226         __bzero_ultra1 instead of __memset_ultra1.
30228 2011-02-23  Andreas Schwab  <schwab@redhat.com>
30229             Ulrich Drepper  <drepper@gmail.com>
30231         [BZ #12509]
30232         * include/link.h (struct link_map): Add l_orig_initfini.
30233         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30234         returning unsuccessfully.
30235         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30236         close of a file loaded at startup, restore the original l_initfini
30237         list.
30238         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30239         list, store the pointer.
30240         * elf/Makefile ($(objpfx)noload-mem): New rule.
30241         (noload-ENV): Define.
30242         (tests): Add $(objpfx)noload-mem.
30243         * elf/noload.c: Include <memcheck.h>.
30244         (main): Call mtrace.  Close all opened handles.
30246 2011-02-17  Andreas Schwab  <schwab@redhat.com>
30248         [BZ #12454]
30249         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30250         dependencies are missing.
30252 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30254         Fix __if_freereq crash: Unlike the generic version which uses free,
30255         Hurd needs munmap.
30256         * sysdeps/mach/hurd/ifreq.h: New file.
30258 2011-01-27  Petr Baudis  <pasky@suse.cz>
30259             Ulrich Drepper  <drepper@gmail.com>
30261         [BZ 12445]#
30262         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30263         to extend_alloca().
30264         * stdio-common/bug23.c: New file.
30265         * stdio-common/Makefile (tests): Add bug23.
30267 2010-09-28  Andreas Schwab  <schwab@redhat.com>
30268             Ulrich Drepper  <drepper@gmail.com>
30270         [BZ #12489]
30271         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30272         before performing relro protection.  At old place add assertion
30273         to make sure nothing changed.
30275 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
30276             Glauber de Oliveira Costa  <glommer@gmail.com>
30278         * elf/elf.h: Add new ARM TLS relocs.
30280 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
30282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30283         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30284         cast from r3.
30285         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
30286         'tests' variable.
30287         * sysdeps/wordsize-64/tst-writev.c: New file.
30289 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
30291         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30292         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30293         insns in _dl_start to prevent a TOC reference before relocs are
30294         resolved.
30296 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
30298         [BZ #12469]
30299         * Makeconfig: Remove RANLIB definition.
30300         * Makerules: Don't use RANLIB.
30301         * aclocal.m4: Remove ranlib test.
30302         * configure.in: No need to check for ranlib.
30303         * elf/rtld-Rules: Don't use RANLIB.
30305 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30307         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30308         protection macro.
30309         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30310         inclusion protection macro.
30312         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30313         SIGRTMIN and SIGRTMAX and print information in that case only when
30314         SIGRTMIN is defined.
30316 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
30318         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30319         arginfo fn returning -1.
30321         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30322         and thousands string is zero terminated.
30324 2011-02-03  Andreas Schwab  <schwab@redhat.com>
30326         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30327         sysdeps/unix/sysv/linux/bits/socket.h.
30329 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30331         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30332         (__CPU_COUNT): Remove old macros.
30333         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30334         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30335         (__CPU_ALLOC, __CPU_FREE): Add macros.
30336         (__sched_cpualloc, __sched_cpufree): Add declarations.
30338 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
30340         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30341         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30342         * nscd/aicache.c (addhstaiX): Return timeout of added value.
30343         (readdhstai): Return value of addhstaiX call.
30344         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30345         (addgrbyX): Return value returned by cache_addgr.
30346         (readdgrbyname): Return value returned by addgrbyX.
30347         (readdgrbygid): Likewise.
30348         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30349         (addpwbyX): Return value returned by cache_addpw.
30350         (readdpwbyname): Return value returned by addhstbyX.
30351         (readdpwbyuid): Likewise.
30352         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30353         (addservbyX): Return value returned by cache_addserv.
30354         (readdservbyname): Return value returned by addservbyX:
30355         (readdservbyport): Likewise.
30356         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30357         (addhstbyX): Return value returned by cache_addhst.
30358         (readdhstbyname): Return value returned by addhstbyX.
30359         (readdhstbyaddr): Likewise.
30360         (readdhstbynamev6): Likewise.
30361         (readdhstbyaddrv6): Likewise.
30362         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30363         (readdinitgroups): Return value returned by addinitgroupsX.
30364         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30365         (prune_cache): Keep track of timeout value of re-added entries.
30366         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30367         * nscd/nscd.h: Adjust prototypes of readd* functions.
30369 2011-02-04  Roland McGrath  <roland@redhat.com>
30371         * nis/nis_server.c (nis_servstate): Use the right name for 0.
30372         (nis_stats): Likewise.
30373         * nis/nis_modify.c (nis_modify): Likewise.
30374         * nis/nis_remove.c (nis_remove): Likewise.
30375         * nis/nis_add.c (nis_add): Likewise.
30377         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30379         * posix/fnmatch_loop.c: Add some consts.
30381         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30383 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
30385         [BZ #12460]
30386         * config.make.in (config-cflags-novzeroupper): Define.
30387         * configure.in: Substitute libc_cv_cc_novzeroupper.
30388         * elf/Makefile (AVX-CFLAGS): Define.
30389         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30390         (CFLAGS-tst-auditmod4a.c): Likewise.
30391         (CFLAGS-tst-auditmod4b.c): Likewise.
30392         (CFLAGS-tst-auditmod6b.c): Likewise.
30393         (CFLAGS-tst-auditmod6c.c): Likewise.
30394         (CFLAGS-tst-auditmod7b.c): Likewise.
30395         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30397 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
30399         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30400         function to the callback.
30401         Patch partly by Jiri Olsa <jolsa@redhat.com>.
30403 2011-02-02  Andreas Schwab  <schwab@redhat.com>
30405         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30406         of errno.
30408 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
30410         [BZ #11724]
30411         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30412         of constructors.
30413         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30414         of destructors.
30415         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30417         [BZ #11724]
30418         * elf/Makefile: Add rules to build and run new test.
30419         * elf/tst-initorder.c: New file.
30420         * elf/tst-initorder.exp: New file.
30421         * elf/tst-initordera1.c: New file.
30422         * elf/tst-initordera2.c: New file.
30423         * elf/tst-initordera3.c: New file.
30424         * elf/tst-initordera4.c: New file.
30425         * elf/tst-initorderb1.c: New file.
30426         * elf/tst-initorderb2.c: New file.
30427         * elf/tst-order-a1.c: New file.
30428         * elf/tst-order-a2.c: New file.
30429         * elf/tst-order-a3.c: New file.
30430         * elf/tst-order-a4.c: New file.
30431         * elf/tst-order-b1.c: New file.
30432         * elf/tst-order-b2.c: New file.
30433         * elf/tst-order-main.c: New file.
30434         New test case by George Gensure <werkt0@gmail.com>.
30436 2010-10-01  Andreas Schwab  <schwab@redhat.com>
30438         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30439         decoding ACE if AI_CANONIDN.
30441 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
30443         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30445 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
30447         * version.h (RELEASE): Bump for 2.13 release.
30448         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30450         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30452         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30453         MADV_NOHUGEPAGE.
30454         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30455         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30456         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30457         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30458         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30459         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30461         * posix/getconf.c: Update copyright year.
30462         * catgets/gencat.c: Likewise.
30463         * csu/version.c: Likewise.
30464         * debug/catchsegv.sh: Likewise.
30465         * debug/xtrace.sh: Likewise.
30466         * elf/ldconfig.c: Likewise.
30467         * elf/ldd.bash.in: Likewise.
30468         * elf/sprof.c (print_version): Likewise.
30469         * iconv/iconv_prog.c: Likewise.
30470         * iconv/iconvconfig.c: Likewise.
30471         * locale/programs/locale.c: Likewise.
30472         * locale/programs/localedef.c: Likewise.
30473         * malloc/memusage.sh: Likewise.
30474         * malloc/mtrace.pl: Likewise.
30475         * nscd/nscd.c (print_version): Likewise.
30476         * nss/getent.c: Likewise.
30478         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30479         PF_CAIF, and PF_ALG.
30480         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30482 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
30484         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30485         (modules-names): Use them.
30486         (ifunc-test-modules, ifunc-pie-tests): Define.
30487         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30488         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30489         (test-extras): Likewise.
30490         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30491         $(compile-command.c).
30492         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30493         (all-built-dso): Define.
30494         (check-textrel.out, check-execstack.out): Depend on it.
30496         * configure.in: Don't override --enable-multi-arch.
30498 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
30500         [BZ #6812]
30501         * nscd/hstcache.c (tryagain): Define.
30502         (cache_addhst): Return tryagain not notfound for temporary errors.
30503         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30504         failed.
30506 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
30508         [BZ #10563]
30509         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30510         to make the syscall.
30511         * sysdeps/unix/sysv/linux/setgroups.c: New file.
30513         [BZ #12378]
30514         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30515         and fall back to matching as normal character if the string ends before
30516         the matching ']' is found.  This is what POSIX requires.
30517         * posix/testfnm.c: Adjust test result.
30518         * posix/globtest.sh: Adjust test result.  Add new test.
30519         * posix/tst-fnmatch.input: Likewise.
30520         * posix/tst-fnmatch2.c: Add new test.
30522 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
30524         * elf/Makefile (check-execstack): Revert last change.  Depend on
30525         check-execstack.h.
30526         (check-execstack.h): New target.
30527         (generated): Add check-execstack.h.
30528         * elf/check-execstack.c: Include "check-execstack.h".
30529         (main): Revert last change.
30530         (handle_file): Return zero if GNU_STACK is absent and
30531         DEFAULT_STACK_PERMS doesn't include PF_X.
30533 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
30535         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30536         in child fails because the descriptor is already closed.
30537         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30538         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30539         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
30541         [BZ #12397]
30542         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30543         syscall.
30545         [BZ #10484]
30546         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30547         temporary buffer used to handle multi lookups locally.
30548         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
30550 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
30552         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30553         loader is ld.so.
30555 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
30557         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30558         alignment for SSE2.
30560 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
30562         [BZ #12394]
30563         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30564         characters.  When rounding increased number of integer digits recompute
30565         number of groups.
30566         * stdio-common/tst-grouping.c: New file.
30567         * stdio-common/Makefile: Add rules to build and run tst-grouping.
30569 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
30571         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30572         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
30574         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30575         void.
30576         * bits/select.h: Likewise.
30578 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
30580         * po/ja.po: Update from translation team.
30582 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
30584         [BZ #11155]
30585         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30586         implementation just like for lxstat, fxstatat, et al.
30588 2010-12-27  Jim Meyering  <meyering@redhat.com>
30590         [BZ #12348]
30591         * posix/regexec.c (build_trtable): Return failure indication upon
30592         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
30594 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
30596         [BZ #12201]
30597         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30598         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30599         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30600         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30602         [BZ #12207]
30603         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30605         [BZ #12204]
30606         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30607         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30609 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
30611         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30612         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30613         script has SORT_BY_INIT_PRIORITY.
30614         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30615         NO_CTORS_DTORS_SECTIONS is defined.
30616         * elf/soinit.c: Likewise.
30617         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30618         NO_CTORS_DTORS_SECTIONS is defined.
30619         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30620         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30621         * sysdeps/sh/init-first.c: Likewise.
30622         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30624 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
30626         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30627         always use the slow path.
30629 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
30631         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30632         similar rule which adds the sysdep directories to the header search in
30633         order to pick up the correct platform stackinfo.h.
30634         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30635         perform test if it is, otherwise return successfully without testing.
30636         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30637         DEFAULT_STACK_PERMS define in stackinfo.h.
30638         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30639         defined in stackinfo.h.
30640         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30641         DEFAULT_STACK_PERMS defined in stackinfo.h.
30642         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30643         * sysdeps/ia64/stackinfo.h: Likewise.
30644         * sysdeps/s390/stackinfo.h: Likewise.
30645         * sysdeps/sh/stackinfo.h: Likewise.
30646         * sysdeps/sparc/stackinfo.h: Likewise.
30647         * sysdeps/x86_64/stackinfo.h: Likewise.
30648         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30649         PF_X for powerpc64.  Retain PF_X for powerpc32.
30651 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
30653         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30654         accurately.
30655         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30656         GETDENTS_64BIT_ALIGNED.
30658 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
30660         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
30662 2010-12-10  Andreas Schwab  <schwab@redhat.com>
30664         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30665         _GNU_SOURCE.
30667         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30668         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30669         Remove __restrict.
30670         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30671         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30673 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
30675         [BZ #11655]
30676         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30677         are initialized.
30679 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
30681         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30683 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
30685         * po/it.po: Update from translation team.
30687 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
30689         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30690         unused codes.
30692 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
30694         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30696 2010-11-24  Andreas Schwab  <schwab@redhat.com>
30698         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30699         specially.
30700         (gaih_getanswer_slice): Likewise.
30702 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
30704         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30706 2010-05-31  Petr Baudis  <pasky@suse.cz>
30708         [BZ #11149]
30709         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30710         silently even in the chroot mode.
30712 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
30714         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30715         last patch a bit.  Pretty printing
30717 2010-05-31  Petr Baudis <pasky@suse.cz>
30719         [BZ #10085]
30720         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30721         initialization of skip_initgroups_dyn.
30723 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
30725         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30726         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30728 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
30730         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30732 2010-11-11  Andreas Schwab  <schwab@redhat.com>
30734         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30735         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30736         (tst-fnmatch-ENV): Set MALLOC_TRACE.
30737         ($(objpfx)tst-fnmatch-mem): New rule.
30738         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30739         * posix/tst-fnmatch.c (main): Call mtrace.
30741 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
30743         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30744         Support Intel processor model 6 and model 0x2c.
30746 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
30748         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30749           signed comparison.
30751 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
30753         [BZ #12205]
30754         * string/test-strncasecmp.c (check_result): New function.
30755         (do_one_test): Use it.
30756         (check1): New function.
30757         (test_main): Use it.
30758         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30759         Support strcasecmp and strncasecmp.
30761 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
30763         [BZ #12194]
30764         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30765         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30767 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
30769         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30770         IFUNC support.
30771         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30772         memset-x86-64.
30773         * sysdeps/x86_64/multiarch/bzero.S: New file.
30774         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30775         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30776         * sysdeps/x86_64/multiarch/memset.S: New file.
30777         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30778         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30779         Set bit_Prefer_SSE_for_memop for Intel processors.
30780         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30781         Define.
30782         (index_Prefer_SSE_for_memop): Define.
30783         (HAS_PREFER_SSE_FOR_MEMOP): Define.
30785 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
30787         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30788         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30790 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
30792         [BZ #12191]
30793         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30794         (__x86_64_raw_data_cache_size_half): Likewise.
30795         (__x86_64_raw_shared_cache_size): Likewise.
30796         (__x86_64_raw_shared_cache_size_half): Likewise.
30798         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30799         (__x86_64_raw_data_cache_size_half): Likewise.
30800         (__x86_64_raw_shared_cache_size): Likewise.
30801         (__x86_64_raw_shared_cache_size_half): Likewise.
30802         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30803         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30804         and __x86_64_raw_shared_cache_size_half.  Round
30805         __x86_64_data_cache_size_half, __x86_64_data_cache_size
30806         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30807         to multiple of 256 bytes.
30809 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
30811         [BZ #12167]
30812         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30813         of inacessible symlinks.  Verify result of symlink before returning it.
30814         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30815         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30817 2010-10-28  Erich Ritz  <erichritz@gmail.com>
30819         * math/math.h (isinf): Fix typo in comment.
30821 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
30823         * po/da.po: Update from translation team.
30825 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
30827         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30828         is added to the list.
30830 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30831             Ulrich Drepper  <drepper@gmail.com>
30833         * elf/dl-object.c (_dl_new_object): Don't append the new object to
30834         the global list here.  Move code to...
30835         (_dl_add_to_namespace_list): ...here.  New function.
30836         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30837         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30838         * elf/dl-load.c (lose): Don't remove the element from the list.
30839         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30840         (_dl_map_object): Likewise.
30842 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
30844         [BZ #12159]
30845         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30846         into all bytes of SSE register.
30847         Patch by Richard Li <richardpku@gmail.com>.
30849 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
30851         [BZ #12140]
30852         * malloc/malloc.c (_int_free): Fill correct number of bytes when
30853         perturbing.
30855 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
30857         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30858         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30859         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30860         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30862         submachine.
30863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30865 2010-10-22  Andreas Schwab  <schwab@redhat.com>
30867         * include/dlfcn.h (__RTLD_SECURE): Define.
30868         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
30869         mode & __RTLD_SECURE instead.
30870         (open_path): Rename preloaded parameter to secure.
30871         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30872         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30873         * elf/dl-deps.c (openaux): Likewise.
30874         * elf/rtld.c (struct map_args): Remove is_preloaded.
30875         (map_doit): Don't use it.
30876         (dl_main): Likewise.
30877         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30878         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30880 2010-09-09  Andreas Schwab  <schwab@redhat.com>
30882         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30883         (sysd-rules-targets): Remove duplicates.
30884         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30885         rtld-%.$o dependency.
30887 2010-10-18  Andreas Schwab  <schwab@redhat.com>
30889         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30890         _dl_map_object do it.
30892 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
30894         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30895         fast fma builtins, define the macros in the C99 standard.
30896         (FP_FAST_FMAF): Likewise.
30897         (FP_FAST_FMAL): Likewise.
30898         * sysdeps/x86_64/bits/mathdef.h: Likewise.
30900         * bits/mathdef.h: Update copyright year.
30901         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30903 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
30905         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30906         builtins, define the macros in the C99 standard.
30907         (FP_FAST_FMAF): Likewise.
30908         (FP_FAST_FMAL): Likewise.
30909         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30910         multiply/add.
30911         (FP_FAST_FMAF): Likewise.
30913 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
30915         [BZ #3268]
30916         * math/libm-test.inc (fma_test): Some new testcases.
30917         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30918         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30919         y and infinite z.  Do multiplication by C already in long double.
30920         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30921         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30922         y and infinite z.  Do bitwise or of inexact bit into u.d.
30923         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30924         * sysdeps/i386/fpu/s_fmaf.S: Removed.
30925         * sysdeps/i386/fpu/s_fma.S: Removed.
30926         * sysdeps/i386/fpu/s_fmal.S: Removed.
30928 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
30930         [BZ #3268]
30931         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30932         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30933         computation is not scheduled after fetestexcept.  Fix value
30934         of minimum denormal long double.
30936 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
30938         [BZ #3268]
30939         * math/libm-test.inc (fma_test): Add some more tests.
30940         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30941         correctly.
30943 2010-10-15  Andreas Schwab  <schwab@redhat.com>
30945         * scripts/data/localplt-s390-linux-gnu.data: New file.
30946         * scripts/data/localplt-s390x-linux-gnu.data: New file.
30948 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
30950         [BZ #3268]
30951         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30952         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30953         instead of dbl-64.
30954         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30955         inlines.
30956         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30957         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30958         if one of x and y is very large and the other is subnormal.
30959         * sysdeps/s390/fpu/s_fmaf.c: New file.
30960         * sysdeps/s390/fpu/s_fma.c: New file.
30961         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30962         * sysdeps/powerpc/fpu/s_fma.S: New file.
30963         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30964         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30965         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30967 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
30969         [BZ #3268]
30970         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30971         fma tests.
30972         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30973         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30974         * sysdeps/i386/i686/multiarch/s_fma.c: Include
30975         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30976         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30977         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30978         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30980 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
30982         [BZ #12078]
30983         * posix/regcomp.c (parse_branch): One more memory leak plugged.
30984         * posix/bug-regex31.input: Add test case.
30986 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
30988         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30989         * posix/bug-regex31.input: New file.
30991         [BZ #12078]
30992         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30993         (parse_sub_exp): Fix last change, use postorder.
30995         * posix/bug-regex31.c: New file.
30996         * posix/Makefile: Add rules to build and run bug-regex31.
30998         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31000         [BZ #12078]
31001         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31003         [BZ #12108]
31004         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31005         to have entries in sys_siglist.
31007         [BZ #12093]
31008         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31009         be NULL.
31011 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
31013         [BZ #3268]
31014         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31015         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31016         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31017         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31018         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31019         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31020         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31021         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31022         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31023         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31024         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31025         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31026         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31027         * math/ftestexcept.c (fetestexcept): Likewise.
31028         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31029         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31030         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31031         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31032         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31033         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31034         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31036 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
31038         [BZ #12107]
31039         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31040         newline.
31042 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
31044         * string/bug-strstr1.c: New file.
31045         * string/Makefile: Add rules to build and run bug-strstr1.
31047 2010-10-05  Eric Blake  <eblake@redhat.com>
31049         [BZ #12092]
31050         * string/str-two-way.h (two_way_long_needle): Always clear memory
31051         when skipping input due to the shift table.
31053 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
31055         [BZ #12005]
31056         * malloc/mcheck.c: Handle large requests.
31058         [BZ #12077]
31059         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31060         for strncmp and strncasecmp.
31061         * string/stratcliff.c: Add tests for strcmp and strncmp.
31062         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31064 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31066         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31067         __set_fpscr.
31069 2010-09-30  Andreas Jaeger  <aj@suse.de>
31071         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31072         (CGROUP_SUPER_MAGIC): Define.
31073         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31074         Handle btrfs and cgroup file systems.
31075         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31076         Likewise.
31078 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
31080         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31081         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31083 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31085         [BZ #12067]
31086         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31087         trying to locate the ELF header.
31089 2010-09-27  Andreas Schwab  <schwab@redhat.com>
31091         [BZ #11611]
31092         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31093         Mask out sign-bit copies when constructing f_fsid.
31095 2010-09-24  Petr Baudis <pasky@suse.cz>
31097         * debug/stack_chk_fail_local.c: Add missing licence exception.
31098         * debug/warning-nop.c: Likewise.
31100 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
31102         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31103         implementing getdents64 using getdents syscall, set d_type if
31104         __ASSUME_GETDENTS32_D_TYPE.
31106 2010-09-16  Andreas Schwab  <schwab@redhat.com>
31108         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31109         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31111 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
31113         [BZ #12037]
31114         * posix/unistd.h: Undo change of feature selection for ftruncate from
31115         2010-01-11.
31117 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
31119         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
31120         detection.
31122 2010-09-20  Andreas Schwab  <schwab@redhat.com>
31124         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31125         fanotify_mark.
31126         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31128 2010-09-14  Andreas Schwab  <schwab@redhat.com>
31130         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31131         variables after CHECK_SP call.
31132         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31134 2010-09-13  Andreas Schwab  <schwab@redhat.com>
31135             Ulrich Drepper  <drepper@redhat.com>
31137         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31138         re-relocationg ld.so.
31139         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31140         _dl_init_paths call.
31141         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
31142         here anymore.
31144 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
31146         * resolv/res_init.c (__res_vinit): Count the default server we added.
31148 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
31149             Ulrich Drepper  <drepper@redhat.com>
31151         [BZ #11968]
31152         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31153         (____longjmp_chk): Use %ebx for saving value across system call.
31154         Add unwind info.
31156 2010-09-06  Andreas Schwab  <schwab@redhat.com>
31158         * manual/Makefile: Don't mix pattern rules with normal rules.
31160 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31162         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31163         operation.
31164         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31165         * libio/iofopncook.c (_IO_cookie_init): Likewise.
31166         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31167         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31168         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31169         Likewise.
31171 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
31173         [BZ #11979]
31174         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31175         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31177 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
31179         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31180         * sysdeps/x86_64/addmul_1.S: Likewise.
31181         * sysdeps/x86_64/lshift.S: Likewise.
31182         * sysdeps/x86_64/mul_1.S: Likewise.
31183         * sysdeps/x86_64/rshift.S: Likewise.
31184         * sysdeps/x86_64/sub_n.S: Likewise.
31185         * sysdeps/x86_64/submul_1.S: Likewise.
31187 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31189         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31190         Define __sched_param instead of SCHED_* and sched_param when
31191         <bits/sched.h> is included with __need_schedparam defined.
31192         * bits/sched.h [__need_schedparam]
31193         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
31194         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31195         (__defined_schedparam): Define to 1.
31196         (__sched_param): New structure, identical to sched_param.
31197         (__need_schedparam): Undefine.
31199 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
31201         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31202         (epoll_create1): Declare.
31204         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31206 2010-08-31  Andreas Schwab  <schwab@redhat.com>
31208         [BZ #7066]
31209         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31210         shifting retval into place.
31212 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
31214         * nis/rpcsvc/nis.h: Update copyright notice.
31215         * nis/rpcsvc/nis.x: Likewise.
31216         * nis/rpcsvc/nis_callback.h: Likewise.
31217         * nis/rpcsvc/nis_callback.x: Likewise.
31218         * nis/rpcsvc/nis_object.x: Likewise.
31219         * nis/rpcsvc/nis_tags.h: Likewise.
31220         * nis/rpcsvc/yp.h: Likewise.
31221         * nis/rpcsvc/yp.x: Likewise.
31222         * nis/rpcsvc/ypupd.h: Likewise.
31223         * nis/yp_xdr.c: Likewise.
31224         * nis/ypupdate_xdr.c: Likewise.
31226         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
31227         mainly the body of pmap_getport.  Add parameters to specify timeouts.
31228         (pmap_getport): Use __libc_rpc_getport.
31229         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31230         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31231         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31233 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
31235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31236         fanotify_mark.
31238 2010-08-27  Roland McGrath  <roland@redhat.com>
31240         * sysdeps/i386/i686/multiarch/Makefile
31241         (CFLAGS-varshift.c): New variable.
31243 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
31245         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31246         * sysdeps/i386/i686/multiarch/varshift.c: New file.
31248         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31250         * sysdeps/x86_64/strlen.S: Minimal code improvement.
31252 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
31254         * sysdeps/x86_64/strlen.S: Unroll the loop.
31255         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31256         strlen-sse2 strlen-sse2-bsf.
31257         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31258         __strlen_no_bsf if bit_Slow_BSF is set.
31259         (__strlen_sse42): Removed.
31260         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31261         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31263 2010-08-25  Roland McGrath  <roland@redhat.com>
31265         * sysdeps/x86_64/multiarch/varshift.S: File removed.
31266         * sysdeps/x86_64/multiarch/varshift.c: New file.
31267         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31268         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31269         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31270         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31272 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31274         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31275         strlen-sse2 strlen-sse2-bsf.
31276         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31277         __strlen_sse2_bsf if bit_Slow_BSF is unset.
31278         (__strlen_sse2): Removed.
31279         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31280         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31281         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31282         bit_Slow_BSF for Atom.
31283         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31284         (index_Slow_BSF): Define.
31285         (HAS_SLOW_BSF): Define.
31287 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
31289         [BZ #10851]
31290         * resolv/res_init.c (__res_vinit): When no server address at all
31291         is given default to loopback.
31293 2010-08-24  Roland McGrath  <roland@redhat.com>
31295         * configure.in: Remove config-name.h generation.
31296         * configure: Regenerated.
31297         * config-name.in: File removed.
31298         * scripts/config-uname.sh: New file.
31299         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31300         ($(objdir)config-name.h): New target.
31302         * sunrpc/rpc_parse.h: Avoid nested comment.
31304 2010-08-24  Richard Henderson  <rth@redhat.com>
31305             Ulrich Drepper  <drepper@redhat.com>
31306             H.J. Lu  <hongjiu.lu@intel.com>
31308         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31309         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31310         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31311         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
31312         _mm_alignr_epi8 with _mm_loadu_si128.
31313         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31314         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31315         (__m128i_shift_right): Removed.
31316         * sysdeps/i386/i686/multiarch/varshift.h: New file.
31317         * sysdeps/i386/i686/multiarch/varshift.S: New file.
31318         * sysdeps/x86_64/multiarch/varshift.h: New file.
31319         * sysdeps/x86_64/multiarch/varshift.S: New file.
31321 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
31323         * configure.in: Move assembler checks to before sysdep dir checking.
31325 2010-08-20  Petr Baudis  <pasky@suse.cz>
31327         * LICENSES: Sync the sunrpc license.
31329 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
31331         * sunrpc/auth_des.c: Update copyright notice once again.
31332         * sunrpc/auth_none.c: Likewise.
31333         * sunrpc/auth_unix.c: Likewise.
31334         * sunrpc/authdes_prot.c: Likewise.
31335         * sunrpc/authuxprot.c: Likewise.
31336         * sunrpc/bindrsvprt.c: Likewise.
31337         * sunrpc/clnt_gen.c: Likewise.
31338         * sunrpc/clnt_perr.c: Likewise.
31339         * sunrpc/clnt_raw.c: Likewise.
31340         * sunrpc/clnt_simp.c: Likewise.
31341         * sunrpc/clnt_tcp.c: Likewise.
31342         * sunrpc/clnt_udp.c: Likewise.
31343         * sunrpc/clnt_unix.c: Likewise.
31344         * sunrpc/des_crypt.c: Likewise.
31345         * sunrpc/des_soft.c: Likewise.
31346         * sunrpc/get_myaddr.c: Likewise.
31347         * sunrpc/getrpcport.c: Likewise.
31348         * sunrpc/key_call.c: Likewise.
31349         * sunrpc/key_prot.c: Likewise.
31350         * sunrpc/openchild.c: Likewise.
31351         * sunrpc/pm_getmaps.c: Likewise.
31352         * sunrpc/pm_getport.c: Likewise.
31353         * sunrpc/pmap_clnt.c: Likewise.
31354         * sunrpc/pmap_prot.c: Likewise.
31355         * sunrpc/pmap_prot2.c: Likewise.
31356         * sunrpc/pmap_rmt.c: Likewise.
31357         * sunrpc/rpc/auth.h: Likewise.
31358         * sunrpc/rpc/auth_unix.h: Likewise.
31359         * sunrpc/rpc/clnt.h: Likewise.
31360         * sunrpc/rpc/des_crypt.h: Likewise.
31361         * sunrpc/rpc/key_prot.h: Likewise.
31362         * sunrpc/rpc/netdb.h: Likewise.
31363         * sunrpc/rpc/pmap_clnt.h: Likewise.
31364         * sunrpc/rpc/pmap_prot.h: Likewise.
31365         * sunrpc/rpc/pmap_rmt.h: Likewise.
31366         * sunrpc/rpc/rpc.h: Likewise.
31367         * sunrpc/rpc/rpc_des.h: Likewise.
31368         * sunrpc/rpc/rpc_msg.h: Likewise.
31369         * sunrpc/rpc/svc.h: Likewise.
31370         * sunrpc/rpc/svc_auth.h: Likewise.
31371         * sunrpc/rpc/types.h: Likewise.
31372         * sunrpc/rpc/xdr.h: Likewise.
31373         * sunrpc/rpc_clntout.c: Likewise.
31374         * sunrpc/rpc_cmsg.c: Likewise.
31375         * sunrpc/rpc_common.c: Likewise.
31376         * sunrpc/rpc_cout.c: Likewise.
31377         * sunrpc/rpc_dtable.c: Likewise.
31378         * sunrpc/rpc_hout.c: Likewise.
31379         * sunrpc/rpc_main.c: Likewise.
31380         * sunrpc/rpc_parse.c: Likewise.
31381         * sunrpc/rpc_parse.h: Likewise.
31382         * sunrpc/rpc_prot.c: Likewise.
31383         * sunrpc/rpc_sample.c: Likewise.
31384         * sunrpc/rpc_scan.c: Likewise.
31385         * sunrpc/rpc_scan.h: Likewise.
31386         * sunrpc/rpc_svcout.c: Likewise.
31387         * sunrpc/rpc_tblout.c: Likewise.
31388         * sunrpc/rpc_util.c: Likewise.
31389         * sunrpc/rpc_util.h: Likewise.
31390         * sunrpc/rpcinfo.c: Likewise.
31391         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31392         * sunrpc/rpcsvc/key_prot.x: Likewise.
31393         * sunrpc/rpcsvc/klm_prot.x: Likewise.
31394         * sunrpc/rpcsvc/mount.x: Likewise.
31395         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31396         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31397         * sunrpc/rpcsvc/rex.x: Likewise.
31398         * sunrpc/rpcsvc/rstat.x: Likewise.
31399         * sunrpc/rpcsvc/rusers.x: Likewise.
31400         * sunrpc/rpcsvc/sm_inter.x: Likewise.
31401         * sunrpc/rpcsvc/spray.x: Likewise.
31402         * sunrpc/rpcsvc/yppasswd.x: Likewise.
31403         * sunrpc/rtime.c: Likewise.
31404         * sunrpc/svc.c: Likewise.
31405         * sunrpc/svc_auth.c: Likewise.
31406         * sunrpc/svc_authux.c: Likewise.
31407         * sunrpc/svc_raw.c: Likewise.
31408         * sunrpc/svc_run.c: Likewise.
31409         * sunrpc/svc_simple.c: Likewise.
31410         * sunrpc/svc_tcp.c: Likewise.
31411         * sunrpc/svc_udp.c: Likewise.
31412         * sunrpc/svc_unix.c: Likewise.
31413         * sunrpc/svcauth_des.c: Likewise.
31414         * sunrpc/xcrypt.c: Likewise.
31415         * sunrpc/xdr.c: Likewise.
31416         * sunrpc/xdr_array.c: Likewise.
31417         * sunrpc/xdr_float.c: Likewise.
31418         * sunrpc/xdr_mem.c: Likewise.
31419         * sunrpc/xdr_rec.c: Likewise.
31420         * sunrpc/xdr_ref.c: Likewise.
31421         * sunrpc/xdr_sizeof.c: Likewise.
31422         * sunrpc/xdr_stdio.c: Likewise.
31424         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31425         handling.
31427 2010-08-19  Andreas Schwab  <schwab@redhat.com>
31429         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31431 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
31433         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31434         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31435         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31436         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31437         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31438         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31439         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31440         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31441         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31442         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31443         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31444         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31445         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31446         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31448 2010-07-26  Anton Blanchard  <anton@samba.org>
31450         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31451         * malloc/arena.c (heap_trim): Likewise.
31453 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
31455         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31456         here.  Not...
31457         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31458         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31460 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31462         * sysdeps/i386/elf/Makefile: New file.
31464 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
31466         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31467         from fanotify_init.
31468         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31469         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31471 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
31473         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31474         of strncasecmp_l.
31475         * sysdeps/multiarch/strcmp.S: Likewise.
31477 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
31479         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31480         strncase_l-nonascii.
31481         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31482         Add strncase_l-ssse3.
31483         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31484         * sysdeps/x86_64/strcmp.S: Likewise.
31485         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31486         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31487         * sysdeps/x86_64/strncase.S: New file.
31488         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31489         * sysdeps/x86_64/strncase_l.S: New file.
31490         * string/Makefile (strop-tests): Add strncasecmp.
31491         * string/test-strncasecmp.c: New file.
31493         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31494         warning.
31496         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31497         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31499 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
31501         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31503 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
31505         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31506         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31507         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31509 2010-05-01  Alan Modra  <amodra@gmail.com>
31511         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31512         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31513         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31514         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31515         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31516         tidying.  Don't tail-call __sigjmp_save for static lib.
31517         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31518         save location.
31519         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31520         (CALL_MCOUNT): Add eh info, and nop after bl.
31521         (TAIL_CALL_SYSCALL_ERROR): New macro.
31522         (PSEUDO_RET): Use it.
31523         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31524         Correct save location of integer regs and cr.
31525         (_dl_profile_resolve): Correct cr save location.  Delete nops
31526         after bl when SHARED.  Reduce cfi size a little by better
31527         placement of cfi directives.
31528         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31529         make a stack frame.  Instead use parm save area as a temp.
31530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31531         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
31532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31533         Don't make a stack frame for parent, use parm save area.
31534         Increase child stack frame to 112 bytes.  Don't save unused reg,
31535         and adjust reg usage.  Set up cfi on error recovery and
31536         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31538         (__makecontext): Add dummy nop after jump to exit.
31539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31540         Use correct parm save area and cr save, reduce stack frame.
31541         Correct cfi for possible PSEUDO_RET frame setup.
31542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31543         Branch to local label emitted by PSEUDO_RET rather than
31544         __syscall_error.
31546 2010-08-12  Andreas Schwab  <schwab@redhat.com>
31548         [BZ #11904]
31549         * locale/programs/locale.c (print_assignment): New function.
31550         (show_locale_vars): Use it.
31552 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
31554         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31555         field.
31556         (struct statfs64): Likewise.
31557         (_STATFS_F_FLAGS): Define.
31558         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31559         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31560         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31561         (ST_VALID): Define locally.
31562         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31563         __statvfs_getflags, use the provided value.
31564         * sysdeps/unix/sysv/linux/kernel-features.h: Define
31565         __ASSUME_STATFS_F_FLAGS.
31567         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31569         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31570         Add sys/fanotify.h.
31571         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31572         fanotify_mask for GLIBC_2.13.
31573         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31574         fanotify_init and fanotify_mark.
31575         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31576         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31578         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31579         Add prlimit.
31580         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31581         prlimit64 for GLIBC_2.13.
31582         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31583         prlimit64.
31584         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31585         syscall.
31586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31587         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31588         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31589         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31590         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
31591         add prlimit alias.
31592         * sysdeps/unix/sysv/linux/prlimit.c: New file.
31594         [BZ #11903]
31595         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31596         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31598         * nss/Makefile: Add rules to build and run tst-nss-test1.
31599         * shlib-versions: Add entry for libnss_test1.
31600         * nss/nss_test1.c: New file.
31601         * nss/tst-nss-test1.c: New file.
31603         * nss/nsswitch.c (__nss_database_custom): Define new variable.
31604         (__nss_configure_lookup): Set appropriate entry in
31605         __nss_configure_lookup to true.
31606         * nss/nsswitch.h: Define enum with indeces of databases in
31607         databases and __nss_database_custom arrays.  Declare
31608         __nss_database_custom.
31609         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31610         to avoid using nscd when custom rules are installed.
31611         * nss/getXXbyYY_r.c: Likewise.
31612         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31614         * nss/nss_files/files-parse.c: Whitespace fixes.
31616 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
31618         [BZ #11883]
31619         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31620         * posix/fnmatch_loop.c: Likewise.
31622 2010-07-17  Andi Kleen  <ak@linux.intel.com>
31624         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31625         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31626         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31627         * Versions.def [GLIBC_2.13]: Add.
31629 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
31631         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31632         Also fail if tpwd after pwuid call is NULL.
31634 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31636         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31637         when converting to ms.
31639 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31641         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31642         EOPNOTSUPP errors with ENOTTY.
31643         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31644         EOPNOTSUPP errors with ENOTTY.
31646 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
31648         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31649         Add strcasecmp_l-ssse3.
31650         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31651         strcasecmp.
31652         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31653         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31654         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31656 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
31658         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31660         * string/Makefile (strop-tests): Add strcasecmp.
31661         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31662         strcasecmp_l-nonascii.
31663         (gen-as-const-headers): Add locale-defines.sym.
31664         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31665         * sysdeps/x86_64/strcasecmp.S: New file.
31666         * sysdeps/x86_64/strcasecmp_l.S: New file.
31667         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31668         * sysdeps/x86_64/locale-defines.sym: New file.
31669         * string/test-strcasecmp.c: New file.
31671         * string/test-strcasestr.c: Test both ends of the range of characters.
31672         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31674 2010-07-29  Roland McGrath  <roland@redhat.com>
31676         [BZ #11856]
31677         * manual/locale.texi (Yes-or-No Questions): Fix example code.
31679 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
31681         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31682         for ld.so.
31684 2010-07-27  Andreas Schwab  <schwab@redhat.com>
31686         * manual/memory.texi (Malloc Tunable Parameters): Document
31687         M_PERTURB.
31689 2010-07-26  Roland McGrath  <roland@redhat.com>
31691         [BZ #11840]
31692         * configure.in (-fgnu89-inline check): Set and substitute
31693         gnu89_inline, not libc_cv_gnu89_inline.
31694         * configure: Regenerated.
31695         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31697 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
31699         * string/test-strnlen.c: New file.
31700         * string/Makefile (strop-tests): Add strnlen.
31701         * string/tester.c (test_strnlen): Add a few more test cases.
31702         * string/tst-strlen.c: Better error reporting.
31704         * sysdeps/x86_64/strnlen.S: New file.
31706 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
31708         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31709         lower-latency instructions.
31711 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
31713         * string/test-strcasestr.c: New file.
31714         * string/test-strstr.c: New file.
31715         * string/Makefile (strop-tests): Add strstr and strcasestr.
31716         * string/str-two-way.h: Don't undefine MAX.
31717         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31719 2010-07-21  Andreas Schwab  <schwab@redhat.com>
31721         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31722         strcasestr-nonascii.
31723         (CFLAGS-strcasestr-nonascii.c): Define.
31724         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31725         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31726         Remove unused attribute.
31728 2010-07-20  Roland McGrath  <roland@redhat.com>
31730         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31731         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
31732         ld.so.cache was broken.  With it, there is no way to disable dsocaps
31733         like LD_HWCAP_MASK can disable hwcaps.
31735 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
31737         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31739 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
31741         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31742         call in strcasestr.
31743         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31744         __strcasestr_sse42_nonascii.
31745         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31746         strcasestr-nonascii.c.
31747         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31749 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
31751         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31752         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31753         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31754         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31756 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
31758         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31759         fcntl.
31761 2010-07-06  Andreas Schwab  <schwab@redhat.com>
31763         [BZ #11577]
31764         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31765         dl_signal_cerror.
31767 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
31769         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31770         _PC_PIPE_BUF using F_GETPIPE_SZ.
31772 2010-07-05  Roland McGrath  <roland@redhat.com>
31774         * manual/arith.texi (Rounding Functions): Fix rint description
31775         implicit in round description.
31777 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
31779         * elf/Makefile: Fix linking for a few tests to make recent linker
31780         happy.
31782 2010-06-30  Andreas Schwab  <schwab@redhat.com>
31784         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31785         $(common-objpfx)libc_nonshared.a.
31787 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
31789         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31790         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31791         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31792         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31793         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31794         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31795         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31796         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31811         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31812         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31813         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31814         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31815         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31816         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31817         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31818         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31819         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31820         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31821         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31822         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31838 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
31840         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31841         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
31842         * string/memmove.c (memmove): Renamed to ...
31843         (MEMMOVE): ...this.  Default to memmove.
31844         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31845         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31846         (END_CHK): Define.
31847         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31848         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31849         mempcpy-ssse3-back memmove-ssse3-back.
31850         * sysdeps/x86_64/multiarch/bcopy.S: New file .
31851         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31852         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31853         * sysdeps/x86_64/multiarch/memcpy.S: New file.
31854         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31855         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31856         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31857         * sysdeps/x86_64/multiarch/memmove.c: New file.
31858         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31859         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31860         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31861         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31862         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31863         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31864         Define.
31865         (index_Fast_Copy_Backward): Define.
31866         (HAS_ARCH_FEATURE): Define.
31867         (HAS_FAST_REP_STRING): Define.
31868         (HAS_FAST_COPY_BACKWARD): Define.
31870 2010-06-21  Andreas Schwab  <schwab@redhat.com>
31872         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31873         Restore proper fallback handling.
31875 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
31877         [BZ #11701]
31878         * posix/group_member.c (__group_member): Correct checking loop.
31880         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31881         OOM in getpwuid_r correctly.  Return error number when the caller
31882         should return, otherwise -1.
31883         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31884         call returning > 0 value.
31885         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31887 2010-06-07  Andreas Schwab  <schwab@redhat.com>
31889         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31890         libc_nonshared.a from targets in modules-names.
31892 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
31894         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31895         requires it.
31897 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
31899         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31900         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31901         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31902         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31904 2010-06-02  Andreas Schwab  <schwab@redhat.com>
31906         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31908 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
31910         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31911         and F_GETPIPE_SZ.
31912         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31913         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31914         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31915         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31916         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31917         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31919 2010-06-14  Roland McGrath  <roland@redhat.com>
31921         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31923 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
31925         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31926         __REDIRECT followed by __THROW.
31927         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31928         * posix/getopt.h (getopt): Likewise.
31930 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
31932         * hurd/lookup-at.c (__file_name_lookup_at): Accept
31933         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
31934         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31935         in AT_FLAGS.
31936         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31937         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31939 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
31941         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31943 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
31945         [BZ #11640]
31946         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31947         Properly check family and model.
31949 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
31951         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31953 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
31955         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31957 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
31959         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31960         symbol reference.
31962 2010-05-19  Andreas Schwab  <schwab@redhat.com>
31964         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31965         symbol reference.
31967 2010-05-21  Andreas Schwab  <schwab@redhat.com>
31969         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31970         and internal_recvmmsg.
31971         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31972         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31973         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31974         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31976         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31977         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31978         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31980 2010-05-20  Andreas Schwab  <schwab@redhat.com>
31982         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31984 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
31986         POWER7 optimizations.
31987         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31988         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31990 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
31992         * version.h: Update for 2.13 development version.
31994 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
31996         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31997         exceptions.  Return 0.
31999 2010-05-07  Roland McGrath  <roland@redhat.com>
32001         * elf/ldconfig.c (main): Add a const.
32003 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
32005         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32006         (args_options): Add no-idn option.
32007         (ahosts_keys_int): Add idn_flags to ai_flags.
32008         (parse_option): Handle 'i' option to clear idn_flags.
32010         * malloc/malloc.c (_int_free): Possible race in the most recently
32011         added check.  Only act on the data if no current modification
32012         happened.
32014 See ChangeLog.17 for earlier changes.