Fix typo in ChangeLog
[glibc.git] / ChangeLog
blobfa588c9f9f32e5ae6ffdfd2781108ca76ddcce6f
1 2013-08-03  David S. Miller  <davem@davemloft.net>
3         * po/ko.po: Update Korean translation from translation project.
5 2013-08-01  David S. Miller  <davem@davemloft.net>
7         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
8         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
9         Bilka.
11 2013-07-30  David S. Miller  <davem@davemloft.net>
13         * po/fr.po: Update French translation from translation project.
15 2013-07-28  David S. Miller  <davem@davemloft.net>
17         * po/cs.po: Update Czech translation from translation project.
19         * po/sv.po: Update Swedish translation from translation project.
21 2013-07-27  David S. Miller  <davem@davemloft.net>
23         * po/eo.po: Update Esperanto translation from translation project.
25         * po/vi.po: Update Vietnamese translation from translation project.
27         * po/de.po: Update German translation from translation project.
29 2013-07-26  David S. Miller  <davem@davemloft.net>
31         * po/bg.po: Update Bulgarian translation from translation project.
33         * po/nl.po: Update Dutch translation from translation project.
34         * po/pl.po: Update Polish translation from translation project.
35         * po/ru.po: Update Russian translation from translation project.
37 2013-07-24  David S. Miller  <davem@davemloft.net>
39         * po/libc.pot: Update.
41 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
44         variable page size.
45         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
46         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
47         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
49 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
53 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54             Andreas Schwab  <schwab@suse.de>
55             Roland McGrath  <roland@hack.frob.com>
56             Joseph Myers  <joseph@codesourcery.com>
57             Carlos O'Donell  <carlos@redhat.com>
59         [BZ #15755]
60         * config.h.in: Define HAVE_PT_CHOWN.
61         * config.make.in (build-pt-chown): New variable.
62         * configure.in (--enable-pt_chown): New configure option.
63         * configure: Regenerate.
64         * login/Makefile: Include Makeconfig.  Build pt_chown only if
65         build-pt-chown is enabled.
66         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
67         pt_chown to fix pty ownership.
68         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
69         CLOSE_ALL_FDS.
70         * manual/install.texi (Configuring and compiling): Mention
71         --enable-pt_chown. Add @findex for grantpt.
72         * INSTALL: Regenerate.
74 2013-07-20  David S. Miller  <davem@davemloft.net>
76         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
77         difference between 32-bit and 64-bit.
79 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
81         [BZ #15711]
82         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
83         Avoid system header dependency with -ffreestanding.
84         ($(objpfx)bits/syscall%d): Likewise.
86 2013-07-13  David S. Miller  <davem@davemloft.net>
88         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
89         underflows from atanl/atan2l due to bug 15319.
90         (casinh_test_data): Likewise.
92 2013-07-07  David S. Miller  <davem@davemloft.net>
94         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
96 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
98         * sysdeps/i386/fpu/libm-test-ulps: Update.
99         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
101 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
103         * configure.in (--enable-lock-elision): Fix message text.
104         * INSTALL: Regenerate.
105         * configure: Regenerate.
107 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
111 2013-07-03  Andreas Jaeger  <aj@suse.de>
113         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
114         define.
115         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
116         (ptrace_peeksiginfo_args): Add.
117         (__ptrace_peeksiginfo_flags): Add.
118         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
119         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
120         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
122 2013-07-03  Allan McRae  <allan@archlinux.org>
124         * sysdeps/i386/fpu/libm-test-ulps: Update.
126 2013-07-02  David S. Miller  <davem@davemloft.net>
128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
130 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
132         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
134 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
136         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
139 2013-07-02  Andi Kleen <ak@linux.intel.com>
141         * config.h.in (ENABLE_LOCK_ELISION): Add.
142         * configure.in (--enable-lock-elision): Add option.
143         * manual/install.texi: Document --enable lock elision.
144         * configure: Regenerate
145         * INSTALL: Regenerate.
147 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
149         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
150         SSE4.2 strcasecmp for libc.a.
151         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
153 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
155         [BZ #13304]
156         * soft-fp/op-common.h (_FP_FMA): New macro.
157         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
158         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
159         (_FP_MUL_MEAT_1_imm): ... here.
160         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
161         (_FP_MUL_MEAT_1_wide): ... here.
162         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
163         (_FP_MUL_MEAT_1_hard): ... here.
164         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
165         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
166         (_FP_MUL_MEAT_2_wide): ... here.
167         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
168         (_FP_MUL_MEAT_2_wide_3mul): ... here.
169         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
170         (_FP_MUL_MEAT_2_gmp): ... here.
171         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
172         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
173         (_FP_MUL_MEAT_4_wide): ... here.
174         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
175         (_FP_MUL_MEAT_4_gmp): ... here.
176         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
177         (_FP_WFRACBITS_DW_S): Likewise.
178         (_FP_WFRACXBITS_DW_S): Likewise.
179         (_FP_HIGHBIT_DW_S): Likewise.
180         (FP_FMA_S): Likewise.
181         (_FP_FRAC_HIGH_DW_S): Likewise.
182         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
183         (_FP_WFRACBITS_DW_D): Likewise.
184         (_FP_WFRACXBITS_DW_D): Likewise.
185         (_FP_HIGHBIT_DW_D): Likewise.
186         (FP_FMA_D): Likewise.
187         (_FP_FRAC_HIGH_DW_D): Likewise.
188         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
189         (_FP_WFRACBITS_DW_E): Likewise.
190         (_FP_WFRACXBITS_DW_E): Likewise.
191         (_FP_HIGHBIT_DW_E): Likewise.
192         (FP_FMA_E): Likewise.
193         (_FP_FRAC_HIGH_DW_E): Likewise.
194         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
195         (_FP_WFRACBITS_DW_Q): Likewise.
196         (_FP_WFRACXBITS_DW_Q): Likewise.
197         (_FP_HIGHBIT_DW_Q): Likewise.
198         (FP_FMA_Q): Likewise.
199         (_FP_FRAC_HIGH_DW_Q): Likewise.
200         * soft-fp/fmasf4.c: New file.
201         * soft-fp/fmadf4.c: Likewise.
202         * soft-fp/fmatf4.c: Likewise.
204 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
206         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
207         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
208         Silvermont.
209         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
210         macro.
211         (index_Slow_SSE4_2): Likewise.
212         (index_Prefer_PMINUB_for_stringop): Likewise.
213         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
214         bit_Slow_SSE4_2 is set.
215         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
216         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
218 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
220         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
221         rtld_global._dl_hwcap2.
222         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
223         POWER8.
224         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
225         POWER8 feature descriptions defined in _dl_hwcap2.
226         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
227         string handling for POWER8 feature bits.
228         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
229         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
230         _dl_powerpc_cap_flags.
231         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
232         * sysdeps/powerpc/rtld-global-offsets.sym
233         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
234         _dl_hwcap2 in the rtld_global_ro structure.
236 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
238         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
239         hardware capabilities in support of AT_HWCAP2.
240         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
241         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
242         GLRO(dl_hwcap2).
243         (_dl_show_auxv): Add support for calling _dl_procinfo to display
244         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
245         explicitly the unknown a_type display mechanism is used.
246         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
247         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
248         struct member.
249         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
250         to macro prototype for AT_HWCAP2 support.
251         * sysdeps/i386/dl-procinfo.h: Likewise.
252         * sysdeps/s390/dl-procinfo.h: Likewise.
253         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
254         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
255         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
256         return -1 for unknown a_type display fallback.
257         * sysdeps/sparc/dl-procinfo.h: Likewise.
258         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
259         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
261 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
263         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
264         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
266 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
268         [BZ #12492]
269         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
270         mprotect making __stack_prot writable.
272 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
273             Joseph Myers  <joseph@codesourcery.com>
275         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
276         as being properly aligned.
278 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
280         * dlfcn/modstatic5.c: New file.
281         * dlfcn/tststatic5.c: New file.
282         * dlfcn/Makefile (tests): Add tststatic5.
283         (tests-static): Likewise.
284         (modules-names): Add modstatic5.
285         (tststatic5-ENV): New variable.
286         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
288         [BZ #15022]
289         * elf/dl-support.c (_dl_main_map): New variable.
290         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
291         (_dl_nns, _dl_load_adds): Set to 1.
292         (_dl_initial_searchlist): Refer to _dl_main_map.
293         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
294         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
295         call to _dl_get_origin.
296         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
297         around call_map.
298         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
299         * dlfcn/modstatic3.c: New file.
300         * dlfcn/tststatic3.c: New file.
301         * dlfcn/tststatic4.c: New file.
302         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
303         (tests-static): Likewise.
304         (modules-names): Add modstatic3.
305         (tststatic3-ENV, tststatic4-ENV): New variables.
306         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
307         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
309 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
311         * configure.in (CC): Require GCC version 4.4 or later.
312         * configure: Regenerated.
313         * manual/install.texi (Tools for Compilation): Update GCC version
314         requirement.
315         * INSTALL: Regenerated.
317 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
319         [BZ #15674]
320         * string/test-memcmp.c (check2): New.
321         (main): Call check2.
323         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
325 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
327         [BZ #15022]
328         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
329         over to...
330         (dl_open_worker) [!SHARED]: ... here.
332 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
334         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
336 2013-06-25  Richard Henderson  <rth@redhat.com>
338         * locale/programs/locarchive.c: Include <libc-internal.h>
340 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
342         * manual/texinfo.tex: Update to version 2013-06-21.17, with
343         trailing whitespace removed.
345 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
347         [BZ #10283]
348         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
349         * locale/programs/locarchive.c: Include libc-mmap.h.
350         (prepare_address_space): Take two new outputs (the mmap base and len).
351         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
352         values.
353         (create_archive): Declare new mmap base and len values for
354         prepare_address_space, and store the result in ah.
355         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
356         (enlarge_archive): If ah->mmap_base is not NULL, use that and
357         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
358         Declare new mmap base and len values for
359         prepare_address_space, and store the result in new_ah.
360         (open_archive): Declare new mmap base and len values for
361         prepare_address_space, and store the result in ah.
362         (close_archive): If ah->mmap_base is not NULL, use that and
363         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
364         * sysdeps/generic/libc-mmap.h: New file.
366 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
368         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
369         (ALIGN_UP): Likewise.
370         (PTR_ALIGN_DOWN): Likewise.
371         (PTR_ALIGN_UP): Likewise.
373 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
375         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
376         entry mapped to PPC_PLATFORM_POWER8.
377         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
378         POWER8.
379         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
380         (_dl_string_platform): Add case for exporting platform position for
381         POWER8.
382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
383         search path to sysdeps/powerpc/powerpc32/power8 directory.
384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
385         search path to sysdeps/powerpc/powerpc64/power8 directory.
386         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
387         power7 directories.
388         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
389         power7 directories.
391 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
393         * INSTALL: Regenerate.
395         * nscd/connections.c (nscd_init): Fix comment.
397 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
399         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
401         [BZ #15667]
402         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
403         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
405 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
407         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
408         DL_DST_REQ_STATIC.
409         (DL_DST_REQ_STATIC): Remove macro.
411 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
413         [BZ #7006]
414         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
415         with a shift of 0 bits.
417 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
419         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
420         $(tststatic-ENV).
422 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
424         [BZ #15655]
425         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
427 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
429         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
430         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
431         accepts -fno-tree-loop-distribute-patterns.
432         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
433         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
434         recursive call.
435         * string/memset.c (memset): Likewise.
436         * string/test-memmove.c (simple_memmove): Disable loop transformation
437         to library calls.
438         * string/test-memset.c (simple_memset): Likewise.
439         * benchtests/bench-memmove.c (simple_memmove): Likewise.
440         * benchtests/bench-memset.c (simple_memset): Likewise.
441         * configure: Regenerated.
443 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
445         * math/test-misc.c (main): Ignore fesetround failure when failures
446         of subsequent rounding tests would be ignored.
448         [BZ #15654]
449         * math/fedisblxcpt.c (fedisableexcept): Return 0.
450         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
451         * math/fegetenv.c (__fegetenv): Return 0.
452         * math/fegetexcept.c (fegetexcept): Return 0.
453         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
454         FE_TONEAREST.
455         * math/feholdexcpt.c (feholdexcept): Return 0.
456         * math/fesetenv.c (__fesetenv): Return 0.
457         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
458         argument FE_TONEAREST.
459         * math/feupdateenv.c (__feupdateenv): Return 0.
460         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
462 2013-06-18  Roland McGrath  <roland@hack.frob.com>
464         * elf/rtld-Rules (rtld-compile-command.S): New variable.
465         (rtld-compile-command.s, rtld-compile-command.c): New variables.
466         ($(objpfx)rtld-%.os rules): Use them.
468 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
470         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
471         fields.
473 2013-06-17  Roland McGrath  <roland@hack.frob.com>
475         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
476         length of target pattern, then descending length of dependency pattern.
477         * configure.in (AWK): Require gawk 3.1.2 or newer.
478         * manual/install.texi (Tools for Compilation): Say that we do.
479         * configure: Regenerated.
481         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
482         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
483         * scripts/sysd-rules.awk: ... this new script.
484         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
485         than a glob-style pattern.
487 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
489         * math/test-misc.c (main): Do not treat incorrectly rounded
490         conversions as failure unless ROUNDING_TESTS passes.
492 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
494         [BZ #15631]
495         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
496         restore exception state around main square root computation, then
497         check for inexactness explicitly.
499         * math/libm-test.inc (fma_test_data): Add another test.
501 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
503         * manual/threads.texi (Non-POSIX Extensions): New document
504         node.  Document pthread_getattr_default_np and
505         pthread_setattr_default_np.
507         * Versions.def (libpthread): Add GLIBC_2.18.
508         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
510         Likewise.
511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
512         Likewise.
513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
514         Likewise.
515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
516         Likewise.
517         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
518         Likewise.
519         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
520         Likewise.
521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
522         Likewise.
523         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
524         Likewise.
525         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
526         Likewise.
528 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
530         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
531         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
533 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
534             H.J. Lu  <hjl.tools@gmail.com>
536         [BZ #15627]
537         * sysdeps/x86_64/rtld-memset.c: Remove file.
538         * sysdeps/x86_64/rtld-memset.S: New file.
540 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
542         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
543         (test_in_one_mode): Take arguments for whether the rounding mode
544         is supported for each floating-point type.
545         (do_test): Pass new arguments to test_in_one_mode using
546         ROUNDING_TESTS.
548 2013-06-13  Roland McGrath  <roland@hack.frob.com>
550         * posix/tst-waitid.c (do_test): Distinguish different instances of
551         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
552         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
553         before entering the kernel for waitpid.
555 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
557         * NEWS: Fix note on clock function precision.  Text by Roland
558         McGrath.
560 2013-06-13  Roland McGrath  <roland@hack.frob.com>
562         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
563         it into place only when and if the sanity check passes.
565 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
567         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
568         output for whether conversion result is exact.  Take argument
569         indicating whether type is IBM long double.
570         (round_for_all): Change need_exact field to ibm_ld.
571         * stdlib/tst-strtod-round.c (struct exactness): New type.
572         (struct test): Change bool ld_ok field to struct exactness exact.
573         (TEST): Update all definitions for change to field.
574         (tests): Regenerate array contents.
575         (test_in_one_mode): Take pointer to new field instead of old ld_ok
576         field value.  Check for IBM long double here.
577         (do_test): Update calls to test_in_one_mode.
579 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
581         [BZ #12515]
582         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
583         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
585 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
587         [BZ #15605]
588         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
589         generated by the compiler on loop optimizations.
590         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
591         general definitions.
593 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
595         * math/bug-nextafter.c: Include <math-tests.h>.
596         (main): Only test for exceptions if EXCEPTION_TESTS is true for
597         the relevant type.
598         * math/bug-nexttoward.c: Include <math-tests.h>.
599         (main): Only test for exceptions if EXCEPTION_TESTS is true for
600         the relevant type.
601         * math/test-misc.c: Include <math-tests.h>.
602         (main): Only test for exceptions if EXCEPTION_TESTS is true for
603         the relevant type.
605 2013-06-12  Andreas Jaeger  <aj@suse.de>
607         * po/ia.po: Update Interlingua translation from translation
608         project.
610 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
612         * include/fenv.h: Include stdbool.h.
613         (struct rm_ctx): New structure.
614         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
615         Define macro.
616         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
617         (SET_RESTORE_ROUNDF): Likewise.
618         (SET_RESTORE_ROUNDL): Likewise.
619         (SET_RESTORE_ROUND_NOEX): Likewise.
620         (SET_RESTORE_ROUND_NOEXF): Likewise.
621         (SET_RESTORE_ROUND_NOEXL): Likewise.
622         (SET_RESTORE_ROUND_53BIT): Likewise.
623         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
624         (libc_feresetround_noexf_ctx): Likewise.
625         (libc_feresetround_noexl_ctx): Likewise.
626         (libc_feholdsetround_53bit_ctx): Likewise.
627         (libc_feresetround_53bit_ctx): Likewise.
628         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
629         (libc_feholdexcept_setround_sse_ctx): New function.
630         (libc_fesetenv_sse_ctx): Likewise.
631         (libc_feupdateenv_sse_ctx): Likewise.
632         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
633         (libc_feholdexcept_setround_387_ctx): Likewise.
634         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
635         (libc_feholdsetround_387_prec_ctx): Likewise.
636         (libc_feholdsetround_387_ctx): Likewise.
637         (libc_feholdsetround_387_53bit_ctx): Likewise.
638         (libc_feholdsetround_sse_ctx): Likewise.
639         (libc_feresetround_sse_ctx): Likewise.
640         (libc_feresetround_387_ctx): Likewise.
641         (libc_feupdateenv_387_ctx): Likewise.
642         (libc_feholdexcept_setroundf_ctx): Define macro.
643         (libc_fesetenvf_ctx): Likewise.
644         (libc_feupdateenvf_ctx): Likewise.
645         (libc_feholdsetroundf_ctx): Likewise.
646         (libc_feresetroundf_ctx): Likewise.
647         (libc_feholdexcept_setround_ctx): Likewise.
648         (libc_fesetenv_ctx): Likewise.
649         (libc_feupdateenv_ctx): Likewise.
650         (libc_feholdsetround_ctx): Likewise.
651         (libc_feresetround_ctx): Likewise.
652         (libc_feholdexcept_setroundl_ctx): Likewise.
653         (libc_feupdateenvl_ctx): Likewise.
654         (libc_feholdsetroundl_ctx): Likewise.
655         (libc_feresetroundl_ctx): Likewise.
656         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
657         (libc_feresetround_53bit_ctx): Likewise.
659 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
661         * locale/iso-639.def: Convert to UTF-8.
663 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
665         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
666         (EXCEPTION_TESTS_double): Likewise.
667         (EXCEPTION_TESTS_long_double): Likewise.
668         (EXCEPTION_TESTS): Likewise.
669         * math/libm-test.inc (test_exceptions): Only test exceptions if
670         EXCEPTION_TESTS (FLOAT).
672 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
674         * benchtests/Makefile (string-bench): Add strcpy_chk and
675         stpcpy_chk.
676         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
677         * benchtests/bench-stpcpy_chk.c: New file.
678         * benchtests/bench-strcpy_chk-ifunc.c: New file.
679         * benchtests/bench-strcpy_chk.c: New file.
680         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
681         code.
682         (do_test): Likewise.
684 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
686         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
687         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
688         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
689         with tabs where appropriate.
690         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
691         dl-procinfo.h.
692         [PPC_PLATFORM_PPC440]: Likewise.
693         [PPC_PLATFORM_PPC464]: Likewise.
694         [PPC_PLATFORM_PPC476]: Likewise.
695         (_dl_string_platform): Add support for detecting ppc405, ppc440,
696         ppc464, and ppc476 platform strings merging from ports/
697         dl-procinfo.h.
699 2013-06-11  Andreas Schwab  <schwab@suse.de>
701         [BZ #14991]
702         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
703         (from_ucs4_idx): Regenerate.
704         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
705         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
706         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
707         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
708         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
709         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
710         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
711         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
712         from FROM_LOOP and TO_LOOP specific macros.
713         (BODY): Handle combining characters.
714         * iconvdata/BIG5HKSCS.irreversible: Update.
715         * iconvdata/BIG5HKSCS.precomposed: New file.
716         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
717         characters.
718         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
720 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
722         * include/sys/time.h: Fix indentation and add copyright header.
724         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
725         (do_test): Likewise.
726         * string/test-memchr.c (do_one_test): Likewise.
727         (do_test): Likewise.
728         * string/test-memcmp.c (do_one_test): Likewise.
729         (do_test): Likewise.
730         * string/test-memcpy.c (do_one_test): Likewise.
731         (do_test): Likewise.
732         * string/test-memmem.c (do_one_test): Likewise.
733         (do_test): Likewise.
734         (do_random_tests): Likewise.
735         * string/test-memmove.c (do_one_test): Likewise.
736         (do_test): Likewise.
737         * string/test-memset.c (do_one_test): Likewise.
738         (do_test): Likewise.
739         * string/test-rawmemchr.c (do_one_test): Likewise.
740         (do_test): Likewise.
741         * string/test-strcasecmp.c (do_one_test): Likewise.
742         (do_test): Likewise.
743         * string/test-strcasestr.c (do_one_test): Likewise.
744         (do_test): Likewise.
745         * string/test-strcat.c (do_one_test): Likewise.
746         (do_test): Likewise.
747         * string/test-strchr.c (do_one_test): Likewise.
748         (do_test): Likewise.
749         * string/test-strcmp.c (do_one_test): Likewise.
750         (do_test): Likewise.
751         * string/test-strcpy.c (do_one_test): Likewise.
752         (do_test): Likewise.
753         * string/test-string.h: Likewise.
754         (test_init): Likewise.
755         * string/test-strlen.c (do_one_test): Likewise.
756         (do_test): Likewise.
757         * string/test-strncasecmp.c (do_one_test): Likewise.
758         (do_test): Likewise.
759         * string/test-strncat.c (do_one_test): Likewise.
760         (do_test): Likewise.
761         * string/test-strncmp.c (do_one_test): Likewise.
762         (do_test_limit): Likewise.
763         (do_test): Likewise.
764         * string/test-strncpy.c (do_one_test): Likewise.
765         (do_test): Likewise.
766         * string/test-strnlen.c (do_one_test): Likewise.
767         (do_test): Likewise.
768         * string/test-strpbrk.c (do_one_test): Likewise.
769         (do_test): Likewise.
770         * string/test-strrchr.c (do_one_test): Likewise.
771         (do_test): Likewise.
772         * string/test-strspn.c (do_one_test): Likewise.
773         (do_test): Likewise.
774         * string/test-strstr.c (do_one_test): Likewise.
775         (do_test): Likewise.
777         * benchtests/Makefile (string-bench): Add string benchmarks.
778         * benchtests/bench-bcopy-ifunc.c: New file.
779         * benchtests/bench-bcopy.c: New file.
780         * benchtests/bench-bzero-ifunc.c: New file.
781         * benchtests/bench-bzero.c: New file.
782         * benchtests/bench-memccpy-ifunc.c: New file.
783         * benchtests/bench-memccpy.c: New file.
784         * benchtests/bench-memchr-ifunc.c: New file.
785         * benchtests/bench-memchr.c: New file.
786         * benchtests/bench-memcmp-ifunc.c: New file.
787         * benchtests/bench-memcmp.c: New file.
788         * benchtests/bench-memmem-ifunc.c: New file.
789         * benchtests/bench-memmem.c: New file.
790         * benchtests/bench-memmove-ifunc.c: New file.
791         * benchtests/bench-memmove.c: New file.
792         * benchtests/bench-mempcpy-ifunc.c: New file.
793         * benchtests/bench-mempcpy.c: New file.
794         * benchtests/bench-memset-ifunc.c: New file.
795         * benchtests/bench-memset.c: New file.
796         * benchtests/bench-rawmemchr-ifunc.c: New file.
797         * benchtests/bench-rawmemchr.c: New file.
798         * benchtests/bench-stpcpy-ifunc.c: New file.
799         * benchtests/bench-stpcpy.c: New file.
800         * benchtests/bench-stpncpy-ifunc.c: New file.
801         * benchtests/bench-stpncpy.c: New file.
802         * benchtests/bench-strcasecmp-ifunc.c: New file.
803         * benchtests/bench-strcasecmp.c: New file.
804         * benchtests/bench-strcasestr-ifunc.c: New file.
805         * benchtests/bench-strcasestr.c: New file.
806         * benchtests/bench-strcat-ifunc.c: New file.
807         * benchtests/bench-strcat.c: New file.
808         * benchtests/bench-strchr-ifunc.c: New file.
809         * benchtests/bench-strchr.c: New file.
810         * benchtests/bench-strchrnul-ifunc.c: New file.
811         * benchtests/bench-strchrnul.c: New file.
812         * benchtests/bench-strcmp-ifunc.c: New file.
813         * benchtests/bench-strcmp.c: New file.
814         * benchtests/bench-strcpy-ifunc.c: New file.
815         * benchtests/bench-strcpy.c: New file.
816         * benchtests/bench-strcspn-ifunc.c: New file.
817         * benchtests/bench-strcspn.c: New file.
818         * benchtests/bench-strlen-ifunc.c: New file.
819         * benchtests/bench-strlen.c: New file.
820         * benchtests/bench-strncasecmp-ifunc.c: New file.
821         * benchtests/bench-strncasecmp.c: New file.
822         * benchtests/bench-strncat-ifunc.c: New file.
823         * benchtests/bench-strncat.c: New file.
824         * benchtests/bench-strncmp-ifunc.c: New file.
825         * benchtests/bench-strncmp.c: New file.
826         * benchtests/bench-strncpy-ifunc.c: New file.
827         * benchtests/bench-strncpy.c: New file.
828         * benchtests/bench-strnlen-ifunc.c: New file.
829         * benchtests/bench-strnlen.c: New file.
830         * benchtests/bench-strpbrk-ifunc.c: New file.
831         * benchtests/bench-strpbrk.c: New file.
832         * benchtests/bench-strrchr-ifunc.c: New file.
833         * benchtests/bench-strrchr.c: New file.
834         * benchtests/bench-strspn-ifunc.c: New file.
835         * benchtests/bench-strspn.c: New file.
836         * benchtests/bench-strstr-ifunc.c: New file.
837         * benchtests/bench-strstr.c: New file.
839         * benchtests/Makefile: Disable parallel execution of targets.
840         (string-bench): Add memcpy.
841         (benchset): New variable to store a list of benchmark sets.
842         (bench-func): Renamed from bench.
843         (bench-set): New target.
844         (bench): Depend on bench-func and bench-set.
845         * benchtests/README: Add section on benchmark sets.
846         * benchtests/bench-memcpy-ifunc.c: New file.
847         * benchtests/bench-memcpy.c: New file.
848         * benchtests/bench-string.h: New file.
850 2013-06-11  Andreas Schwab  <schwab@suse.de>
852         [BZ #15577]
853         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
854         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
855         values in the triple.
856         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
857         terminator in the group key.
859 2013-06-11  Andreas Jaeger  <aj@suse.de>
861         * po/zh_TW.po: Update Chinese (traditional) translation from
862         translation project.
864 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
866         * include/time.h (__clock_gettime): Add libc_hidden_proto.
867         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
868         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
869         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
870         (clock_getcpuclockid): Likewise.
871         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
872         Add weak_alias and libc_hidden_def.
873         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
874         * rt/clock_gettime.c (clock_gettime): Rename to
875         __clock_gettime.  Add weak_alias and libc_hidden_def.
876         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
877         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
878         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
879         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
880         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
881         Likewise.
882         * rt/clock_settime.c (clock_settime): Rename to
883         __clock_settime.  Add weak_alias and libc_hidden_def.
884         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
886 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
888         * mach/err_boot.sub: Remove trailing whitespace.
889         * mach/err_ipc.sub: Likewise.
890         * mach/err_mach.sub: Likewise.
892         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
893         (ROUNDING_TESTS_double): Likewise.
894         (ROUNDING_TESTS_long_double): Likewise.
895         (ROUNDING_TESTS): Likewise.
896         * math/libm-test.inc: Include <math-tests.h>.
897         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
898         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
899         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
900         (IF_ROUND_INIT_FE_UPWARD): Likewise.
902 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
904         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
905         of assigning.
907 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
909         * sysdeps/gnu/errlist.awk: Do not generate space at end of
910         otherwise empty TRANS lines.
911         * sysdeps/gnu/errlist.c: Regenerated.
913         * catgets/gencat.c (error_print): Use (void) in function
914         definition.
915         * crypt/crypt_util.c (__init_des): Likewise.
916         * crypt/speeds.c (Stop): Likewise.
917         (main): Likewise.
918         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
919         * inet/ruserpass.c (token): Likewise.
920         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
921         * intl/localealias.c (extend_alias_table): Likewise.
922         * intl/plural-exp.c (init_germanic_plural): Likewise.
923         * libio/fcloseall.c (__fcloseall): Likewise.
924         * libio/genops.c (_IO_flush_all): Likewise.
925         (_IO_flush_all_linebuffered): Likewise.
926         (_IO_cleanup): Likewise.
927         (_IO_iter_begin): Likewise.
928         (_IO_iter_end): Likewise.
929         (_IO_list_lock): Likewise.
930         (_IO_list_unlock): Likewise.
931         (_IO_list_resetlock): Likewise.
932         * libio/getchar.c (getchar): Likewise.
933         * libio/getchar_u.c (getchar_unlocked): Likewise.
934         * libio/getwchar.c (getwchar): Likewise.
935         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
936         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
937         * login/getpt.c (__getpt): Likewise.
938         * login/tst-utmp.c (main): Likewise.
939         * malloc/hooks.c (__malloc_check_init): Likewise.
940         * malloc/malloc.c (__malloc_stats): Likewise.
941         * malloc/mtrace.c (tr_break): Likewise.
942         (mtrace): Likewise.
943         (muntrace): Likewise.
944         * misc/fstab.c (endfsent): Likewise.
945         * misc/getclktck.c (__getclktck): Likewise.
946         * misc/getdtsz.c (__getdtablesize): Likewise.
947         * misc/gethostid.c (gethostid): Likewise.
948         * misc/getpagesize.c (__getpagesize): Likewise.
949         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
950         (__get_nprocs): Likewise.
951         (__get_phys_pages): Likewise.
952         (__get_avphys_pages): Likewise.
953         * misc/getttyent.c (getttyent): Likewise.
954         (setttyent): Likewise.
955         (endttyent): Likewise.
956         * misc/getusershell.c (getusershell): Likewise.
957         (endusershell): Likewise.
958         (setusershell): Likewise.
959         (initshells): Likewise.
960         * misc/hsearch.c (__hdestroy): Likewise.
961         * misc/sync.c (sync): Likewise.
962         * misc/syslog.c (closelog_internal): Likewise.
963         (closelog): Likewise.
964         * misc/ttyslot.c (ttyslot): Likewise.
965         * misc/vhangup.c (vhangup): Likewise.
966         * posix/fork.c (__fork): Likewise.
967         * posix/getegid.c (__getegid): Likewise.
968         * posix/geteuid.c (__geteuid): Likewise.
969         * posix/getgid.c (__getgid): Likewise.
970         * posix/getpid.c (__getpid): Likewise.
971         * posix/getppid.c (__getppid): Likewise.
972         * posix/getuid.c (__getuid): Likewise.
973         * posix/pause.c (pause): Likewise.
974         * posix/setpgrp.c (setpgrp): Likewise.
975         * posix/setsid.c (__setsid): Likewise.
976         * posix/test-vfork.c (noop): Likewise.
977         * resolv/gethnamaddr.c (_endhtent): Likewise.
978         (_gethtent): Likewise.
979         (ht_endhostent): Likewise.
980         (gethostent): Likewise.
981         (dns_service): Likewise.
982         * stdlib/drand48.c (drand48): Likewise.
983         * stdlib/lrand48.c (lrand48): Likewise.
984         * stdlib/mrand48.c (mrand48): Likewise.
985         * stdlib/rand.c (rand): Likewise.
986         * stdlib/random.c (__random): Likewise.
987         * stdlib/setenv.c (clearenv): Likewise.
988         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
989         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
990         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
991         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
992         (__get_nprocs): Likewise.
993         (__get_phys_pages): Likewise.
994         (__get_avphys_pages): Likewise.
995         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
996         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
997         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
998         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
999         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1000         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1001         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1002         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1003         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1004         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1005         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1006         * sysdeps/mach/hurd/sync.c (sync): Likewise.
1007         * sysdeps/posix/clock.c (clock): Likewise.
1008         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1009         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1010         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1011         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1012         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1013         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1014         (__get_nprocs_conf): Likewise.
1015         (__get_phys_pages): Likewise.
1016         (__get_avphys_pages): Likewise.
1017         * time/clock.c (clock): Likewise.
1018         * time/tzset.c (__tzname_max): Likewise.
1020 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
1022         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1023         (__bswap_32): Do not use "register".
1024         * crypt/crypt.c (_ufc_doit_r): Likewise.
1025         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1026         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1027         * gmon/gmon.c (__monstartup): Likewise.
1028         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1029         * hurd/hurdmalloc.c (more_memory): Likewise.
1030         (malloc): Likewise.
1031         (free): Likewise.
1032         (realloc): Likewise.
1033         (malloc_fork_prepare): Likewise.
1034         (malloc_fork_parent): Likewise.
1035         (malloc_fork_child): Likewise.
1036         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1037         (_svcauth_des): Likewise.
1038         * inet/inet_lnaof.c (inet_lnaof): Likewise.
1039         * inet/inet_net.c (inet_network): Likewise.
1040         * inet/inet_netof.c (inet_netof): Likewise.
1041         * inet/rcmd.c (__validuser2_sa): Likewise.
1042         * io/fts.c (fts_open): Likewise.
1043         (fts_load): Likewise.
1044         (fts_close): Likewise.
1045         (fts_read): Likewise.
1046         (fts_children): Likewise.
1047         (fts_build): Likewise.
1048         (fts_stat): Likewise.
1049         (fts_sort): Likewise.
1050         (fts_alloc): Likewise.
1051         (fts_lfree): Likewise.
1052         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1053         (_IO_file_xsgetn): Likewise.
1054         (_IO_file_xsgetn_mmap): Likewise.
1055         * libio/iofopncook.c (_IO_cookie_read): Likewise.
1056         (_IO_cookie_write): Likewise.
1057         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1058         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1059         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1060         * malloc/obstack.c (_obstack_begin): Likewise.
1061         (_obstack_begin_1): Likewise.
1062         (_obstack_newchunk): Likewise.
1063         (_obstack_allocated_p): Likewise.
1064         (obstack_free): Likewise.
1065         (_obstack_memory_used): Likewise.
1066         * misc/getttyent.c (getttynam): Likewise.
1067         (getttyent): Likewise.
1068         (skip): Likewise.
1069         (value): Likewise.
1070         * misc/getusershell.c (initshells): Likewise.
1071         * misc/syslog.c (__vsyslog_chk): Likewise.
1072         * misc/ttyslot.c (ttyslot): Likewise.
1073         * nis/nis_hash.c (__nis_hash): Likewise.
1074         * posix/fnmatch_loop.c (FCT): Likewise.
1075         * posix/getconf.c (print_all): Likewise.
1076         (main): Likewise.
1077         * posix/getopt.c (exchange): Likewise.
1078         * posix/glob.c (globfree): Likewise.
1079         (prefix_array): Likewise.
1080         (__glob_pattern_type): Likewise.
1081         * resolv/arpa/nameser.h (NS_GET16): Likewise.
1082         (NS_GET32): Likewise.
1083         (NS_PUT16): Likewise.
1084         (NS_PUT32): Likewise.
1085         * resolv/gethnamaddr.c (getanswer): Likewise.
1086         (gethostbyname2): Likewise.
1087         (gethostbyaddr): Likewise.
1088         (_gethtent): Likewise.
1089         (_gethtbyname2): Likewise.
1090         (_gethtbyaddr): Likewise.
1091         * resolv/ns_print.c (dst_s_get_int16): Likewise.
1092         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1093         * resolv/res_init.c (__res_vinit): Likewise.
1094         (net_mask): Likewise.
1095         * resolv/res_mkquery.c (outchar): Likewise.
1096         (PRINT): Likewise.
1097         * stdio-common/printf_fp.c (outchar): Likewise.
1098         (PRINT): Likewise.
1099         * stdio-common/printf_fphex.c (outchar): Likewise.
1100         (PRINT): Likewise.
1101         * stdio-common/printf_size.c (outchar): Likewise.
1102         (PRINT): Likewise.
1103         * stdio-common/test_rdwr.c (main): Likewise.
1104         * stdio-common/tfformat.c (matches): Likewise.
1105         * stdio-common/vfprintf.c (outchar): Likewise.
1106         (printf_unknown): Likewise.
1107         (buffered_vfprintf): Likewise.
1108         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1109         * stdio-common/xbug.c (AppendToBuffer): Likewise.
1110         (ReadFile): Likewise.
1111         * stdlib/qsort.c (SWAP): Likewise.
1112         (_quicksort): Likewise.
1113         * stdlib/setenv.c (__add_to_environ): Likewise.
1114         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1115         * stdlib/strtol_l.c (__strtol_l): Likewise.
1116         * stdlib/tst-strtod.c (main): Likewise.
1117         * stdlib/tst-strtol.c (main): Likewise.
1118         * stdlib/tst-strtoll.c (main): Likewise.
1119         * string/bits/string2.h (__strcmp_cc): Likewise.
1120         (__strcmp_cg): Likewise.
1121         (__strcspn_c1): Likewise.
1122         (__strcspn_c2): Likewise.
1123         (__strcspn_c3): Likewise.
1124         (__strspn_c1): Likewise.
1125         (__strspn_c2): Likewise.
1126         (__strspn_c3): Likewise.
1127         (__strsep_1c): Likewise.
1128         (__strsep_2c): Likewise.
1129         (__strsep_3c): Likewise.
1130         * string/memccpy.c (__memccpy): Likewise.
1131         * string/stpcpy.c (__stpcpy): Likewise.
1132         * string/strcmp.c (strcmp): Likewise.
1133         * string/strrchr.c (strrchr): Likewise.
1134         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1135         Likewise.
1136         * sysdeps/mach/hurd/getcwd.c
1137         (_hurd_canonicalize_directory_name_internal): Likewise.
1138         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1139         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1140         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1141         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1142         Likewise, in both definitions.
1143         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1144         definitions.
1145         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1146         64] (__bswap_64): Likewise.
1147         * time/test_time.c (main): Likewise.
1148         * time/tzfile.c (__tzfile_read): Likewise.
1149         (__tzfile_compute): Likewise.
1150         * time/tzset.c (__tzset_parse_tz): Likewise.
1151         (tzset_internal): Likewise.
1152         (compute_change): Likewise.
1153         * wcsmbs/wcscat.c (__wcscat): Likewise.
1154         * wcsmbs/wcschr.c (wcschr): Likewise.
1155         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1156         * wcsmbs/wcscspn.c (wcscspn): Likewise.
1157         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1158         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1159         * wcsmbs/wcsspn.c (wcsspn): Likewise.
1160         * wcsmbs/wcsstr.c (wcsstr): Likewise.
1161         * wcsmbs/wmemchr.c (wmemchr): Likewise.
1162         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1163         * wcsmbs/wmemset.c (wmemset): Likewise.
1165 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
1167         * scripts/config.guess: Update to version 2013-05-16.
1168         * scripts/config.sub: Update to version 2013-04-24.
1169         * scripts/install-sh: Update to version 2011-11-20.07.
1170         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1171         * scripts/move-if-change: Update to version 2012-01-06 07:23.
1173 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
1175         * debug/fgetws_u_chk.c: Fix leading whitespaces.
1176         * elf/sln.c: Likewise.
1177         * hurd/hurd/ioctl.h: Likewise.
1178         * hurd/hurdmalloc.c: Likewise.
1179         * hurd/xattr.c: Likewise.
1180         * include/shlib-compat.h: Likewise.
1181         * inet/ruserpass.c: Likewise.
1182         * libio/iofgets_u.c: Likewise.
1183         * libio/iofgetws_u.c: Likewise.
1184         * locale/programs/ld-identification.c: Likewise.
1185         * locale/programs/ld-time.c: Likewise.
1186         * mach/msg-destroy.c: Likewise.
1187         * nss/nss_files/files-netgrp.c: Likewise.
1188         * resolv/res_data.c: Likewise.
1189         * soft-fp/op-1.h: Likewise.
1190         * soft-fp/op-2.h: Likewise.
1191         * soft-fp/op-4.h: Likewise.
1192         * soft-fp/op-common.h: Likewise.
1193         * stdio-common/printf_fphex.c: Likewise.
1194         * stdlib/strtod_l.c: Likewise.
1195         * sunrpc/rpc/clnt.h: Likewise.
1196         * sysdeps/generic/framestate.c: Likewise.
1197         * sysdeps/i386/bsd-_setjmp.S: Likewise.
1198         * sysdeps/i386/bsd-setjmp.S: Likewise.
1199         * sysdeps/i386/__longjmp.S: Likewise.
1200         * sysdeps/i386/setjmp.S: Likewise.
1201         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1202         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1203         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1204         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1205         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1206         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1207         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1208         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1209         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1210         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1211         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1212         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1213         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1214         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1215         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1216         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1217         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1218         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1219         * sysdeps/ieee754/support.c: Likewise.
1220         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1221         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1222         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1223         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1224         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1225         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1226         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1227         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1228         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1229         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1230         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1231         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1232         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1233         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1234         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1235         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1236         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1239 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
1241         * posix/transbug.c: Remove executable mode.
1243 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
1245         * crypt/speeds.c: Remove trailing whitespace.
1246         * dlfcn/default.c: Likewise.
1247         * elf/ifuncdep2.c: Likewise.
1248         * elf/ifuncmain1.c: Likewise.
1249         * elf/ifuncmain1vis.c: Likewise.
1250         * elf/testobj.h: Likewise.
1251         * elf/tst-stackguard1.c: Likewise.
1252         * gmon/sys/gmon.h: Likewise.
1253         * hurd/hurdmsg.c: Likewise.
1254         * hurd/new-fd.c: Likewise.
1255         * hurd/ports-get.c: Likewise.
1256         * iconvdata/ibm1008_420.c: Likewise.
1257         * inet/tst-getni1.c: Likewise.
1258         * inet/tst-getni2.c: Likewise.
1259         * libio/ioungetc.c: Likewise.
1260         * libio/wfiledoalloc.c: Likewise.
1261         * manual/libm-err-tab.pl: Likewise.
1262         * math/w_dremf.c: Likewise.
1263         * misc/ftruncate.c: Likewise.
1264         * posix/bug-glob2.c: Likewise.
1265         * posix/tst-pcre.c: Likewise.
1266         * posix/wait4.c: Likewise.
1267         * resolv/README: Likewise.
1268         * resolv/res_debug.h: Likewise.
1269         * resolv/tst-inet_ntop.c: Likewise.
1270         * setjmp/bug269-setjmp.c: Likewise.
1271         * soft-fp/extended.h: Likewise.
1272         * soft-fp/op-1.h: Likewise.
1273         * soft-fp/op-2.h: Likewise.
1274         * soft-fp/op-4.h: Likewise.
1275         * soft-fp/op-8.h: Likewise.
1276         * soft-fp/testit.c: Likewise.
1277         * stdio-common/bug16.c: Likewise.
1278         * stdlib/random.c: Likewise.
1279         * sunrpc/rpcsvc/rquota.x: Likewise.
1280         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1281         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1282         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1283         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1284         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1285         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1286         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1287         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1288         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1289         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1290         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1291         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1292         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1293         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1294         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1295         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1296         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1297         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1298         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1299         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1300         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1301         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1302         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1303         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1304         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1305         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1306         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1307         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1308         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1309         * sysdeps/ieee754/s_lib_version.c: Likewise.
1310         * sysdeps/mach/hurd/check_fds.c: Likewise.
1311         * sysdeps/mach/hurd/getsockname.c: Likewise.
1312         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1313         * sysdeps/mach/hurd/recvfrom.c: Likewise.
1314         * sysdeps/powerpc/bits/link.h: Likewise.
1315         * sysdeps/powerpc/dl-procinfo.c: Likewise.
1316         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1317         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1318         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1319         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1320         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1321         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1322         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1323         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1324         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1325         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1326         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1327         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1328         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1329         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1330         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1331         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1332         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1333         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1334         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1335         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1336         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1337         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1338         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1339         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1340         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1341         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1342         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1343         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1344         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1345         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1346         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1347         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1348         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1349         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1350         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1351         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1352         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1353         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1354         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1355         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1356         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1357         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1358         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1359         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1360         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1361         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1362         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1363         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1364         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1365         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1366         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1367         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1368         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1369         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1370         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1371         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1372         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1373         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1374         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1375         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1376         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1377         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1378         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1379         * sysdeps/powerpc/sysdep.h: Likewise.
1380         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1381         * sysdeps/s390/s390-64/sub_n.S: Likewise.
1382         * sysdeps/sh/dl-trampoline.S: Likewise.
1383         * sysdeps/sh/memset.S: Likewise.
1384         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1385         * sysdeps/sh/strlen.S: Likewise.
1386         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1387         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1388         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1389         * sysdeps/sparc/sparc32/rem.S: Likewise.
1390         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1391         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1392         * sysdeps/sparc/sparc32/strchr.S: Likewise.
1393         * sysdeps/sparc/sparc32/udiv.S: Likewise.
1394         * sysdeps/sparc/sparc32/urem.S: Likewise.
1395         * sysdeps/sparc/sparc64/add_n.S: Likewise.
1396         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1397         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1398         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1399         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1400         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1401         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1402         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1403         * sysdeps/unix/bsd/times.c: Likewise.
1404         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1405         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1409         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1410         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1411         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1412         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1413         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1414         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1415         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1416         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1417         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1418         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1419         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1420         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1421         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1422         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1423         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1424         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1425         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1426         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1427         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1428         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1429         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1430         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1431         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1432         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1433         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1434         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1435         * sysdeps/x86_64/strcspn.S: Likewise.
1437 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1439         * locale/C-translit.h: Revert #include <stdint.h> because this is a
1440         generated file.  Regenerate properly from gen-translit.pl.
1441         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
1442         locale/C-translit.h.
1444 2013-06-05  Andreas Schwab  <schwab@suse.de>
1446         [BZ #15100]
1447         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1448         week as 6 instead of -1.
1449         * time/tst-strptime.c (day_tests): Add test case.
1451 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1453         * sysdeps/generic/math_private.h
1454         (libc_feholdexcept_setround_53bit): Replace with
1455         libc_feholdsetround_53bit.
1456         (libc_feupdateenv_53bit): Replace with
1457         libc_feresetround_53bit.
1458         (SET_RESTORE_ROUND_53BIT): Adjust.
1460 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1462         * string/test-strchrnul.c: Add copyright header.
1464         * posix/tst-getaddrinfo4.c: Increase test timeout.
1466 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
1468         [BZ #15536]
1469         * math/libm-test.inc (MAX_EXP): Remove
1470         (MIN_EXP): Define.
1471         (ulp): Use MIN_EXP - MANT_DIG.
1472         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1474 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
1476         * po/be.po: Revert last change.
1477         * po/zh_CN.po: Likewise.
1478         * po/header.pot: Likewise.
1480 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
1482         * Makefile ($(common-objpfx)linkobj/libc.so): Define
1483         link-libc-deps to empty as target-specific variable.
1484         * Makerules (link-libc-args): New variable.
1485         (libc-for-link): Likewise.
1486         (link-libc-deps): Likewise.
1487         (lib%.so): Depend on $(link-libc-deps).  Link with
1488         $(link-libc-args).
1489         (build-module): Link with $(link-libc-args).
1490         (build-module-asneeded): Likewise.
1491         (build-module-helper-objlist): Filter out $(link-libc-deps) from
1492         list of objects.
1493         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1494         target-specific variable.
1495         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1496         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1497         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1498         libc.
1499         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1500         libc and ld.so.
1501         ($(objpfx)libpcprofile.so): Likewise.
1502         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1503         libc_nonshared.a.
1504         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1505         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1506         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1507         $(link-libc-deps).
1508         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1509         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1510         * login/Makefile ($(objpfx)libutil.so): Likewise.
1511         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1512         * math/Makefile ($(objpfx)libm.so): Likewise.
1513         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1514         $(objpfx)libnsl.so): Define libc-for-link as target-specific
1515         variable instead of depending directly on libc.
1516         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1517         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1518         $(link-libc-deps).
1519         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1520         libc.
1521         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1522         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1523         ($(objpfx)libanl.so): Likewise.
1524         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1525         ld.so.
1526         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1527         $(link-libc-deps).
1528         * sysdeps/i386/fpu/Makefile: Remove file.
1529         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1530         ($(objpfx)libm.so): Remove dependency on ld.so.
1532 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
1534         [BZ # 15553]
1535         * nis/yp_xdr.c (XDRMAXNAME): Define.
1536         (XDRMAXRECORD): Define.
1537         (xdr_domainname): Use XDRMAXNAME.
1538         (xdr_mapname): Likewise.
1539         (xdr_peername): Likewise.
1540         (xdr_keydat): Use XDRMAXRECORD.
1541         (xdr_valdat): Likewise.
1543 2013-05-30  Jeff Law  <law@redhat.com>
1545         [BZ #14256]
1546         * manual/errno.texi (ESTALE): Update to account for more than
1547         just NFS file systems.
1548         * sysdeps/gnu/errlist.c: Regenerated.
1550 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1552         [BZ #15465]
1553         * elf/Makefile (tests): Add tst-null-argv.
1554         (modules-names):  Add tst-null-argv-lib.
1555         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1556         (tst-null-argv-ENV): Set environment for tst-null-argv.
1557         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1558         (RTLD_PROGNAME): New macro.
1559         * elf/tst-null-argv.c: New test case.
1560         * elf/tst-null-argv-lib.c: Library for test case.
1561         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1562         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1563         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1564         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1565         * elf/dl-init.c (call_init): Likewise.
1566         (_dl_init): Likewise.
1567         * elf/dl-load.c (print_search_path): Likewise.
1568         (_dl_map_object): Likewise.
1569         * elf/dl-lookup.c (do_lookup_x): Likewise.
1570         (add_dependency): Likewise.
1571         (_dl_lookup_symbol_x): Likewise.
1572         (_dl_debug_bindings): Likewise.
1573         * elf/dl-open.c (_dl_show_scope): Likewise.
1574         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1575         * elf/dl-version.c (match_symbol): Likewise.
1576         (_dl_check_map_versions): Likewise.
1577         * elf/rtld.c (dl_main): Likewise.
1578         (print_unresolved): Use RTLD_PROGNAME.
1579         (print_missing_version): Likewise.
1580         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1581         (elf_machine_rela): Likewise.
1582         * sysdeps/powerpc/powerpc32/dl-machine.c
1583         (__process_machine_rela): Likewise.
1584         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1585         Likewise.
1586         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1587         Likewise.
1588         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1589         Likewise.
1590         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1591         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1592         Likewise.
1593         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1594         Likewise.
1595         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1597 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
1599         * po/be.po: Add descriptive title.
1600         * po/zh_CN.po: Likewise.
1601         * po/header.pot: Likewise.
1603 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
1605         * locale/programs/locarchive.c (create_archive): Inlucde fname in
1606         error message.
1607         (enlarge_archive): Likewise.
1609 2013-05-28  Ben North  <ben@redfrontdoor.org>
1611         * manual/arith.texi (frexp): It is the magnitude of the return
1612         value which lies in [0.5, 1), not the return value itself.
1614 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1618 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
1620         * stdio-common/bug26.c (main): Correct fscanf template.
1622         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1623         declare _dl_skip_args.
1625         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1626         Don't declare.
1628         * manual/platform.texi: Add missing @end deftypefun.
1630 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
1632         [BZ #15529]
1633         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1634         bit of mantissa of 2^16382.
1635         * math/libm-test.inc (hypot_test_data): Add more tests.
1637         * math/libm-test.inc: Add drem and pow10 to list of tested
1638         functions.
1639         (pow10_test): New function.
1640         (drem_test): Likewise.
1641         (drem_test_tonearest): Likewise.
1642         (drem_test_towardzero): Likewise.
1643         (drem_test_downward): Likewise.
1644         (drem_test_upward): Likewise.
1645         (main): Call the new functions.
1647         * math/libm-test.inc (finite_test_data): Remove.
1648         (finite_test): Run tests from isfinite_test_data.
1649         (gamma_test_data): Remove.
1650         (gamma_test): Run tests from lgamma_test_data.
1651         * sysdeps/i386/fpu/libm-test-ulps: Update.
1652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1654 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1656         * manual/platform.texi: Add PowerPC PPR function set documentation.
1657         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1658         implementation.
1660 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
1662         * math/libm-test.inc (MAX_EXP): Define.
1663         (ULPDIFF): Define.
1664         (ulp): New function.
1665         (check_float_internal): Use ULPDIFF.
1666         (cpow_test): Disable failing test.
1667         (check_ulp): Test ulp() implemetnation.
1668         (main): Call check_ulp before starting tests.
1670 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
1672         * math/gen-libm-test.pl (generate_testfile): Do not handle
1673         START_DATA and END_DATA.
1674         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1675         END_DATA.
1676         (acos_tonearest_test_data): Likewise.
1677         (acos_towardzero_test_data): Likewise.
1678         (acos_downward_test_data): Likewise.
1679         (acos_upward_test_data): Likewise.
1680         (acosh_test_data): Likewise.
1681         (asin_test_data): Likewise.
1682         (asin_tonearest_test_data): Likewise.
1683         (asin_towardzero_test_data): Likewise.
1684         (asin_downward_test_data): Likewise.
1685         (asin_upward_test_data): Likewise.
1686         (asinh_test_data): Likewise.
1687         (atan_test_data): Likewise.
1688         (atanh_test_data): Likewise.
1689         (atan2_test_data): Likewise.
1690         (cabs_test_data): Likewise.
1691         (cacos_test_data): Likewise.
1692         (cacosh_test_data): Likewise.
1693         (carg_test_data): Likewise.
1694         (casin_test_data): Likewise.
1695         (casinh_test_data): Likewise.
1696         (catan_test_data): Likewise.
1697         (catanh_test_data): Likewise.
1698         (cbrt_test_data): Likewise.
1699         (ccos_test_data): Likewise.
1700         (ccosh_test_data): Likewise.
1701         (ceil_test_data): Likewise.
1702         (cexp_test_data): Likewise.
1703         (cimag_test_data): Likewise.
1704         (clog_test_data): Likewise.
1705         (clog10_test_data): Likewise.
1706         (conj_test_data): Likewise.
1707         (copysign_test_data): Likewise.
1708         (cos_test_data): Likewise.
1709         (cos_tonearest_test_data): Likewise.
1710         (cos_towardzero_test_data): Likewise.
1711         (cos_downward_test_data): Likewise.
1712         (cos_upward_test_data): Likewise.
1713         (cosh_test_data): Likewise.
1714         (cosh_tonearest_test_data): Likewise.
1715         (cosh_towardzero_test_data): Likewise.
1716         (cosh_downward_test_data): Likewise.
1717         (cosh_upward_test_data): Likewise.
1718         (cpow_test_data): Likewise.
1719         (cproj_test_data): Likewise.
1720         (creal_test_data): Likewise.
1721         (csin_test_data): Likewise.
1722         (csinh_test_data): Likewise.
1723         (csqrt_test_data): Likewise.
1724         (ctan_test_data): Likewise.
1725         (ctan_tonearest_test_data): Likewise.
1726         (ctan_towardzero_test_data): Likewise.
1727         (ctan_downward_test_data): Likewise.
1728         (ctan_upward_test_data): Likewise.
1729         (ctanh_test_data): Likewise.
1730         (ctanh_tonearest_test_data): Likewise.
1731         (ctanh_towardzero_test_data): Likewise.
1732         (ctanh_downward_test_data): Likewise.
1733         (ctanh_upward_test_data): Likewise.
1734         (erf_test_data): Likewise.
1735         (erfc_test_data): Likewise.
1736         (exp_test_data): Likewise.
1737         (exp_tonearest_test_data): Likewise.
1738         (exp_towardzero_test_data): Likewise.
1739         (exp_downward_test_data): Likewise.
1740         (exp_upward_test_data): Likewise.
1741         (exp10_test_data): Likewise.
1742         (exp2_test_data): Likewise.
1743         (expm1_test_data): Likewise.
1744         (fabs_test_data): Likewise.
1745         (fdim_test_data): Likewise.
1746         (finite_test_data): Likewise.
1747         (floor_test_data): Likewise.
1748         (fma_test_data): Likewise.
1749         (fma_towardzero_test_data): Likewise.
1750         (fma_downward_test_data): Likewise.
1751         (fma_upward_test_data): Likewise.
1752         (fmax_test_data): Likewise.
1753         (fmin_test_data): Likewise.
1754         (fmod_test_data): Likewise.
1755         (fpclassify_test_data): Likewise.
1756         (frexp_test_data): Likewise.
1757         (gamma_test_data): Likewise.
1758         (hypot_test_data): Likewise.
1759         (ilogb_test_data): Likewise.
1760         (isfinite_test_data): Likewise.
1761         (isgreater_test_data): Likewise.
1762         (isgreaterequal_test_data): Likewise.
1763         (isinf_test_data): Likewise.
1764         (isless_test_data): Likewise.
1765         (islessequal_test_data): Likewise.
1766         (islessgreater_test_data): Likewise.
1767         (isnan_test_data): Likewise.
1768         (isnormal_test_data): Likewise.
1769         (issignaling_test_data): Likewise.
1770         (isunordered_test_data): Likewise.
1771         (j0_test_data): Likewise.
1772         (j1_test_data): Likewise.
1773         (jn_test_data): Likewise.
1774         (ldexp_test_data): Likewise.
1775         (lgamma_test_data): Likewise.
1776         (lrint_test_data): Likewise.
1777         (lrint_tonearest_test_data): Likewise.
1778         (lrint_towardzero_test_data): Likewise.
1779         (lrint_downward_test_data): Likewise.
1780         (lrint_upward_test_data): Likewise.
1781         (llrint_test_data): Likewise.
1782         (llrint_tonearest_test_data): Likewise.
1783         (llrint_towardzero_test_data): Likewise.
1784         (llrint_downward_test_data): Likewise.
1785         (llrint_upward_test_data): Likewise.
1786         (log_test_data): Likewise.
1787         (log10_test_data): Likewise.
1788         (log1p_test_data): Likewise.
1789         (log2_test_data): Likewise.
1790         (logb_test_data): Likewise.
1791         (logb_downward_test_data): Likewise.
1792         (lround_test_data): Likewise.
1793         (llround_test_data): Likewise.
1794         (modf_test_data): Likewise.
1795         (nearbyint_test_data): Likewise.
1796         (nextafter_test_data): Likewise.
1797         (nexttoward_test_data): Likewise.
1798         (pow_test_data): Likewise.
1799         (pow_tonearest_test_data): Likewise.
1800         (pow_towardzero_test_data): Likewise.
1801         (pow_downward_test_data): Likewise.
1802         (pow_upward_test_data): Likewise.
1803         (remainder_test_data): Likewise.
1804         (remainder_tonearest_test_data): Likewise.
1805         (remainder_towardzero_test_data): Likewise.
1806         (remainder_downward_test_data): Likewise.
1807         (remainder_upward_test_data): Likewise.
1808         (remquo_test_data): Likewise.
1809         (rint_test_data): Likewise.
1810         (rint_tonearest_test_data): Likewise.
1811         (rint_towardzero_test_data): Likewise.
1812         (rint_downward_test_data): Likewise.
1813         (rint_upward_test_data): Likewise.
1814         (round_test_data): Likewise.
1815         (scalb_test_data): Likewise.
1816         (scalbn_test_data): Likewise.
1817         (scalbln_test_data): Likewise.
1818         (signbit_test_data): Likewise.
1819         (sin_test_data): Likewise.
1820         (sin_tonearest_test_data): Likewise.
1821         (sin_towardzero_test_data): Likewise.
1822         (sin_downward_test_data): Likewise.
1823         (sin_upward_test_data): Likewise.
1824         (sincos_test_data): Likewise.
1825         (sinh_test_data): Likewise.
1826         (sinh_tonearest_test_data): Likewise.
1827         (sinh_towardzero_test_data): Likewise.
1828         (sinh_downward_test_data): Likewise.
1829         (sinh_upward_test_data): Likewise.
1830         (sqrt_test_data): Likewise.
1831         (tan_test_data): Likewise.
1832         (tan_tonearest_test_data): Likewise.
1833         (tan_towardzero_test_data): Likewise.
1834         (tan_downward_test_data): Likewise.
1835         (tan_upward_test_data): Likewise.
1836         (tanh_test_data): Likewise.
1837         (tgamma_test_data): Likewise.
1838         (trunc_test_data): Likewise.
1839         (y0_test_data): Likewise.
1840         (y1_test_data): Likewise.
1841         (yn_test_data): Likewise.
1842         (significand_test_data): Likewise.
1844         * math/gen-libm-test.pl (@functions): Remove variable.
1845         (generate_testfile): Don't handle START and END lines.
1846         * math/libm-test.inc (START): New macro.
1847         (END): Likewise.
1848         (END_COMPLEX): Likewise.
1849         (acos_test): Use END macro without arguments.
1850         (acos_test_tonearest): Likewise.
1851         (acos_test_towardzero): Likewise.
1852         (acos_test_downward): Likewise.
1853         (acos_test_upward): Likewise.
1854         (acosh_test): Likewise.
1855         (asin_test): Likewise.
1856         (asin_test_tonearest): Likewise.
1857         (asin_test_towardzero): Likewise.
1858         (asin_test_downward): Likewise.
1859         (asin_test_upward): Likewise.
1860         (asinh_test): Likewise.
1861         (atan_test): Likewise.
1862         (atanh_test): Likewise.
1863         (atan2_test): Likewise.
1864         (cabs_test): Likewise.
1865         (cacos_test): Use END_COMPLEX macro without arguments.
1866         (cacosh_test): Likewise.
1867         (carg_test): Use END macro without arguments.
1868         (casin_test): Use END_COMPLEX macro without arguments.
1869         (casinh_test): Likewise.
1870         (catan_test): Likewise.
1871         (catanh_test): Likewise.
1872         (cbrt_test): Use END macro without arguments.
1873         (ccos_test): Use END_COMPLEX macro without arguments.
1874         (ccosh_test): Likewise.
1875         (ceil_test): Use END macro without arguments.
1876         (cexp_test): Use END_COMPLEX macro without arguments.
1877         (cimag_test): Use END macro without arguments.
1878         (clog_test): Use END_COMPLEX macro without arguments.
1879         (clog10_test): Likewise.
1880         (conj_test): Likewise.
1881         (copysign_test): Use END macro without arguments.
1882         (cos_test): Likewise.
1883         (cos_test_tonearest): Likewise.
1884         (cos_test_towardzero): Likewise.
1885         (cos_test_downward): Likewise.
1886         (cos_test_upward): Likewise.
1887         (cosh_test): Likewise.
1888         (cosh_test_tonearest): Likewise.
1889         (cosh_test_towardzero): Likewise.
1890         (cosh_test_downward): Likewise.
1891         (cosh_test_upward): Likewise.
1892         (cpow_test): Use END_COMPLEX macro without arguments.
1893         (cproj_test): Likewise.
1894         (creal_test): Use END macro without arguments.
1895         (csin_test): Use END_COMPLEX macro without arguments.
1896         (csinh_test): Likewise.
1897         (csqrt_test): Likewise.
1898         (ctan_test): Likewise.
1899         (ctan_test_tonearest): Likewise.
1900         (ctan_test_towardzero): Likewise.
1901         (ctan_test_downward): Likewise.
1902         (ctan_test_upward): Likewise.
1903         (ctanh_test): Likewise.
1904         (ctanh_test_tonearest): Likewise.
1905         (ctanh_test_towardzero): Likewise.
1906         (ctanh_test_downward): Likewise.
1907         (ctanh_test_upward): Likewise.
1908         (erf_test): Use END macro without arguments.
1909         (erfc_test): Likewise.
1910         (exp_test): Likewise.
1911         (exp_test_tonearest): Likewise.
1912         (exp_test_towardzero): Likewise.
1913         (exp_test_downward): Likewise.
1914         (exp_test_upward): Likewise.
1915         (exp10_test): Likewise.
1916         (exp2_test): Likewise.
1917         (expm1_test): Likewise.
1918         (fabs_test): Likewise.
1919         (fdim_test): Likewise.
1920         (finite_test): Likewise.
1921         (floor_test): Likewise.
1922         (fma_test): Likewise.
1923         (fma_test_towardzero): Likewise.
1924         (fma_test_downward): Likewise.
1925         (fma_test_upward): Likewise.
1926         (fmax_test): Likewise.
1927         (fmin_test): Likewise.
1928         (fmod_test): Likewise.
1929         (fpclassify_test): Likewise.
1930         (frexp_test): Likewise.
1931         (gamma_test): Likewise.
1932         (hypot_test): Likewise.
1933         (ilogb_test): Likewise.
1934         (isfinite_test): Likewise.
1935         (isgreater_test): Likewise.
1936         (isgreaterequal_test): Likewise.
1937         (isinf_test): Likewise.
1938         (isless_test): Likewise.
1939         (islessequal_test): Likewise.
1940         (islessgreater_test): Likewise.
1941         (isnan_test): Likewise.
1942         (isnormal_test): Likewise.
1943         (issignaling_test): Likewise.
1944         (isunordered_test): Likewise.
1945         (j0_test): Likewise.
1946         (j1_test): Likewise.
1947         (jn_test): Likewise.
1948         (ldexp_test): Likewise.
1949         (lgamma_test): Likewise.
1950         (lrint_test): Likewise.
1951         (lrint_test_tonearest): Likewise.
1952         (lrint_test_towardzero): Likewise.
1953         (lrint_test_downward): Likewise.
1954         (lrint_test_upward): Likewise.
1955         (llrint_test): Likewise.
1956         (llrint_test_tonearest): Likewise.
1957         (llrint_test_towardzero): Likewise.
1958         (llrint_test_downward): Likewise.
1959         (llrint_test_upward): Likewise.
1960         (log_test): Likewise.
1961         (log10_test): Likewise.
1962         (log1p_test): Likewise.
1963         (log2_test): Likewise.
1964         (logb_test): Likewise.
1965         (logb_test_downward): Likewise.
1966         (lround_test): Likewise.
1967         (llround_test): Likewise.
1968         (modf_test): Likewise.
1969         (nearbyint_test): Likewise.
1970         (nextafter_test): Likewise.
1971         (nexttoward_test): Likewise.
1972         (pow_test): Likewise.
1973         (pow_test_tonearest): Likewise.
1974         (pow_test_towardzero): Likewise.
1975         (pow_test_downward): Likewise.
1976         (pow_test_upward): Likewise.
1977         (remainder_test): Likewise.
1978         (remainder_test_tonearest): Likewise.
1979         (remainder_test_towardzero): Likewise.
1980         (remainder_test_downward): Likewise.
1981         (remainder_test_upward): Likewise.
1982         (remquo_test): Likewise.
1983         (rint_test): Likewise.
1984         (rint_test_tonearest): Likewise.
1985         (rint_test_towardzero): Likewise.
1986         (rint_test_downward): Likewise.
1987         (rint_test_upward): Likewise.
1988         (round_test): Likewise.
1989         (scalb_test): Likewise.
1990         (scalbn_test): Likewise.
1991         (scalbln_test): Likewise.
1992         (signbit_test): Likewise.
1993         (sin_test): Likewise.
1994         (sin_test_tonearest): Likewise.
1995         (sin_test_towardzero): Likewise.
1996         (sin_test_downward): Likewise.
1997         (sin_test_upward): Likewise.
1998         (sincos_test): Likewise.
1999         (sinh_test): Likewise.
2000         (sinh_test_tonearest): Likewise.
2001         (sinh_test_towardzero): Likewise.
2002         (sinh_test_downward): Likewise.
2003         (sinh_test_upward): Likewise.
2004         (sqrt_test): Likewise.
2005         (tan_test): Likewise.
2006         (tan_test_tonearest): Likewise.
2007         (tan_test_towardzero): Likewise.
2008         (tan_test_downward): Likewise.
2009         (tan_test_upward): Likewise.
2010         (tanh_test): Likewise.
2011         (tgamma_test): Likewise.
2012         (trunc_test): Likewise.
2013         (y0_test): Likewise.
2014         (y1_test): Likewise.
2015         (yn_test): Likewise.
2016         (significand_test): Likewise.
2018 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
2020         [BZ #15381]
2021         * libio/genops.c (_IO_no_init): Initialize wide struct info.
2023 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2025         [BZ #14894]
2026         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2027         __ppc_mdoio and __ppc_mdoom.
2028         * manual/platform.texi: Document new functions __ppc_yield,
2029         __ppc_mdoio and __ppc_mdoom.
2031 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
2033         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2034         (main): Mention "tls" pseudo-hwcap is legacy.
2035         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2037 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
2039         * math/gen-libm-test.pl (parse_args): Output only string of
2040         arguments as text for test name, not full call or descriptions of
2041         tests for extra outputs.
2042         (generate_testfile): Do not pass function name to parse_args.
2043         Generate this_func variable from START.
2044         * math/libm-test.inc (struct test_f_f_data): Rename test_name
2045         field to arg_str.
2046         (struct test_ff_f_data): Likewise.
2047         (test_ff_f_data_nexttoward): Likewise.
2048         (struct test_fi_f_data): Likewise.
2049         (struct test_fl_f_data): Likewise.
2050         (struct test_if_f_data): Likewise.
2051         (struct test_fff_f_data): Likewise.
2052         (struct test_c_f_data): Likewise.
2053         (struct test_f_f1_data): Likewise.  Remove field extra_name.
2054         (struct test_fF_f1_data): Likewise.
2055         (struct test_ffI_f1_data): Likewise.
2056         (struct test_c_c_data): Rename test_name field to arg_str.
2057         (struct test_cc_c_data): Likewise.
2058         (struct test_f_i_data): Likewise.
2059         (struct test_ff_i_data): Likewise.
2060         (struct test_f_l_data): Likewise.
2061         (struct test_f_L_data): Likewise.
2062         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
2063         and extra2_name.
2064         (COMMON_TEST_SETUP): New macro.
2065         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2066         (COMMON_TEST_CLEANUP): Likewise.
2067         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2068         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
2069         macros.
2070         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2071         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
2072         macros.
2073         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2074         (RUN_TEST_fff_f): Take argument string.  Call new setup and
2075         cleanup macros.
2076         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2077         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
2078         macros.
2079         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2080         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
2081         macros.
2082         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2083         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
2084         cleanup macros.
2085         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2086         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
2087         cleanup macros.
2088         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2089         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
2090         cleanup macros.
2091         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2092         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
2093         macros.
2094         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2095         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
2096         macros.
2097         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2098         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
2099         macros.
2100         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2101         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
2102         cleanup macros.
2103         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2104         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
2105         cleanup macros.
2106         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2107         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
2108         macros.
2109         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2110         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
2111         cleanup macros.
2112         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2113         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
2114         macros.
2115         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2116         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
2117         macros.
2118         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2119         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
2120         cleanup macros.
2121         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2123 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
2125         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2126         to _sifields.sigfault.
2127         (si_addr_lsb): Define new macro.
2128         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2129         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2130         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2132 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
2134         [BZ #15441]
2135         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2136         returns -1.
2137         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2138         null return -1.
2139         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2140         loading the domain.
2142 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
2144         * math/gen-libm-test.pl (parse_args): Do not include expected
2145         result in test name.
2146         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2147         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2148         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2149         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2150         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2153 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2155         * benchtests/Makefile: Sort function entries.
2157         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2158         tanh, asinh, acosh, atanh.
2159         * benchtests/acos-inputs: New file.
2160         * benchtests/acosh-inputs: New file.
2161         * benchtests/asin-inputs: New file.
2162         * benchtests/asinh-inputs: New file.
2163         * benchtests/atanh-inputs: New file.
2164         * benchtests/cosh-inputs: New file.
2165         * benchtests/log-inputs: New file.
2166         * benchtests/sinh-inputs: New file.
2167         * benchtests/tanh-inputs: New file.
2169 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
2171         [BZ #15339]
2172         * posix/tst-getaddrinfo4.c: New test.
2173         * posix/Makefile (tests): Add it.
2175 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2177         [BZ #15339]
2178         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2179         when no services were used.
2180         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2181         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2183 2013-05-21  Andreas Schwab  <schwab@suse.de>
2185         [BZ #15014]
2186         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2187         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2188         successful.
2189         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2190         redundant variable declarations and reallocation of buffer when
2191         parsing as IPv6 address.  Always set NSS status when called from
2192         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
2193         buffer too small.  Correct computation of needed size.
2194         * nss/Makefile (tests): Add test-digits-dots.
2195         * nss/test-digits-dots.c: New test.
2197 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2199         * benchtests/Makefile: Remove instructions for adding
2200         benchmark tests.
2201         * benchtests/README: New file to explain how to execute and
2202         enhance the benchmark tests.
2204 2013-05-21  Andreas Schwab  <schwab@suse.de>
2206         [BZ #15493]
2207         * setjmp/Makefile (tests): Add tst-sigsetjmp.
2208         * setjmp/tst-sigsetjmp.c: New test.
2210 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
2212         * sysdeps/x86_64/memset.S (memset): New implementation.
2213         (__bzero): Likewise.
2214         (__memset_tail): New function.
2216 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
2218         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2219         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2220         __memcpy_sse2_unaligned ifunc selection.
2221         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2222         Add memcpy-sse2-unaligned.S.
2223         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2224         Add: __memcpy_sse2_unaligned.
2226 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
2228         [BZ #15490]
2229         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2230         math_force_eval before restoring floating-point envrionment.
2231         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2232         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2233         Likewise.
2234         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2235         <math_private.h>.
2236         (__nearbyintl): Use math_force_eval before restoring
2237         floating-point environment.
2238         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2240         * math/gen-libm-test.pl (special_functions): Remove.
2241         (parse_args): Don't handle TEST_extra.  Handle functions with no
2242         return value.
2243         * math/libm-test.inc (struct test_sincos_data): Replace with
2244         struct test_fFF_11_data.
2245         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2246         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2247         (sincos_test_data): Change element type to struct
2248         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
2249         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2250         RUN_TEST_LOOP_sincos.
2251         * math/README.libm-test: Don't mention special handling of
2252         individual functions.
2253         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2254         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2255         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2256         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2257         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2260         * math/gen-libm-test.pl (get_variable): Remove function.
2261         (parse_args): Don't show pointer parameters to call in test
2262         names.  Use "extra output N" in test names for extra outputs
2263         rather than naming variables.
2265 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
2267         [BZ #15488]
2268         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2269         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2270         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2271         double tests.
2272         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2273         disable.
2274         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2275         check_long_double.
2277         * math/gen-libm-test.pl (@tests): Remove variable.
2278         ($count): Likewise.
2279         (new_test): Remove function.
2280         (show_exceptions): New function.
2281         (special_functions): Use show_exceptions instead of new_test.
2282         (parse_args): Likewise.
2283         (generate_testfile): Pass only function name in generated call to
2284         print_max_error or print_complex_max_error.
2285         (get_ulps): Do not handle complex tests specially.
2286         (output_test): Rename to ...
2287         (get_all_ulps_for_test): ... this.  Return a string rather than
2288         printing to a file.  Require ulps to be present.
2289         (output_ulps): Generate arrays rather than #defines.
2290         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2291         (struct ulp_data): New type.
2292         (BUILD_COMPLEX_ULP): Remove macro.
2293         (compare_ulp_data): New function.
2294         (find_ulps): Likewise.
2295         (find_test_ulps): Likewise.
2296         (find_function_ulps): Likewise.
2297         (find_complex_function_ulps): Likewise.
2298         (print_max_error): Determine allowed ulps using
2299         find_function_ulps.
2300         (print_complex_max_error): Determine allowed ulps using
2301         find_complex_function_ulps.
2302         (check_float_internal): Determine max ulps using find_test_ulps.
2303         (check_float): Do not take max_ulp parameter.  Update call to
2304         check_float_internal.
2305         (check_complex): Likewise.
2306         (check_int): Do not take max_ulp parameter.
2307         (check_long): Likewise.
2308         (check_bool): Likewise.
2309         (check_longlong): Likewise.
2310         (struct test_f_f_data): Remove max_ulp field.
2311         (struct test_ff_f_data): Likewise.
2312         (struct test_ff_f_data_nexttoward): Likewise.
2313         (struct test_fi_f_data): Likewise.
2314         (struct test_fl_f_data): Likewise.
2315         (struct test_if_f_data): Likewise.
2316         (struct test_fff_f_data): Likewise.
2317         (struct test_c_f_data): Likewise.
2318         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2319         (struct test_fF_f1_data): Likewise.
2320         (struct test_ffI_f1_data): Likewise.
2321         (struct test_c_c_data): Remove max_ulp field.
2322         (struct test_cc_c_data): Likewise.
2323         (struct test_f_i_data): Likewise.
2324         (struct test_ff_i_data): Likewise.
2325         (struct test_f_l_data): Likewise.
2326         (struct test_f_L_data): Likewise.
2327         (struct test_sincos_data): Likewise.
2328         (RUN_TEST_f_f): Do not handle ulps.
2329         (RUN_TEST_LOOP_f_f): Likewise.
2330         (RUN_TEST_2_f): Likewise.
2331         (RUN_TEST_LOOP_2_f): Likewise.
2332         (RUN_TEST_fff_f): Likewise.
2333         (RUN_TEST_LOOP_fff_f): Likewise.
2334         (RUN_TEST_c_f): Likewise.
2335         (RUN_TEST_LOOP_c_f): Likewise.
2336         (RUN_TEST_f_f1): Likewise.
2337         (RUN_TEST_LOOP_f_f1): Likewise.
2338         (RUN_TEST_fF_f1): Likewise.
2339         (RUN_TEST_LOOP_fF_f1): Likewise.
2340         (RUN_TEST_fI_f1): Likewise.
2341         (RUN_TEST_LOOP_fI_f1): Likewise.
2342         (RUN_TEST_ffI_f1): Likewise.
2343         (RUN_TEST_LOOP_ffI_f1): Likewise.
2344         (RUN_TEST_c_c): Likewise.
2345         (RUN_TEST_LOOP_c_c): Likewise.
2346         (RUN_TEST_cc_c): Likewise.
2347         (RUN_TEST_LOOP_cc_c): Likewise.
2348         (RUN_TEST_f_i): Likewise.
2349         (RUN_TEST_LOOP_f_i): Likewise.
2350         (RUN_TEST_f_i_tg): Likewise.
2351         (RUN_TEST_LOOP_f_i_tg): Likewise.
2352         (RUN_TEST_ff_i_tg): Likewise.
2353         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2354         (RUN_TEST_f_b): Likewise.
2355         (RUN_TEST_LOOP_f_b): Likewise.
2356         (RUN_TEST_f_b_tg): Likewise.
2357         (RUN_TEST_LOOP_f_b_tg): Likewise.
2358         (RUN_TEST_f_l): Likewise.
2359         (RUN_TEST_LOOP_f_l): Likewise.
2360         (RUN_TEST_f_L): Likewise.
2361         (RUN_TEST_LOOP_f_L): Likewise.
2362         (RUN_TEST_sincos): Likewise.
2363         (RUN_TEST_LOOP_sincos): Likewise.
2365 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
2367         [BZ #15480]
2368         [BZ #15485]
2369         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2370         main case of finite arguments, set rounding mode to FE_TONEAREST
2371         and discard exceptions.
2372         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2373         exceptions.
2374         (remainder_tonearest_test_data): New variable.
2375         (remainder_test_tonearest): New function.
2376         (remainder_towardzero_test_data): New variable.
2377         (remainder_test_towardzero): New function.
2378         (remainder_downward_test_data): New variable.
2379         (remainder_test_downward): New function.
2380         (remainder_upward_test_data): New variable.
2381         (remainder_test_upward): New function.
2382         (main): Call the new test functions.
2384         * math/libm-test.inc (struct test_f_f1_data): Remove field
2385         extra_init.
2386         (struct test_fF_f1_data): Likewise.
2387         (struct test_ffI_f1_data): Likewise.
2388         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
2389         based on value of EXTRA_EXPECTED.
2390         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2391         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
2392         EXTRA_VAR based on value of EXTRA_EXPECTED.
2393         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2394         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
2395         EXTRA_VAR based on value of EXTRA_EXPECTED.
2396         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2397         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
2398         EXTRA_VAR based on value of EXTRA_EXPECTED.
2399         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2400         * math/gen-libm-test.pl (parse_args): Don't output initializers
2401         for extra output values.
2403         * math/libm-test.inc (check_int): Expect result to be exactly
2404         equal to expected value and do not handle ulps.
2405         (check_long): Likewise.
2406         (check_longlong): Likewise.
2408         * math/libm-test.inc (ceil_test_data): Test for "inexact"
2409         exceptions.
2410         (cimag_test_data): Likewise.
2411         (conj_test_data): Likewise.
2412         (copysign_test_data): Likewise.
2413         (cproj_test_data): Likewise.
2414         (creal_test_data): Likewise.
2415         (fabs_test_data): Likewise.
2416         (fdim_test_data): Likewise.
2417         (finite_test_data): Likewise.
2418         (floor_test_data): Likewise.
2419         (fmax_test_data): Likewise.
2420         (fmin_test_data): Likewise.
2421         (fmod_test_data): Likewise.
2422         (fpclassify_test_data): Likewise.
2423         (frexp_test_data): Likewise.
2424         (ilogb_test_data): Likewise.
2425         (isfinite_test_data): Likewise.
2426         (isgreater_test_data): Likewise.
2427         (isgreaterequal_test_data): Likewise.
2428         (isinf_test_data): Likewise.
2429         (isless_test_data): Likewise.
2430         (islessequal_test_data): Likewise.
2431         (islessgreater_test_data): Likewise.
2432         (isnan_test_data): Likewise.
2433         (isnormal_test_data): Likewise.
2434         (issignaling_test_data): Likewise.
2435         (isunordered_test_data): Likewise.
2436         (ldexp_test_data): Likewise.
2437         (lrint_test_data): Likewise.
2438         (lrint_test_data) [TEST_FLOAT]: Disable one test.
2439         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2440         (lrint_tonearest_test_data): Test for "inexact" exceptions.
2441         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2442         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2443         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2444         test input.
2445         (lrint_towardzero_test_data): Test for "inexact" exceptions.
2446         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2447         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2448         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2449         that test input.
2450         (lrint_downward_test_data): Test for "inexact" exceptions.
2451         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2452         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2453         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2454         test input.
2455         (lrint_upward_test_data): Test for "inexact" exceptions.
2456         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2457         test input.
2458         (llrint_test_data): Test for "inexact" exceptions.
2459         (llrint_test_data) [TEST_FLOAT]: Disable one test.
2460         (llrint_tonearest_test_data): Test for "inexact" exceptions.
2461         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2462         (llrint_towardzero_test_data): Test for "inexact" exceptions.
2463         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2464         (llrint_downward_test_data): Test for "inexact" exceptions.
2465         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2466         (llrint_upward_test_data): Test for "inexact" exceptions.
2467         (logb_test_data): Likewise.
2468         (logb_downward_test_data): Likewise.
2469         (nextafter_test_data): Likewise.
2470         (nexttoward_test_data): Likewise.
2471         (remainder_test_data): Likewise.
2472         (remquo_test_data): Likewise.
2473         (scalbn_test_data): Likewise.
2474         (scalbln_test_data): Likewise.
2475         (signbit_test_data): Likewise.
2476         (sqrt_test_data): Likewise.
2477         (significand_test_data): Likewise.
2479 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2481         [BZ #15424]
2482         * benchtests/bench-modf.c (struct args): Mark arg0 as
2483         volatile.
2484         * scripts/bench.pl: Mark members of struct args as volatile.
2486 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2488         [BZ # 15497]
2489         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2490         negative infinity on POWER6 or lower.
2491         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2493 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
2495         [BZ #15442]
2496         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2497         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2498         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2499         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2500         (_FP_SETQNAN): New macro.
2501         (_FP_SETQNAN_SEMIRAW): Likewise.
2502         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2503         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2504         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2505         (FP_EXTEND): Use _FP_FRAC_SNANP.
2506         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2507         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2508         into account.
2509         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2510         New macro.
2511         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2512         Likewise.
2514 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2516         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2517         with DIVIDE_BY_ZERO_EXCEPTION.
2518         (gamma_test_data): Likewise.
2519         (lgamma_test_data): Likewise.
2520         (log_test_data): Likewise.
2521         (log10_test_data): Likewise.
2522         (log2_test_data): Likewise.
2523         (tgamma_test_data): Likewise.
2525         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2526         (acos_test_tonearest): Likewise.
2527         (acos_test_towardzero): Likewise.
2528         (acos_test_downward): Likewise.
2529         (acos_test_upward): Likewise.
2530         (acosh_test): Likewise.
2531         (asin_test): Likewise.
2532         (asin_test_tonearest): Likewise.
2533         (asin_test_towardzero): Likewise.
2534         (asin_test_downward): Likewise.
2535         (asin_test_upward): Likewise.
2536         (asinh_test): Likewise.
2537         (atan_test): Likewise.
2538         (atanh_test): Likewise.
2539         (atan2_test): Likewise.
2540         (cabs_test): Likewise.
2541         (cacos_test): Likewise.
2542         (cacosh_test): Likewise.
2543         (casin_test): Likewise.
2544         (casinh_test): Likewise.
2545         (catan_test): Likewise.
2546         (catanh_test): Likewise.
2547         (cbrt_test): Likewise.
2548         (ccos_test): Likewise.
2549         (ccosh_test): Likewise.
2550         (cexp_test): Likewise.
2551         (clog_test): Likewise.
2552         (clog10_test): Likewise.
2553         (cos_test): Likewise.
2554         (cos_test_tonearest): Likewise.
2555         (cos_test_towardzero): Likewise.
2556         (cos_test_downward): Likewise.
2557         (cos_test_upward): Likewise.
2558         (cosh_test): Likewise.
2559         (cosh_test_tonearest): Likewise.
2560         (cosh_test_towardzero): Likewise.
2561         (cosh_test_downward): Likewise.
2562         (cosh_test_upward): Likewise.
2563         (cpow_test): Likewise.
2564         (csin_test): Likewise.
2565         (csinh_test): Likewise.
2566         (csqrt_test): Likewise.
2567         (ctan_test): Likewise.
2568         (ctan_test_tonearest): Likewise.
2569         (ctan_test_towardzero): Likewise.
2570         (ctan_test_downward): Likewise.
2571         (ctan_test_upward): Likewise.
2572         (ctanh_test): Likewise.
2573         (ctanh_test_tonearest): Likewise.
2574         (ctanh_test_towardzero): Likewise.
2575         (ctanh_test_downward): Likewise.
2576         (ctanh_test_upward): Likewise.
2577         (erf_test): Likewise.
2578         (erfc_test): Likewise.
2579         (exp_test): Likewise.
2580         (exp_test_tonearest): Likewise.
2581         (exp_test_towardzero): Likewise.
2582         (exp_test_downward): Likewise.
2583         (exp_test_upward): Likewise.
2584         (exp10_test): Likewise.
2585         (exp2_test): Likewise.
2586         (expm1_test): Likewise.
2587         (fmod_test): Likewise.
2588         (gamma_test): Likewise.
2589         (hypot_test): Likewise.
2590         (j0_test): Likewise.
2591         (j1_test): Likewise.
2592         (jn_test): Likewise.
2593         (lgamma_test): Likewise.
2594         (log_test): Likewise.
2595         (log10_test): Likewise.
2596         (log1p_test): Likewise.
2597         (log2_test): Likewise.
2598         (logb_test_downward): Likewise.
2599         (pow_test): Likewise.
2600         (pow_test_tonearest): Likewise.
2601         (pow_test_towardzero): Likewise.
2602         (pow_test_downward): Likewise.
2603         (pow_test_upward): Likewise.
2604         (remainder_test): Likewise.
2605         (remquo_test): Likewise.
2606         (sin_test): Likewise.
2607         (sin_test_tonearest): Likewise.
2608         (sin_test_towardzero): Likewise.
2609         (sin_test_downward): Likewise.
2610         (sin_test_upward): Likewise.
2611         (sincos_test): Likewise.
2612         (sinh_test): Likewise.
2613         (sinh_test_tonearest): Likewise.
2614         (sinh_test_towardzero): Likewise.
2615         (sinh_test_downward): Likewise.
2616         (sinh_test_upward): Likewise.
2617         (sqrt_test): Likewise.
2618         (tan_test): Likewise.
2619         (tan_test_tonearest): Likewise.
2620         (tan_test_towardzero): Likewise.
2621         (tan_test_downward): Likewise.
2622         (tan_test_upward): Likewise.
2623         (tanh_test): Likewise.
2624         (tgamma_test): Likewise.
2625         (y0_test): Likewise.
2626         (y1_test): Likewise.
2627         (yn_test): Likewise.
2629         * math/gen-libm-test.pl (adjust_arg): Remove function.
2630         (special_function): Remove argument $in_func.  Only handle
2631         generating output for tables of tests, not inside functions.
2632         (parse_args): Likewise.
2633         (generate_testfile): Remove variable $in_func.  Update call to
2634         parse_args.
2635         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2636         (MINUS_ZERO_INIT): Rename macro to minus_zero.
2637         (PLUS_INFTY_INIT): Rename macro to plus_infty.
2638         (MINUS_INFTY_INIT): Rename macro to minus_infty.
2639         (QNAN_VALUE_INIT): Rename macro to qnan_value.
2640         (MAX_VALUE_INIT): Rename macro to max_value.
2641         (MIN_VALUE_INIT): Rename macro to min_value.
2642         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2643         (plus_zero): Remove variable.
2644         (minus_zero): Likewise.
2645         (plus_infty): Likewise.
2646         (minus_infty): Likewise.
2647         (qnan_value): Likewise.
2648         (max_value): Likewise.
2649         (min_value): Likewise.
2650         (min_subnorm_value): Likewise.
2652 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2654         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2655         uint64_t or uint32_t usage.
2656         * crypt/sha256-block.c: Likewise.
2657         * crypt/sha256-crypt.c: Likewise.
2658         * crypt/sha256.c: Likewise.
2659         * crypt/sha512-block.c: Likewise.
2660         * crypt/sha512-crypt.c: Likewise.
2661         * crypt/sha512.c: Likewise.
2662         * debug/backtrace-tst.c: Likewise.
2663         * debug/pcprofiledump.c: Likewise.
2664         * elf/cache.c: Likewise.
2665         * elf/dl-cache.c: Likewise.
2666         * elf/dl-misc.c: Likewise.
2667         * elf/dl-profile.c: Likewise.
2668         * elf/dl-support.c: Likewise.
2669         * elf/ldconfig.c: Likewise.
2670         * elf/sprof.c: Likewise.
2671         * iconv/dummy-repertoire.c: Likewise.
2672         * iconv/iconv_charmap.c: Likewise.
2673         * iconv/skeleton.c: Likewise.
2674         * iconvdata/8bit-generic.c: Likewise.
2675         * iconvdata/cp737.h: Likewise.
2676         * iconvdata/cp775.h: Likewise.
2677         * iconvdata/ibm1008.h: Likewise.
2678         * iconvdata/ibm1025.h: Likewise.
2679         * iconvdata/ibm1046.h: Likewise.
2680         * iconvdata/ibm1097.h: Likewise.
2681         * iconvdata/ibm1112.h: Likewise.
2682         * iconvdata/ibm1122.h: Likewise.
2683         * iconvdata/ibm1123.h: Likewise.
2684         * iconvdata/ibm1124.h: Likewise.
2685         * iconvdata/ibm1129.h: Likewise.
2686         * iconvdata/ibm1130.h: Likewise.
2687         * iconvdata/ibm1132.h: Likewise.
2688         * iconvdata/ibm1133.h: Likewise.
2689         * iconvdata/ibm1137.h: Likewise.
2690         * iconvdata/ibm1140.h: Likewise.
2691         * iconvdata/ibm1141.h: Likewise.
2692         * iconvdata/ibm1142.h: Likewise.
2693         * iconvdata/ibm1143.h: Likewise.
2694         * iconvdata/ibm1144.h: Likewise.
2695         * iconvdata/ibm1145.h: Likewise.
2696         * iconvdata/ibm1146.h: Likewise.
2697         * iconvdata/ibm1147.h: Likewise.
2698         * iconvdata/ibm1148.h: Likewise.
2699         * iconvdata/ibm1149.h: Likewise.
2700         * iconvdata/ibm1153.h: Likewise.
2701         * iconvdata/ibm1154.h: Likewise.
2702         * iconvdata/ibm1155.h: Likewise.
2703         * iconvdata/ibm1156.h: Likewise.
2704         * iconvdata/ibm1157.h: Likewise.
2705         * iconvdata/ibm1158.h: Likewise.
2706         * iconvdata/ibm1160.h: Likewise.
2707         * iconvdata/ibm1161.h: Likewise.
2708         * iconvdata/ibm1162.h: Likewise.
2709         * iconvdata/ibm1163.h: Likewise.
2710         * iconvdata/ibm1164.h: Likewise.
2711         * iconvdata/ibm1166.h: Likewise.
2712         * iconvdata/ibm1167.h: Likewise.
2713         * iconvdata/ibm12712.h: Likewise.
2714         * iconvdata/ibm1390.h: Likewise.
2715         * iconvdata/ibm1399.h: Likewise.
2716         * iconvdata/ibm16804.h: Likewise.
2717         * iconvdata/ibm4517.h: Likewise.
2718         * iconvdata/ibm4899.h: Likewise.
2719         * iconvdata/ibm4909.h: Likewise.
2720         * iconvdata/ibm4971.h: Likewise.
2721         * iconvdata/ibm5347.h: Likewise.
2722         * iconvdata/ibm803.h: Likewise.
2723         * iconvdata/ibm856.h: Likewise.
2724         * iconvdata/ibm901.h: Likewise.
2725         * iconvdata/ibm902.h: Likewise.
2726         * iconvdata/ibm9030.h: Likewise.
2727         * iconvdata/ibm9066.h: Likewise.
2728         * iconvdata/ibm921.h: Likewise.
2729         * iconvdata/ibm922.h: Likewise.
2730         * iconvdata/ibm9448.h: Likewise.
2731         * iconvdata/isiri-3342.h: Likewise.
2732         * iconvdata/jis0201.h: Likewise.
2733         * include/link.h: Likewise.
2734         * include/netdb.h: Likewise.
2735         * inet/check_native.c: Likewise.
2736         * inet/check_pf.c: Likewise.
2737         * inet/getipv4sourcefilter.c: Likewise.
2738         * inet/getnameinfo.c: Likewise.
2739         * inet/getsourcefilter.c: Likewise.
2740         * inet/htonl.c: Likewise.
2741         * inet/setipv4sourcefilter.c: Likewise.
2742         * inet/setsourcefilter.c: Likewise.
2743         * inet/test-inet6_opt.c: Likewise.
2744         * inet/tst-network.c: Likewise.
2745         * locale/C-collate.c: Likewise.
2746         * locale/C-ctype.c: Likewise.
2747         * locale/C-time.c: Likewise.
2748         * locale/C-translit.h: Likewise.
2749         * locale/loadarchive.c: Likewise.
2750         * locale/programs/3level.h: Likewise.
2751         * locale/programs/charmap.c: Likewise.
2752         * locale/programs/charmap.h: Likewise.
2753         * locale/programs/ld-address.c: Likewise.
2754         * locale/programs/ld-collate.c: Likewise.
2755         * locale/programs/ld-ctype.c: Likewise.
2756         * locale/programs/ld-identification.c: Likewise.
2757         * locale/programs/ld-measurement.c: Likewise.
2758         * locale/programs/ld-messages.c: Likewise.
2759         * locale/programs/ld-monetary.c: Likewise.
2760         * locale/programs/ld-name.c: Likewise.
2761         * locale/programs/ld-numeric.c: Likewise.
2762         * locale/programs/ld-paper.c: Likewise.
2763         * locale/programs/ld-telephone.c: Likewise.
2764         * locale/programs/ld-time.c: Likewise.
2765         * locale/programs/linereader.c: Likewise.
2766         * locale/programs/locale.c: Likewise.
2767         * locale/programs/locarchive.c: Likewise.
2768         * locale/programs/locfile.h: Likewise.
2769         * locale/programs/repertoire.c: Likewise.
2770         * locale/programs/simple-hash.c: Likewise.
2771         * locale/programs/simple-hash.h: Likewise.
2772         * malloc/memusage.c: Likewise.
2773         * malloc/memusagestat.c: Likewise.
2774         * nis/nis_defaults.c: Likewise.
2775         * nis/nis_hash.c: Likewise.
2776         * nis/nis_print.c: Likewise.
2777         * nis/nis_xdr.c: Likewise.
2778         * nscd/connections.c: Likewise.
2779         * nscd/hstcache.c: Likewise.
2780         * nscd/nscd_gethst_r.c: Likewise.
2781         * nscd/nscd_getserv_r.c: Likewise.
2782         * nscd/nscd_helper.c: Likewise.
2783         * nscd/servicescache.c: Likewise.
2784         * nss/makedb.c: Likewise.
2785         * nss/nss_db/db-XXX.c: Likewise.
2786         * nss/nss_db/db-initgroups.c: Likewise.
2787         * nss/nss_db/db-netgrp.c: Likewise.
2788         * nss/nss_files/files-network.c: Likewise.
2789         * nss/nss_files/files-parse.c: Likewise.
2790         * posix/bug-regex5.c: Likewise.
2791         * posix/fnmatch_loop.c: Likewise.
2792         * posix/regcomp.c: Likewise.
2793         * posix/regexec.c: Likewise.
2794         * posix/tst-rfc3484-2.c: Likewise.
2795         * posix/tst-rfc3484-3.c: Likewise.
2796         * posix/tst-rfc3484.c: Likewise.
2797         * resolv/nss_dns/dns-canon.c: Likewise.
2798         * resolv/nss_dns/dns-network.c: Likewise.
2799         * resolv/res_init.c: Likewise.
2800         * resolv/res_mkquery.c: Likewise.
2801         * resolv/tst-aton.c: Likewise.
2802         * stdlib/cxa_atexit.c: Likewise.
2803         * stdlib/cxa_finalize.c: Likewise.
2804         * stdlib/gen-fpioconst.c: Likewise.
2805         * stdlib/strtol_l.c: Likewise.
2806         * string/tst-endian.c: Likewise.
2807         * sunrpc/auth_des.c: Likewise.
2808         * sunrpc/clnt_udp.c: Likewise.
2809         * sunrpc/rtime.c: Likewise.
2810         * sunrpc/svcauth_des.c: Likewise.
2811         * sunrpc/xdr.c: Likewise.
2812         * sunrpc/xdr_intXX_t.c: Likewise.
2813         * sunrpc/xdr_rec.c: Likewise.
2814         * sysdeps/generic/ldconfig.h: Likewise.
2815         * sysdeps/generic/ldsodefs.h: Likewise.
2816         * sysdeps/generic/memusage.h: Likewise.
2817         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2818         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2819         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2820         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2821         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2822         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2823         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2824         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2825         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2826         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2827         * sysdeps/posix/getaddrinfo.c: Likewise.
2828         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2829         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2830         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2831         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2832         * sysdeps/powerpc/test-gettimebase.c: Likewise.
2833         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2834         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2835         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2836         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2837         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2838         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2839         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2840         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2841         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2842         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2843         * sysdeps/x86_64/dl-tls.h: Likewise.
2844         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2845         * time/alt_digit.c: Likewise.
2846         * time/era.c: Likewise.
2847         * wcsmbs/tst-c16c32-1.c: Likewise.
2849 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2851         * math/libm-test.inc (struct test_sincos_data): New type.
2852         (RUN_TEST_LOOP_sincos): New macro.
2853         (sincos_test_data): New variable.
2854         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2856 2013-05-16  Richard Henderson  <rth@redhat.com>
2858         * math/atest-exp2.c (LIMB64): New macro.
2859         (CONSTSZ): New macro.
2860         (mp_exp1, mp_exp_m1, mp_log2): New variables.
2861         (hexdig): Move ...
2862         (print_mpn_fp): ... to function scope.
2863         (read_mpn_hex): Remove.
2864         (get_log2): Remove.
2865         (exp2_mpn): Use mp_log2.
2866         (main): Use mp_exp1.
2868 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2870         * math/libm-test.inc: Remove comment about not testing "inexact"
2871         exceptions.
2872         (INEXACT_EXCEPTION): New macro.
2873         (NO_INEXACT_EXCEPTION): Likewise.
2874         (INVALID_EXCEPTION_OK): Update value.
2875         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2876         (OVERFLOW_EXCEPTION_OK): Likewise.
2877         (UNDERFLOW_EXCEPTION_OK): Likewise.
2878         (IGNORE_ZERO_INF_SIGN): Likewise.
2879         (ERRNO_UNCHANGED): Likewise.
2880         (ERRNO_EDOM): Likewise.
2881         (ERRNO_ERANGE): Likewise.
2882         (test_exceptions): Handle testing "inexact" exceptions.
2883         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2884         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2885         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2886         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2887         INEXACT_EXCEPTION.
2888         (rint_towardzero_test_data): Likewise.
2889         (rint_downward_test_data): Likewise.
2890         (rint_upward_test_data): Likewise.
2892         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2893         with OVERFLOW_EXCEPTION.
2894         (exp10_test_data): Likewise.
2895         (exp2_test_data): Likewise.
2896         (expm1_test_data): Likewise.
2897         (lgamma_test_data): Likewise.
2898         (pow_test_data): Likewise.
2899         (tgamma_test_data): Likewise.
2900         (yn_test_data): Remove duplicate test of overflow.
2902         * math/libm-test.inc (struct test_cc_c_data): New type.
2903         (RUN_TEST_LOOP_cc_c): New macro.
2904         (cpow_test_data): New variable.
2905         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2907         * math/libm-test.inc (struct test_f_L_data): New type.
2908         (RUN_TEST_LOOP_f_L): New macro.
2909         (llrint_test_data): New variable.
2910         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2911         (llrint_tonearest_test_data): New variable.
2912         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2913         (llrint_towardzero_test_data): New variable.
2914         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2915         (llrint_downward_test_data): New variable.
2916         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2917         (llrint_upward_test_data): New variable.
2918         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2919         (llround_test_data): New variable.
2920         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2922 2013-05-13  Peter Collingbourne  <pcc@google.com>
2924         * math/atest-exp2.c (get_log2): Remove const attribute.
2926 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
2928         * math/libm-test.inc (struct test_f_l_data): New type.
2929         (RUN_TEST_LOOP_f_l): New macro.
2930         (lrint_test_data): New variable.
2931         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2932         (lrint_tonearest_test_data): New variable.
2933         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2934         (lrint_towardzero_test_data): New variable.
2935         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2936         (lrint_downward_test_data): New variable.
2937         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2938         (lrint_upward_test_data): New variable.
2939         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2940         (lround_test_data): New variable.
2941         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2943 2013-05-15  Peter Collingbourne  <pcc@google.com>
2945         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2946         (EXTRACT_WORDS64) Use where appropriate.
2947         (INSERT_WORDS64) Likewise.
2949         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2950         constraints with x constraints.
2951         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2953         * malloc/obstack.c (_obstack_compat): Add initializer.
2955 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2957         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2958         si_trapno and add si_addr_lsb to _sifields.sigfault.
2959         (si_trapno): Remove macro.
2960         (si_addr_lsb): Define new macro.
2961         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2963 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
2965         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2966         instead of TEST_f_l.
2967         (llrint_test_tonearest): Likewise.
2968         (llrint_test_towardzero): Likewise.
2969         (llrint_test_downward): Likewise.
2970         (llrint_test_upward): Likewise.
2971         (llround_test): Likewise.
2973         * math/libm-test.inc (struct test_f_i_data): Add comment.
2974         (RUN_TEST_LOOP_f_b): New macro.
2975         (RUN_TEST_LOOP_f_b_tg): Likewise.
2976         (finite_test_data): New variable.
2977         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2978         (isfinite_test_data): New variable.
2979         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2980         (isinf_test_data): New variable.
2981         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2982         (isnan_test_data): New variable.
2983         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2984         (isnormal_test_data): New variable.
2985         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2986         (issignaling_test_data): New variable.
2987         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2988         (signbit_test_data): New variable.
2989         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2991         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2992         with INVALID_EXCEPTION.
2993         (acosh_test_data): Likewise.
2994         (asin_test_data): Likewise.
2995         (atanh_test_data): Likewise.
2996         (fmod_test_data): Likewise.
2997         (log_test_data): Likewise.
2998         (log10_test_data): Likewise.
2999         (log2_test_data): Likewise.
3000         (pow_test_data): Likewise.
3001         (sqrt_test_data): Likewise.
3002         (y0_test_data): Likewise.
3003         (y1_test_data): Likewise.
3004         (yn_test_data): Likewise.
3006         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3007         function contents.
3009         * math/libm-test.inc (struct test_ff_i_data): New type.
3010         (RUN_TEST_LOOP_ff_i_tg): New macro.
3011         (isgreater_test_data): New variable.
3012         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3013         (isgreaterequal_test_data): New variable.
3014         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3015         (isless_test_data): New variable.
3016         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3017         (islessequal_test_data): New variable.
3018         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3019         (islessgreater_test_data): New variable.
3020         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3021         (isunordered_test_data): New variable.
3022         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3024 2013-05-14  David S. Miller  <davem@davemloft.net>
3026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3028 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
3030         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3032         * math/libm-test.inc (struct test_fF_f1_data): Change type of
3033         extra_test to int.
3034         (struct test_f_i_data): Change type of max_ulp to int.
3036         * math/libm-test.inc (test_ffI_f1_data): New type.
3037         (RUN_TEST_LOOP_ffI_f1): New macro.
3038         (remquo_test_data): New variable.
3039         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3041         * setjmp/tst-setjmp-fp.c: New file.
3042         * setjmp/Makefile (tests): Add tst-setjmp-fp.
3043         (link-libm): New variable.
3044         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3046         * math/libm-test.inc (struct test_f_i_data): New type.
3047         (RUN_TEST_LOOP_f_i): New macro.
3048         (RUN_TEST_LOOP_f_i_tg): Likewise.
3049         (fpclassify_test_data): New variable.
3050         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3051         (ilogb_test_data): New variable.
3052         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3054         * math/libm-test.inc (scalbln_test): Correct function name in END
3055         call.
3057         * math/libm-test.inc (struct test_f_f1_data): Add comment.
3058         (RUN_TEST_LOOP_fI_f1): New macro.
3059         (frexp_test_data): New variable.
3060         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3062         * math/libm-test.inc (struct test_fF_f1_data): New type.
3063         (RUN_TEST_LOOP_fF_f1): New macro.
3064         (modf_test_data): New variable.
3065         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3067         * math/libm-test.inc (struct test_f_f1_data): New type.
3068         (RUN_TEST_LOOP_f_f1): New macro.
3069         (gamma_test_data): New variable.
3070         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3071         (lgamma_test_data): New variable.
3072         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3074 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
3076         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3077         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3078         (main): Comment "tls" pseudo-hwcap.
3080 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
3082         * math/libm-test.inc (struct test_fl_f_data): New type.
3083         (RUN_TEST_LOOP_fl_f): New variable.
3084         (scalbln_test_data): New variable.
3085         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3087         * math/libm-test.inc (struct test_fi_f_data): New type.
3088         (RUN_TEST_LOOP_fi_f): New macro.
3089         (ldexp_test_data): New variable.
3090         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3091         (scalbn_test_data): New variable.
3092         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3094         * math/libm-test.inc (struct test_c_f_data): New type.
3095         (RUN_TEST_LOOP_c_f): New macro.
3096         (cabs_test_data): New variable.
3097         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3098         (carg_test_data): New variable.
3099         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3100         (cimag_test_data): New variable.
3101         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3102         (creal_test_data): New variable.
3103         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3105         * math/libm-test.inc (struct test_if_f_data): New type.
3106         (RUN_TEST_LOOP_if_f): New macro.
3107         (jn_test_data): New variable.
3108         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3109         (yn_test_data): New variable.
3110         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3112         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3114 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3116         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3117         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3119 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3121         * benchtests/Makefile (CPPFLAGS-nonlib): Add
3122         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3123         (bench-deps): Add bench-timing.h.
3124         * benchtests-bench-skeleton.c: Include bench-timing.h.
3125         (main): Use TIMING_* macros instead of clock_gettime.
3126         * benchtests/bench-timing.h: New file.
3128         [BZ #14582]
3129         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3130         Renamed from _LIB_VERSION.
3131         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3133 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
3135         * math/libm-test.inc (struct test_fff_f_data): New type.
3136         (RUN_TEST_LOOP_fff_f): New macro.
3137         (fma_test_data): New variable.
3138         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3139         (fma_towardzero_test_data): New variable.
3140         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3141         (fma_downward_test_data): New variable.
3142         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3143         (fma_upward_test_data): New variable.
3144         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3146         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3147         (struct test_c_c_data): New type.
3148         (RUN_TEST_LOOP_c_c): New macro.
3149         (cacos_test_data): New variable.
3150         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3151         (cacosh_test_data): New variable.
3152         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3153         (casin_test_data): New variable.
3154         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3155         (casinh_test_data): New variable.
3156         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3157         (catan_test_data): New variable.
3158         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3159         (catanh_test_data): New variable.
3160         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3161         (ccos_test_data): New variable.
3162         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3163         (ccosh_test_data): New variable.
3164         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3165         (cexp_test_data): New variable.
3166         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3167         (clog_test_data): New variable.
3168         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3169         (clog10_test_data): New variable.
3170         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3171         (conj_test_data): New variable.
3172         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3173         (cproj_test_data): New variable.
3174         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3175         (csin_test_data): New variable.
3176         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3177         (csinh_test_data): New variable.
3178         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3179         (csqrt_test_data): New variable.
3180         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3181         (ctan_test_data): New variable.
3182         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3183         (ctan_tonearest_test_data): New variable.
3184         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3185         (ctan_towardzero_test_data): New variable.
3186         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3187         (ctan_downward_test_data): New variable.
3188         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3189         (ctan_upward_test_data): New variable.
3190         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3191         (ctanh_test_data): New variable.
3192         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3193         (ctanh_tonearest_test_data): New variable.
3194         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3195         (ctanh_towardzero_test_data): New variable.
3196         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3197         (ctanh_downward_test_data): New variable.
3198         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3199         (ctanh_upward_test_data): New variable.
3200         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3201         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3202         of BUILD_COMPLEX.
3204         * math/libm-test.inc (struct test_ff_f_data): New type.
3205         (struct test_ff_f_data_nexttoward): Likewise.
3206         (RUN_TEST_LOOP_2_f): New macro.
3207         (RUN_TEST_LOOP_ff_f): Likewise.
3208         (atan2_test_data): New variable.
3209         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3210         (copysign_test_data): New variable.
3211         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3212         (fdim_test_data): New variable.
3213         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3214         (fmax_test_data): New variable.
3215         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3216         (fmin_test_data): New variable.
3217         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3218         (fmod_test_data): New variable.
3219         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3220         (hypot_test_data): New variable.
3221         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3222         (nextafter_test_data): New variable.
3223         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3224         (nexttoward_test_data): New variable.
3225         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3226         (pow_test_data): New variable.
3227         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3228         (pow_tonearest_test_data): New variable.
3229         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3230         (pow_towardzero_test_data): New variable.
3231         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3232         (pow_downward_test_data): New variable.
3233         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3234         (pow_upward_test_data): New variable.
3235         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3236         (remainder_test_data): New variable.
3237         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3238         (scalb_test_data): New variable.
3239         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3240         * sysdeps/i386/fpu/libm-test-ulps: Update.
3242 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
3244         * math/libm-test.inc (fma_test): Use max_value instead of local
3245         variable fltmax.
3246         (nextafter_test): Likewise.
3248         * math/libm-test.inc (acos_towardzero_test_data): New variable.
3249         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3250         (acos_downward_test_data): New variable.
3251         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3252         (acos_upward_test_data): New variable.
3253         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3254         (acosh_test_data): New variable.
3255         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3256         (asin_test_data): New variable.
3257         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3258         (asin_tonearest_test_data): New variable.
3259         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3260         (asin_towardzero_test_data): New variable.
3261         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3262         (asin_downward_test_data): New variable.
3263         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3264         (asin_upward_test_data): New variable.
3265         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3266         (asinh_test_data): New variable.
3267         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3268         (atan_test_data): New variable.
3269         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3270         (atanh_test_data): New variable.
3271         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3272         (cbrt_test_data): New variable.
3273         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3274         (ceil_test_data): New variable.
3275         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3276         (cos_test_data): New variable.
3277         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3278         (cos_tonearest_test_data): New variable.
3279         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3280         (cos_towardzero_test_data): New variable.
3281         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3282         (cos_downward_test_data): New variable.
3283         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3284         (cos_upward_test_data): New variable.
3285         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3286         (cosh_test_data): New variable.
3287         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3288         (cosh_tonearest_test_data): New variable.
3289         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3290         (cosh_towardzero_test_data): New variable.
3291         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3292         (cosh_downward_test_data): New variable.
3293         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3294         (cosh_upward_test_data): New variable.
3295         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3296         (erf_test_data): New variable.
3297         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3298         (erfc_test_data): New variable.
3299         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3300         (exp_test_data): New variable.
3301         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3302         (exp_tonearest_test_data): New variable.
3303         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3304         (exp_towardzero_test_data): New variable.
3305         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3306         (exp_downward_test_data): New variable.
3307         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3308         (exp_upward_test_data): New variable.
3309         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3310         (exp10_test_data): New variable.
3311         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3312         (exp2_test_data): New variable.
3313         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3314         (expm1_test_data): New variable.
3315         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3316         (fabs_test_data): New variable.
3317         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3318         (floor_test_data): New variable.
3319         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3320         (j0_test_data): New variable.
3321         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3322         (j1_test_data): New variable.
3323         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3324         (log_test_data): New variable.
3325         (log_test): Run tests with RUN_TEST_LOOP_f_f.
3326         (log10_test_data): New variable.
3327         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3328         (log1p_test_data): New variable.
3329         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3330         (log2_test_data): New variable.
3331         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3332         (logb_test_data): New variable.
3333         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3334         (logb_downward_test_data): New variable.
3335         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3336         (nearbyint_test_data): New variable.
3337         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3338         (rint_test_data): New variable.
3339         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3340         (rint_tonearest_test_data): New variable.
3341         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3342         (rint_towardzero_test_data): New variable.
3343         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3344         (rint_downward_test_data): New variable.
3345         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3346         (rint_upward_test_data): New variable.
3347         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3348         (round_test_data): New variable.
3349         (round_test): Run tests with RUN_TEST_LOOP_f_f.
3350         (sin_test_data): New variable.
3351         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3352         (sin_tonearest_test_data): New variable.
3353         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3354         (sin_towardzero_test_data): New variable.
3355         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3356         (sin_downward_test_data): New variable.
3357         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3358         (sin_upward_test_data): New variable.
3359         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3360         (sinh_test_data): New variable.
3361         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3362         (sinh_tonearest_test_data): New variable.
3363         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3364         (sinh_towardzero_test_data): New variable.
3365         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3366         (sinh_downward_test_data): New variable.
3367         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3368         (sinh_upward_test_data): New variable.
3369         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3370         (sqrt_test_data): New variable.
3371         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3372         (tan_test_data): New variable.
3373         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3374         (tan_tonearest_test_data): New variable.
3375         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3376         (tan_towardzero_test_data): New variable.
3377         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3378         (tan_downward_test_data): New variable.
3379         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3380         (tan_upward_test_data): New variable.
3381         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3382         (tanh_test_data): New variable.
3383         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3384         (tgamma_test_data): New variable.
3385         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3386         (trunc_test_data): New variable.
3387         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3388         (y0_test_data): New variable.
3389         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3390         (y1_test_data): New variable.
3391         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3392         (significand_test_data): New variable.
3393         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3395 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
3397         [BZ #12387]
3398         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3400 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3402         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3404 2013-05-10  Andreas Jaeger  <aj@suse.de>
3406         [BZ #15448]
3407         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3408         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3410 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
3412         * math/gen-libm-test.pl (adjust_arg): New function.
3413         (special_functions): Handle generating output in both functions
3414         and arrays.
3415         (parse_args): Likewise.
3416         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
3417         $in_func argument to parse_args.
3418         * math/libm-test.inc (struct test_f_f_data): New type.
3419         (IF_ROUND_INIT_): New macro.
3420         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3421         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3422         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3423         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3424         (ROUND_RESTORE_): Likewise.
3425         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3426         (ROUND_RESTORE_FE_TONEAREST): Likewise.
3427         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3428         (ROUND_RESTORE_FE_UPWARD): Likewise.
3429         (RUN_TEST_LOOP_f_f): New macro.
3430         (acos_test_data): New variable.
3431         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3432         (acos_tonearest_test_data): New variable.
3433         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3435 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3437         * benchtests/bench-skeleton.c (startup): Fix coding style.
3439 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
3441         [BZ #6809]
3442         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3443         negative infinity argument.
3444         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3445         negative infinity argument.
3446         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3447         negative infinity argument.
3448         * math/libm-test.inc (tgamma_test): Expect errno to be set for
3449         domain errors.
3451 2013-05-10  Florian Weimer  <fweimer@redhat.com>
3453         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3454         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3455         * iconv/iconv_prog.c (main): Likewise.
3456         * locale/programs/charmap-dir.c (charmap_readdir)
3457         (fopen_uncompressed): Likewise.
3458         * locale/programs/locfile.c (siblings_uncached)
3459         (write_locale_data): Use lstat64 instead of lstat.
3460         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3461         stat.
3463 2013-05-10  Andreas Jaeger  <aj@suse.de>
3465         [BZ #15395]
3466         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3467         localization.
3468         Include <locale.h>.
3470 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
3472         * elf/dl-close.c (_dl_close_worker): Add comments.
3474 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
3476         [BZ #15359]
3477         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3478         high part of pi/2.
3479         (__ieee754_rem_pio2l): Update comments.
3481         [BZ #15429]
3482         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3483         high part of pi/2.
3484         (__ieee754_rem_pio2l): Update comments.
3486         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3487         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3489         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3490         M_PI_4l.
3492         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3493         (M_PI_34_LOG10El): Likewise.
3494         (M_PI2_LOG10El): Likewise.
3495         (M_PI4_LOG10El): Likewise.
3496         (M_PI_LOG10El): Likewise.
3498 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3502 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
3504         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3505         (MINUS_ZERO_INIT): Likewise.
3506         (PLUS_INFTY_INIT): Likewise.
3507         (MINUS_INFTY_INIT): Likewise.
3508         (QNAN_VALUE_INIT): Likewise.
3509         (MAX_VALUE_INIT): Likewise.
3510         (MIN_VALUE_INIT): Likewise.
3511         (MIN_SUBNORM_VALUE_INIT): Likewise.
3512         (plus_zero): Initialize with PLUS_ZERO_INIT.
3513         (minus_zero): Initialize with MINUS_ZERO_INIT.
3514         (plus_infty): Initialize with PLUS_INFTY_INIT.
3515         (minus_infty): Initialize with MINUS_INFTY_INIT.
3516         (qnan_value): Initialize with QNAN_VALUE_INIT.
3517         (max_value): Initialize with MAX_VALUE_INIT.
3518         (min_value): Initialize with MIN_VALUE_INIT.
3519         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3521         * math/libm-test.inc (RUN_TEST_if_f): New macro.
3522         (jn_test): Use TEST_if_f instead of TEST_ff_f.
3523         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3524         (yn_test): Use TEST_if_f instead of TEST_ff_f.
3526         * math/libm-test.inc (RUN_TEST_f_f): New macro.
3527         (RUN_TEST_2_f): Likewise.
3528         (RUN_TEST_ff_f): Likewise.
3529         (RUN_TEST_fi_f): Likewise.
3530         (RUN_TEST_fl_f): Likewise.
3531         (RUN_TEST_fff_f): Likewise.
3532         (RUN_TEST_c_f): Likewise.
3533         (RUN_TEST_f_f1): Likewise.
3534         (RUN_TEST_fF_f1): Likewise.
3535         (RUN_TEST_fI_f1): Likewise.
3536         (RUN_TEST_ffI_f1): Likewise.
3537         (RUN_TEST_c_c): Likewise.
3538         (RUN_TEST_cc_c): Likewise.
3539         (RUN_TEST_f_i): Likewise.
3540         (RUN_TEST_f_i_tg): Likewise.
3541         (RUN_TEST_ff_i_tg): Likewise.
3542         (RUN_TEST_f_b): Likewise.
3543         (RUN_TEST_f_b_tg): Likewise.
3544         (RUN_TEST_f_l): Likewise.
3545         (RUN_TEST_f_L): Likewise.
3546         (RUN_TEST_sincos): Likewise.
3547         * math/gen-libm-test.pl (new_test): Take new argument to indicate
3548         whether to show exceptions.  Do not include ");\n" in return
3549         value.
3550         (special_functions): Output call to RUN_TEST_sincos instead of
3551         check_float calls.  Update calls to new_test.
3552         (parse_args): Output call to single RUN_TEST_* macro instead of
3553         check_* calls and other assignments.  Update calls to new_test.
3555         [BZ #2546]
3556         [BZ #2560]
3557         [BZ #5159]
3558         [BZ #15426]
3559         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3560         input to result for tgamma overflow.
3561         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3562         (gamma_coeff): New variable.
3563         (NCOEFF): New macro.
3564         (gamma_positive): New function.
3565         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3566         underflow here.  Use gamma_positive instead of exp (lgamma) for
3567         other arguments.
3568         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3569         (gamma_coeff): New variable.
3570         (NCOEFF): New macro.
3571         (gammaf_positive): New function.
3572         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3573         underflow here.  Use gamma_positive instead of exp (lgamma) for
3574         other arguments.
3575         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3576         (gamma_coeff): New variable.
3577         (NCOEFF): New macro.
3578         (gammal_positive): New function.
3579         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3580         underflow here.  Use gamma_positive instead of exp (lgamma) for
3581         other arguments.
3582         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3583         (gamma_coeff): New variable.
3584         (NCOEFF): New macro.
3585         (gammal_positive): New function.
3586         (__ieee754_gammal_r): Handle positive infinity, overflow and
3587         underflow here.  Handle NaN the same as positive infinity.  Remove
3588         check x < 0xffffffff for negative integers.  Use gamma_positive
3589         instead of exp (lgamma) for other arguments.
3590         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3591         (gamma_coeff): New variable.
3592         (NCOEFF): New macro.
3593         (gammal_positive): New function.
3594         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3595         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3596         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3597         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3598         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3599         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3600         * sysdeps/generic/math_private.h (__gamma_productf): New
3601         prototype.
3602         (__gamma_product): Likewise.
3603         (__gamma_productl): Likewise.
3604         * math/Makefile (libm-calls): Add gamma_product.
3605         * math/libm-test.inc (tgamma_test): Add more tests.
3606         * sysdeps/i386/fpu/libm-test-ulps: Update.
3607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3609 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
3611         * benchtests/bench-skeleton.c (main): Preheat CPU.
3613 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
3615         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3617 2013-05-07  Roland McGrath  <roland@hack.frob.com>
3619         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3620         and _dl_skip_args_internal.
3622 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
3624         * manual/message.texi (Message Translation): Talk about users.
3625         Message to key mapping impacts design.
3627 2013-05-06  Roland McGrath  <roland@hack.frob.com>
3629         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3631         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3633         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3634         * sysdeps/wordsize-64/glob64.c: ... here.
3636         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3637         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3638         New macros.
3640         * debug/getlogin_r_chk.c: Moved to ...
3641         * login/getlogin_r_chk.c: ... here.
3642         * debug/Makefile (routines): Move getlogin_r_chk to ...
3643         * login/Makefile (routines): ... here.
3644         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3645         * login/Versions (libc: GLIBC_2.4): ... here.
3647         * io/poll.c (__poll): Renamed from poll.
3648         Add libc_hidden_def.
3649         (poll): Define as weak alias.
3651         * debug/ptsname_r_chk.c: Moved to ...
3652         * login/ptsname_r_chk.c: ... here.
3653         * debug/Makefile (routines): Move ptsname_r_chk to ...
3654         * login/Makefile (routines): ... here.
3655         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3656         * login/Versions (libc: GLIBC_2.4): ... here.
3658         * posix/getlogin.c: Moved to ...
3659         * login/getlogin.c: ... here.
3660         * posix/getlogin_r.c: Moved to ...
3661         * login/getlogin_r.c: ... here.
3662         * posix/getlogin_r.c: Moved to ...
3663         * login/getlogin_r.c: ... here.
3664         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3665         * login/Makefile (routines): ... here.
3666         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3667         * login/Versions (libc: GLIBC_2.0): ... here.
3669         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3670         (setrlimit): Define as weak alias.
3672         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3673         Call __ names for open, ftruncate, and close.
3674         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3675         (truncate): Define as weak alias.
3677 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
3679         * math/gen-libm-test.pl (parse_args): Initialize x before each
3680         test of frexp, modf and remquo.
3682         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3683         test signgam value.
3685 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3687         [BZ #15418]
3688         [BZ #15419]
3689         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3690         internal tests.
3691         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3693 2013-05-06  Roland McGrath  <roland@hack.frob.com>
3695         * elf/dl-writev.h: New file.
3696         * elf/dl-misc.c: Include it.
3697         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3698         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3700 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
3702         * math/libm-test.inc (noXFails): Remove variable.
3703         (noXPasses): Likewise.
3704         (BUILD_COMPLEX_INT): Remove macro.
3705         (print_screen): Remove xfail argument.
3706         (print_screen_max_error): Likewise.
3707         (update_stats): Likewise.
3708         (print_max_error): Likewise.  Update calls to other affected
3709         functions.
3710         (print_complex_max_error): Likewise.
3711         (test_single_exception): Update calls to print_screen.
3712         (test_single_errno): Likewise.
3713         (check_float_internal): Remove xfail argument.  Update calls to
3714         other affected functions.
3715         (check_float): Likewise.
3716         (check_complex): Likewise.
3717         (check_int): Likewise.
3718         (check_long): Likewise.
3719         (check_bool): Likewise.
3720         (check_longlong): Likewise.
3721         (main): Don't print noXFails and noXPasses.
3722         * math/gen-libm-test.pl (top level): Don't mention expected
3723         failure handling in comment.
3724         (new_test): Don't handle expected failures.
3725         (parse_args): Don't mention expected failure handling in comment.
3726         (generate_testfile): Don't handle expected failures.
3727         (parse_ulps): Likewise.
3728         (print_ulps_file): Likewise.
3729         (get_failure): Remove function.
3730         (output_test): Don't handle expected failures.
3731         * make/README.libm-test: Don't mention expected failure handling.
3733         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
3734         (minus_zero): Likewise.
3735         (plus_infty): Likewise.
3736         (minus_infty): Likewise.
3737         (qnan_value): Likewise.
3738         (max_value): Likewise.
3739         (min_value): Likewise.
3740         (min_subnorm_value): Likewise.
3741         (initialize): Do not initialize those variables dynamically.
3743 2013-05-03  Roland McGrath  <roland@hack.frob.com>
3745         * io/open.c (__open_2): Moved to ...
3746         * io/open_2.c: ... this new file.
3747         * io/open64.c (__open64_2): Moved to ...
3748         * io/open64_2.c: ... this new file.
3749         * io/openat.c (__openat_2): Moved to ...
3750         * io/openat_2.c: ... this new file.
3751         * io/openat64.c (__openat64_2): Moved to ...
3752         * io/openat64_2.c: ... this new file.
3753         * io/Makefile (routines): Add them.
3754         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3755         * sysdeps/unix/sysv/linux/open_2.c: File removed.
3756         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3757         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3758         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3759         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3760         (__openat64): Add hidden_ver.
3761         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3762         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3764         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3765         Separately conditionalize setting of GLRO(dl_sysinfo) so
3766         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3767         as well, but the actual setting is only under [NEED_DL_SYSINFO].
3769 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3771         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3772         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3773         definition.
3774         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3775         * sysdeps/unix/sysv/linux/powerpc/init-first.c
3776         (_libc_vdso_platform_setup): Add __vdso_time initialization.
3777         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3778         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3780 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
3782         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3783         test signgam value.
3785         * math/libm-test.inc (hypot_test): Do not use
3786         IGNORE_ZERO_INF_SIGN.
3788 2013-05-03  Andreas Jaeger  <aj@suse.de>
3790         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3791         Linux 3.9.
3792         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3793         (PF_MAX): Adjust for VSOCK change.
3795 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3799 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
3801         [BZ #15264]
3802         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3803         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3804         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3806 2013-05-02  David S. Miller  <davem@davemloft.net>
3808         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3810 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
3812         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3814 2013-05-01  Roland McGrath  <roland@hack.frob.com>
3816         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3818 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
3820         [BZ #14952]
3821         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3822         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3823         Use __attribute__ ((__gnu_inline__)).
3824         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3825         Don't use __attribute__ ((__gnu_inline__)).
3827 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
3829         [BZ #15423]
3830         * math/s_catan.c (__catan): Handle small real or imaginary part of
3831         input specially to avoid spurious underflow.
3832         * math/s_catanf.c (__catanf): Likewise.
3833         * math/s_catanh.c (__catanh): Likewise.
3834         * math/s_catanhf.c (__catanhf): Likewise.
3835         * math/s_catanhl.c (__catanhl): Likewise.
3836         * math/s_catanl.c (__catanl): Likewise.
3837         * math/libm-test.inc (catan_test): Add more tests.
3838         (catanh_test): Likewise.
3839         * sysdeps/i386/fpu/libm-test-ulps: Update.
3840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3842 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3846 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
3848         [BZ #15416]
3849         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3850         accurately for denominator in atan2.
3851         * math/s_catanf.c (__catanf): Likewise.
3852         * math/s_catanh.c (__catanh): Likewise.
3853         * math/s_catanhf.c (__catanhf): Likewise.
3854         * math/s_catanhl.c (__catanhl): Likewise.
3855         * math/s_catanl.c (__catanl): Likewise.
3856         * math/libm-test.inc (catan_test): Add more tests.
3857         (catanh_test): Likewise.
3858         * sysdeps/i386/fpu/libm-test-ulps: Update.
3859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3861 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3863         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3865         * benchtests/Makefile (bench): Remove slow benchmarks.
3866         * benchtests/atan-inputs: Add slow benchmark inputs.
3867         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3868         (BENCH_FUNC): Accept variant offset.
3869         (VARIANT): Define.
3870         * benchtests/bench-skeleton.c (main): Run benchmark for each
3871         variant.
3872         * benchtests/cos-inputs: Add slow benchmark inputs.
3873         * benchtests/exp-inputs: Likewise.
3874         * benchtests/pow-inputs: Likewise.
3875         * benchtests/sin-inputs: Likewise.
3876         * benchtests/slowatan-inputs: Remove.
3877         * benchtests/slowatan.c: Remove.
3878         * benchtests/slowcos-inputs: Remove.
3879         * benchtests/slowcos.c: Remove.
3880         * benchtests/slowexp-inputs: Remove.
3881         * benchtests/slowexp.c: Remove.
3882         * benchtests/slowpow-inputs: Remove.
3883         * benchtests/slowpow.c: Remove.
3884         * benchtests/slowsin-inputs: Remove.
3885         * benchtests/slowsin.c: Remove.
3886         * benchtests/slowtan-inputs: Remove.
3887         * benchtests/slowtan.c: Remove.
3888         * benchtests/tan-inputs: Add slow benchmark inputs.
3889         * scripts/bench.pl: Parse comments and directives.
3891         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
3892         in CPPFLAGS.
3893         ($(objpfx)bench-%.c): Remove *-ITER.
3894         * benchtests/bench-modf.c: Remove definition of ITER.
3895         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3896         (main): Loop for DURATION seconds instead of fixed number of
3897         iterations.
3898         * scripts/bench.pl: Don't expect iterations in parameters.
3900 2013-04-29  Roland McGrath  <roland@hack.frob.com>
3902         * io/fchdir.c (__fchdir): Renamed from fchdir.
3903         (fchdir): Define as weak alias.
3905 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
3907         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3908         (ERRNO_EDOM): Likewise.
3909         (ERRNO_ERANGE): Likewise.
3910         (noErrnoTests): New variable.
3911         (init_max_error): Set errno to 0.
3912         (test_single_errno): New function.
3913         (test_errno): Likewise.
3914         (check_float_internal): Call test_errno.  Set errno to 0.
3915         (check_complex): Refer to errno tests in comment.
3916         (check_int): Call test_errno.  Set errno to 0.
3917         (check_long): Likewise.
3918         (check_bool): Likewise.
3919         (check_longlong): Likewise.
3920         (cos_test): Use ERRNO_* flags for errno tests instead of
3921         check_int.
3922         (expm1_test): Likewise.
3923         (fmod_test): Likewise.
3924         (ilogb_test): Likewise.
3925         (lgamma_test): Likewise.
3926         (pow_test): Likewise.
3927         (remainder_test): Likewise.
3928         (sin_test): Likewise.
3929         (tan_test): Likewise.
3930         (yn_test): Likewise.
3931         (initialize): Set errno to 0.
3932         (main): Print number of errno tests.
3933         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3935 2013-04-29  Andreas Jaeger  <aj@suse.de>
3937         [BZ #15084]
3938         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3939         and RES_USEVC.
3941         [BZ #15085]
3942         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3943         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3944         unimplemented.
3946         [BZ #15380]
3947         * stdlib/random.c (__initstate): Return NULL if
3948         __initstate fails.
3950         [BZ #15086]
3951         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3952         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3953         RES_SNGLKUPREOP.
3955 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3957         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3959 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
3961         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3962         of individual tests.
3963         (casin_test): Likewise.
3964         (casinh_test): Likewise.
3966 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
3968         [BZ #15409]
3969         * math/s_catan.c (__catan): Handle arguments with large real or
3970         imaginary part separately without squaring.
3971         * math/s_catanf.c (__catanf): Likewise.
3972         * math/s_catanh.c (__catanh): Likewise.
3973         * math/s_catanhf.c (__catanhf): Likewise.
3974         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3975         and redefine.
3976         (__catanhl): Handle arguments with large real or imaginary part
3977         separately without squaring.
3978         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3979         and redefine.
3980         (__catanl): Handle arguments with large real or imaginary part
3981         separately without squaring.
3982         * math/libm-test.inc (catan_test): Add more tests.
3983         (catanh_test): Likewise.
3984         * sysdeps/i386/fpu/libm-test-ulps: Update.
3985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3987 2013-04-27  Andreas Jaeger  <aj@suse.de>
3989         [BZ #15007]
3990         * stdlib/stdlib.h: Update guards for qecvt.
3991         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3992         <stdlib.h>.
3994 2013-04-27  Allan McRae  <allan@archlinux.org>
3996         * sysdeps/i386/fpu/libm-test-ulps: Update.
3998 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
4000         [BZ #15406]
4001         * math/s_catan.c: Include <float.h>.
4002         (__catan): Ensure underflow exception occurs for underflowed
4003         result.
4004         * math/s_catanf.c: Include <float.h>.
4005         (__catanf): Ensure underflow exception occurs for underflowed
4006         result.
4007         * math/s_catanh.c: Include <float.h>.
4008         (__catanh): Ensure underflow exception occurs for underflowed
4009         result.
4010         * math/s_catanhf.c: Include <float.h>.
4011         (__catanhf): Ensure underflow exception occurs for underflowed
4012         result.
4013         * math/s_catanhl.c: Include <float.h>.
4014         (__catanhl): Ensure underflow exception occurs for underflowed
4015         result.
4016         * math/s_catanl.c: Include <float.h>.
4017         (__catanl): Ensure underflow exception occurs for underflowed
4018         result.
4019         * math/libm-test.inc (catan_test): Add more tests.
4020         (catanh_test): Likewise.
4022         [BZ #15405]
4023         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4024         underflowed result.
4025         * math/s_ccoshf.c (__ccoshf): Likewise.
4026         * math/s_ccoshl.c (__ccoshl): Likewise.
4027         * math/s_csin.c (__csin): Likewise.
4028         * math/s_csinf.c (__csinf): Likewise.
4029         * math/s_csinh.c (__csinh): Likewise.
4030         * math/s_csinhf.c (__csinhf): Likewise.
4031         * math/s_csinhl.c (__csinhl): Likewise.
4032         * math/s_csinl.c (__csinl): Likewise.
4033         * math/libm-test.inc (ccos_test): Add more tests.
4034         (ccosh_test): Likewise.
4035         (csin_test): Likewise.
4036         (csinh_test): Likewise.
4038 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4040         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4041         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4042         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4043         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4044         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4045         powerpc/power5+/fpu folders.
4046         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4049 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
4051         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4053 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
4055         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4056         additions to variable.
4057         [$(config-machine) = x86_64] (modules-names): Likewise.
4058         ($(objpfx)tst-audit3): Remove dependency.
4059         ($(objpfx)tst-audit3.out): Likewise.
4060         ($(objpfx)tst-audit4): Likewise.
4061         ($(objpfx)tst-audit4.out): Likewise.
4062         ($(objpfx)tst-audit5): Likewise.
4063         ($(objpfx)tst-audit5.out): Likewise.
4064         ($(objpfx)tst-audit6): Likewise.
4065         ($(objpfx)tst-audit6.out): Likewise.
4066         ($(objpfx)tst-audit7): Likewise.
4067         ($(objpfx)tst-audit7.out): Likewise.
4068         (tst-audit3-ENV): Remove variable.
4069         (tst-audit4-ENV): Likewise.
4070         (tst-audit5-ENV): Likewise.
4071         (tst-audit6-ENV): Likewise.
4072         (tst-audit7-ENV): Likewise.
4073         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4074         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4075         addition to variable.
4076         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4077         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4078         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4079         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4080         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4081         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4082         tst-audit3, tst-audit4 and tst-audit5.
4083         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4084         tst-audit6 and tst-audit7.
4085         [$(subdir) = elf] (modules-names): Add audit modules for those
4086         tests.
4087         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4088         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4089         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4090         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4091         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4092         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4093         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4094         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4095         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4096         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4097         [$(subdir) = elf] (tst-audit3-ENV): New variable.
4098         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4099         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4100         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4101         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4102         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4103         Likewise.
4104         [$(subdir) = elf && $(config-cflags-avx) = yes]
4105         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4106         [$(subdir) = elf && $(config-cflags-avx) = yes]
4107         (CFLAGS-tst-auditmod4a.c): Likewise.
4108         [$(subdir) = elf && $(config-cflags-avx) = yes]
4109         (CFLAGS-tst-auditmod4b.c): Likewise.
4110         [$(subdir) = elf && $(config-cflags-avx) = yes]
4111         (CFLAGS-tst-auditmod6b.c): Likewise.
4112         [$(subdir) = elf && $(config-cflags-avx) = yes]
4113         (CFLAGS-tst-auditmod6c.c): Likewise.
4114         [$(subdir) = elf && $(config-cflags-avx) = yes]
4115         (CFLAGS-tst-auditmod7b.c): Likewise.
4116         * elf/tst-audit3.c: Move to ...
4117         * sysdeps/x86_64/tst-audit3.c: ... here.
4118         * elf/tst-audit4.c: Move to ...
4119         * sysdeps/x86_64/tst-audit4.c: ... here.
4120         * elf/tst-audit5.c: Move to ...
4121         * sysdeps/x86_64/tst-audit5.c: ... here.
4122         * elf/tst-audit6.c: Move to ...
4123         * sysdeps/x86_64/tst-audit6.c: ... here.
4124         * elf/tst-audit7.c: Move to ...
4125         * sysdeps/x86_64/tst-audit7.c: ... here.
4126         * elf/tst-auditmod3a.c: Move to ...
4127         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4128         * elf/tst-auditmod3b.c: Move to ...
4129         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4130         * elf/tst-auditmod4a.c: Move to ...
4131         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4132         * elf/tst-auditmod4b.c: Move to ...
4133         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4134         * elf/tst-auditmod5a.c: Move to ...
4135         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4136         * elf/tst-auditmod5b.c: Move to ...
4137         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4138         * elf/tst-auditmod6a.c: Move to ...
4139         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4140         * elf/tst-auditmod6b.c: Move to ...
4141         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4142         * elf/tst-auditmod6c.c: Move to ...
4143         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4144         * elf/tst-auditmod7a.c: Move to ...
4145         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4146         * elf/tst-auditmod7b.c: Move to ...
4147         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4149 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
4151         [BZ #15366]
4152         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4153         define unconditionally.
4154         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4155         define unconditionally.
4156         (INT8_C, INT16_C, etc.): Likewise.
4158 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
4160         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4161         __ehdr_start with hidden visibility.
4163         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4165 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
4167         * math/libm-test.inc (cos_test): Use accurate hex constants.
4168         (sincost_test): Likewise.
4170 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
4172         * math/libm-test.inc (catan_test): Add more tests.
4173         (catanh_test): Likewise.
4175         * math/s_catanf.c (__catanf): Use suffixed floating-point
4176         constants.
4177         * math/s_catanhf.c (__catanhf): Likewise.
4178         * math/s_catanhl.c (__catanhl): Likewise.
4179         * math/s_catanl.c (__catanl): Likewise.
4181         [BZ #15394]
4182         * math/s_catan.c (__catan): Calculate imaginary part of result
4183         with log1p not log unless computing log of number close to 0.
4184         * math/s_catanf.c (__catanf): Likewise.
4185         * math/s_catanl.c (__catanl): Likewise.
4186         * math/s_catanh.c (__catanh): Calculate real part of result with
4187         log1p not log unless computing log of number close to 0.
4188         * math/s_catanhf.c (__catanhf): Likewise.
4189         * math/s_catanhl.c (__catanhl): Likewise.
4190         * math/libm-test.inc (catan_test): Add more tests.
4191         (catanh_test): Likewise.
4192         * sysdeps/i386/fpu/libm-test-ulps: Update.
4193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4195 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4197         * benchtests/Makefile: Mention files in which fast and slow
4198         paths of math functions are implemented.
4200 2013-04-23  Roland McGrath  <roland@hack.frob.com>
4202         * sysdeps/posix/timespec_get.c: New file.
4204 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4206         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4207         POWER.
4208         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4209         for POWER.
4210         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4211         powerpc/power5/fpu folders.
4212         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4213         * benchtests/Makefile: Add modf testcase.
4214         * benchtests/bench-modf.c: New file: Benchmark test for mo
4216 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4218         [BZ #14888]
4219         * time/Makefile (tests): Add tst-strptime-whitespace.
4220         * time/strptime_l.c (get_number): Use ISSPACE.
4221         (__strptime_internal): Likewise.
4222         * time/tst-strptime-whitespace.c: New test case.
4224 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
4226         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4227         member.
4228         (_nss_files_init): Set it here.
4230 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
4232         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4233         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4234         unsigned.
4236 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
4238         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4240 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4242         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4243         size just once.
4245 2013-04-21  David S. Miller  <davem@davemloft.net>
4247         * po/ru.po: Update Russion translation from translation project.
4249 2013-04-17  Adam Conrad  <adconrad@0c3.net>
4251         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4252         and setfsgid.
4254 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
4256         * configure.in: Remove i386 configure warning. Remove i386 case.
4257         * configure: Regenerate.
4258         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
4259         Add example to error message.
4260         * sysdeps/i386/configure: Regenerate.
4262 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4264         * benchtests/Makefile (bench): Add cos, tan, slowcos and
4265         slowtan.
4266         * benchtests/cos-inputs: New file.
4267         * benchtests/slowcos-inputs: New file.
4268         * benchtests/slowcos.c: New file.
4269         * benchtests/slowtan-inputs: New file.
4270         * benchtests/slowtan.c: New file.
4271         * benchtests/tan-inputs: New file.
4273 2013-04-16  Roland McGrath  <roland@hack.frob.com>
4275         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4276         considered kosher.
4278 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4280         * benchtests/Makefile: Include cppflags-iterator.mk to add
4281         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4283         * Makefile.in (bench-clean): New target.
4284         * benchtests/Makefile (bench-clean): Likewise.
4286 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
4288         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4290 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
4292         * stdio-common/tstdiomisc.c: Fix coding-style violation.
4294 2013-04-15  Andreas Schwab  <schwab@suse.de>
4296         * nscd/grpcache.c (cache_addgr): Properly check for short write.
4297         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4298         * nscd/pwdcache.c (cache_addpw): Likewise.
4299         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
4300         more than recsize.
4302 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4304         * benchtests/Makefile (bench): Write all output to
4305         bench-out.tmp together.
4307 2013-04-15  Andreas Schwab  <schwab@suse.de>
4309         * nscd/nscd.c (main): Don't fork again after closing files.
4311 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4313         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4315         * benchtests/Rules (bench-deps): Collect dependencies into a
4316         single variable.  Add Makefile to dependencies.
4317         ($(objpfx)bench-%.c): Depend on bench-deps.
4319 2013-04-12  Roland McGrath  <roland@hack.frob.com>
4320             Xavier Roche  <roche+kml2@exalead.com>
4322         [BZ #15361]
4323         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4324         just that it's a file descriptor.
4325         * manual/llio.texi (Synchronizing AIO Operations): Update description
4326         for EBADF error from aio_fsync.
4328 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4330         * Rules (bench): Move target definition...
4331         * benchtests/Makefile: ... here.
4333 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
4335         * math/libm-test.inc (cos_test): Fix PI/2 test.
4336         (sincos_test): Likewise.
4337         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4338         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4340 2013-04-11  Andreas Schwab  <schwab@suse.de>
4342         [BZ #13988]
4343         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4344         accept exponent character only when digits were seen.
4345         * stdio-common/Makefile (tests): Add bug26.
4346         * stdio-common/bug26.c: New file.
4348         [BZ #14293]
4349         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4350         non-freeable.
4352 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4354         * Makeconfig (rtld-prefix): Define built linker prefix.
4355         * Rules (run-bench): Use it.
4356         * math/Makefile (run-regen-ulps): Likewise.
4358         * Rules (bench): Remove eval.
4360 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4361             Roland McGrath  <roland@hack.frob.com>
4362             Ondrej Bilka  <neleai@seznam.cz>
4364         [BZ #15346]
4365         * time/getdate.c: Include ctype.h and alloca.h.
4366         (__getdate_r): Trim leading and trailing spaces of input.
4367         * time/tst-getdate.c (tests): Add tests with leading and
4368         trailing spaces.
4370 2013-04-08  Roland McGrath  <roland@hack.frob.com>
4372         [BZ #14280]
4373         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4374         when computing value.
4376 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4378         * math/README.libm-test (How can I generate "libm-test-ulps"?):
4379         Use testrun.sh to run libm tests.
4381         [BZ #15309]
4382         * elf/dl-open.c (dl_open_worker): memset all of seen array.
4384 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
4386         [BZ #15264]
4387         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4389 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4391         * Makefile.in (regen-ulps): New target.
4392         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4393         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4394         [ifneq (no,$(PERL)] (regen-ulps): New target.
4395         [ifeq (no,$(PERL)] (regen-ulps): New target.
4396         * math/libm-test.inc (ulps_file_name): Define.
4397         (output_dir): New variable.
4398         (options): Add "output-dir" option.
4399         (parse_opt): Handle 'o' case.
4400         (main): If output_dir is non-NULL use it as a prefix
4401         otherwise use "".
4402         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4404 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4406         [BZ #10060, #10062]
4407         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4408         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4409         fail configure if __sync_val_compare_and_swap is not inlined.
4410         * sysdeps/i386/configure: Regenerate.
4411         * configure.in: Build for i686 when configured for i386.
4412         * configure: Regenerate.
4413         * README: Remove i386 reference.
4415 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4417         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4418         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4420 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
4422         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4423         (lmsnanval): New variables.
4424         (F): Add conversion tests.
4425         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4426         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4428         * stdio-common/tstdiomisc.c (F): Properly collect individual
4429         tests' results.
4431         [BZ #14686, #15336]
4432         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4433         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4434         Instead, use input NaN values or generate a qNaN by arithmetic
4435         operation.  Also fix bugs to comply with the standard.
4436         * math/libm-test.inc (remainder_test): Add more tests.
4438         [BZ #15335, #15342]
4439         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4440         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4441         input NaN values or generate a qNaN by arithmetic operation.
4443         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4444         unreachable code.
4446         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4447         definitions.
4449 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
4451         [BZ #14478]
4452         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4453         underflowed result.
4454         * math/s_cexpf.c (__cexpf): Likewise.
4455         * math/s_cexpl.c (__cexpl): Likewise.
4456         * math/libm-test.inc (cexp_test): Add more tests.
4458 2013-04-03  Andreas Schwab  <schwab@suse.de>
4460         [BZ #15330]
4461         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4462         order arrays from heap if bigger than alloca cutoff.
4464 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
4466         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4467         (SNAN_TESTS_double): Refer to GCC PR56831.
4468         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4469         GCC PR56828.
4471 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4473         * Rules (bench): Move bench.out after the run is complete.
4475         * Rules (bench): Echo currently running benchmark.
4477         * benchtests/Makefile (bench): Add atan and slowatan.
4478         * benchtests/atan-inputs: New file.
4479         * benchtests/slowatan-inputs: New file.
4480         * benchtests/slowatan.c: New file.
4482         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4483         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4484         its value.
4486         [BZ #15305]
4487         * sysdeps/unix/sysv/linux/kernel-features.h
4488         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4489         __ASSUME_XFS_RESTRICTED_CHOWN.
4490         * sysdeps/unix/sysv/linux/pathconf.c
4491         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4492         Save and restore errno.
4494 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
4496         [BZ #15327]
4497         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4498         arguments using __kernel_casinh.
4499         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4500         arguments using __kernel_casinhf.
4501         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4502         arguments using __kernel_casinhl.
4503         * math/libm-test.inc (cacosh_test): Add more tests.
4504         * sysdeps/i386/fpu/libm-test-ulps: Update.
4505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4507 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4509         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4510         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4512         * bench/Makefile (bench): Add sin and slowsin.
4513         * benchtests/sin-inputs: New file.
4514         * benchtests/slowsin-inputs: New file.
4515         * benchtests/slowsin.c: New file.
4517         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4518         (bench): Add slowexp and slowpow.
4519         (exp-ITER): Increase iterations.
4520         (pow-ITER): Likewise.
4521         * benchtests/exp-inputs: Change input.
4522         * benchtests/pow-inputs: Likewise.
4523         * benchtests/slowexp-inputs: New file.
4524         * benchtests/slowexp.c: New file.
4525         * benchtests/slowpow-inputs: New file.
4526         * benchtests/slowpow.c: New file.
4528 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4530         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4531         instructions.
4532         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4533         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4534         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4535         * benchtests/Makefile: Add rint benchtest.
4536         * benchtests/rint-inputs: Input for rint benchtest.
4538 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
4540         * Versions.def (libm): Add GLIBC_2.18.
4541         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4542         hidden libm prototypes.
4543         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4544         * math/Makefile (libm-calls): Add s_issignaling.
4545         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4546         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
4547         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4548         declaration.
4549         * math/math.h [__USE_GNU] (issignaling): New macro.
4550         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4551         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4552         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4553         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4554         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4555         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4556         * manual/arith.texi (issignaling): New section.
4557         * manual/libm-err-tab.pl (@all_functions): Update comment.
4558         * math/gen-libm-test.pl (parse_args): Apply special handling for
4559         issignaling.
4560         * math/libm-test.inc (print_float, issignaling_test): New
4561         functions.
4562         (check_float_internal): Add issignaling checks.
4563         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4564         default definition.
4565         * sysdeps/powerpc/math-tests.h: New file.
4566         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4567         tests.
4568         * math/test-snan.c (TEST_FUNC): Likewise.
4570 2013-03-30  David S. Miller  <davem@davemloft.net>
4572         * po/de.po: Update from translation team.
4574 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
4576         [BZ #10357]
4577         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4578         imaginary part less than 1.0 and real part less than 0.5
4579         specially.
4580         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4581         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4582         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4583         (cacos_test): Add more tests.
4584         (casin_test): Likewise.
4585         (casinh_test): Likewise.
4586         * sysdeps/i386/fpu/libm-test-ulps: Update.
4587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4589 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4591         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4592         ONE with its value.
4594         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4595         (__pow_mp): Replace ONE and MONE with their values.
4596         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4597         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4598         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4599         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4600         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4601         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4603         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4605         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4606         (__pow_mp): Replace ZERO and MZERO with their values.
4607         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4608         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4609         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4610         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4611         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4612         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4613         (__sqr): Likewise.
4615         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4617         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4619 2013-03-28  Roland McGrath  <roland@hack.frob.com>
4621         * include/stdlib.h [!SHARED] (__call_tls_dtors):
4622         Declare with __attribute__ ((weak)).
4623         * stdlib/exit.c (__libc_atexit) [!SHARED]:
4624         Call __call_tls_dtors only if it's not NULL.
4626 2013-03-28  Roland McGrath  <roland@hack.frob.com>
4628         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4629         didn't do it already, then set _dl_phdr and _dl_phnum based on the
4630         magic __ehdr_start linker symbol if it's defined.
4631         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4632         them up here if it was already done.
4634         * elf/dl-support.c (_dl_phdr): Make pointer to const.
4635         (_dl_aux_init): Use const in cast when setting it.
4636         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4637         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4638         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4640         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4641         Declare them here.
4642         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4643         * csu/libc-tls.c: Nor here.
4644         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4646         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4647         (__libc_message): Never call vsyslog.
4649 2013-03-28  Alan Modra  <amodra@gmail.com>
4651         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4652         Define as empty.
4653         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4654         Likewise.
4656 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4658         [BZ #15214]
4659         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4660         underflow.
4661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4663 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4665         [BZ #15304]
4666         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4667         Don't add gid passed as argument.
4669         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4671 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
4673         [BZ #15307]
4674         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4675         imaginary part between 1.0 and 1.5 and real part less than 0.5
4676         specially.
4677         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4678         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4679         * math/libm-test.inc (cacos_test): Add more tests.
4680         (casin_test): Likewise.
4681         (casinh_test): Likewise.
4682         * sysdeps/i386/fpu/libm-test-ulps: Update.
4683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4685 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4687         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4688         constants.
4689         (norm): Likewise.
4690         (denorm): Likewise.
4691         (__dbl_mp): Likewise.
4692         (add_magnitudes): Likewise.
4693         (sub_magnitudes): Likewise.
4694         (__add): Likewise.
4695         (__sub): Likewise.
4696         (__mul): Likewise.
4697         (__sqr): Likewise.
4698         (__inv): Likewise.
4699         (__dvd): Likewise.
4701         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4702         commented code.
4703         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4704         (__dubcos): Likewise.
4705         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4706         (__ieee754_acos): Likewise.
4707         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4708         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4709         (__exp1): Likewise.
4710         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4711         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4712         (log1): Likewise.
4713         (my_log2): Likewise.
4714         (checkint): Likewise.
4715         * sysdeps/ieee754/dbl-64/e_remainder.c
4716         (__ieee754_remainder): Likewise.
4717         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4718         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4719         (bsloww): Likewise.
4720         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4722         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4723         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4724         MANTISSA_STORE_T to store computations on mantissa.  Use
4725         macros for rounding and division.
4726         (denorm): Likewise.
4727         (__dbl_mp): Likewise.
4728         (add_magnitudes): Likewise.
4729         (sub_magnitudes): Likewise.
4730         (__mul): Likewise.
4731         (__sqr): Likewise.
4732         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
4733         powers of two in terms of TWOPOW macro.
4734         (mp_no): Make type of mantissa as MANTISSA_T.
4735         [!RADIXI]: Define RADIXI.
4736         [!TWO52]: Define TWO52.
4737         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4739 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4741         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4742         llroundl symbol when building for PPC32.
4744 2013-03-24  Mark H Weaver  <mhw@netris.org>
4746         * manual/arith.texi (Normalization Functions): Fix prototypes for
4747         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4749 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4751         [BZ #13889]
4752         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4753         high value to check if expl overflow.
4754         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4755         to check for underflow and overflow.
4756         * math/libm-test.inc: Add exp test.
4758 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
4760         [BZ #11120]
4761         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4762         with NOT_IN_libc.
4764 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4766         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4767         symbol.
4769 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
4771         * math/gen-libm-test.pl (parse_args, special_functions): Properly
4772         wrap blocks consisting of several statements.
4774         * sysdeps/generic/math-tests.h: New file.
4775         * sysdeps/i386/fpu/math-tests.h: Likewise.
4776         * math/test-snan.c: Include it.
4777         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4779 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
4781         [BZ #15285]
4782         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4783         (__ieee754_j0l): Do not improve calculations using cos of twice
4784         input for inputs above LDBL_MAX / 2.0L.
4785         (__ieee754_y0l): Likewise.
4786         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4787         (__ieee754_j1l): Do not improve calculations using cos of twice
4788         input for inputs above LDBL_MAX / 2.0L.
4789         (__ieee754_y1l): Likewise.
4790         * math/libm-test.inc (j0_test): Add another test.
4791         (j1_test): Likewise.
4792         (y0_test): Likewise.
4793         (y1_test): Likewise.
4794         * sysdeps/i386/fpu/libm-test-ulps: Update.
4796 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4798         * Rules ($(objpfx)bench-%.c): Include code from a C source
4799         file.
4801 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
4803         [BZ #15287]
4804         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4805         imaginary part 1.0 and real part less than 0.5 specially.
4806         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4807         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4808         * math/libm-test.inc (cacos_test): Add more tests.
4809         (casin_test): Likewise.
4810         (casinh_test): Likewise.
4811         * sysdeps/i386/fpu/libm-test-ulps: Update.
4812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4814 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4816         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4817         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4819 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
4821         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4822         * config.make.in (config-cflags-sse4): Remove variable.
4823         (config-cflags-avx): Likewise.
4824         (config-cflags-sse2avx): Likewise.
4825         (config-cflags-novzeroupper): Likewise.
4826         (config-asflags-i686): Likewise.
4827         (have-mfma4): Likewise.
4828         (have-as-vis3): Likewise.
4829         (MIG): Likewise.
4830         * configure.in (MIG): Do not AC_SUBST.
4831         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4832         (libc_cv_cc_sse4): Do not AC_SUBST.
4833         (libc_cv_cc_avx): Likewise.
4834         (libc_cv_cc_sse2avx): Likewise.
4835         (libc_cv_cc_novzeroupper): Likewise.
4836         (libc_cv_cc_fma4): Likewise.
4837         (libc_cv_as_i686): Likewise.
4838         (libc_cv_sparc_as_vis3): Likewise.
4839         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4840         LIBC_CONFIG_VAR.
4841         (config-asflags-i686): Likewise.
4842         (config-cflags-avx): Likewise.
4843         (config-cflags-sse2avx): Likewise.
4844         (have-mfma4): Likewise.
4845         (config-cflags-novzeroupper): Likewise.
4846         * sysdeps/mach/configure.in (MIG): Likewise.
4847         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4848         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4849         LIBC_CONFIG_VAR.
4850         (config-cflags-avx): Likewise.
4851         (config-cflags-sse2avx): Likewise.
4852         (have-mfma4): Likewise.
4853         (config-cflags-novzeroupper): Likewise.
4854         * configure: Regenerated.
4855         * sysdeps/i386/configure: Likewise.
4856         * sysdeps/mach/configure: Likewise.
4857         * sysdeps/sparc/configure: Likewise.
4858         * sysdeps/x86_64/configure: Likewise.
4860 2013-03-20  Roland McGrath  <roland@hack.frob.com>
4862         [BZ #14812]
4863         * locale/programs/localedef.c (options): Put N_ translation marker
4864         on argument names, not just descriptions.
4866 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4868         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4870 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
4872         [BZ #14176]
4873         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4875 2013-03-19  Roland McGrath  <roland@hack.frob.com>
4877         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4878         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4879         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4880         [!BEFORE_ABORT] (before_abort): New function.
4881         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4882         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4883         (writev_for_fatal): New function.
4884         (WRITEV_FOR_FATAL): New macro; call that.
4885         (backtrace_and_maps): New function.
4886         (BEFORE_ABORT): New macro; call that.
4887         (struct str_list): Type removed.
4888         (__libc_message, __libc_fatal): Functions removed.
4889         Include <sysdeps/posix/libc_fatal.c> instead.
4891 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
4893         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4894         constants.
4895         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4896         double constants.
4898 2013-03-19  Andreas Schwab  <schwab@suse.de>
4900         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4901         * sysdeps/gnu/configure: Regenerate.
4903         * configure.in: Substitute libc_cv_rtlddir.
4904         * configure: Regenerate.
4905         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4906         * Makeconfig (rtlddir, inst_rtlddir): New variables.
4907         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4908         * elf/Makefile (install-others, CFLAGS-interp.c)
4909         (ldso_install, common-ldd-rewrite): Likewise.
4910         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4911         $(inst_slibdir)/$(rtld-installed-name).
4912         * scripts/rellns-sh: Add -p option.
4913         * Makerules (make-shlib-link): Use rellns-sh to get relative name
4914         for source.
4916 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4918         * manual/nptl.texi: Renamed to ...
4919         * manual/threads.texi: ... this.
4920         * manual/Makefile (chapters): Update.
4922 2013-03-18  Roland McGrath  <roland@hack.frob.com>
4924         [BZ #14812]
4925         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4926         on argument names, not just descriptions.
4927         * malloc/memusagestat.c (options): Likewise.
4928         * nss/getent.c (options): Likewise.
4930 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
4932         [BZ #14812]
4933         * iconv/iconv_prog.c (options): Put N_ translation marker
4934         on argument names, not just descriptions.
4935         * iconv/iconvconfig.c (options): Likewise.
4937 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
4939         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4940         implementation which is faster on all x86_64 architectures.
4941         Tested on AMD, Intel Nehalem, SNB, IVB.
4942         * sysdeps/x86_64/strnlen.S: Likewise.
4944         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4945         Remove all multiarch strlen and strnlen versions.
4946         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4947         Remove strlen and strnlen related parts.
4949         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4950         Inline strlen part.
4951         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4953         * sysdeps/x86_64/multiarch/strlen.S: Remove.
4954         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4955         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4956         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4957         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4958         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4960 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
4962         * manual/memory.texi (Malloc Tunable Parameters):
4963         Sort parameters alphabetically. Add comments for missing entries.
4965 2013-03-17  David S. Miller  <davem@davemloft.net>
4967         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4969 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
4971         [BZ #15283]
4972         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4973         for arguments at most half maximum finite value.
4974         * math/libm-test.inc (j0_test): Add more tests.
4975         (j1_test): Likewise.
4976         (y0_test): Likewise.
4977         (y1_test): Likewise.
4978         * sysdeps/i386/fpu/libm-test-ulps: Update.
4979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4981         [BZ #14155]
4982         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4983         1 / x and functions P and Q for arguments above 0x1p256L.
4984         (__ieee754_y0l): Likewise.
4985         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4986         (__ieee754_y1l): Likewise.
4987         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4988         (j1_test): Likewise.
4989         (y0_test): Likewise.
4990         (y1_test): Likewise.
4992 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
4994         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4995         variable.
4997 2013-03-15  Roland McGrath  <roland@hack.frob.com>
4999         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5000         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5001         zero since it's initialized to EXEC_PAGESIZE.
5003         * sysdeps/unix/sysv/linux/ldsodefs.h
5004         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5005         * sysdeps/generic/ldsodefs.h: ... here.
5007 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
5009         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5011         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5012         math/test-snan.c.
5013         * math/test-snan.c: Renamed from
5014         sysdeps/powerpc/fpu/test-powerpc-snan.c.
5015         * math/Makefile (tests): Add test-snan.
5016         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5017         test-powerpc-snan.
5019         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5020         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
5021         functions.
5022         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
5023         __builtin_nan family of functions.
5024         * math/libm-test.inc (initialize): Initialize qnan_value with
5025         __builtin_nan family of functions.
5026         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5027         Remove variables.
5028         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5029         Remove functions.
5030         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
5031         storage class.  Initialize qNaN_var and sNaN_var with
5032         __builtin_nan and __builtin_nans families of functions,
5033         respectively.
5035         * math/libm-test.inc (acosh_test): Also test with qNaN input.
5036         (sqrt_test): Remove duplicate test with qNaN input.
5037         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5038         (round_test, signbit_test, significand_test): Note missing +/-Inf
5039         as well as qNaN tests.
5041         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5042         qNaN_var.  Fix a few strings, too.
5043         * math/libm-test.inc (nan_value): Rename to qnan_value.
5044         * math/gen-libm-test.pl (%beautify): Adjust to that.
5045         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5046         * math/test-misc.c (main): Likewise.
5047         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5048         to __qnan_bytes, and __qnan_union, respectively.
5049         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5050         Likewise.
5051         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5052         and lqnanval, respectively.
5053         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5054         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5055         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5056         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5058         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5059         * math/test-misc.c (main) [__x86_64__]: Enable test for long
5060         doubles.
5062         * math/test-misc.c (main): Fix copy'n'pastos.
5063         * misc/tst-efgcvt.c (special): Likewise.
5065         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5066         Remove declarations.
5068 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5070         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5071         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5072         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5073         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5075 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5077         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5078         macro to return vdso values correctly in IFUNC implementations.
5079         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5080         Optimization by using IFUNC.
5082 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5083             Richard Henderson  <rth@redhat.com>
5084             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5086         * Makefile.in (bench): New target.
5087         * NEWS: Mention the benchmark framework.
5088         * Rules (bench): Likewise.
5089         (binaries-bench): Generate binaries for functions to
5090         benchmark.
5091         * benchtests/Makefile: New makefile for benchmark tests.
5092         * benchtests/bench-skeleton.c: New skeleton file for benchmark
5093         programs.
5094         * benchtests/exp-inputs: New input file for EXP function.
5095         * benchtests/pow-inputs: New input file for POW function.
5096         * scripts/bench.pl: New script to generate source files for
5097         benchmark programs.
5099 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5101         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5102         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5103         computations on mantissa.  Use macros for rounding and
5104         division.
5105         (denorm): Likewise.
5106         (__dbl_mp): Likewise.
5107         (add_magnitudes): Likewise.
5108         (sub_magnitudes): Likewise.
5109         (__mul): Likewise.
5110         (__sqr): Likewise.
5111         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
5112         powers of two in terms of TWOPOW macro.
5113         (mp_no): Make type of mantissa as MANTISSA_T.
5114         [!RADIXI]: Define RADIXI.
5115         [!TWO52]: Define TWO52.
5116         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5118         * manual/nptl.texi (cindex): Modify threads to pthreads.
5120 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
5122         * sysdeps/x86_64/preconfigure: Regenerated.
5124 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
5126         [BZ #14155]
5127         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5128         0x1p28 and above.
5129         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5130         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5131         0x1p28 and above.
5132         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5133         * math/libm-test.inc (j0_test): Do not allow one spurious
5134         underflow exception.
5135         (y1_test): Likewise.
5137 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5139         * manual/Makefile (chapters): Add nptl.
5140         * manual/debug.texi (Debugging Support): Add link to Threads
5141         chapter.
5142         * manual/nptl.texi: New file.
5144         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5146 2013-03-14  Petr Baudis  <pasky@ucw.cz>
5148         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5149         for non-NULL pointer before the memory validity test. Pointed
5150         out by Holger Brunck <holger.brunck@keymile.com>.
5152 2013-03-13  Andreas Schwab  <schwab@suse.de>
5154         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5155         instead of .os.
5157 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
5159         * timezone/zic.c: Update from tzcode 2013b.
5161 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
5163         * manual/install.texi (Configuring and compiling):
5164         Mention i686 and i586.
5165         * INSTALL: Regenerate.
5167 2013-03-12  Roland McGrath  <roland@hack.frob.com>
5169         * sysdeps/init_array/elf-init.c: New file.
5170         * csu/elf-init.c
5171         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5172         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5174         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5175         __gmon_start__ as global, but as static with a .preinit_array pointer.
5176         * sysdeps/init_array/gmon-start.c: New file.  Use that.
5177         * sysdeps/init_array/crti.S: New file, empty except for comments.
5178         * sysdeps/init_array/crtn.S: Likewise.
5180 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
5182         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5183         definining bcopy.
5184         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5185         Remove Prefer_SSE_for_memop.
5186         * sysdeps/x86_64/multiarch/init-arch.h: Remove
5187         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5188         HAS_PREFER_SSE_FOR_MEMOP.
5189         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5190         memset-x86-64.
5191         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5192         Remove bzero, memset ifunc support.
5193         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5194         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5195         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5196         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5198 2013-03-11  Andreas Schwab  <schwab@suse.de>
5200         [BZ #15234]
5201         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5202         by SHLIB_COMPAT.
5203         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5204         (GLIBC_2.16): Remove pthread_atfork.
5206 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5208         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5209         (ptestcases.h): Likewise.
5211 2013-03-08  Roland McGrath  <roland@hack.frob.com>
5213         * Makeconfig ($(common-objpfx)config.status): Depend on
5214         sysdeps/*/preconfigure{,.in} too.
5216 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
5218         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5219         (__free_hook): Use void * instead of __malloc_ptr_t.
5220         (__malloc_hook): Likewise.
5221         (__realloc_hook): Likewise.
5222         (__memalign_hook): Likewise.
5223         (__after_morecore_hook): Likewise.
5224         * malloc/arena.c (save_malloc_hook): Likewise.
5225         (save_free_hook): Likewise.
5226         * malloc/hooks.c (malloc_hook_ini): Likewise.
5227         (realloc_hook_ini): Likewise.
5228         (memalign_hook_ini): Likewise.
5229         * malloc/malloc.c (malloc_hook_ini): Likewise.
5230         (realloc_hook_ini): Likewise.
5231         (memalign_hook_ini): Likewise.
5232         (__free_hook): Likewise.
5233         (__malloc_hook): Likewise.
5234         (__realloc_hook): Likewise.
5235         (__memalign_hook): Likewise.
5236         (__libc_malloc): Likewise.
5237         (__libc_free): Likewise.
5238         (__libc_realloc): Likewise.
5239         (__libc_memalign): Likewise.
5240         (__libc_valloc): Likewise.
5241         (__libc_pvalloc): Likewise.
5242         (__libc_calloc): Likewise.
5243         (__posix_memalign): Likewise.
5244         * malloc/morecore.c (__sbrk): Likewise.
5245         (__default_morecore): Likewise.
5247         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5249         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5250         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5251         __malloc_ptrdiff_t.
5253         * malloc/malloc.h (__malloc_size_t): Remove macro.
5254         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5255         __malloc_size_t.
5256         (old_memalign_hook): Likewise.
5257         (old_realloc_hook): Likewise.
5258         (struct hdr): Likewise.
5259         (flood): Likewise.
5260         (mallochook): Likewise.
5261         (memalignhook): Likewise.
5262         (reallochook): Likewise.
5263         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5264         (tr_old_realloc_hook): Likewise.
5265         (tr_old_memalign_hook): Likewise.
5266         (tr_mallochook): Likewise.
5267         (tr_reallochook): Likewise.
5268         (tr_memalignhook): Likewise.
5270 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5272         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5273         default_ldbl_pack and using as default implementation.
5274         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5275         implementation.
5276         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5277         redundant definition.
5278         (ldbl_insert_mantissa): Likewise.
5279         (ldbl_canonicalize): Likewise.
5280         (ldbl_nearbyint): Likewise.
5281         (ldbl_pack): Rename to ldbl_pack_ppc.
5282         (ldbl_unpack): Rename to ldbl_unpack_ppc.
5283         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5284         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5286 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5288         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5289         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5290         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5291         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5292         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5293         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5294         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5295         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5297 2013-03-07  Andreas Jaeger  <aj@suse.de>
5299         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5300         bits/mman-linux.h.
5302 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5304         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5305         Include mpa.h and declare __MPEXP.
5306         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5307         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5308         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5309         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5310         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5311         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5312         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5314         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5315         (__slowpow): Use long double EXPL and LOGL functions to
5316         compute POW.
5317         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5318         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5319         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5320         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5321         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5322         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5324         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5325         intermediate variable to calculate exponent.
5326         (__sqr): Likewise.
5327         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5328         Likewise.
5329         (__sqr): Likewise.
5331         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5332         [!NO__SQR]: Define __sqr.
5333         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5334         and NO__SQR.  Remove all code except __mul and __sqr.  Include
5335         sysdeps/ieee754/dbl-64/mpa.c.
5336         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5338         [BZ #12723]
5339         * posix/Makefile (tests): Add tst-pathconf.
5340         * posix/tst-pathconf.c: New test case.
5341         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5342         _PC_PIPE_BUF.
5343         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5345 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
5347         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5349 2013-03-06  Andreas Jaeger  <aj@suse.de>
5351         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5352         definition via __MAP_ANONYMOUS.
5354         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5355         it's not part of Linux headers.
5357         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5358         (MAP_HUGE_MASK): Define.
5360         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5361         Define.
5362         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5363         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5364         Define.
5365         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5366         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5367         Define.
5368         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5369         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5370         Define.
5371         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5373         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5374         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5375         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5376         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5377         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5378         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5380         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5381         Handle f2fs.
5383         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5384         Handle f2fs and efivarfs.
5386         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5387         f2fs.
5389         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5390         (EFIVARFS_MAGIC): Add.
5391         (F2FS_LINK_MAX): Add.
5393 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5395         * stdio-common/vfprintf.c: Replace __builtin_expect with
5396         __glibc_unlikely.
5398 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
5400         [BZ #13550]
5401         * sysdeps/generic/bp-sym.h: Remove file.
5402         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5403         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5404         <bp-sym.h> and <bp-asm.h>.
5405         (__longjmp): Don't use BP_SYM.
5406         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5407         and <bp-asm.h>.
5408         (memcpy): Don't use BP_SYM.
5409         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5410         <bp-sym.h> and <bp-asm.h>.
5411         (memcpy): Don't use BP_SYM.
5412         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5413         <bp-asm.h>.
5414         (memcpy): Don't use BP_SYM.
5415         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5416         <bp-asm.h>.
5417         (memset): Don't use BP_SYM.
5418         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5419         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5420         (__bzero): Don't use BP_SYM.
5421         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5422         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5423         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5424         <bp-sym.h> and <bp-asm.h>.
5425         (memcmp): Don't use BP_SYM.  Remove comment about bounded
5426         pointers.
5427         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5428         <bp-sym.h> and <bp-asm.h>.
5429         (memcpy): Don't use BP_SYM.
5430         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5431         <bp-sym.h> and <bp-asm.h>.
5432         (memset): Don't use BP_SYM.
5433         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5434         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5435         (__bzero): Don't use BP_SYM.
5436         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5437         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5438         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5439         <bp-sym.h> and <bp-asm.h>.
5440         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5441         pointers.
5442         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5443         <bp-sym.h> and <bp-asm.h>.
5444         (memcpy): Don't use BP_SYM.
5445         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5446         <bp-sym.h> and <bp-asm.h>.
5447         (memset): Don't use BP_SYM.
5448         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5449         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5450         (__bzero): Don't use BP_SYM.
5451         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5452         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5453         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5454         <bp-sym.h> and <bp-asm.h>.
5455         (__memchr): Don't use BP_SYM.
5456         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5457         <bp-sym.h> and <bp-asm.h>.
5458         (memcmp): Don't use BP_SYM.  Remove comment about bounded
5459         pointers.
5460         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5461         <bp-sym.h> and <bp-asm.h>.
5462         (memcpy): Don't use BP_SYM.
5463         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5464         <bp-sym.h> and <bp-asm.h>.
5465         (__mempcpy): Don't use BP_SYM.
5466         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5467         <bp-sym.h> and <bp-asm.h>.
5468         (__memrchr): Don't use BP_SYM.
5469         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5470         <bp-sym.h> and <bp-asm.h>.
5471         (memset): Don't use BP_SYM.
5472         (__bzero): Likewise.
5473         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5474         <bp-sym.h> and <bp-asm.h>.
5475         (__rawmemchr): Don't use BP_SYM.
5476         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5477         <bp-sym.h> and <bp-asm.h>.
5478         (__STRCMP): Don't use BP_SYM.
5479         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5480         <bp-sym.h> and <bp-asm.h>.
5481         (strchr): Don't use BP_SYM.
5482         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5483         <bp-sym.h> and <bp-asm.h>.
5484         (__strchrnul): Don't use BP_SYM.
5485         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5486         <bp-sym.h> and <bp-asm.h>.
5487         (strlen): Don't use BP_SYM.
5488         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5489         <bp-sym.h> and <bp-asm.h>.
5490         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5491         pointers.
5492         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5493         <bp-sym.h> and <bp-asm.h>.
5494         (__strnlen): Don't use BP_SYM.
5495         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5496         <bp-sym.h> and <bp-asm.h>.
5497         (__GI__setjmp): Don't use BP_SYM.
5498         (_setjmp): Likewise.
5499         (__sigsetjmp): Likewise.
5500         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5501         (L(start_addresses)): Don't use BP_SYM.
5502         (_start): Likewise.
5503         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5504         <bp-asm.h>.
5505         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5506         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5507         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5508         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5509         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5510         <bp-asm.h>.
5511         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5512         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
5513         about bounded pointers.
5514         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5515         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5516         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5517         <bp-asm.h>.
5518         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
5519         about bounded pointers.  Remove GKM FIXME comments.
5520         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5521         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5522         <bp-asm.h>.
5523         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5524         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
5525         Remove GKM FIXME comments.
5526         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5527         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5528         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5529         <bp-asm.h>.
5530         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
5531         about bounded pointers.  Remove GKM FIXME comment.
5532         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5533         and <bp-asm.h>.
5534         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5535         pointers.
5536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5537         <bp-sym.h> and <bp-asm.h>.
5538         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5540         <bp-sym.h> and <bp-asm.h>.
5541         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
5542         comment.
5544 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5546         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5547         call free(NULL).
5549 2013-03-05  David S. Miller  <davem@davemloft.net>
5551         * po/es.po: Update from translation team.
5553 2013-03-05  Andreas Jaeger  <aj@suse.de>
5555         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5556         <bits/mman-linux.h>.
5557         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5558         is fine.
5559         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5560         <bits/mman-linux.h> to end of file.
5561         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5562         is fine.
5563         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5564         <bits/mman-linux.h> to end of file.
5565         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5566         is fine.
5567         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5568         <bits/mman-linux.h> to end of file.
5570         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5571         (MCL_CURRENT, MCL_FUTURE): Define here.
5573 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5575         [BZ #15232]
5576         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5577         attribute_hidden.
5578         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5580 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5582         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5583         fourth parameter needed for rt_sigprocmask syscall.
5584         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5585         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5586         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5587         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5588         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5589         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5591 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
5593         [BZ #13550]
5594         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5595         comment about bounded pointers.
5596         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5597         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5599 2013-03-04  Andreas Jaeger  <aj@suse.de>
5601         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5602         common definitions.
5604         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5605         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5606         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5607         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5608         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5609         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5611 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5613         [BZ #15055]
5614         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5615         __ieee754_sqrl instead of __sqrl.
5617 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
5619         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5620         * sysdeps/powerpc/fpu_control.h: ... here.
5621         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5622         * sysdeps/powerpc/bits/fenvinline.h: ... here.
5623         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5624         * sysdeps/powerpc/bits/mathinline.h: ... here.
5626 2013-03-01  Roland McGrath  <roland@hack.frob.com>
5628         * elf/dl-hwcaps.c (_dl_important_hwcaps):
5629         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5630         to just [NEED_DL_SYSINFO_DSO].
5631         * elf/dl-support.c: Likewise.
5632         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5633         * elf/rtld.c (dl_main): Likewise.
5634         * elf/setup-vdso.h (setup_vdso): Likewise.
5635         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5636         * sysdeps/unix/sysv/linux/dl-sysdep.c
5637         (_dl_discover_osversion): Likewise.
5639 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
5641         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5642         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5644 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5646         * NEWS: Mention libm performance improvements and non-x86 PI
5647         futex support.
5649         * csu/libc-start.c (__pthread_initialize_minimal): Change
5650         function arguments.
5651         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5653 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
5655         [BZ #13550]
5656         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5657         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5658         <bp-sym.h> and <bp-asm.h>.
5659         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5660         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5661         and <bp-asm.h>.
5662         (memcpy): Don't use BP_SYM.
5663         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5664         <bp-asm.h>.
5665         (__mpn_add_n): Don't use BP_SYM.
5666         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5667         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5668         and <bp-asm.h>.
5669         (__mpn_addmul_1): Don't use BP_SYM.
5670         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5671         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5672         <bp-sym.h>.
5673         (_setjmp): Don't use BP_SYM.
5674         (__novmx_setjmp): Likewise.
5675         (__GI__setjmp): Likewise.
5676         (__vmx_setjmp): Likewise.
5677         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5678         <bp-sym.h>.
5679         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5680         (__bzero): Don't use BP_SYM.
5681         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5682         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5683         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5684         <bp-sym.h> and <bp-asm.h>.
5685         (memcpy): Don't use BP_SYM.
5686         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5687         <bp-sym.h> and <bp-asm.h>.
5688         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5689         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5690         <bp-sym.h> and <bp-asm.h>.
5691         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5692         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5693         <bp-asm.h>.
5694         (__mpn_lshift): Don't use BP_SYM.
5695         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5696         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5697         <bp-asm.h>.
5698         (memset): Don't use BP_SYM.
5699         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5700         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5701         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5702         <bp-asm.h>.
5703         (__mpn_mul_1): Don't use BP_SYM.
5704         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5705         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5706         <bp-sym.h> and <bp-asm.h>.
5707         (memcmp): Don't use BP_SYM.
5708         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5709         <bp-sym.h> and <bp-asm.h>.
5710         (memcpy): Don't use BP_SYM.
5711         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5712         <bp-sym.h> and <bp-asm.h>.
5713         (memset): Don't use BP_SYM.
5714         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5715         <bp-sym.h> and <bp-asm.h>.
5716         (strncmp): Don't use BP_SYM.
5717         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5718         <bp-sym.h> and <bp-asm.h>.
5719         (memcpy): Don't use BP_SYM.
5720         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5721         <bp-sym.h> and <bp-asm.h>.
5722         (memset): Don't use BP_SYM.
5723         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5724         <bp-sym.h> and <bp-asm.h>.
5725         (__memchr): Don't use BP_SYM.
5726         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5727         <bp-sym.h> and <bp-asm.h>.
5728         (memcmp): Don't use BP_SYM.
5729         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5730         <bp-sym.h> and <bp-asm.h>.
5731         (memcpy): Don't use BP_SYM.
5732         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5733         <bp-sym.h> and <bp-asm.h>.
5734         (__mempcpy): Don't use BP_SYM.
5735         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5736         <bp-sym.h> and <bp-asm.h>.
5737         (__memrchr): Don't use BP_SYM.
5738         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5739         <bp-sym.h> and <bp-asm.h>.
5740         (memset): Don't use BP_SYM.
5741         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5742         <bp-sym.h> and <bp-asm.h>.
5743         (__rawmemchr): Don't use BP_SYM.
5744         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5745         <bp-sym.h> and <bp-asm.h>.
5746         (__STRCMP): Don't use BP_SYM.
5747         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5748         <bp-sym.h> and <bp-asm.h>.
5749         (strchr): Don't use BP_SYM.
5750         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5751         <bp-sym.h> and <bp-asm.h>.
5752         (__strchrnul): Don't use BP_SYM.
5753         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5754         <bp-sym.h> and <bp-asm.h>.
5755         (strlen): Don't use BP_SYM.
5756         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5757         <bp-sym.h> and <bp-asm.h>.
5758         (strncmp): Don't use BP_SYM.
5759         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5760         <bp-sym.h> and <bp-asm.h>.
5761         (__strnlen): Don't use BP_SYM.
5762         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5763         <bp-asm.h>.
5764         (__mpn_rshift): Don't use BP_SYM.
5765         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5766         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5767         <bp-sym.h> and <bp-asm.h>.
5768         (__sigsetjmp): Don't use BP_SYM.
5769         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5770         (L(start_addresses)): Don't use BP_SYM.
5771         (_start): Likewise.
5772         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5773         <bp-asm.h>.
5774         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5775         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5776         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5777         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5778         <bp-asm.h>.
5779         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5780         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5781         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5782         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5783         <bp-asm.h>.
5784         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
5785         comments.
5786         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5787         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5788         <bp-asm.h>.
5789         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
5790         FIXME comments.
5791         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5792         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5793         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5794         <bp-asm.h>.
5795         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
5796         comment.
5797         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5798         and <bp-asm.h>.
5799         (strncmp): Don't use BP_SYM,
5800         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5801         <bp-asm.h>.
5802         (__mpn_sub_n): Don't use BP_SYM.
5803         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5804         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5805         and <bp-asm.h>.
5806         (__mpn_submul_1): Don't use BP_SYM.
5807         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5809         <bp-sym.h> and <bp-asm.h>.
5810         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5812         <bp-sym.h> and <bp-asm.h>.
5813         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
5814         comment.
5816 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5818         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5819         Use ZK to minimize writes to Z.
5820         (sub_magnitudes): Simplify code a bit.
5821         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5822         Use ZK to minimize writes to Z.
5823         (sub_magnitudes): Simplify code a bit.
5825 2013-02-27  Roland McGrath  <roland@hack.frob.com>
5827         * csu/gmon-start.c: Add special exception to license text.
5829 2013-02-27  Richard Henderson  <rth@redhat.com>
5831         * scripts/config.guess: Update from config.git.
5832         * scripts/config.sub: Likewise.
5834 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5836         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5838         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5840         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5842         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5844         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5846 2013-02-26  Roland McGrath  <roland@hack.frob.com>
5848         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5849         [$(build-shared = yes].
5851 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5853         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5854         (__mul): Reduce iterations for calculating mantissa.
5856         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5857         MPTWO.
5858         (__mpranred): Likewise.
5860         [BZ #15160]
5861         * malloc/memusagestat.c (main): Draw graphs for heap and stack
5862         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5864 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
5866         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5867         Define __attribute__.
5869 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5871         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5872         unused.
5873         * posix/regex_internal.h (__attribute): Remove.
5874         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5875         (re_string_context_at): Likewise.
5876         (bitset_not): Use __attribute__ and mark function as possibly
5877         unused.
5878         (bitset_merge): Likewise.
5879         (bitset_mask): Likewise.
5880         (re_string_char_size_at): Likewise.
5881         (re_string_wchar_at): Likewise.
5882         (re_string_elem_size_at): Likewise.
5884 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5886         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5887         code.
5888         (cc32): Likewise.
5890         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5891         (__acr): Likewise.
5892         (__cpy): Likewise.
5893         (norm): Likewise.
5894         (denorm): Likewise.
5895         (__dbl_mp): Likewise.
5896         (add_magnitudes): Likewise.
5897         (sub_magnitudes): Likewise.
5898         (__mul): Likewise.
5899         (__inv): Likewise.
5901         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5902         style.
5904         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5905         style.
5907         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5908         code.
5910         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5911         up changes with default code.
5912         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5913         Likewise.
5915 2013-02-24  Allan McRae  <allan@archlinux.org>
5917         * manual/socket.texi (The Internet Namespace): Order menu items
5918         to match that in the file.
5920         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5921         node listing of the info page menu.
5923 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
5925         [BZ #13550]
5926         * sysdeps/i386/bp-asm.h: Remove file.
5927         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5928         (PARMS): Do not use macros from bp-asm.h.
5929         (S1): Likewise.
5930         (S2): Likewise.
5931         (SIZE): Likewise.
5932         (__mpn_add_n): Do not use BP_SYM
5933         * sysdeps/i386/addmul_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_addmul_1): Do not use BP_SYM
5939         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5940         "bp-asm.h".
5941         (PARMS): Do not use macros from bp-asm.h.
5942         (SIGMSK): Likewise.
5943         (_setjmp): Likewise.  Do not use BP_SYM.
5944         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5945         "bp-asm.h".
5946         (PARMS): Do not use macros from bp-asm.h.
5947         (SIGMSK): Likewise.
5948         (setjmp): Likewise.  Do not use BP_SYM.
5949         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5950         "bp-asm.h".
5951         (PARMS): Do not use macros from bp-asm.h.
5952         (__frexp): Do not use BP_SYM.
5953         (frexp): Likewise.
5954         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5955         "bp-asm.h".
5956         (PARMS): Do not use macros from bp-asm.h.
5957         (__frexpf): Do not use BP_SYM.
5958         (frexpf): Likewise.
5959         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5960         "bp-asm.h".
5961         (PARMS): Do not use macros from bp-asm.h.
5962         (__frexpl): Do not use BP_SYM.
5963         (frexpl): Likewise.
5964         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5965         "bp-asm.h".
5966         (PARMS): Do not use macros from bp-asm.h.
5967         (__remquo): Do not use BP_SYM.
5968         (remquo): Likewise.
5969         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5970         "bp-asm.h".
5971         (PARMS): Do not use macros from bp-asm.h.
5972         (__remquof): Do not use BP_SYM.
5973         (remquof): Likewise.
5974         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5975         "bp-asm.h".
5976         (PARMS): Do not use macros from bp-asm.h.
5977         (__remquol): Do not use BP_SYM.
5978         (remquol): Likewise.
5979         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5980         "bp-asm.h".
5981         (PARMS): Do not use macros from bp-asm.h.
5982         (DEST): Likewise.
5983         (SRC): Likewise.
5984         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
5985         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5986         "bp-asm.h".
5987         (PARMS): Do not use macros from bp-asm.h.
5988         (strlen): Do not use BP_SYM.
5989         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5990         "bp-asm.h".
5991         (PARMS): Do not use macros from bp-asm.h.
5992         (S1): Likewise.
5993         (S2): Likewise.
5994         (SIZE): Likewise.
5995         (__mpn_add_n): Do not use BP_SYM.
5996         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5997         "bp-asm.h".
5998         (PARMS): Do not use macros from bp-asm.h.
5999         (S1): Likewise.
6000         (SIZE): Likewise.
6001         (__mpn_addmul_1): Do not use BP_SYM.
6002         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6003         weak_alias.
6004         (bzero): Likewise.
6005         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6006         "bp-asm.h".
6007         (PARMS): Do not use macros from bp-asm.h.
6008         (S): Likewise.
6009         (SIZE): Likewise.
6010         (__mpn_lshift): Do not use BP_SYM.
6011         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6012         "bp-asm.h".
6013         (PARMS): Do not use macros from bp-asm.h.
6014         (DEST): Likewise.
6015         (SRC): Likewise.
6016         (LEN): Likewise.
6017         (memcpy): Likewise.  Do not use BP_SYM.
6018         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6019         libc_hidden_def and weak_alias.
6020         (mempcpy): Do not use BP_SYM in weak_alias.
6021         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6022         "bp-asm.h".
6023         (PARMS): Do not use macros from bp-asm.h.
6024         (DEST): Likewise.
6025         (LEN): Likewise.
6026         [!BZERO_P] (CHR): Likewise.
6027         (memset): Likewise.  Do not use BP_SYM.
6028         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6029         "bp-asm.h".
6030         (PARMS): Do not use macros from bp-asm.h.
6031         (S1): Likewise.
6032         (SIZE): Likewise.
6033         (__mpn_mul_1): Do not use BP_SYM.
6034         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6035         "bp-asm.h".
6036         (PARMS): Do not use macros from bp-asm.h.
6037         (S): Likewise.
6038         (SIZE): Likewise.
6039         (__mpn_rshift): Do not use BP_SYM.
6040         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6041         "bp-asm.h".
6042         (PARMS): Do not use macros from bp-asm.h.
6043         (STR): Likewise.
6044         (CHR): Likewise.
6045         (strchr): Likewise.  Do not use BP_SYM.
6046         (index): Do not use BP_SYM in weak_alias.
6047         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6048         "bp-asm.h".
6049         (PARMS): Do not use macros from bp-asm.h.
6050         (DEST): Likewise.
6051         (SRC): Likewise.
6052         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
6053         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6054         "bp-asm.h".
6055         (PARMS): Do not use macros from bp-asm.h.
6056         (strlen): Do not use BP_SYM.
6057         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6058         "bp-asm.h".
6059         (PARMS): Do not use macros from bp-asm.h.
6060         (S1): Likewise.
6061         (S2): Likewise.
6062         (SIZE): Likewise.
6063         (__mpn_sub_n): Do not use BP_SYM.
6064         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6065         "bp-asm.h".
6066         (PARMS): Do not use macros from bp-asm.h.
6067         (S1): Likewise.
6068         (SIZE): Likewise.
6069         (__mpn_submul_1): Do not use BP_SYM.
6070         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6071         "bp-asm.h".
6072         (PARMS): Do not use macros from bp-asm.h.
6073         (S1): Likewise.
6074         (S2): Likewise.
6075         (SIZE): Likewise.
6076         (__mpn_add_n): Do not use BP_SYM.
6077         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6078         weak_alias.
6079         (bzero): Likewise.
6080         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6081         "bp-asm.h".
6082         (PARMS): Do not use macros from bp-asm.h.
6083         (BLK2): Likewise.
6084         (LEN): Likewise.
6085         (memcmp): Do not use BP_SYM.
6086         (bcmp): Do not use BP_SYM in weak_alias.
6087         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6088         "bp-asm.h".
6089         (PARMS): Do not use macros from bp-asm.h.
6090         (DEST): Likewise.
6091         (SRC): Likewise.
6092         (LEN): Likewise.
6093         (memcpy): Likewise.  Do not use BP_SYM.
6094         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6095         "bp-asm.h".
6096         (PARMS): Do not use macros from bp-asm.h.
6097         (DEST): Likewise.
6098         (SRC): Likewise.
6099         (LEN): Likewise.
6100         (memmove): Likewise.  Do not use BP_SYM.
6101         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6102         "bp-asm.h".
6103         (PARMS): Do not use macros from bp-asm.h.
6104         (DEST): Likewise.
6105         (SRC): Likewise.
6106         (LEN): Likewise.
6107         (__mempcpy): Likewise.  Do not use BP_SYM.
6108         (mempcpy): Do not use BP_SYM in weak_alias.
6109         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6110         "bp-asm.h".
6111         (PARMS): Do not use macros from bp-asm.h.
6112         (DEST): Likewise.
6113         (LEN): Likewise.
6114         [!BZERO_P] (CHR): Likewise.
6115         (memset): Likewise.  Do not use BP_SYM.
6116         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6117         "bp-asm.h".
6118         (PARMS): Do not use macros from bp-asm.h.
6119         (STR2): Likewise.
6120         (strcmp): Do not use BP_SYM.
6121         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6122         "bp-asm.h".
6123         (PARMS): Do not use macros from bp-asm.h.
6124         (STR): Likewise.
6125         (DELIM): Likewise.
6126         [USE_AS_STRTOK_R] (SAVE): Likewise.
6127         (FUNCTION): Likewise.  Do not use BP_SYM.
6128         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6129         aliases.
6130         (strtok_r): Likewise.
6131         (__GI___strtok_r): Likewise.
6132         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6133         (PARMS): Do not use macros from bp-asm.h.
6134         (S): Likewise.
6135         (SIZE): Likewise.
6136         (__mpn_lshift): Do not use BP_SYM.
6137         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6138         (PARMS): Do not use macros from bp-asm.h.
6139         (STR): Likewise.
6140         (CHR): Likewise.
6141         (__memchr): Do not use BP_SYM.
6142         (memchr): Do not use BP_SYM in weak_alias.
6143         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6144         (PARMS): Do not use macros from bp-asm.h.
6145         (BLK2): Likewise.
6146         (LEN): Likewise.
6147         (memcmp): Do not use BP_SYM.
6148         (bcmp): Do not use BP_SYM in weak_alias.
6149         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6150         (PARMS): Do not use macros from bp-asm.h.
6151         (S1): Likewise.
6152         (SIZE): Likewise.
6153         (__mpn_mul_1): Do not use BP_SYM.
6154         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6155         "bp-asm.h".
6156         (PARMS): Do not use macros from bp-asm.h.
6157         (STR): Likewise.
6158         (CHR): Likewise.
6159         (__rawmemchr): Do not use BP_SYM.
6160         (rawmemchr): Do not use BP_SYM in weak_alias.
6161         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6162         (PARMS): Do not use macros from bp-asm.h.
6163         (S): Likewise.
6164         (SIZE): Likewise.
6165         (__mpn_rshift): Do not use BP_SYM.
6166         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6167         (PARMS): Do not use macros from bp-asm.h.
6168         (SIGMSK): Likewise.
6169         (__sigsetjmp): Likewise.  Do not use BP_SYM.
6170         * sysdeps/i386/start.S: Do not include "bp-sym.h".
6171         (_start): Do not use BP_SYM.
6172         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6173         (PARMS): Do not use macros from bp-asm.h.
6174         (DEST): Likewise.
6175         (SRC): Likewise.
6176         (__stpcpy): Likewise.  Do not use BP_SYM.
6177         (stpcpy): Do not use BP_SYM in weak_alias.
6178         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6179         "bp-asm.h".
6180         (PARMS): Do not use macros from bp-asm.h.
6181         (DEST): Likewise.
6182         (SRC): Likewise.
6183         (LEN): Likewise.
6184         (__stpncpy): Likewise.  Do not use BP_SYM.
6185         (stpncpy): Do not use BP_SYM in weak_alias.
6186         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6187         (PARMS): Do not use macros from bp-asm.h.
6188         (STR): Likewise.
6189         (CHR): Likewise.
6190         (strchr): Likewise.  Do not use BP_SYM.
6191         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6192         "bp-asm.h".
6193         (PARMS): Do not use macros from bp-asm.h.
6194         (STR): Likewise.
6195         (CHR): Likewise.
6196         (__strchrnul): Likewise.  Do not use BP_SYM.
6197         (strchrnul): Do not use BP_SYM in weak_alias.
6198         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6199         "bp-asm.h".
6200         (PARMS): Do not use macros from bp-asm.h.
6201         (STOP): Likewise.
6202         (strcspn): Do not use BP_SYM.
6203         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6204         "bp-asm.h".
6205         (PARMS): Do not use macros from bp-asm.h.
6206         (STR): Likewise.
6207         (STOP): Likewise.
6208         (strpbrk): Likewise.  Do not use BP_SYM.
6209         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6210         "bp-asm.h".
6211         (PARMS): Do not use macros from bp-asm.h.
6212         (STR): Likewise.
6213         (CHR): Likewise.
6214         (strrchr): Likewise.  Do not use BP_SYM.
6215         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6216         (PARMS): Do not use macros from bp-asm.h.
6217         (SKIP): Likewise.
6218         (strspn): Do not use BP_SYM.
6219         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6220         (PARMS): Do not use macros from bp-asm.h.
6221         (STR): Likewise.
6222         (DELIM): Likewise.
6223         (SAVE): Likewise.
6224         (FUNCTION): Likewise.  Do not use BP_SYM.
6225         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6226         aliases.
6227         (strtok_r): Likewise.
6228         (__GI___strtok_r): Likewise.
6229         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6230         (PARMS): Do not use macros from bp-asm.h.
6231         (S1): Likewise.
6232         (S2): Likewise.
6233         (SIZE): Likewise.
6234         (__mpn_sub_n): Do not use BP_SYM.
6235         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6236         "bp-asm.h".
6237         (PARMS): Do not use macros from bp-asm.h.
6238         (S1): Likewise.
6239         (SIZE): Likewise.
6240         (__mpn_submul_1): Do not use BP_SYM.
6241         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6242         <bp-sym.h>.
6243         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6244         and <bp-asm.h>.
6245         (PARMS): Do not use macros from bp-asm.h.
6246         (FLAGS): Likewise.
6247         (PTID): Likewise.
6248         (TLS): Likewise.
6249         (CTID): Likewise.
6250         (__clone): Do not use BP_SYM.
6251         (clone): Do not use BP_SYM in weak_alias.
6252         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6253         and <bp-asm.h>.
6254         (PARMS): Do not use macros from bp-asm.h.
6255         (LEN): Likewise.
6256         (__mmap64): Do not use BP_SYM.
6257         (mmap64): Do not use BP_SYM in weak_alias.
6258         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6259         <bp-sym.h> and <bp-asm.h>.
6260         (PARMS): Do not use macros from bp-asm.h.
6261         (__posix_fadvise64_l64): Do not use BP_SYM.
6262         * sysdeps/unix/sysv/linux/i386/semtimedop.S
6263         (PARMS): Do not use macros from bp-asm.h.
6264         (NSOPS): Likewise.
6265         (semtimedop): Do not use BP_SYM.
6266         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6267         and <bp-asm.h>.
6269 2013-02-21  Allan McRae  <allan@archlinux.org>
6271         * manual/message.texi (Charset conversion in gettext):
6272         Move @end statement to beginning of line.
6274 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6276         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6277         static.
6278         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6279         Likewise.
6281         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6282         (denorm): Likewise.
6283         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6284         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6286 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6288         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6289         tail-call to the resolved function if pltexit isn't needed.
6291 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6293         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6294         or Y being zero as being unlikely.
6295         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6296         Likewise.
6298 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
6300         * manual/nss.texi (System Databases and Name Service Switch):
6301         Remove frobnicate @pxref.
6303 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
6305         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6306         __attribute__ ((unused)) to __attribute__ ((__unused__)).
6308 2013-02-20  Petr Machata  <pmachata@redhat.com>
6310         * elf/elf.h (R_ARM_TARGET1): New macro.
6311         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6312         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6313         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6314         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6315         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6316         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6317         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6318         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6319         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6320         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6321         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6322         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6323         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6324         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6325         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6326         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6327         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6328         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6329         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6330         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6331         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6332         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6333         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6334         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6335         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6336         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6337         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6338         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6339         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6340         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6341         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6342         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6343         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6344         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6345         (R_ARM_THM_GOT_BREL12): Likewise.
6346         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6347         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6348         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6349         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6350         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6351         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6352         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6353         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6354         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6356 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
6358         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6359         __attribute_used__ to __attribute__ ((unused)).
6361 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6363         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6364         powerpc mpa.c.
6365         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6366         comment formatting.
6367         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6369 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
6371         [BZ #13550]
6372         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6373         Remove macro.
6374         (ENTER): Remove both macro definitions.
6375         (LEAVE): Likewise.
6376         (CHECK_BOUNDS_LOW): Likewise.
6377         (CHECK_BOUNDS_HIGH): Likewise.
6378         (CHECK_BOUNDS_BOTH): Likewise.
6379         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6380         (RETURN_BOUNDED_POINTER): Likewise.
6381         (RETURN_NULL_BOUNDED_POINTER): Likewise.
6382         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6383         (POP_ERRNO_LOCATION_RETURN): Likewise.
6384         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6385         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6386         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6387         macros.
6388         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6389         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6390         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6391         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6392         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6393         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6394         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6395         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6396         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6397         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6398         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6399         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6400         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6401         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6402         removed macros.
6403         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6404         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6405         macros.
6406         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6407         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6408         * sysdeps/i386/i586/memset.S (memset): Likewise.
6409         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6410         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6411         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6412         macros.
6413         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6414         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6415         Change uses of L(2) to L(out).
6416         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6417         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6418         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6419         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6420         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6421         removed macros.
6422         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6423         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6424         macros.
6425         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6426         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6427         (RETURN): Do not use macro LEAVE.
6428         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6429         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6430         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6431         * sysdeps/i386/i686/memset.S (memset): Likewise.
6432         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6433         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6434         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6435         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6436         Likewise.
6437         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6438         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
6439         L(1_2) and L(1_3) into L(1).
6440         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6441         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6442         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6443         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6444         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6445         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6446         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6447         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6448         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6449         macros.
6450         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6451         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6452         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6453         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6454         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6455         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6456         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6457         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6458         * sysdeps/i386/strcspn.S (strcspn): Likewise.
6459         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6460         * sysdeps/i386/strrchr.S (strrchr): Likewise.
6461         * sysdeps/i386/strspn.S (strspn): Likewise.
6462         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6463         conditional code.
6464         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6465         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6466         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6467         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
6468         L(1_3) into L(1_1).
6469         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6470         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6471         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6472         macros.
6473         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6475 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
6477         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6478         macro.
6480 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6482         * math/atest-exp.c (exp_mpn): Remove ROUND.
6483         * math/atest-exp2.c (exp_mpn): Likewise.
6484         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6486         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6487         * stdlib/tst-tls-atexit-lib.c: Likewise.
6488         * stdlib/tst-tls-atexit.c: Likewise.
6490 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6492         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6493         and __attribute_alloc_size__.
6495 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6497         * include/programs/xmalloc.h: Change __attribute_alloc_size to
6498         __attribute_alloc_size__.
6499         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6500         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6502 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6504         * include/programs/xmalloc.h: New file.
6505         * catgets/gencat.c: Include it.
6506         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6507         * elf/pldd.c: Likewise.
6508         * iconv/iconv_charmap.c: Likewise.
6509         * iconv/iconvconfig.c: Likewise.
6510         * iconv/strtab.c: Likewise.
6511         * locale/programs/locale.c: Likewise.
6512         * locale/programs/localedef.h: Likewise.
6513         * locale/programs/simple-hash.c: Likewise.
6514         * nscd/nscd.h: Likewise.
6515         * nss/makedb.c: Likewise.
6516         * sysdeps/generic/ldconfig.h: Likewise.
6518 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6520         * Versions.def: Add GLIBC_2.18.
6521         * include/link.h (struct link_map): New member l_tls_dtor_count.
6522         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6523         (__call_tls_dtors): Likewise.
6524         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6525         __cxa_thread_atexit_impl.
6526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6527         Likewise.
6528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6529         Likewise.
6530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6531         Likewise.
6532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6533         Likewise.
6534         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6536         Likewise.
6537         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6538         Likewise.
6539         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6540         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6541         Likewise.
6542         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6543         (tests): Add test case tst-tls-atexit.
6544         (modules-names): Add shared library for tst-tls-atexit.
6545         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
6546         (GLIBC_PRIVATE): Add __call_tls_dtors.
6547         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6548         for libstdc++.
6549         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6550         * stdlib/tst-tls-atexit.c: New test case.
6551         * stdlib/tst-tls-atexit-lib.c: New test case.
6553         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
6555         * elf/Versions (ld): Add _dl_find_dso_for_object.
6556         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6557         * elf/dl-open.c (_dl_find_dso_for_object): New function.
6558         (dl_open_worker): Use _dl_find_dso_for_object.
6559         * elf/dl-sym.c (do_sym): Likewise.
6560         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6562 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6564         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6565         Syntactic changes only.
6566         (_dl_runtime_profile): Do a tail-call to the resolved function.
6568 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
6570         [BZ #13550]
6571         * sysdeps/x86_64/bp-asm.h: Remove file.
6572         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6573         <bp-sym.h> and <bp-asm.h>.
6574         (__clone): Do not use BP_SYM.
6575         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6576         <bp-sym.h> and <bp-asm.h>.
6577         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6578         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6579         "bp-asm.h".
6580         (_setjmp): Do not use BP_SYM.
6581         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6582         "bp-asm.h".
6583         (setjmp): Do not use BP_SYM.
6584         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6585         libc_hidden_def.
6586         (mempcpy): Do not use BP_SYM in weak_alias.
6587         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6588         "bp-asm.h".
6589         (strchr): Do not use BP_SYM.
6590         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6591         "bp-asm.h".
6592         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6593         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6594         (_start): Do not use BP_SYM.
6595         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6596         "bp-asm.h".
6597         (strcat): Do not use BP_SYM.
6598         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6599         "bp-asm.h".
6600         (STRCMP): Do not use BP_SYM.
6601         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6602         "bp-asm.h".
6603         (STRCPY): Do not use BP_SYM.
6604         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6605         "bp-asm.h".
6606         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6607         "bp-asm.h".
6608         (FUNCTION): Do not use BP_SYM.
6609         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6610         weak_alias.
6611         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6613 2013-02-17  Andreas Jaeger  <aj@suse.de>
6615         * time/Versions: Sort entries.
6616         * string/Versions: Likewise.
6617         * resolv/Versions: Likewise.
6618         * posix/Versions: Likewise.
6619         * iconv/Versions: Likewise.
6620         * elf/Versions: Likewise.
6621         * wcsmbs/Versions: Likewise.
6623 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6625         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6626         loop termination condition.
6628         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6629         variable to calculate EZ.
6630         (__sqr): Likewise.
6632         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6633         the lower precision input.
6635 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
6637         [BZ #13550]
6638         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6639         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6640         (run-via-rtld-prefix): Do not handle %-bp tests.
6641         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6642         (all-object-suffixes): Remove .ob.
6643         (bppfx): Remove variable.
6644         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6645         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6646         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6647         [$(build-bounded) = yes] (libtype.ob): Likewise.
6648         * Makerules (elide-routines.ob): Remove variable.
6649         (do-tests-clean): Do not handle *-bp.out.
6650         (common-mostlyclean): Do not handle *-bp and *-bp.out.
6651         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6652         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6653         (tests): Do not include $(tests-bp.out).
6654         (xtests): Do not include $(xtests-bp.out).
6655         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6656         [$(build-bounded) = yes] ($(addprefix
6657         $(objpfx),$(binaries-bounded))): Remove rule.
6658         ($(objpfx)%-bp.out): Remove rule.
6659         * config.make.in (build-bounded): Remove variable.
6660         * crypt/Makefile [$(build-bounded) = yes]
6661         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6662         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6663         append to variable.
6664         [$(build-bounded) = yes] (install-lib): Likewise.
6665         [$(build-bounded) = yes] (generated): Likewise.
6666         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6667         Remove rule.
6668         * intl/Makefile [$(build-bounded) = yes]
6669         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6670         * math/Makefile [$(build-bounded) = yes]
6671         ($(tests:%=$(objpfx)%-bp): Likewise.
6672         * misc/Makefile [$(build-bounded) = yes]
6673         ($(objpfx)tst-tsearch-bp): Likewise.
6674         * nptl/Makeconfig (bounded-thread-library): Remove variable.
6675         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6676         Remove dependency.
6677         * string/Makefile (o-objects.ob): Remove variable.
6678         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6679         (CFLAGS-.ob): Remove variable.
6680         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6681         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6682         both definitions of variable.
6683         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6684         (ASFLAGS-.ob): Remove variable.
6686 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
6688         [BZ #13550]
6689         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6690         Remove __BOUNDED_POINTERS__ from condition.
6691         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6692         * string/bits/string2.h [!__NO_STRING_INLINES &&
6693         !__BOUNDED_POINTERS__]: Likewise.
6694         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6695         Likewise.
6696         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6697         Remove conditional code.
6698         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6699         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6700         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6701         condition.
6703         [BZ #13550]
6704         * csu/libc-start.c: Do not include <bp-sym.h>.
6705         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6706         * elf/dl-open.c: Do not include <bp-sym.h>.
6707         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6708         * math/fegetenv.c: Do not include <bp-sym.h>.
6709         (fegetenv): Do not use BP_SYM in versioned symbols.
6710         * nptl/sysdeps/pthread/bits/libc-lockP.h
6711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6712         <bp-sym.h>.
6713         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6714         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6715         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6716         (__pthread_mutex_destroy): Likewise.
6717         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6718         (__pthread_mutex_lock): Likewise.
6719         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6720         (__pthread_mutex_trylock): Likewise.
6721         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6722         (__pthread_mutex_unlock): Likewise.
6723         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6724         (__pthread_mutexattr_init): Likewise.
6725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6726         (__pthread_mutexattr_destroy): Likewise.
6727         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6728         (__pthread_mutexattr_settype): Likewise.
6729         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6730         (__pthread_rwlock_init): Likewise.
6731         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6732         (__pthread_rwlock_destroy): Likewise.
6733         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6734         (__pthread_rwlock_rdlock): Likewise.
6735         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6736         (__pthread_rwlock_tryrdlock): Likewise.
6737         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6738         (__pthread_rwlock_wrlock): Likewise.
6739         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6740         (__pthread_rwlock_trywrlock): Likewise.
6741         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6742         (__pthread_rwlock_unlock): Likewise.
6743         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6744         (__pthread_key_create): Likewise.
6745         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6746         (__pthread_setspecific): Likewise.
6747         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6748         (__pthread_getspecific): Likewise.
6749         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6750         Likewise.
6751         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6752         (_pthread_cleanup_push_defer): Likewise.
6753         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6754         (_pthread_cleanup_pop_restore): Likewise.
6755         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6756         (pthread_setcancelstate): Likewise.
6757         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6758         <bp-sym.h>.
6759         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6760         (memchr): Do not use BP_SYM in weak_alias.
6761         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6762         (fegetenv): Do not use BP_SYM in versioned symbols.
6763         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6764         (fesetenv): Do not use BP_SYM in versioned symbols.
6765         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6766         (feupdateenv): Do not use BP_SYM in versioned symbols.
6767         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6768         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6769         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6770         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6771         (open64): Do not use BP_SYM in weak_alias.
6772         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6773         (fegetenv): Do not use BP_SYM in versioned symbols.
6774         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6775         (fesetenv): Do not use BP_SYM in versioned symbols.
6776         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6777         (feupdateenv): Do not use BP_SYM in versioned symbols.
6778         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6779         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6780         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6781         (feraiseexcept): Do not use BP_SYM in versioned symbols.
6782         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6783         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6784         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6785         <bp-sym.h>.
6786         (__libc_start_main): Do not use BP_SYM.
6788 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6790         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6791         redundant return line.
6792         (norm): Likewise.
6793         (denorm): Likewise.
6794         (dbl_mp): Likewise.
6795         (sub_magnitudes): Likewise.
6796         (__add): Likewise.
6797         (__sub): Likewise.
6798         (__mul): Likewise.
6799         (__inv): Likewise.
6800         (__dvd): Likewise.
6801         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6802         (norm): Likewise.
6803         (denorm): Likewise.
6804         (dbl_mp): Likewise.
6805         (sub_magnitudes): Likewise.
6806         (__add): Likewise.
6807         (__sub): Likewise.
6808         (__mul): Likewise.
6809         (__inv): Likewise.
6810         (__dvd): Likewise.
6812         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6813         instead of __mul.
6814         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6815         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6816         (cc32): Likewise.
6818         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6819         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6820         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6821         of __mul for squares.
6822         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6823         function
6824         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6825         Likewise.
6826         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6827         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6829 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
6831         [BZ #13550]
6832         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6833         code.
6834         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6835         prototype or function definition.  Rename ubp_* variables and
6836         parameters.  Remove argv definitions conditional on
6837         [__BOUNDED_POINTERS__].
6838         * debug/backtrace.c (__backtrace): Do not use __unbounded.
6839         * elf/dl-runtime.c (_dl_fixup): Likewise.
6840         * include/set-hooks.h (RUN_HOOK): Likewise.
6841         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6842         definition.
6843         * string/strcpy.c (strcpy): Do not use __unbounded.
6844         * sysdeps/generic/frame.h (struct layout): Likewise.
6845         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6846         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6847         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6848         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6849         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6850         (__backtrace): Likewise.
6851         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6852         use __ptrvalue.
6853         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6854         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6855         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6856         Likewise.
6857         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6858         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6859         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6860         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6861         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6862         Do not use __unbounded.
6863         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6864         Rename __unboundedrlimits parameter to rlimits in prototype.
6865         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6866         Do not use __unbounded.
6867         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6868         not use __ptrvalue.
6869         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6870         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6871         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6872         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6873         __ptrvalue or __unbounded.
6874         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6875         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6876         use __unbounded.
6877         (__new_msgctl): Do not use __ptrvalue.
6878         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6879         __unbounded.
6880         (__libc_msgrcv): Do not use __ptrvalue.
6881         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6882         startup_info): Do not use __unbounded.
6883         (__libc_start_main): Likewise.  Rename ubp_* variables and
6884         parameters.  Remove argv definitions conditional on
6885         [__BOUNDED_POINTERS__].
6886         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6887         __ptrvalue.
6888         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6889         use __unbounded.
6890         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6891         or __ptrvalue.
6892         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6893         use __unbounded.
6894         (__new_shmctl): Do not use __ptrvalue.
6895         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6896         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6897         Likewise.
6898         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6899         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6900         (__libc_sigaction): Likewise.
6901         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6902         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6903         Likewise.
6904         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6906 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
6908         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
6910         * string/mempcpy.c: Implement by calling memcpy.
6912 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6914         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6916         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6917         evaluation.
6919         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6920         values in the mantissa.
6922         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6923         minimize writes to Z.
6924         (sub_magnitudes): Simplify code a bit.
6926 2013-02-12  Roland McGrath  <roland@hack.frob.com>
6928         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6929         from the message.  The linker prefixes all warnings with that already.
6931 2013-02-12  Andreas Schwab  <schwab@suse.de>
6933         [BZ #15078]
6934         * posix/regexec.c (extend_buffers): Add parameter min_len.
6935         (check_matching): Pass minimum needed length.
6936         (clean_state_log_if_needed): Likewise.
6937         (get_subexp): Likewise.
6938         * posix/Makefile (tests): Add bug-regex34.
6939         (bug-regex34-ENV): Define.
6940         * posix/bug-regex34.c: New file.
6942         [BZ #11561]
6943         * posix/regcomp.c (parse_bracket_exp): When looking up collating
6944         elements compare against the byte sequence of it, not its name.
6945         * posix/Makefile (tests): Add bug-regex35.
6946         (bug-regex35-ENV): Define.
6947         * posix/bug-regex35.c: New file.
6949 2013-02-11  Tom de Vries  <tom@codesourcery.com>
6951         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
6952         comment.
6953         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6954         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6955         (CHECK_EOL): Add undef.
6957 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
6959         * bits/stdlib-bsearch.h: New file.
6960         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
6961         * stdlib/stdlib.h: Likewise.
6963 2013-02-11  Roland McGrath  <roland@hack.frob.com>
6965         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6966         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6967         declaration.
6968         * manual/search.texi (Array Search Function): Add missing const in
6969         lfind prototype.
6970         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6971         declaration to use rlim_t.
6972         (Basic Scheduling Functions): Remove erroneous const from
6973         sched_getparam prototype.  Remove erroneous * from
6974         sched_get_priority_max and sched_get_priority_min prototypes.
6975         (Resource Usage): Fix summary @comment on vtimes to refer to
6976         sys/vtimes.h rather than vtimes.h.
6977         Add missing *s in vtimes prototype.
6978         (Limits on Resources): Fix ulimit prototype to return long int.
6979         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6980         prototypes to use long int rather than double.
6981         (BSD Random): Fix initstate and setstate to use char *, not void *.
6982         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6983         prototype to make second argument 'struct aiocb64 *const[]'.
6984         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6985         (Status of AIO Operations): Remove erroneous const in aio_return and
6986         aio_return64 prototypes.
6987         (Synchronizing I/O): Fix sync prototype to return void.
6988         * manual/startup.texi (Suboptions): Remove an erroneous const in
6989         getsubopt prototype.
6990         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6991         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6992         use size_t rather than int.
6993         (Scanning All Users): Likewise for getpwent_r.
6994         (Setting Groups): Add missing const to setgroups prototype.
6995         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6996         * manual/socket.texi (Host Names): Fix gethostbyaddr and
6997         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6998         'const void *' rather than 'const char *'.
6999         (Host Address Functions): Likewise for inet_ntop.
7000         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7001         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7002         ssize_t for return value.
7003         (Sending Data): Likewise for send, sendto, sendmsg.
7004         (Socket Option Functions): Add a missing const in setsockopt prototype.
7005         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7006         use wchar_t for the argument.
7007         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7008         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7009         take no arguments.
7010         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7011         double/float/long double for second argument.
7012         Fix return types of significand, significandf, significandl.
7013         * manual/filesys.texi (Setting Permissions): Use mode_t for second
7014         argument in fchmod prototype.
7015         (File Owner): Use uid_t and gid_t in fchown prototype.
7016         (File Times): Add const to utimes, futimes, and lutimes prototypes.
7017         (Making Special Files): Use mode_t and dev_t in mknod prototype.
7018         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7019         use 'const struct dirent **' as argument types to CMP function pointer
7020         argument.
7021         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7022         (File Times): Fix summary magic @comment for struct utimbuf and utime
7023         to refer to utime.h, not time.h.
7024         * manual/string.texi (Argz Functions): Add missing const in
7025         argz_extract and argz_next prototypes.
7026         (Finding Tokens in a String): Likewise for basename.
7027         (String/Array Comparison): Fix typo in wcscasecmp prototype.
7028         (Copying and Concatenation): Fix typo in wmemmove prototype.
7029         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7030         (Signal Stack): Remove erroneous const in sigstack prototype.
7031         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7032         prototype.
7033         (Simple Calendar Time): Likewise for stime.
7034         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7035         prototype.
7036         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7037         say sys/sysctl.h instead.
7038         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7039         and vsyslog prototypes.
7041 2013-02-11  Tom de Vries  <tom@codesourcery.com>
7043         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7044         Remove.
7046 2013-02-11  Roland McGrath  <roland@hack.frob.com>
7048         * misc/sys/mman.h: Fix typo in mremap comment.
7050 2013-02-08  Roland McGrath  <roland@hack.frob.com>
7052         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7053         the '\0' terminator.
7055 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
7057         [BZ #13550]
7058         * debug/segfault.c: Don't include <bp-checks.h>.
7059         * sysdeps/generic/bp-checks.h: Remove file.
7060         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7061         (__GETDENTS): Don't use CHECK_N.
7062         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7063         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7064         (__getgroups): Don't use CHECK_N.
7065         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7066         (setgroups): Don't use CHECK_N.
7067         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7068         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7069         (__libc_msgrcv): Don't use CHECK_N.
7070         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7071         (__libc_msgsnd): Don't use CHECK_N.
7072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7073         <bp-checks.h>.
7074         (__libc_pread): Don't use CHECK_N.
7075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7076         include <bp-checks.h>.
7077         (__libc_pread64): Don't use CHECK_N.
7078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7079         include <bp-checks.h>.
7080         (__libc_pwrite): Don't use CHECK_N.
7081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7082         include <bp-checks.h>.
7083         (__libc_pwrite64): Don't use CHECK_N.
7084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7085         <bp-checks.h>.
7086         (__libc_pread): Don't use CHECK_N.
7087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7088         include <bp-checks.h>.
7089         (__libc_pread64): Don't use CHECK_N.
7090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7091         include <bp-checks.h>.
7092         (__libc_pwrite): Don't use CHECK_N.
7093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7094         include <bp-checks.h>.
7095         (__libc_pwrite64): Don't use CHECK_N.
7096         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7097         (do_pread): Don't use CHECK_N.
7098         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7099         (do_pread64): Don't use CHECK_N.
7100         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7101         (do_pwrite): Don't use CHECK_N.
7102         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7103         (do_pwrite64): Don't use CHECK_N.
7104         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7105         (__libc_readv): Don't use CHECK_N.
7106         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7107         (semop): Don't use CHECK_N.
7108         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7109         <bp-checks.h>.
7110         (semtimedop): Don't use CHECK_N.
7111         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7112         (__libc_pread): Don't use CHECK_N.
7113         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7114         <bp-checks.h>.
7115         (__libc_pread64): Don't use CHECK_N.
7116         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7117         <bp-checks.h>.
7118         (__libc_pwrite): Don't use CHECK_N.
7119         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7120         <bp-checks.h>.
7121         (__libc_pwrite64): Don't use CHECK_N.
7122         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7123         <bp-checks.h>.
7124         (__libc_msgrcv): Don't use CHECK_N.
7125         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7126         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
7127         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7128         (__libc_writev): Don't use CHECK_N.
7130 2013-02-08  Roland McGrath  <roland@hack.frob.com>
7132         * string/strcpy.c: Removed unused variable.
7134         * Makeconfig (+sysdep-includes): Define with := rather than =.
7135         Use an existing include/ subdir of each sysdeps dir before it.
7137 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7139         * nscd/connection.c (register_traced_file): Comment function.
7140         [HAVE_INOTIFY] (union __inev): Define.
7141         [HAVE_INOTIFY] (inotify_check_files): New function.
7142         [HAVE_INOTIFY] (clear_db_cache): Likewise.
7143         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7144         clear_db_cache.
7145         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7147 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7149         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7150         loaded if not already and that a failure is permanent.
7152 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7154         [BZ #15006]
7155         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7156         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7158 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
7160         [BZ #13550]
7161         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7162         (CHECK_1_NULL_OK): Likewise.
7163         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7164         (__fxstat): Do not use CHECK_1.
7165         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7166         <bp-checks.h>.
7167         (___fxstat64): Do not use CHECK_1.
7168         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7169         <bp-checks.h>.
7170         (__fxstatat): Do not use CHECK_1.
7171         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7172         <bp-checks.h>.
7173         (__fxstatat64): Do not use CHECK_1.
7174         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7175         <bp-checks.h>.
7176         (__fxstat): Do not use CHECK_1.
7177         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7178         <bp-checks.h>.
7179         (__fxstatat): Do not use CHECK_1.
7180         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7181         <bp-checks.h>.
7182         (__getresgid): Do not use CHECK_1.
7183         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7184         <bp-checks.h>.
7185         (__getresuid): Do not use CHECK_1.
7186         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7187         <bp-checks.h>.
7188         (__lxstat): Do not use CHECK_1.
7189         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7190         <bp-checks.h>.
7191         (__old_msgctl): Do not use CHECK_1.
7192         (__new_msgctl): Likewise.
7193         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7194         <bp-checks.h>.
7195         (__new_setrlimit): Do not use CHECK_1.
7196         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7197         <bp-checks.h>.
7198         (__old_shmctl): Do not use CHECK_1.
7199         (__new_shmctl): Likewise.
7200         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7201         <bp-checks.h>.
7202         (__xstat): Do not use CHECK_1.
7203         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7204         (__lxstat): Do not use CHECK_1.
7205         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7206         <bp-checks.h>.
7207         (___lxstat64): Do not use CHECK_1.
7208         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7209         (__old_msgctl): Do not use CHECK_1.
7210         (__new_msgctl): Likewise.
7211         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7212         <bp-checks.h>.
7213         (__gettimeofday): Do not use CHECK_1.
7214         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7215         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7216         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7217         <bp-checks.h>.
7218         (__gettimeofday): Do not use CHECK_1.
7219         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7220         (__old_shmctl): Do not use CHECK_1_NULL_OK.
7221         (__new_shmctl): Do not use CHECK_1.
7222         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7223         <bp-checks.h>.
7224         (do_sigtimedwait): Do not use CHECK_1.
7225         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7226         <bp-checks.h>.
7227         (do_sigwaitinfo): Do not use CHECK_1.
7228         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7229         <bp-checks.h>.
7230         (msgctl): Do not use CHECK_1.
7231         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7232         <bp-checks.h>.
7233         (shmctl): Do not use CHECK_1.
7234         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7235         (ustat): Do not use CHECK_1.
7236         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7237         <bp-checks.h>.
7238         (__fxstat): Do not use CHECK_1.
7239         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7240         <bp-checks.h>.
7241         (__fxstatat): Do not use CHECK_1.
7242         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7243         <bp-checks.h>.
7244         (__lxstat): Do not use CHECK_1.
7245         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7246         <bp-checks.h>.
7247         (__xstat): Do not use CHECK_1.
7248         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7249         (__xstat): Do not use CHECK_1.
7250         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7251         (___xstat64): Do not use CHECK_1.
7253         [BZ #13550]
7254         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7255         definitions.
7256         (CHECK_BOUNDS_HIGH): Likewise.
7257         * string/strcpy.c: Do not include <bp-checks.h>.
7258         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7260 2013-02-07  Roland McGrath  <roland@hack.frob.com>
7262         * nscd/nscd-client.h (__nscd_drop_map_ref):
7263         Add __attribute__ ((unused)).
7264         * nis/nss-nisplus.h (niserr2nss): Likewise.
7266         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7267         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7269         * csu/libc-tls.c (init_static_tls, init_slotinfo):
7270         Remove inline keyword.
7271         * include/rounding-mode.h (round_away): Likewise.
7272         * libio/wfileops.c (adjust_wide_data): Likewise.
7273         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7274         (__m128i_strloadu_tolower): Likewise.
7275         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7276         (__m128i_strloadu_tolower): Likewise.
7277         * time/mktime.c (ydhms_diff): Likewise.
7278         * locale/elem-hash.h (elem_hash): Likewise.
7279         * locale/setlocale.c (setdata): Likewise.
7280         * posix/regex_internal.h (re_string_char_size_at): Likewise.
7281         (re_string_wchar_at): Likewise.
7282         (bitset_not, bitset_merge, bitset_mask): Likewise.
7283         [!(__GNUC__ > 3)] (inline): Remove macro.
7284         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7285         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7286         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7287         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7288         * string/memcmp.c (memcmp_bytes): Likewise.
7289         * locale/programs/locarchive.c (compute_hashval): Likewise.
7290         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7291         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7292         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7293         * nss/getent.c (print_rpc, print_protocols): Likewise.
7294         (print_passwd, print_group, print_aliases): Likewise.
7295         * nis/nss-nisplus.h (niserr2nss): Likewise.
7296         * nscd/connections.c (restart_p): Likewise.
7297         Change return type to bool.
7299 2013-02-05  Roland McGrath  <roland@hack.frob.com>
7301         * Makeconfig (all-Depend-files): Add existing
7302         $(sorted-subdirs:=/Depend) files.
7303         (all-subdirs): Remove nss.
7304         * sysdeps/unix/inet/Subdirs: Add it here instead.
7305         * hesiod/Depend: New file.
7307         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7308         instead of calling alloca.
7310         * io/lseek.c (__lseek): Rename to __libc_lseek.
7311         Define __lseek as an alias.
7313         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7315 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
7317         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7318         else clause and remove check for non-standard endianness.
7320 2013-02-04  David S. Miller  <davem@davemloft.net>
7322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7324 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
7326         [BZ #13550]
7327         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7328         (__ubp_memchr): Remove prototype.
7329         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7330         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7331         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7332         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7333         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7334         Remove alias.
7335         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7336         (__ubp_memchr): Likewise.
7337         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7338         (__ubp_memchr): Likewise.
7339         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7340         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7341         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7342         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7343         CHECK_STRING.
7344         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7345         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7346         (__getcwd): Do not use CHECK_STRING.
7347         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7348         <bp-checks.h>.
7349         (__real_chown): Do not use CHECK_STRING.
7350         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7351         <bp-checks.h>.
7352         (fchownat): Do not use CHECK_STRING.
7353         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7354         CHECK_STRING.
7355         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7356         <bp-checks.h>.
7357         (__lchown): Do not use CHECK_STRING.
7358         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7359         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7360         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7361         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7363         include <bp-checks.h>.
7364         (truncate64): Do not use CHECK_STRING.
7365         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7366         <bp-checks.h>.
7367         (__real_chown): Do not use CHECK_STRING.
7368         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7369         <bp-checks.h>.
7370         (__lchown): Do not use CHECK_STRING.
7371         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7372         <bp-checks.h>.
7373         (__chown): Do not use CHECK_STRING.
7374         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7375         <bp-checks.h>.
7376         (truncate64): Do not use CHECK_STRING.
7377         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7378         Likewise.
7379         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7380         (__xmknod): Do not use CHECK_STRING.
7381         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7382         <bp-checks.h>.
7383         (__xmknodat): Do not use CHECK_STRING.
7384         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7385         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7387 2013-02-04  Andreas Schwab  <schwab@suse.de>
7389         [BZ #14142]
7390         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7391         * include/netdb.h: Likewise for h_errno.
7392         * elf/tst-stackguard1.c: Include <tls.h>.
7394 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
7396         * elf/link.h (struct link_map): Extend the l_addr comment.
7397         * include/link.h (struct link_map): Likewise.
7399 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
7401         [BZ #13550]
7402         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7403         (BOUNDED_1): Remove macro.
7404         * debug/backtrace.c: Don't include <bp-checks.h>.
7405         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7406         (__backtrace): Likewise.
7407         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7408         <bp-checks.h>.
7409         (__backtrace): Don't use BOUNDED_1.
7410         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7411         <bp-checks.h>.
7412         (__backtrace): Don't use BOUNDED_1.
7413         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7414         (__backtrace): Don't use BOUNDED_1.
7415         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7416         (shmat): Don't use BOUNDED_N.
7418 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
7420         [BZ #13550]
7421         * sysdeps/generic/bp-start.h: Remove file.
7422         * csu/libc-start.c: Don't include <bp-start.h>.
7423         (LIBC_START_MAIN): Set up __environ directly instead of using
7424         INIT_ARGV_and_ENVIRON.
7425         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7426         <bp-start.h>.
7428         [BZ #13550]
7429         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7430         definitions.
7431         (CHECK_FCNTL): Likewise.
7432         (CHECK_N_PAGES): Likewise.
7434         [BZ #13550]
7435         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7436         definitions.
7437         (CHECK_SIGSET_NULL_OK): Likewise.
7438         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7439         <bp-checks.h>.
7440         (sigpending): Don't use CHECK_SIGSET.
7441         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7442         <bp-checks.h>.
7443         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7444         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7445         <bp-checks.h>.
7446         (do_sigsuspend): Don't use CHECK_SIGSET.
7447         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7448         use CHECK_SIGSET.
7449         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7450         (do_sigwait): Don't use CHECK_SIGSET.
7451         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7452         use CHECK_SIGSET.
7453         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7454         include <bp-checks.h>.
7455         (sigpending): Don't use CHECK_SIGSET.
7456         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7457         include <bp-checks.h>.
7458         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7459         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7460         <bp-checks.h>.
7461         (sigpending): Don't use CHECK_SIGSET.
7462         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7463         <bp-checks.h>.
7464         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7466         [BZ #13550]
7467         * sysdeps/generic/bp-semctl.h: Remove file.
7468         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7469         <bp-checks.h> and <bp-semctl.h>.
7470         (__old_semctl): Don't use CHECK_SEMCTL.
7471         (__new_semctl): Likewise.
7472         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7473         and <bp-semctl.h>.
7474         (__old_semctl): Don't use CHECK_SEMCTL.
7475         (__new_semctl): Likewise.
7476         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7477         <bp-checks.h> and <bp-semctl.h>.
7478         (__old_semctl): Don't use CHECK_SEMCTL.
7479         (__new_semctl): Likewise.
7480         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7481         <bp-checks.h> and <bp-semctl.h>.
7482         (semctl): Don't use CHECK_SEMCTL.
7484         [BZ #13550]
7485         * Makerules (elide-bp-thunks): Remove variable.
7486         (elide-routines.oS): Don't use $(elide-bp-thunks).
7487         (elide-routines.os): Likewise.
7488         (elide-routines.o): Likewise.
7489         (elide-routines.op): Likewise.
7490         (elide-routines.og): Likewise.
7491         (objects): Don't use $(bp-thunks).
7492         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7493         include.
7494         (common-generated): Do not add s-proto-bp.d.
7495         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7496         (int): Likewise.
7497         (typ): Likewise.
7498         Do not generate makefile rules for bounded-pointer thunks.
7499         * sysdeps/generic/bp-thunks.h: Remove file.
7500         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7501         * sysdeps/unix/s-proto-bp.S: Likewise.
7503         [BZ #15062]
7504         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7505         parts of result separately when argument is not close to line from
7506         -i to i and one part of argument is small.
7507         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7508         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7509         * math/libm-test.inc (cacos_test): Add more tests.
7510         (casin_test): Likewise.
7511         (casinh_test): Likewise.
7512         * sysdeps/i386/fpu/libm-test-ulps: Update.
7513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7515 2013-01-31  David S. Miller  <davem@davemloft.net>
7517         * po/de.po: Update from translation team.
7519 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
7521         * time/tzfile.c: Include stdint.h for SIZE_MAX.
7523 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
7525         * configure.in (_AC_PROG_CC_C89): New definition.
7526         * configure: Regenerate.
7528         * configure.in (AC_PROG_CPP): New definition.
7529         * configure: Regenerate.
7531 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
7533         * debug/tst-backtrace.h: New file.
7534         * debug/tst-backtrace2.c: Include tst-backtrace.h.
7535         (ret): Remove variable.
7536         (x): Likewise.
7537         (FAIL): Remove macro.
7538         (NO_INLINE): Likewise.
7539         (fn1): Use match function instead of strstr.
7540         * debug/tst-backtrace3.c: Include tst-backtrace.h.
7541         (ret): Remove variable.
7542         (x): Likewise.
7543         (FAIL): Remove macro.
7544         (NO_INLINE): Likewise.
7545         (fn): Use match function instead of strstr.
7546         * debug/tst-backtrace4.c: Include tst-backtrace.h.
7547         (ret): Remove variable.
7548         (x): Likewise.
7549         (FAIL): Remove macro.
7550         (NO_INLINE): Likewise.
7551         (handle_signal): Use match function instead of strstr.
7552         * debug/tst-backtrace5.c: Include tst-backtrace.h.
7553         (ret): Remove variable.
7554         (x): Likewise.
7555         (FAIL): Remove macro.
7556         (NO_INLINE): Likewise.
7557         (handle_signal): Use match function instead of strstr.
7559 2013-01-23  Roland McGrath  <roland@hack.frob.com>
7561         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7563 2013-01-23  David S. Miller  <davem@davemloft.net>
7565         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7566         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7567         argument of CAS if possible.
7568         * sysdeps/sparc/sparc64/bits/atomic.h
7569         (__arch_compare_and_exchange_val_32_acq): Likewise.
7570         (__arch_compare_and_exchange_val_64_acq): Likewise.
7572 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
7574         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7575         * sysdeps/posix/ulimit.c: ... this.
7576         Include <limits.h>.
7577         * sysdeps/unix/bsd/ulimit.c: Remove file.
7579 2013-01-23  Adam Conrad  <adconrad@0c3.net>
7581         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7582         (LDFLAGS-tst-array5): Likewise.
7584 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
7586         [BZ #15036]
7587         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7588         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7589         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7590         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7592 2013-01-21  David S. Miller  <davem@davemloft.net>
7594         * sysdeps/sparc/backtrace.c: New file.
7595         * sysdeps/sparc/sparc32/backtrace.h: New file.
7596         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7597         * sysdeps/sparc/sparc64/backtrace.h: New file.
7598         * sysdeps/sparc/sparc64/backtrace.c: Delete.
7599         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7600         -funwind-tables.
7602 2013-01-21  Andreas Schwab  <schwab@suse.de>
7604         [BZ #15020]
7605         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7606         closed its stdout.
7608 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
7610         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7611         "mpa2.h".
7612         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7614 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
7615             Mark Mitchell  <mark@codesourcery.com>
7616             Tom de Vries  <tom@codesourcery.com>
7617             Paul Pluzhnikov  <ppluzhnikov@google.com>
7619         * debug/tst-backtrace2.c: New file.
7620         * debug/tst-backtrace3.c: Likewise.
7621         * debug/tst-backtrace4.c: Likewise.
7622         * debug/tst-backtrace5.c: Likewise.
7623         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7624         (CFLAGS-tst-backtrace3.c): Likewise.
7625         (CFLAGS-tst-backtrace4.c): Likewise.
7626         (CFLAGS-tst-backtrace5.c): Likewise.
7627         (LDFLAGS-tst-backtrace2): Likewise.
7628         (LDFLAGS-tst-backtrace3): Likewise.
7629         (LDFLAGS-tst-backtrace4): Likewise.
7630         (LDFLAGS-tst-backtrace5): Likewise.
7631         (tests): Add new tests tst-backtrace2, tst-backtrace3,
7632         tst-backtrace4 and tst-backtrace5.
7634 2013-01-18  Anton Blanchard  <anton@samba.org>
7635             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7637         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7638         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7639         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7640         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7642         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7643         "+r" and remove output regs list as redundant.  Add explicit inline
7644         asm to specify register of return val to work around compiler codegen
7645         bug.  Remove (int) cast on return value.  Add return type parameter to
7646         use in macro so that this macro does not truncate return value for
7647         64-bit values.
7648         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7649         pass to INTERNAL_VSYSCALL_NCS.
7650         (INLINE_VSYSCALL): Add 'long int' as return type to
7651         INTERNAL_VSYSCALL_NCS macro invocation.
7652         (INTERNAL_VSYSCALL): Add 'long int' as return type to
7653         INTERNAL_VSYSCALL_NCS macro invocation.
7654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7656 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7658         [BZ #14496]
7659         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7660         Fix application of SIMD FP exception mask.
7662         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7663         mp_no from a power of two.
7664         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7665         __mpexp_twomm1.  Use __pow_mp.
7667         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7668         multiplication.
7670 2013-01-17  David S. Miller  <davem@davemloft.net>
7672         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7674 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
7676         [BZ #15023]
7677         * include/complex.h: Condition contents on [!_COMPLEX_H].
7678         (__kernel_casinhf): New prototype.
7679         (__kernel_casinh): Likewise.
7680         (__kernel_casinhl): Likewise.
7681         * math/Makefile (libm_calls): Add k_casinh.
7682         * math/k_casinh.c: New file.
7683         * math/k_casinhf.c: Likewise.
7684         * math/k_casinhl.c: Likewise.
7685         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7686         finite nonzero arguments.
7687         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7688         finite nonzero arguments.
7689         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7690         finite nonzero arguments.
7691         * math/s_casinh.c: Do not include <float.h>.
7692         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7693         * math/s_casinhf.c: Do not include <float.h>.
7694         (__casinhf): Move code for finite nonzero arguments to
7695         k_casinhf.c.
7696         * math/s_casinhl.c: Do not include <float.h>.
7697         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7698         redefine.
7699         (__casinhl): Move code for finite nonzero arguments to
7700         k_casinhl.c.
7701         * math/libm-test.inc (cacos_test): Add more tests.
7702         * sysdeps/i386/fpu/libm-test-ulps: Update.
7703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7705 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
7707         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7708         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7709         [!HAVE_MREMAP]: Remove [defined linux] case.
7710         * malloc/arena.c: Do not include <malloc-sysdep.h>.
7712 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7714         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7716 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
7718         * elf/elf.h (R_386_SIZE32): New relocation.
7719         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7720         R_386_SIZE32.
7721         (elf_machine_rela): Likewise.
7722         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7723         R_X86_64_SIZE64 and R_X86_64_SIZE32.
7725 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
7727         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7728         (FP_FAST_FMA): Do not define.
7729         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7730         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7731         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7732         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7733         !_SOFT_FLOAT]: Likewise.
7734         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7735         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7736         value.
7737         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7738         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7739         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7740         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7741         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7742         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7743         file.
7745 2013-01-16  Andreas Schwab  <schwab@suse.de>
7747         [BZ #14327]
7748         * include/stdlib.h (__mktemp): Add declaration.
7749         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7750         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7752 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7754         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7755         definitions.
7756         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7757         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7758         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7759         definitions here.
7760         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7761         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7762         definitions.
7763         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7764         and ONE.
7765         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7766         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7767         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7768         definitions.
7769         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7770         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7771         definitions.
7772         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7774         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7776 2013-01-15  David S. Miller  <davem@davemloft.net>
7778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7779         trunc{,f} to libm-sysdep_routes.
7780         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7782         file.
7783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7785         file.
7786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7787         file.
7788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7790         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7791         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7792         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7793         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7794         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7795         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7798         nearbyint{,f} to libm-sysdep_routes.
7799         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7801         New file.
7802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7803         file.
7804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7805         New file.
7806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7807         file.
7808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7810         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7811         file.
7812         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7813         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7814         file.
7815         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7816         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7817         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7819         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7820         libc_feholdexcept and libc_fesetenv.
7822 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
7824         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7826 2013-01-14  David S. Miller  <davem@davemloft.net>
7828         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7829         (SPARC_ASM_VIS2_IFUNC): Likewise.
7830         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7832         use of 'siam' instruction.
7833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7834         Likewise.
7835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7836         Likewise.
7837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7838         Likewise.
7839         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7840         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7841         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7842         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7844         file.
7845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7846         file.
7847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7848         file.
7849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7850         file.
7851         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7852         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7853         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7854         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7856         new VIS2 routines.
7857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7860         Likewise.
7861         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7862         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7863         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7864         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7866         routines to libm-sysdep_routines.
7867         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7870         fdim/fdimf to libm-sysdep_routines.
7871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7872         file.
7873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7875         file.
7876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7879         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7880         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7881         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7882         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7884 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7886         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7887         to optimize copies.
7889         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7890         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7891         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7893         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7894         local variable MPTWO.
7895         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7896         Likewise.
7898 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7900         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7901         GLOB_NOESCAPE.
7903 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7905         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7907 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7909         * manual/pattern.texi (glob_t): Document gl_flags.
7910         (glob64_t): Likewise.
7912 2013-01-11  David S. Miller  <davem@davemloft.net>
7914         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7915         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7916         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
7917         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7918         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7919         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7920         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7921         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7922         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7923         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7924         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7925         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7926         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7928         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7929         sparc V9 rather than using V8 code.
7930         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7931         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7933         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7934         Move to...
7935         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7936         Here.
7938 2013-01-11  Roland McGrath  <roland@hack.frob.com>
7940         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7941         not in the main loop.
7942         * configure: Regenerated.
7944 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
7946         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7947         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7948         to just #else.
7949         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
7950         [!__GLIBC_HAVE_LONG_LONG] case.
7951         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7952         condition to just #else.
7953         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7954         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7955         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7956         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7957         unconditional.
7958         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7959         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7960         #elif condition to just #else.
7961         * sysdeps/unix/sysv/linux/sys/sysmacros.h
7962         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7963         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7964         #elif condition to just #else.
7966 2013-01-11  Steve Ellcey  <sellcey@mips.com>
7968         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7969         (EF_MIPS_ARCH_64): Fix value.
7970         (EF_MIPS_ARCH_32R2): New.
7971         (EF_MIPS_ARCH_64R2): New.
7973 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
7975         * Makeconfig (+link-pie-before-libc): New.
7976         (+link-pie-after-libc): Likewise.
7977         (+link-pie-tests): Likewise.
7978         (+link-pie): Rewritten.
7979         (link-before-libc): Remove $(config-LDFLAGS).
7980         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7981         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7982         (config-LDFLAGS): Renamed to ...
7983         (rtld-LDFLAGS): This.
7984         (rtld-tests-LDFLAGS): New macro.
7985         (link-libc-rpath-link): Likewise.
7986         (link-libc-tests-rpath-link): Likewise.
7987         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7988         (link-libc): Prepand $(link-libc-rpath-link).
7989         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7990         (test-program-prefix): New macro.
7991         (test-via-rtld-prefix): Likewise.
7992         (test-program-cmd): Likewise.
7993         (host-test-program-cmd): Likewise.
7994         * Makefile ($(common-objpfx)testrun.sh): Replace
7995         $(run-program-prefix) with $(test-program-prefix).
7996         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7997         $(rtld-LDFLAGS).
7998         ($(common-objpfx)shlib.lds): Likewise.
7999         (build-module-helper): Likewise.
8000         ($(common-objpfx)format.lds): Likewise.
8001         * Rules (binaries-pie-tests): New.
8002         (binaries-pie-notests): Likewise.
8003         (binaries-pie): Rewritten.
8004         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8005         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8006         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8007         (make-test-out): Replace $(host-built-program-cmd) with
8008         $(host-test-program-cmd).
8009         * config.make.in (build-hardcoded-path-in-tests): New variable.
8010         * configure.in (--enable-hardcoded-path-in-tests): New configure
8011         option.
8012         (hardcoded_path_in_tests): New AC_SUBST.
8013         * configure: Regenerated.
8014         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8015         $(built-program-cmd) with $(test-program-cmd).
8016         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8017         (test_program_cmd): This.
8018         * elf/Makefile ($(objpfx)order.out): Run test with
8019         $(test-program-prefix).
8020         ($(objpfx)order2.out): Likewise.
8021         ($(objpfx)tst-initorder.out): Likewise.
8022         ($(objpfx)tst-initorder2.out): Likewise.
8023         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8024         $(test-program-cmd).
8025         ($(objpfx)tst-array1-static.out): Likewise.
8026         ($(objpfx)tst-array2.out): Likewise.
8027         ($(objpfx)tst-array3.out): Likewise.
8028         ($(objpfx)tst-array4.out): Likewise.
8029         ($(objpfx)tst-array5.out): Likewise.
8030         ($(objpfx)tst-array5-static.out): Likewise.
8031         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8032         $(test-program-cmd).
8033         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8034         $(run-program-prefix) with $(test-program-prefix).
8035         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8036         (test_program_prefix): This.
8037         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8038         $(run-program-prefix) with $(test-program-prefix).
8039         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8040         (test_program_prefix): This.
8041         * iconvdata/tst-tables.sh: Likewise.
8042         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8043         $(run-program-prefix) with $(test-program-prefix).
8044         ($(objpfx)tst-translit.out): Likewise.
8045         ($(objpfx)tst-gettext2.out): Likewise.
8046         ($(objpfx)tst-gettext4.out): Likewise.
8047         ($(objpfx)tst-gettext6.out): Likewise.
8048         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8049         (test_program_prefix): This.
8050         * intl/tst-gettext2.sh: Likewise.
8051         * intl/tst-gettext4.sh  Likewise.
8052         * intl/tst-gettext6.sh: Likewise.
8053         * intl/tst-translit.sh: Likewise.
8054         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8055         with $(test-program-cmd).
8056         * libio/Makefile ($(objpfx)test-freopen.out): Replace
8057         $(run-program-prefix) with $(test-program-prefix).
8058         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8059         (test_program_prefix): This.
8060         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8061         $(run-program-prefix) with $(test-program-prefix).
8062         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8063         (test_program_prefix): This.
8064         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8065         * posix/Makefile ($(objpfx)globtest.out): Replace
8066         $(run-via-rtld-prefix) and $(test-wrapper) with
8067         $(test-program-prefix) and $(test-via-rtld-prefix).
8068         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8069         $(test-program-prefix).
8070         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8071         $(host-test-program-cmd).
8072         (tst-spawn-ARGS): Likewise.
8073         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8074         $(test-program-prefix).
8075         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8076         (test_via_rtld_prefix): This.
8077         (test_wrapper): Renamed to ...
8078         (test_program_prefix): This.
8079         (run_program_prefix): Replaced by test_program_prefix.
8080         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8081         (test_program_prefix): This.
8082         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8083         with $(host-test-program-cmd).
8084         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8085         $(run-program-prefix) with $(test-program-prefix).
8086         ($(objpfx)tst-printf.out): Likewise.
8087         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8088         $(test-program-cmd).
8089         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8090         (test_program_prefix): This.
8091         * stdio-common/tst-unbputc.sh: Likewise.
8092         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8093         $(run-program-prefix) with $(test-program-prefix).
8094         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8095         (test_program_prefix): This.
8096         * string/Makefile ($(objpfx)tst-svc.out):  Replace
8097         $(built-program-cmd) with $(test-program-cmd).
8099 2013-01-11  Andreas Jaeger  <aj@suse.de>
8101         [BZ #15003]
8102         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8103         value. Sync with Linux 3.7.
8105 2013-01-10  David S. Miller  <davem@davemloft.net>
8107         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8108         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8109         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8111 2013-01-10  Roland McGrath  <roland@hack.frob.com>
8113         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8114         never set.
8115         * configure: Regenerated.
8117 2013-01-10  David S. Miller  <davem@davemloft.net>
8119         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8120         sparc V9 rather than using V8 code.
8121         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8122         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8124 2013-01-10  Roland McGrath  <roland@hack.frob.com>
8126         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8127         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8128         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8129         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8130         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8131         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8132         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8133         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8134         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8135         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8136         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8137         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8138         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8139         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8140         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8141         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8142         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8143         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8144         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8145         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8146         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8147         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8148         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8149         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8150         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8151         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8152         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8154 2013-01-10  David S. Miller  <davem@davemloft.net>
8156         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8158 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
8160         * posix/Makefile (tests-static): New variable.
8161         (tests): Add $(tests-static).
8162         (tst-exec-static-ARGS): New variable.
8163         (tst-spawn-static-ARGS): Likewise.
8164         * posix/tst-exec-static.c: New file.
8165         * posix/tst-spawn-static.c: Likewise.
8166         * posix/tst-exec.c: Support run directly.
8167         * posix/tst-spawn.c: Likewise.
8169 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
8171         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8172         long.
8173         * math/bits/mathcalls.h (llrint): Likewise.
8174         (llround): Likewise.
8175         * stdlib/stdlib.h (struct drand48_data): Likewise.
8176         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8177         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8178         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8179         Likewise.
8180         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8181         Likewise.
8182         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8183         (elf_greg_t): Likewise.
8184         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8185         (__jmp_buf): Likewise.
8186         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8187         definitions.
8188         (llrint): Likewise, for all definitions.
8189         (llrintl): Likewise.
8191         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8192         Remove [__GNUC__] condition.
8193         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8194         condition to just [__USE_ISOC99].
8195         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8197 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
8199         [BZ #14200]
8200         * sysdeps/unix/sysv/linux/x86/bits/environments.h
8201         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8202         defined.
8203         (_POSIX_V6_ILP32_OFF32): Likewise.
8204         (_XBS5_ILP32_OFF32): Likewise.
8205         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8206         (__ILP32_OFFBIG_LDFLAGS): Likewise.
8208 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8210         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8212         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8213         doubles __mpexp_twomm1.  Adjust usage.
8214         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8215         Remove.
8217 2013-01-10  Andreas Schwab  <schwab@suse.de>
8219         [BZ #14964]
8220         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8221         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8223 2013-01-09  David S. Miller  <davem@davemloft.net>
8225         [BZ #15003]
8226         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8227         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8228         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8229         TCP_FASTOPEN): Define.
8230         (tcp_repair_opt): New structure.
8231         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8232         enum values.
8233         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8234         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8235         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8236         (tcp_cookie_transactions): New structure.
8238 2013-01-09  Anton Blanchard  <anton@samba.org>
8240         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8241         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8242         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8243         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8245 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
8247         * include/features.h (__USE_ANSI): Remove.
8249 2013-01-09  Roland McGrath  <roland@hack.frob.com>
8251         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8253         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8255 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
8257         * sysdeps/s390/fpu/libm-test-ulps: Update.
8259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8261         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8262         (__acr): Likewise.
8263         (__cpy): Likewise.
8264         (norm): Likewise.
8265         (denorm): Likewise.
8266         (__mp_dbl): Likewise.
8267         (__dbl_mp): Likewise.
8268         (add_magnitudes): Likewise.
8269         (sub_magnitudes): Likewise.
8270         (__add): Likewise.
8271         (__sub): Likewise.
8272         (__mul): Likewise.
8273         (__inv): Likewise.
8274         (__dvd): Likewise.
8275         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8276         (__acr): Likewise.
8277         (__cpy): Likewise.
8278         (norm): Likewise.
8279         (denorm): Likewise.
8280         (__mp_dbl): Likewise.
8281         (__dbl_mp): Likewise.
8282         (add_magnitudes): Likewise.
8283         (sub_magnitudes): Likewise.
8284         (__add): Likewise.
8285         (__sub): Likewise.
8286         (__mul): Likewise.
8287         (__inv): Likewise.
8288         (__dvd): Likewise.
8289         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8290         (__acr): Likewise.
8291         (__cpy): Likewise.
8292         (norm): Likewise.
8293         (denorm): Likewise.
8294         (__mp_dbl): Likewise.
8295         (__dbl_mp): Likewise.
8296         (add_magnitudes): Likewise.
8297         (sub_magnitudes): Likewise.
8298         (__add): Likewise.
8299         (__sub): Likewise.
8300         (__mul): Likewise.
8301         (__inv): Likewise.
8302         (__dvd): Likewise.
8304 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
8306         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8307         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8308         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8309         2 && __USE_EXTERN_INLINES]: Likewise.
8311 2013-01-08  Andreas Jaeger  <aj@suse.de>
8313         [BZ# 14985]
8314         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8315         Remove.
8316         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8317         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8319 2013-01-07  Anton Blanchard  <anton@samba.org>
8321         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8322         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8323         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8324         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8325         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8326         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8327         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8328         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8329         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8330         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8331         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8332         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8333         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8334         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8335         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8336         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8337         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8338         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8339         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8340         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8341         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8342         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8343         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8344         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8345         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8346         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8347         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8348         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8349         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8350         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8351         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8352         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8353         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8354         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8355         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8356         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8357         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8358         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8359         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8360         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8361         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8362         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8363         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8365 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
8367         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8368         (__MALLOC_PMT): Likewise.
8369         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8370         [__GNUC__], only on [_LIBC].
8371         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8372         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8373         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8374         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8375         forward declaration.
8376         (realloc_hook_ini): Likewise.
8377         (memalign_hook_ini): Likewise.
8378         (__libc_memalign): Do not use __MALLOC_PMT in variable
8379         declaration.
8380         (__libc_valloc): Likewise.
8381         (__libc_pvalloc): Likewise.
8382         (__libc_calloc): Likewise.
8383         (__posix_memalign): Likewise.
8385         [BZ #14996]
8386         * math/s_casinh.c: Include <float.h>.
8387         (__casinh): Do not do computation with squaring and square root
8388         for large arguments.
8389         * math/s_casinhf.c: Include <float.h>.
8390         (__casinhf): Do not do computation with squaring and square root
8391         for large arguments.
8392         * math/s_casinhl.c: Include <float.h>.
8393         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8394         (__casinhl): Do not do computation with squaring and square root
8395         for large arguments.
8396         * math/libm-test.inc (casin_test): Add more tests.
8397         (casinh_test): Likewise.
8398         * sysdeps/i386/fpu/libm-test-ulps: Update.
8399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8401 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
8403         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8404         (__x86_64_raw_data_cache_size): Likewise.
8405         (__x86_64_data_cache_size_half): Likewise.
8406         (__x86_64_raw_data_cache_size_half): Likewise.
8407         (__x86_64_shared_cache_size): Likewise.
8408         (__x86_64_raw_shared_cache_size): Likewise.
8409         (__x86_64_shared_cache_size_half): Likewise.
8410         (__x86_64_raw_shared_cache_size_half): Likewise.
8411         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8412         to ...
8413         (__x86_data_cache_size): This.
8414         (__x86_64_raw_data_cache_size): Renamed to ...
8415         (__x86_raw_data_cache_size): This.
8416         (__x86_64_data_cache_size_half): Renamed to ...
8417         (__x86_data_cache_size_half): This.
8418         (__x86_64_raw_data_cache_size_half): Renamed to ...
8419         (__x86_raw_data_cache_size_half): This.
8420         (__x86_64_shared_cache_size): Renamed to ...
8421         (__x86_shared_cache_size): This.
8422         (__x86_64_raw_shared_cache_size): Renamed to ...
8423         (__x86_raw_shared_cache_size): This.
8424         (__x86_64_shared_cache_size_half): Renamed to ...
8425         (__x86_shared_cache_size_half): This.
8426         (__x86_64_raw_shared_cache_size_half): Renamed to ...
8427         (__x86_raw_shared_cache_size_half): This.
8428         * sysdeps/x86_64/memcpy.S: Updated.
8429         * sysdeps/x86_64/memset.S: Likewise.
8430         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8431         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8432         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8434 2013-01-04  David S. Miller  <davem@davemloft.net>
8436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8438 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
8440         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8441         1 to avoid redefinition warning.
8442         (__USE_GNU): Don't define.
8443         (init_signaling_nan): Protoize.
8445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8447 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8449         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8450         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8451         (__cpymn): Likewise.
8452         (norm): Remove commented code.
8453         (denorm): Likewise.
8454         (__mp_dbl): Likewise.
8455         (__inv): Likewise.
8456         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8457         (__cpymn): Likewise.
8458         (norm): Remove commented code.
8459         (denorm): Likewise.
8460         (__mp_dbl): Likewise.
8461         (__inv): Likewise.
8463         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8464         mp_no value for 1.0 and 2.0.
8465         (norm): Use RADIXI instead of radixi.d.
8466         (denorm): Likewise.
8467         (__mul): Use 0.0 instead of zero.d.
8468         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8469         mp_no value for 1.0 and 2.0.
8470         (norm): Use RADIXI instead of radixi.d.
8471         (denorm): Likewise.
8472         (__mul): Use 0.0 instead of zero.d.
8474 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
8476         [BZ #14994]
8477         * math/s_casinh.c (__casinh): Reduce finite argument to first
8478         quadrant then set signs of results at the end.
8479         * math/s_casinhf.c (__casinhf): Likewise.
8480         * math/s_casinhl.c (__casinhl): Likewise.
8481         * math/libm-test.inc (casin_test): Add more tests.
8482         (casinh_test): Likewise.
8483         * sysdeps/i386/fpu/libm-test-ulps: Update.
8484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8486 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8488         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8490         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8492         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8493         declarations.
8494         (denorm): Likewise.
8495         (__mp_dbl): Likewise.
8496         (__inv): Likewise.
8498         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8499         and adjust the header comment.
8501         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8502         variable name from declaration.
8504 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
8506         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8507         Initialize COMMON_CPUID_INDEX_7 element.
8508         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8509         (CPUID_RTM): Likewise.
8510         (HAS_RTM): Likewise.
8511         (COMMON_CPUID_INDEX_7): New enum.
8513 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
8515         [BZ #14981]
8516         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8517         size is zero, record memory as freed.
8519 2013-01-03  Andreas Jaeger  <aj@suse.de>
8521         * po/ia.po: Add new Interlingua translation.
8523 2012-01-03  Allan McRae  <allan@archlinux.org>
8525         * locale/programs/localedef.c: Fix description of '--posix' flag.
8527 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
8529         * NEWS: Update dates in second copyright notice.
8530         * README: Update copyright dates in example.
8531         * manual/libc.texinfo: Update copyright dates.
8532         * scripts/test-installation.pl: Update copyright date in --version
8533         output.
8535         * hurd/ctty-input.c: Fix copyright notice formatting.
8536         * hurd/ctty-output.c: Likewise.
8537         * hurd/dtable.c: Likewise.
8538         * hurd/hurd-raise.c: Likewise.
8539         * hurd/hurdprio.c: Likewise.
8540         * hurd/msgportdemux.c: Likewise.
8541         * misc/sys/file.h: Likewise.
8542         * misc/sys/ioctl.h: Likewise.
8543         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8544         * sysdeps/mach/hurd/chdir.c: Likewise.
8545         * sysdeps/mach/hurd/fchdir.c: Likewise.
8546         * sysdeps/mach/hurd/rename.c: Likewise.
8547         * sysdeps/mach/hurd/rmdir.c: Likewise.
8548         * sysdeps/mach/hurd/seekdir.c: Likewise.
8549         * sysdeps/mach/hurd/setsid.c: Likewise.
8550         * sysdeps/posix/wait3.c: Likewise.
8552         * All files with FSF copyright notices: Update copyright dates
8553         using scripts/update-copyrights.
8554         * intl/plural.c: Regenerated.
8555         * locale/programs/charmap-kw.h: Likewise.
8556         * locale/programs/locfile-kw.h: Likewise.
8558 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8560         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8561         four values.
8563         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8564         calculation loop and add branch prediction.
8566         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8567         check access beyond bounds of m1np.
8569         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8570         MPTWO.
8571         (__inv): Remove local variable MPTWO to use the global
8572         constant.
8573         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8574         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8575         variable MPTWO.
8576         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8577         MP3HALFS static const.
8579 2013-01-01  David S. Miller  <davem@davemloft.net>
8581         * po/ca.po: Update from translation team.
8583 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
8585         * scripts/update-copyrights: New file.
8586         * Makeconfig: Reformat copyright notice.
8587         * ctype/ctype.h: Likewise.
8588         * debug/swprintf_chk.c: Likewise.
8589         * elf/dl-cache.c: Likewise.
8590         * elf/dl-debug.c: Likewise.
8591         * elf/dl-object.c: Likewise.
8592         * grp/initgroups.c: Likewise.
8593         * hurd/Makefile: Likewise.
8594         * hurd/hurd/signal.h: Likewise.
8595         * hurd/hurdfault.c: Likewise.
8596         * hurd/hurdioctl.c: Likewise.
8597         * hurd/hurdlookup.c: Likewise.
8598         * hurd/intr-msg.c: Likewise.
8599         * iconv/gconv_open.c: Likewise.
8600         * libio/swprintf.c: Likewise.
8601         * locale/lc-ctype.c: Likewise.
8602         * locale/nl_langinfo.c: Likewise.
8603         * mach/Machrules: Likewise.
8604         * mach/Makefile: Likewise.
8605         * malloc/obstack.h: Likewise.
8606         * manual/Makefile: Likewise.
8607         * manual/tsort.awk: Likewise.
8608         * misc/bits/stab.def: Likewise.
8609         * nis/nis_print_group_entry.c: Likewise.
8610         * nis/nis_table.c: Likewise.
8611         * nis/nss_compat/compat-pwd.c: Likewise.
8612         * nis/nss_compat/compat-spwd.c: Likewise.
8613         * po/Makefile: Likewise.
8614         * posix/fnmatch.c: Likewise.
8615         * posix/regex.h: Likewise.
8616         * resolv/Makefile: Likewise.
8617         * resolv/nss_dns/dns-network.c: Likewise.
8618         * resolv/res_hconf.c: Likewise.
8619         * scripts/gen-sorted.awk: Likewise.
8620         * soft-fp/soft-fp.h: Likewise.
8621         * stdio-common/printf.h: Likewise.
8622         * stdlib/monetary.h: Likewise.
8623         * stdlib/random.c: Likewise.
8624         * stdlib/random_r.c: Likewise.
8625         * sysdeps/generic/Makefile: Likewise.
8626         * sysdeps/gnu/Makefile: Likewise.
8627         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8628         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8629         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8630         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8631         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8632         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8633         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8634         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8635         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8636         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8637         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8638         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8639         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8640         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8641         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8642         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8643         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8644         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8645         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8646         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8647         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8648         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8649         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8650         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8651         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8652         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8653         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8654         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8655         * sysdeps/mach/hurd/errnos.awk: Likewise.
8656         * sysdeps/mach/hurd/fork.c: Likewise.
8657         * sysdeps/mach/hurd/getcwd.c: Likewise.
8658         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8659         * sysdeps/mach/hurd/mmap.c: Likewise.
8660         * sysdeps/mach/hurd/utimes.c: Likewise.
8661         * sysdeps/mach/hurd/xmknod.c: Likewise.
8662         * sysdeps/posix/profil.c: Likewise.
8663         * sysdeps/posix/readdir_r.c: Likewise.
8664         * sysdeps/powerpc/bits/mathdef.h: Likewise.
8665         * sysdeps/powerpc/bits/setjmp.h: Likewise.
8666         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8667         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8668         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8669         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8670         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8671         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8672         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8673         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8674         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8675         * sysdeps/pthread/lio_listio.c: Likewise.
8676         * sysdeps/sparc/dl-procinfo.h: Likewise.
8677         * sysdeps/unix/i386/sysdep.S: Likewise.
8678         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8679         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8680         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8681         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8683         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8684         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8685         * sysdeps/unix/sysv/linux/speed.c: Likewise.
8686         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8687         * sysdeps/wordsize-32/divdi3.c: Likewise.
8688         * time/sys/time.h: Likewise.
8689         * wcsmbs/Makefile: Likewise.
8691 2013-01-01  David S. Miller  <davem@davemloft.net>
8693         * po/fr.po: Update from translation team.
8695         * catgets/gencat.c: Update copyright year.
8696         * csu/version.c: Likewise.
8697         * debug/catchsegv.sh: Likewise.
8698         * debug/pcprofiledump.c: Likewise.
8699         * debug/xtrace.sh: Likewise.
8700         * elf/ldconfig.c: Likewise.
8701         * elf/ldd.bash.in: Likewise.
8702         * elf/pldd.c: Likewise.
8703         * elf/sotruss.ksh: Likewise.
8704         * elf/sprof.c: Likewise.
8705         * iconv/iconv_prog.c: Likewise.
8706         * iconv/iconvconfig.c: Likewise.
8707         * locale/programs/locale.c: Likewise.
8708         * locale/programs/localedef.c: Likewise.
8709         * login/programs/pt_chown.c: Likewise.
8710         * malloc/memusage.sh: Likewise.
8711         * malloc/memusagestat.c: Likewise.
8712         * malloc/mtrace.pl: Likewise.
8713         * nscd/nscd.c: Likewise.
8714         * nss/getent.c: Likewise.
8715         * nss/makedb.c: Likewise.
8716         * posix/getconf.c: Likewise.
8718 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8720         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8721         numbers.
8723 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
8725         * math/bits/mathcalls.h (modf): Use __nonnull.
8727 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8729         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8730         (split): Use macro CN instead of the bare value.
8731         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8732         could be used.
8733         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8734         instead of the bare value.
8735         (power1): Likewise.
8737 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8739         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8740         __ATAN_TWOM.
8741         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8743         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8744         their values.
8745         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8746         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8747         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8748         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8750 2012-12-28  Andreas Jaeger  <aj@suse.de>
8752         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
8753         values are from Linux 3.7.
8755         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8756         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
8758 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8760         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
8761         TRUE case.
8763         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8764         (norm): Likewise.
8765         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8766         variables with preprocessor constants.
8767         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8768         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8769         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8771 2012-12-27  Bruno Haible  <bruno@clisp.org>
8773         [BZ #14317]
8774         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8775         only if needed.
8777 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8779         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8780         and use variable directly.
8781         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8783         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8784         MPONE.
8785         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8786         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8787         variable MPONE.
8788         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8789         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8790         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8791         include directive.  Remove local variable MPONE.
8792         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8793         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8794         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8796 2012-12-25  David S. Miller  <davem@davemloft.net>
8798         * version.h (RELEASE): Set to "development".
8799         (VERSION): Set to "2.17.90".
8800         * NEWS: Add 2.18 section.
8802 2012-12-21  David S. Miller  <davem@davemloft.net>
8804         * po/hr.po: Update from translation team.
8806 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8808         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8810 2012-12-19  Steve Ellcey  <sellcey@mips.com>
8812         * NEWS:  Mention new memcpy for MIPS.
8814 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8816         * manual/contrib.texi (Contributors): Spelling correction.
8818 2012-12-15  David S. Miller  <davem@davemloft.net>
8820         * po/ru.po: Update from translation team.
8822 2012-12-13  David S. Miller  <davem@davemloft.net>
8824         * NEWS: Mention IFUNC testsuite enhancements.
8826         * po/pl.po: Update from translation team.
8827         * po/bg.po: Likewise.
8829         * manual/contrib.texi (Contributors): Update entries for Hongjiu
8830         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
8832 2012-12-11  David S. Miller  <davem@davemloft.net>
8834         * po/sv.po: Update from translation team.
8836         * po/vi.po: Update from translation team.
8838         * po/cs.po: Update from translation team.
8840         * po/de.po: Update from translation team.
8841         * po/eo.po: Likewise.
8842         * po/nl.po: Likewise.
8844 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8846         [BZ #14246]
8847         * manual/argp.texi (Argp Helper Functions): Move node to follow
8848         Argp Parsing State.
8850         [BZ #14872]
8851         * manual/conf.texi (Limits on File System Capacity): Mention if
8852         terminating null is included in the max size.
8854 2012-12-10  Andreas Jaeger  <aj@suse.de>
8856         * po/cs.po: Update from translation team.
8858 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8860         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8861         void pointer and cast to uintptr_t.
8862         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8863         path.
8864         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8865         * sysdeps/s390/s390-64/memset.S: Likewise.
8867 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
8869         [BZ #14833]
8870         * menual/message.texi (Message Translation): Fix typos.
8871         (Helper programs for gettext): Likewise.
8873 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
8875         [BZ #14898]
8876         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8877         Change to -1.
8879 2012-12-07  David S. Miller  <davem@davemloft.net>
8881         * po/libc.pot: Update.
8883 2012-12-07  Richard Henderson  <rth@redhat.com>
8885         [BZ #10114]
8886         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8887         normal/normal case to before the switch.
8888         (_FP_DIV): Likewise.
8890 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
8891             Mike Frysinger  <vapier@gentoo.org>
8893         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8894         check for __NR_fadvise64_64.
8896 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
8898         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8899         0, not just to plain "0" as a statement.
8900         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8901         with cw.
8903 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
8905         * NEWS: Use sourceware.org in Bugzilla URL.
8907 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8910         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8912         * stdio-common/tst-put-error.c (do_test): Add newline to the
8913         padded test to ensure flush.
8915 2012-12-05  Jeff Law  <law@redhat.com>
8917         * sunrpc/etc.rpc (fedfs_admin): Add entry.
8919 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
8921         * README: Don't refer to ports add-on as distributed separately.
8922         Mention AArch64 in list of systems supported in the ports add-on.
8924         * LICENSES: Add more non-FSF copyright and license notices.
8926         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8927         ((unused)).
8929         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8931         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8932         10000 as width of padded output.
8934 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8936         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8938         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8939         variable LX with __attribute__ ((unused)).
8940         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8941         Likewise.
8942         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8943         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8944         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8945         with __attribute__ ((unused)).
8947 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
8949         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8951 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8953         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8954         (CFLAGS-nldbl-acos.c): New variable.
8955         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8956         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8957         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8958         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8959         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8960         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8961         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8962         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8963         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8964         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8965         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8966         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8967         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8968         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8969         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8970         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8971         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8972         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8973         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8974         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8975         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8976         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8977         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8978         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8979         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8980         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8981         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8982         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8983         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8984         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8985         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8986         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8987         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8988         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8989         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8990         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8991         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8992         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8993         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8994         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8995         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8996         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8997         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8998         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8999         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9000         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9001         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9002         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9003         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9004         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9005         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9006         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9007         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9008         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9009         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9010         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9011         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9012         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9013         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9014         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9015         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9016         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9017         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9018         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9019         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9020         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9021         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9022         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9023         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9024         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9025         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9026         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9027         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9028         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9029         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9030         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9031         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9032         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9033         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9034         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9035         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9036         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9037         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9038         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9039         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9040         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9041         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9042         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9043         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9044         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9045         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9046         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9047         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9048         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9049         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9050         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9051         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9054         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9056         [BZ #14914]
9057         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9058         whole low double instead of just low 47 bits when splitting values
9059         into two parts.
9061 2012-12-03  Allan McRae  <allan@archlinux.org>
9063         * manual/stdio.texi (Predefined Printf Handlers): Remove
9064         @hsep and @vsep usage.
9066 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
9068         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9069         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9071 2012-12-03  Jeff Law  <law@redhat.com>
9073         * time/sys/time.h (settimeofday): Do not mark TV argument
9074         as __nonnull.
9076 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
9078         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9079         when currently writing and seek to current position when not.
9080         * libio/Makefile (tests): Remove bug-fclose1.
9081         * libio/bug-fclose1.c: Delete.
9083 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
9085         * manual/arith.texi (feenableexcept): Fix typo.
9086         (fedisableexcept): Likewise.
9088 2012-11-30  Roland McGrath  <roland@hack.frob.com>
9090         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9091         second, differently-typed declaration, rather than a cast.
9093 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9095         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9096         * include/rpc/svc.h: ... here.
9098 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
9100         [BZ #13013]
9101         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9102         depending n and resplen2 to catch cases where answer
9103         equals answerp2.
9105 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
9107         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9108         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9110 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
9112         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9114 2012-11-29  Roland McGrath  <roland@hack.frob.com>
9116         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9118 2012-11-28  Jeff Law  <law@redhat.com>
9120         [BZ #13761]
9121         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9122         dataset_temporary.  Track alloca usage into alloca_used.
9123         If dataset is large allocate and release it via malloc/free.
9125 2012-06-04  Florian Weimer  <fweimer@redhat.com>
9127         [BZ #14197]
9128         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9130 2012-11-28  David S. Miller  <davem@davemloft.net>
9132         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9134 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
9136         [BZ #14803]
9137         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9138         of pi/2 rounded to nearest to 64 bits.
9139         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9140         nearest to 64 bits.
9141         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9142         bits.
9144 2012-11-28  Jeff Law <law@redhat.com>
9145             Martin Osvald <mosvald@redhat.com>
9147         [BZ #14889]
9148         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9149         * sunrpc/svc.c: Include time.h.
9150         (__svc_accept_failed): New function.
9151         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9152         any reason other than EINTR, call __svc_accept_failed.
9153         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9154         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9156 2012-11-28  Andreas Schwab  <schwab@suse.de>
9158         * scripts/abilist.awk: Also handle indirect functions in .opd
9159         section.
9161 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
9163         [BZ #13881]
9164         * sysdeps/x86/fpu/powl_helper.c: New file.
9165         * sysdeps/x86/fpu/Makefile: Likewise.
9166         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9167         (p3): New object.
9168         (__ieee754_powl): Use __powl_helper for finite arguments except
9169         integer exponents below 8.
9170         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9171         (p3): New object.
9172         (__ieee754_powl): Use __powl_helper for finite arguments except
9173         integer exponents below 8.
9174         * math/libm-test.inc (pow_test): Add more tests and enable some
9175         previously disabled tests.
9176         * sysdeps/i386/fpu/libm-test-ulps: Update.
9177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9179 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9180             Carlos O'Donell  <carlos_odonell@mentor.com>
9182         * nss/makedb.c (is_prime): Assert that input is odd and greater
9183         than 4.  Note that fact in a comment too.
9184         (next_prime): Add 4 to input.
9186 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9188         [BZ #11741]
9189         * libio/Makefile (tests): Add test case tst-fwrite-error.
9190         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9191         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9192         * libio/tst-fwrite-error.c: New test case.
9194 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
9196         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9197         before casting to void *.
9198         * include/libc-internal.h (__pointer_type): New macro.
9199         (__integer_if_pointer_type_sub): Likewise.
9200         (__integer_if_pointer_type): Likewise.
9201         (cast_to_integer): Likewise.
9202         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9203         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9204         before casting to atomic64_t.
9205         (atomic_exchange_acq): Likewise.
9206         (__arch_exchange_and_add_body): Likewise.
9207         (__arch_add_body): Likewise.
9208         (atomic_add_negative): Likewise.
9209         (atomic_add_zero): Likewise.
9211 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
9213         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9214         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9215         (add_fdes): Likewise.
9216         (linear_search_fdes): Likewise.
9217         (binary_search_unencoded_fdes): Likewise.
9219 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
9221         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9223 2012-11-24  Adam Conrad  <adconrad@0c3.net>
9225         * configure.in: Autodetect C++ header directories.
9226         * configure: Regenerated.
9228 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
9230         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9232 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
9234         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9236 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
9238         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9239         LDBL_MANT_DIG == 106]: Disable some tests.
9240         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9241         Likewise.
9242         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9243         Likewise.
9245         [BZ #14871]
9246         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9247         input for small inputs.  Return +/- pi/2 for large inputs.
9248         * math/libm-test.inc (atan_test): Add more tests.
9250         * sysdeps/generic/unwind-dw2-fde-glibc.c
9251         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9252         __attribute__ ((unused)).
9254         [BZ #14645]
9255         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9256         x * y if x and y are nonzero and z is zero.
9258         [BZ #14811]
9259         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9260         nonzero exponents with absolute value below 0x1p-117 to +/-
9261         0x1p-117.
9263         [BZ #14869]
9264         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9265         up arguments below 2**-450, not just those below 2**-500.
9266         * math/libm-test.inc (hypot_test): Add another test.
9268         [BZ #14868]
9269         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9270         Return a+b for ratio over 2**120, not 2**60.
9271         * math/libm-test.inc (hypot_test): Add another test.
9273         * math/libm-test.inc (clog_test): Use
9274         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9275         (clog10_test): Likewise.
9277         [BZ #6778]
9278         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9280 2012-11-22  Andreas Schwab  <schwab@suse.de>
9282         * sysdeps/i386/fpu/libm-test-ulps: Update.
9284 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
9286         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9287         printf output with newline.
9289 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
9291         [BZ #14865]
9292         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9293         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9294         -z nodlopen, -z initfirst and -z execstack support.
9295         * configure: Regenerated.
9297         * elf/elf.h (DF_1_NODIRECT): New macro.
9298         (DF_1_IGNMULDEF): Likewise.
9299         (DF_1_NOKSYMS): Likewise.
9300         (DF_1_NOHDR): Likewise.
9301         (DF_1_EDITED): Likewise.
9302         (DF_1_NORELOC): Likewise.
9303         (DF_1_SYMINTPOSE): Likewise.
9304         (DF_1_GLOBAUDIT): Likewise.
9305         (DF_1_SINGLETON): Likewise.
9306         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9307         DT_1_SUPPORTED_MASK bits.
9308         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9310 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
9312         * sysdeps/unix/make-syscalls.sh: Document prefixes.
9314 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
9316         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9317         macro.
9319         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9320         (sendmmsg): Move declarations...
9321         * socket/sys/socket.h: ... here.
9322         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9323         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9324         include it from...
9325         * socket/recvmmsg.c: ... this new file.
9326         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9327         (sendmmsg): Rename to __sendmmsg, create weak alias and make
9328         definition of __sendmmsg hidden.
9329         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9330         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9331         Move ENOSYS stub into and include it from...
9332         * socket/sendmmsg.c: ... this new file.
9333         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9334         (sysdep_routines): Move recvmmsg and sendmmsg...
9335         * socket/Makefile (routines): ... here.
9336         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9337         (GLIBC_PRIVATE): Add __sendmmsg.
9338         * include/sys/socket.h (__sendmmsg): Add declarations.
9339         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9340         sendmmsg.
9342 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
9344         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9345         variable I1 with __attribute__ ((unused)).
9346         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9348 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
9350         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9351         DUMMY variables with __attribute__ ((unused)).
9353         * bits/byteswap.h: Include <bits/types.h>.
9354         (__bswap_64): Use __uint64_t instead of unsigned long long int.
9356 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
9358         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9359         string_t.  Do not manually set errno.
9360         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9361         length with __strnlen.  Make sure to both set errno and return it on
9362         failure.
9364 2012-11-19  David S. Miller  <davem@davemloft.net>
9366         With help from Joseph Myers.
9367         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9368         very large arguments properly.
9369         * math/libm-test.inc (atan_test): New tests.
9370         (atan2_test): New tests.
9371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9372         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9374 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
9376         [BZ #14856]
9377         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9378         Define to 3.
9380         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9381         [POSIX] (EADDRNOTAVAIL): Likewise.
9382         [POSIX] (EAFNOSUPPORT): Likewise.
9383         [POSIX] (EALREADY): Likewise.
9384         [POSIX] (ECONNABORTED): Likewise.
9385         [POSIX] (ECONNREFUSED): Likewise.
9386         [POSIX] (ECONNRESET): Likewise.
9387         [POSIX] (EDESTADDRREQ): Likewise.
9388         [POSIX] (EDQUOT): Likewise.
9389         [POSIX] (EHOSTUNREACH): Likewise.
9390         [POSIX] (EIDRM): Likewise.
9391         [POSIX] (EISCONN): Likewise.
9392         [POSIX] (ELOOP): Likewise.
9393         [POSIX] (EMULTIHOP): Likewise.
9394         [POSIX] (ENETDOWN): Likewise.
9395         [POSIX] (ENETUNREACH): Likewise.
9396         [POSIX] (ENOBUFS): Likewise.
9397         [POSIX] (ENODATA): Likewise.
9398         [POSIX] (ENOLINK): Likewise.
9399         [POSIX] (ENOMSG): Likewise.
9400         [POSIX] (ENOPROTOOPT): Likewise.
9401         [POSIX] (ENOSR): Likewise.
9402         [POSIX] (ENOSTR): Likewise.
9403         [POSIX] (ENOTCONN): Likewise.
9404         [POSIX] (ENOTSOCK): Likewise.
9405         [POSIX] (EOPNOTSUPP): Likewise.
9406         [POSIX] (EOVERFLOW): Likewise.
9407         [POSIX] (EPROTO): Likewise.
9408         [POSIX] (EPROTONOSUPPORT): Likewise.
9409         [POSIX] (EPROTOTYPE): Likewise.
9410         [POSIX] (ESTALE): Likewise.
9411         [POSIX] (ETIME): Likewise.
9412         [POSIX] (ETXTBSY): Likewise.
9413         [POSIX] (EWOULDBLOCK): Likewise.
9414         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9415         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9416         [POSIX] (SEEK_CUR): Likewise.
9417         [POSIX] (SEEK_END): Likewise.
9418         [POSIX || UNIX98] (mode_t): Do not require.
9419         [POSIX] (off_t): Likewise.
9420         [POSIX] (pid_t): Likewise.
9421         [POSIX] (sys/stat.h): Do not allow header.
9422         [POSIX] (unistd.h): Likewise.
9423         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9424         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9425         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9426         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9427         require.
9428         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9429         sigevent): Specify elements.
9430         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9431         entry.
9432         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9433         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9435         * conform/data/cpio.h-data [POSIX]: Disable whole file.
9436         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9437         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9438         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9439         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9440         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9441         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9442         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9443         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9444         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9445         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9446         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9447         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9448         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9449         Likewise.
9450         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9451         Likewise.
9452         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9453         Likewise.
9454         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9455         Likewise.
9456         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9457         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9458         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9459         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9460         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9461         Specify lower bound on value.
9462         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9463         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9464         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9465         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9466         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9467         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9468         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9469         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9470         value.
9471         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9472         as optional.
9473         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9474         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9475         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9476         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9477         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9478         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9479         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9480         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9481         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9482         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9483         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9484         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9485         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9486         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9487         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9488         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9489         entry.
9490         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9491         optional.
9492         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9493         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9494         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9495         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9496         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9497         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9498         Likewise.
9499         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9500         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9501         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9502         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9503         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
9504         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9505         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9506         as optional.
9507         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9508         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9509         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9510         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9511         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9512         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9513         specify as optional.
9514         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9515         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9516         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9517         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9518         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9519         [XPG3] (NL_LANGMAX): Likewise.
9520         [POSIX || XPG3] (NL_MSGMAX): Likewise.
9521         [POSIX || XPG3] (NL_NMAX): Likewise.
9522         [POSIX || XPG3] (NL_SETMAX): Likewise.
9523         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9524         [XPG3] (NZERO): Likewise.
9525         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9526         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9527         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9528         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9529         (REG_ERANGE): Expect.
9530         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9531         optional-constant.
9532         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9533         Use (void) in prototype.
9534         [POSIX] (*_t): Allow.
9535         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9536         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9537         (WRDE_BADVAL): Expect.
9539         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9540         expect.
9541         [XPG3 || XPG4] (O_RSYNC): Likewise.
9542         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9543         Likewise.
9544         [XPG3 || XPG4] (pthread_sigmask): Likewise.
9545         [XPG3 || XPG4] (sigqueue): Likewise.
9546         [XPG3 || XPG4] (sigtimedwait): Likewise.
9547         [XPG3 || XPG4] (sigwaitinfo): Likewise.
9548         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9549         [XPG3 || XPG4] (vsnprintf): Likewise.
9550         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9551         Likewise.
9552         [XPG3 || XPG4] (blksize_t): Likewise.
9553         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9554         Likewise.
9555         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9556         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9557         [XPG3 || XPG4] (struct itimerspec): Likewise.
9558         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9559         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9560         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9561         [XPG3 || XPG4] (clockid_t): Likewise.
9562         [XPG3 || XPG4] (timer_t): Likewise.
9563         [XPG3 || XPG4] (clock_getres): Likewise.
9564         [XPG3 || XPG4] (clock_gettime): Likewise.
9565         [XPG3 || XPG4] (clock_settime): Likewise.
9566         [XPG3 || XPG4] (nanosleep): Likewise.
9567         [XPG3 || XPG4] (timer_create): Likewise.
9568         [XPG3 || XPG4] (timer_delete): Likewise.
9569         [XPG3 || XPG4] (timer_gettime): Likewise.
9570         [XPG3 || XPG4] (timer_getoverrun): Likewise.
9571         [XPG3 || XPG4] (timer_settime): Likewise.
9572         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9573         [XPG3 || XPG4] (getlogin_r): Likewise.
9574         [XPG3 || XPG4] (pread): Likewise.
9575         [XPG3 || XPG4] (pthread_atfork): Likewise.
9576         [XPG3 || XPG4] (pwrite): Likewise.
9578         [BZ #14835]
9579         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9580         <bits/siginfo.h>.
9582 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
9584         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9585         finalizing MALLSTREAM.
9587         * sysdeps/mach/hurd/syncfs.c: New file.
9589 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9591         [BZ #14719]
9592         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9593         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9594         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9595         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9596         (_nss_dns_gethostbyname4_r): Likewise.
9597         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9598         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9600 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
9602         [BZ #13763]
9603         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9605 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
9607         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9608         * elf/cache.c (print_entry): Print ",AArch64" for
9609         FLAG_AARCH64_LIB64
9611         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9612         * elf/cache.c (print_entry): Print ",hard-float" for
9613         FLAG_ARM_LIBHF.
9615 2012-11-18  David S. Miller  <davem@davemloft.net>
9617         With help from Joseph Myers.
9618         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9619         cutoff to 2**-13.
9620         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9621         cutoff to 2**-25.
9622         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9623         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9624         small.
9625         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9626         * math/libm-test.inc (y0_test): New tests.
9627         (y1_test): New tests.
9628         * sysdeps/i386/fpu/libm-test-ulps: Update.
9629         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9632 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
9634         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9635         64-bit targets.
9636         * configure: Regenerated.
9638 2012-11-17  David S. Miller  <davem@davemloft.net>
9640         [BZ #14811]
9641         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9642         nonzero exponents with absolute value below 0x1p-128 to +/-
9643         0x1p-128.
9645 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
9647         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9649         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9651         * posix/getconf-speclist.c: New file.
9652         * posix/posix-envs.def: Likewise.
9653         * posix/confstr.c (START_ENV_GROUP): New macro.
9654         (END_ENV_GROUP): Likewise.
9655         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9656         (KNOWN_PRESENT_ENV_STRING): Likewise.
9657         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9658         (UNKNOWN_ENVIRONMENT): Likewise.
9659         (confstr): Include posix-envs.def instead of handling
9660         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9661         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9662         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9663         (END_ENV_GROUP): Likewise.
9664         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9665         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9666         (UNKNOWN_ENVIRONMENT): Likewise.
9667         (__sysconf): Include posix-envs.def instead of handling associated
9668         cases directly here.
9669         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9670         preprocessing getconf-speclist.c rather than running getconf or
9671         generating empty file.
9673 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
9675         * scripts/check-local-headers.sh: Ignore 'mach' headers.
9677 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
9679         [BZ #14672]
9680         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9682 2012-11-16  David S. Miller  <davem@davemloft.net>
9684         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9685         smaller than LDBL_EPSILON/2.0L, just return xm1.
9687 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
9689         * elf/tst-array1.c (init): Set constructor priority to 1000.
9690         (fini): Set destructor priority to 1000.
9691         * elf/tst-array2dep.c: Likewise.
9693 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9695         [BZ #11741]
9696         * libio/fileops.c (_IO_new_file_write): Correctly return error.
9697         (_IO_new_file_xsputn): Also return EOF if none of the input
9698         data was written when overflow failed.
9699         * libio/iopadn.c (_IO_padn): Likewise.
9700         * libio/iowpadn.c (_IO_wpadn): Likewise.
9701         * stdio-common/tst-put-error.c: Add copyright notice.
9702         (do_test): Add case for printing padded string.
9703         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9704         _IO_padn returned error.
9705         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9706         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9707         return EOF.
9709 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9711         * libio/libioP.h: Add comment note that the references to C++
9712         bits are now obsolete.
9714 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9716         * math/libm-test.inc (check_complex): Use asprintf.
9718 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
9720         * debug/pcprofiledump.c (print_version): Update copyright year.
9721         * malloc/memusagestat.c (print_version): Likewise.
9723 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
9725         [BZ #14831]
9726         * elf/Makefile (tests): Add tst-audit8.
9727         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9728         ($(objpfx)tst-audit8.out): New target.
9729         (tst-audit8-ENV): New variable.
9730         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9731         audit if l_reloc_result is NULL.
9732         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9733         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9734         * elf/tst-audit8.c: New file.
9736 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9738         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9739         * misc/Makefile (CFLAGS-select.c): Define.
9740         * posix/Makefile (CFLAGS-pause.c): Define.
9742 2012-11-13  David S. Miller  <davem@davemloft.net>
9744         * crypt/Makefile: Move test targets after toplevel Rules
9745         inclusion.  Grab any necessary sysdep routines when linking.
9746         * crypt/md5.c (md5_process_block): Remove define, we will always
9747         name it __md5_process_block.
9748         (md5_finish_ctx): Update md5_process_block call.
9749         (md5_stream): Likewise.
9750         (md5_process_bytes): Likewise.
9751         (md5_process_block): Rename to __md5_process_block and move to ...
9752         * crypt/md5-block.c: ... here.
9753         * crypt/sha256.c (sha256_process_block): Move to ...
9754         * crypt/sha256-block.c: ... here.
9755         * crypt/sha512.c (sha512_process_block): Move to ...
9756         * crypt/sha512-block.c: ... here.
9757         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9758         path.
9759         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9760         * sysdeps/sparc/sparc64/multiarch/Makefile
9761         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9762         crypt subdir.
9763         (localedef-aux): Add md5 crypto assembler when in locale subdir.
9764         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9765         multiarch changes.
9766         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9767         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9768         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9769         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9770         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9771         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9772         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9773         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9774         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9775         file.
9776         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9777         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9778         file.
9779         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9781 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
9783         * timezone/tzselect.ksh: Update from tzcode git revision
9784         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9785         * timezone/zdump.c: Likewise.
9786         * timezone/zic.c: Likewise.
9787         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9788         in TZVERSION setting, not $(PKGVERSION).
9789         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
9790         REPORT_BUGS_TO settings.
9792         [BZ #14838]
9793         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9794         macro.
9796 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9798         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9799         detection to immediately after _FP_ROUND().
9800         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9801         bits are 0.
9803 2012-11-11  David S. Miller  <davem@davemloft.net>
9805         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9806         inttypes.h
9807         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9808         __close rather than their public counterparts.
9810 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
9812         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9813         file.
9814         [UNIX98] (sem_timedwait): Do not expect.
9815         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9816         [XPG4 || UNIX98] (sockatmark): Do not expect.
9817         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9818         (clock_getcpuclockid): Do not expect.
9819         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9820         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9821         Do not expect.
9822         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9823         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9824         [UNIX98] (vwscanf): Likewise.
9825         [UNIX98] (vswscanf): Likewise.
9827 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
9829         * timezone/version.h: Remove file.
9830         * timezone/README: Do not refer to version.h.
9831         * timezone/Makefile ($(objpfx)zic.o): New dependency on
9832         $(objpfx)version.h.
9833         ($(objpfx)zdump.o): Likewise.
9834         ($(objpfx)version.h): New target.
9836         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9837         2012i.
9838         * timezone/README: Don't mention modification to tzselect.ksh.
9839         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9840         work on unmodified tzselect.ksh.  Substitute version numbers in
9841         tzselect.ksh.
9843         * Makefile (format-me): Remove.
9844         (INSTALL): Adjust indentation.  Use commands directly instead of
9845         using $(format-me).
9847         * aclocal.m4 (ACX_PKGVERSION): New macro.
9848         (ACX_BUGURL): Likewise.
9849         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9850         (PKGVERSION): New AC_DEFINE_UNQUOTED.
9851         (REPORT_BUGS_TO): Likewise.
9852         * configure: Regenerated.
9853         * config.h.in (PKGVERSION): New macro.
9854         (REPORT_BUGS_TO): Likewise.
9855         * config.make.in (PKGVERSION): New variable.
9856         (PKGVERSION_TEXI): Likewise.
9857         (REPORT_BUGS_TO): Likewise.
9858         (REPORT_BUGS_TEXI): Likewise.
9859         * Makefile (format-me): Use -I$(common-objpfx)manual.
9860         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9861         ($(common-objpfx)manual/%): New target.
9862         (manual/%): Remove target.
9863         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9864         (print_version): Use PKGVERSION.
9865         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9866         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9867         and REPORT_BUGS_TO.
9868         ($(objpfx)xtrace): Likewise.
9869         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9870         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9871         (print_version): Use PKGVERSION.
9872         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9873         (do_version): Use PKGVERSION.
9874         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9875         REPORT_BUGS_TO.
9876         (common-ldd-rewrite): Likewise.
9877         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9878         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9879         (print_version): Use PKGVERSION.
9880         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9881         * elf/pldd.c (argp_program_bug_address): Remove variable.
9882         (more_help): New function.
9883         (argp): Use more_help.
9884         (print_version): Use PKGVERSION.
9885         * elf/sln.c (main): Use PKGVERSION.
9886         (usage): Use REPORT_BUGS_TO.
9887         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9888         (top level): Use PKGVERSION.
9889         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9890         (print_version): Use PKGVERSION.
9891         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9892         (print_version): Use PKGVERSION.
9893         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9894         (print_version): Use PKGVERSION.
9895         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9896         (print_version): Use PKGVERSION.
9897         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9898         (print_version): Use PKGVERSION.
9899         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9900         (print_version): Use PKGVERSION.
9901         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9902         and BUGURL.
9903         ($(objpfx)memusage): Likewise.
9904         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9905         (do_version): Use PKGVERSION.
9906         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9907         (print_version): Use PKGVERSION.
9908         * malloc/mtrace.pl ($PACKAGE): Remove variable.
9909         ($PKGVERSION): New variable.
9910         ($REPORT_BUGS_TO): Likewise.
9911         (usage): Use $REPORT_BUGS_TO.
9912         (top level): Use $PKGVERSION.
9913         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9914         ($(objpfx)pkgvers.texi): New rule.
9915         ($(objpfx)stamp-pkgvers): Likewise.
9916         * manual/install.texi: Include pkgvers.texi.
9917         (--with-pkgversion): Document new configure option.
9918         (--with-bugurl): Likewise.
9919         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9920         than necessarily for this particular distribution.  Use
9921         REPORT_BUGS_TO for where to report bugs.
9922         * INSTALL: Regenerated.
9923         * manual/libc.texinfo: Include pkgvers.texi.
9924         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9925         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9926         (print_version): Use PKGVERSION.
9927         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9928         (print_version): Use PKGVERSION.
9929         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9930         (print_version): Use PKGVERSION.
9931         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9932         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9933         macro.
9934         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9935         (print_version): Use PKGVERSION.
9936         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9937         (print_version): Use PKGVERSION.
9938         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9939         and PKGVERSION.
9941         * timezone/checktab.awk: Update from tzcode 2012i.
9942         * timezone/ialloc.c: Likewise.
9943         * timezone/private.h: Likewise.
9944         * timezone/scheck.c: Likewise.
9945         * timezone/tzfile.h: Likewise.
9946         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9947         (TZVERSION): Hardcode tzcode version number.
9948         * timezone/zdump.c: Update from tzcode 2012i.
9949         * timezone/zic.c: Likewise.
9950         * timezone/version.h: New file.
9951         * timezone/README: Describe version.h.  Update upstream location.
9953         [BZ #14824]
9954         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9955         (mktemp): Enable declaration.
9956         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9957         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9958         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9959         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9960         Likewise.
9961         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9962         Likewise.
9963         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9964         Likewise.
9965         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9966         Likewise.
9967         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9968         Likewise.
9969         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9970         Likewise.
9972         [BZ #14821]
9973         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9974         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
9975         for copies of such integer values.
9976         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9977         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9979 2012-11-09  Andreas Jaeger  <aj@suse.de>
9981         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9982         definitions and declarations that are provided by
9983         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9985 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9987         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
9988         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9989         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9990         definition.
9992 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9994         * elf/elf.h: Update comment before AArch64 relocations.
9996 2012-11-07  David S. Miller  <davem@davemloft.net>
9998         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9999         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10000         (__start_context): Declare.
10001         (__makecontext_ret): Delete.
10002         (__makecontext): Hook up __start_context instead of
10003         __makecontext_ret.
10004         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10005         (sysdep_routines): Add __start_context when in stdlib.
10007 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10009         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10010         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10011         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
10012         hardcoded "nm".
10013         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
10014         (READELF): New variable.  Use it instead of hardcoded "readelf".
10016 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10018         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10019         * sysdeps/x86/Makefile: Here.
10020         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10021         * sysdeps/x86/tst-xmmymm.sh: This.
10023 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10025         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10026         expectations.
10027         [UNIX98] (pthread_barrier_t): Do not expect.
10028         [UNIX98] (pthread_barrierattr_t): Likewise.
10029         [UNIX98] (pthread_spinlock_t): Likewise.
10030         [UNIX98] (pthread_barrier_destroy): Likewise.
10031         [UNIX98] (pthread_barrier_init): Likewise.
10032         [UNIX98] (pthread_barrier_wait): Likewise.
10033         [UNIX98] (pthread_barrierattr_destroy): Likewise.
10034         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10035         [UNIX98] (pthread_barrierattr_init): Likewise.
10036         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10037         [UNIX98] (pthread_getcpuclockid): Likewise.
10038         [UNIX98] (pthread_mutex_timedlock): Likewise.
10039         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10040         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10041         [UNIX98] (pthread_sigmask): Likewise.
10042         [UNIX98] (pthread_spin_destroy): Likewise.
10043         [UNIX98] (pthread_spin_init): Likewise.
10044         [UNIX98] (pthread_spin_lock): Likewise.
10045         [UNIX98] (pthread_spin_trylock): Likewise.
10046         [UNIX98] (pthread_spin_unlock): Likewise.
10047         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10048         Do not expect.
10049         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10050         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10051         [XPG3 || XPG4] (pthread_cond_t): Likewise.
10052         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10053         [XPG3 || XPG4] (pthread_key_t): Likewise.
10054         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10055         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10056         [XPG3 || XPG4] (pthread_once_t): Likewise.
10057         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10058         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10059         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10060         [XPG3 || XPG4] (pthread_t): Likewise.
10062         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10063         not expect.
10064         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10066         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10067         Change function return type to int.
10069         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10070         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10071         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10072         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10073         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10074         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10075         [!POSIX] (posix_madvise): Likewise.
10076         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10077         && !UNIX98].
10078         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10079         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10080         (mode_t): Likewise.
10081         (posix_mem_offset): Likewise.
10082         (posix_typed_mem_get_info): Likewise.
10083         (posix_typed_mem_open): Likewise.
10085         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10086         Change condition to [XOPEN2K8].
10088         * conform/conformtest.pl: Preprocess allow-header data with -x c
10089         instead of from stdin.
10090         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10091         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10092         [C99-based standards] (cerfc): Likewise.
10093         [C99-based standards] (cexp2): Likewise.
10094         [C99-based standards] (cexpm1): Likewise.
10095         [C99-based standards] (clog10): Likewise.
10096         [C99-based standards] (clog1p): Likewise.
10097         [C99-based standards] (clog2): Likewise.
10098         [C99-based standards] (clgamma): Likewise.
10099         [C99-based standards] (ctgamma): Likewise.
10100         [C99-based standards] (cerff): Likewise.
10101         [C99-based standards] (cerfcf): Likewise.
10102         [C99-based standards] (cexp2f): Likewise.
10103         [C99-based standards] (cexpm1f): Likewise.
10104         [C99-based standards] (clog10f): Likewise.
10105         [C99-based standards] (clog1pf): Likewise.
10106         [C99-based standards] (clog2f): Likewise.
10107         [C99-based standards] (clgammaf): Likewise.
10108         [C99-based standards] (ctgammaf): Likewise.
10109         [C99-based standards] (cerfl): Likewise.
10110         [C99-based standards] (cerfcl): Likewise.
10111         [C99-based standards] (cexp2l): Likewise.
10112         [C99-based standards] (cexpm1l): Likewise.
10113         [C99-based standards] (clog10l): Likewise.
10114         [C99-based standards] (clog1pl): Likewise.
10115         [C99-based standards] (clog2l): Likewise.
10116         [C99-based standards] (clgammal): Likewise.
10117         [C99-based standards] (ctgammal): Likewise.
10118         * conform/data/inttypes.h-data [C99-based standards]: Include
10119         stdint.h-data.  Remove all expectations for stdint.h contents.
10120         [C99-based standards] (PRI*): Do not allow.
10121         [C99-based standards] (SCN*): Likewise.
10122         [C99-based standards] (*_t): Likewise.
10123         [C99-based-standards] (PRId8): Expect macro.
10124         [C99-based-standards] (PRIi8): Likewise.
10125         [C99-based-standards] (PRIo8): Likewise.
10126         [C99-based-standards] (PRIu8): Likewise.
10127         [C99-based-standards] (PRIx8): Likewise.
10128         [C99-based-standards] (PRIX8): Likewise.
10129         [C99-based-standards] (SCNd8): Likewise.
10130         [C99-based-standards] (SCNi8): Likewise.
10131         [C99-based-standards] (SCNo8): Likewise.
10132         [C99-based-standards] (SCNu8): Likewise.
10133         [C99-based-standards] (SCNx8): Likewise.
10134         [C99-based-standards] (PRIdLEAST8): Likewise.
10135         [C99-based-standards] (PRIiLEAST8): Likewise.
10136         [C99-based-standards] (PRIoLEAST8): Likewise.
10137         [C99-based-standards] (PRIuLEAST8): Likewise.
10138         [C99-based-standards] (PRIxLEAST8): Likewise.
10139         [C99-based-standards] (PRIXLEAST8): Likewise.
10140         [C99-based-standards] (SCNdLEAST8): Likewise.
10141         [C99-based-standards] (SCNiLEAST8): Likewise.
10142         [C99-based-standards] (SCNoLEAST8): Likewise.
10143         [C99-based-standards] (SCNuLEAST8): Likewise.
10144         [C99-based-standards] (SCNxLEAST8): Likewise.
10145         [C99-based-standards] (PRIdFAST8): Likewise.
10146         [C99-based-standards] (PRIiFAST8): Likewise.
10147         [C99-based-standards] (PRIoFAST8): Likewise.
10148         [C99-based-standards] (PRIuFAST8): Likewise.
10149         [C99-based-standards] (PRIxFAST8): Likewise.
10150         [C99-based-standards] (PRIXFAST8): Likewise.
10151         [C99-based-standards] (SCNdFAST8): Likewise.
10152         [C99-based-standards] (SCNiFAST8): Likewise.
10153         [C99-based-standards] (SCNoFAST8): Likewise.
10154         [C99-based-standards] (SCNuFAST8): Likewise.
10155         [C99-based-standards] (SCNxFAST8): Likewise.
10156         [C99-based-standards] (PRId16): Likewise.
10157         [C99-based-standards] (PRIi16): Likewise.
10158         [C99-based-standards] (PRIo16): Likewise.
10159         [C99-based-standards] (PRIu16): Likewise.
10160         [C99-based-standards] (PRIx16): Likewise.
10161         [C99-based-standards] (PRIX16): Likewise.
10162         [C99-based-standards] (SCNd16): Likewise.
10163         [C99-based-standards] (SCNi16): Likewise.
10164         [C99-based-standards] (SCNo16): Likewise.
10165         [C99-based-standards] (SCNu16): Likewise.
10166         [C99-based-standards] (SCNx16): Likewise.
10167         [C99-based-standards] (PRIdLEAST16): Likewise.
10168         [C99-based-standards] (PRIiLEAST16): Likewise.
10169         [C99-based-standards] (PRIoLEAST16): Likewise.
10170         [C99-based-standards] (PRIuLEAST16): Likewise.
10171         [C99-based-standards] (PRIxLEAST16): Likewise.
10172         [C99-based-standards] (PRIXLEAST16): Likewise.
10173         [C99-based-standards] (SCNdLEAST16): Likewise.
10174         [C99-based-standards] (SCNiLEAST16): Likewise.
10175         [C99-based-standards] (SCNoLEAST16): Likewise.
10176         [C99-based-standards] (SCNuLEAST16): Likewise.
10177         [C99-based-standards] (SCNxLEAST16): Likewise.
10178         [C99-based-standards] (PRIdFAST16): Likewise.
10179         [C99-based-standards] (PRIiFAST16): Likewise.
10180         [C99-based-standards] (PRIoFAST16): Likewise.
10181         [C99-based-standards] (PRIuFAST16): Likewise.
10182         [C99-based-standards] (PRIxFAST16): Likewise.
10183         [C99-based-standards] (PRIXFAST16): Likewise.
10184         [C99-based-standards] (SCNdFAST16): Likewise.
10185         [C99-based-standards] (SCNiFAST16): Likewise.
10186         [C99-based-standards] (SCNoFAST16): Likewise.
10187         [C99-based-standards] (SCNuFAST16): Likewise.
10188         [C99-based-standards] (SCNxFAST16): Likewise.
10189         [C99-based-standards] (PRId32): Likewise.
10190         [C99-based-standards] (PRIi32): Likewise.
10191         [C99-based-standards] (PRIo32): Likewise.
10192         [C99-based-standards] (PRIu32): Likewise.
10193         [C99-based-standards] (PRIx32): Likewise.
10194         [C99-based-standards] (PRIX32): Likewise.
10195         [C99-based-standards] (SCNd32): Likewise.
10196         [C99-based-standards] (SCNi32): Likewise.
10197         [C99-based-standards] (SCNo32): Likewise.
10198         [C99-based-standards] (SCNu32): Likewise.
10199         [C99-based-standards] (SCNx32): Likewise.
10200         [C99-based-standards] (PRIdLEAST32): Likewise.
10201         [C99-based-standards] (PRIiLEAST32): Likewise.
10202         [C99-based-standards] (PRIoLEAST32): Likewise.
10203         [C99-based-standards] (PRIuLEAST32): Likewise.
10204         [C99-based-standards] (PRIxLEAST32): Likewise.
10205         [C99-based-standards] (PRIXLEAST32): Likewise.
10206         [C99-based-standards] (SCNdLEAST32): Likewise.
10207         [C99-based-standards] (SCNiLEAST32): Likewise.
10208         [C99-based-standards] (SCNoLEAST32): Likewise.
10209         [C99-based-standards] (SCNuLEAST32): Likewise.
10210         [C99-based-standards] (SCNxLEAST32): Likewise.
10211         [C99-based-standards] (PRIdFAST32): Likewise.
10212         [C99-based-standards] (PRIiFAST32): Likewise.
10213         [C99-based-standards] (PRIoFAST32): Likewise.
10214         [C99-based-standards] (PRIuFAST32): Likewise.
10215         [C99-based-standards] (PRIxFAST32): Likewise.
10216         [C99-based-standards] (PRIXFAST32): Likewise.
10217         [C99-based-standards] (SCNdFAST32): Likewise.
10218         [C99-based-standards] (SCNiFAST32): Likewise.
10219         [C99-based-standards] (SCNoFAST32): Likewise.
10220         [C99-based-standards] (SCNuFAST32): Likewise.
10221         [C99-based-standards] (SCNxFAST32): Likewise.
10222         [C99-based-standards] (PRId64): Likewise.
10223         [C99-based-standards] (PRIi64): Likewise.
10224         [C99-based-standards] (PRIo64): Likewise.
10225         [C99-based-standards] (PRIu64): Likewise.
10226         [C99-based-standards] (PRIx64): Likewise.
10227         [C99-based-standards] (PRIX64): Likewise.
10228         [C99-based-standards] (SCNd64): Likewise.
10229         [C99-based-standards] (SCNi64): Likewise.
10230         [C99-based-standards] (SCNo64): Likewise.
10231         [C99-based-standards] (SCNu64): Likewise.
10232         [C99-based-standards] (SCNx64): Likewise.
10233         [C99-based-standards] (PRIdLEAST64): Likewise.
10234         [C99-based-standards] (PRIiLEAST64): Likewise.
10235         [C99-based-standards] (PRIoLEAST64): Likewise.
10236         [C99-based-standards] (PRIuLEAST64): Likewise.
10237         [C99-based-standards] (PRIxLEAST64): Likewise.
10238         [C99-based-standards] (PRIXLEAST64): Likewise.
10239         [C99-based-standards] (SCNdLEAST64): Likewise.
10240         [C99-based-standards] (SCNiLEAST64): Likewise.
10241         [C99-based-standards] (SCNoLEAST64): Likewise.
10242         [C99-based-standards] (SCNuLEAST64): Likewise.
10243         [C99-based-standards] (SCNxLEAST64): Likewise.
10244         [C99-based-standards] (PRIdFAST64): Likewise.
10245         [C99-based-standards] (PRIiFAST64): Likewise.
10246         [C99-based-standards] (PRIoFAST64): Likewise.
10247         [C99-based-standards] (PRIuFAST64): Likewise.
10248         [C99-based-standards] (PRIxFAST64): Likewise.
10249         [C99-based-standards] (PRIXFAST64): Likewise.
10250         [C99-based-standards] (SCNdFAST64): Likewise.
10251         [C99-based-standards] (SCNiFAST64): Likewise.
10252         [C99-based-standards] (SCNoFAST64): Likewise.
10253         [C99-based-standards] (SCNuFAST64): Likewise.
10254         [C99-based-standards] (SCNxFAST64): Likewise.
10255         [C99-based-standards] (PRIdMAX): Likewise.
10256         [C99-based-standards] (PRIiMAX): Likewise.
10257         [C99-based-standards] (PRIoMAX): Likewise.
10258         [C99-based-standards] (PRIuMAX): Likewise.
10259         [C99-based-standards] (PRIxMAX): Likewise.
10260         [C99-based-standards] (PRIXMAX): Likewise.
10261         [C99-based-standards] (SCNdMAX): Likewise.
10262         [C99-based-standards] (SCNiMAX): Likewise.
10263         [C99-based-standards] (SCNoMAX): Likewise.
10264         [C99-based-standards] (SCNuMAX): Likewise.
10265         [C99-based-standards] (SCNxMAX): Likewise.
10266         [C99-based-standards] (PRIdPTR): Likewise.
10267         [C99-based-standards] (PRIiPTR): Likewise.
10268         [C99-based-standards] (PRIoPTR): Likewise.
10269         [C99-based-standards] (PRIuPTR): Likewise.
10270         [C99-based-standards] (PRIxPTR): Likewise.
10271         [C99-based-standards] (PRIXPTR): Likewise.
10272         [C99-based-standards] (SCNdPTR): Likewise.
10273         [C99-based-standards] (SCNiPTR): Likewise.
10274         [C99-based-standards] (SCNoPTR): Likewise.
10275         [C99-based-standards] (SCNuPTR): Likewise.
10276         [C99-based-standards] (SCNxPTR): Likewise.
10277         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10278         allow.
10279         * conform/data/stdint.h-data: Update comments to clarify
10280         requirements.
10281         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
10282         type.
10283         [C99-based standards] (INT8_MAX): Likewise.
10284         [C99-based standards] (INT16_MIN): Likewise.
10285         [C99-based standards] (INT16_MAX): Likewise.
10286         [C99-based standards] (INT32_MIN): Likewise.
10287         [C99-based standards] (INT32_MAX): Likewise.
10288         [C99-based standards] (INT64_MIN): Likewise.
10289         [C99-based standards] (INT64_MAX): Likewise.
10290         [C99-based standards] (UINT8_MAX): Likewise.
10291         [C99-based standards] (UINT16_MAX): Likewise.
10292         [C99-based standards] (UINT32_MAX): Likewise.
10293         [C99-based standards] (UINT64_MAX): Likewise.
10294         [C99-based standards] (INT_LEAST8_MIN): Likewise.
10295         [C99-based standards] (INT_LEAST8_MAX): Likewise.
10296         [C99-based standards] (INT_LEAST16_MIN): Likewise.
10297         [C99-based standards] (INT_LEAST16_MAX): Likewise.
10298         [C99-based standards] (INT_LEAST32_MIN): Likewise.
10299         [C99-based standards] (INT_LEAST32_MAX): Likewise.
10300         [C99-based standards] (INT_LEAST64_MIN): Likewise.
10301         [C99-based standards] (INT_LEAST64_MAX): Likewise.
10302         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10303         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10304         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10305         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10306         [C99-based standards] (INT_FAST8_MIN): Likewise.
10307         [C99-based standards] (INT_FAST8_MAX): Likewise.
10308         [C99-based standards] (INT_FAST16_MIN): Likewise.
10309         [C99-based standards] (INT_FAST16_MAX): Likewise.
10310         [C99-based standards] (INT_FAST32_MIN): Likewise.
10311         [C99-based standards] (INT_FAST32_MAX): Likewise.
10312         [C99-based standards] (INT_FAST64_MIN): Likewise.
10313         [C99-based standards] (INT_FAST64_MAX): Likewise.
10314         [C99-based standards] (UINT_FAST8_MAX): Likewise.
10315         [C99-based standards] (UINT_FAST16_MAX): Likewise.
10316         [C99-based standards] (UINT_FAST32_MAX): Likewise.
10317         [C99-based standards] (UINT_FAST64_MAX): Likewise.
10318         [C99-based standards] (INTPTR_MIN): Likewise.
10319         [C99-based standards] (INTPTR_MAX): Likewise.
10320         [C99-based standards] (UINTPTR_MAX): Likewise.
10321         [C99-based standards] (INTMAX_MIN): Likewise.
10322         [C99-based standards] (INTMAX_MAX): Likewise.
10323         [C99-based standards] (UINTMAX_MAX): Likewise.
10324         [C99-based standards] (PTRDIFF_MIN): Likewise.
10325         [C99-based standards] (PTRDIFF_MAX): Likewise.
10326         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10327         [C99-based standards] (SIZE_MAX): Likewise.
10328         [C99-based standards] (WCHAR_MAX): Likewise.
10329         [C99-based standards] (WINT_MAX): Likewise.
10330         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
10331         constraint on value.
10332         [C99-based standards] (WCHAR_MIN): Likewise.
10333         [C99-based standards] (WINT_MIN): Likewise.
10334         [C99-based standards] (*_t): Allow.
10335         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10336         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10337         Include math.h-data and complex.h-data.  Remove all expectations
10338         of math.h and complex.h contents.
10339         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10340         at end of line.
10341         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10342         (struct tm): Expect tag.
10343         [C99-based-standards] (wcstof): Expect function.
10344         [C99-based-standards] (wcstold): Likewise.
10345         [C99-based-standards] (wcstoll): Likewise.
10346         [C99-based-standards] (wcstoull): Likewise.
10347         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10348         macro-int-constant.  Specify type.
10349         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
10350         constraint on value.
10351         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10352         Specify type.
10353         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10354         Specify value.
10355         [ISO C standards]: Do not allow headers.
10356         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10357         wcs[abcdefghijklmnopqrstuvwxyz]*.
10358         [ISO C standards] (*_t): Do not allow.
10359         * conform/data/wctype.h-data [C99-based standards] (iswblank):
10360         Expect function.
10361         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10362         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10363         Specify type.
10364         [ISO C standards]: Do not allow headers.
10365         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10366         is[abcdefghijklmnopqrstuvwxyz]*.
10367         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10368         to[abcdefghijklmnopqrstuvwxyz]*.
10369         [ISO C standards] (*_t): Do not allow.
10370         * conform/data/stdalign.h-data: New file.
10371         * conform/data/stdbool.h-data: Likewise.
10372         * conform/data/stdnoreturn.h-data: Likewise.
10374 2012-11-07  Roland McGrath  <roland@hack.frob.com>
10376         [BZ #14815]
10377         * manual/filesys.texi (Directory Entries): Typo fix.
10378         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10380 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10382         * elf/elf.h (EM_AARCH64): New macro.
10383         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10384         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10385         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10386         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10387         (R_AARCH64_TLSDESC): Likewise.
10388         (NT_ARM_TLS): Likewise.
10389         (NT_ARM_HW_BREAK): Likewise.
10390         (NT_ARM_HW_WATCH): Likewise.
10392 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10394         [BZ #14811]
10395         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10396         (__ieee754_powl): Saturate nonzero exponents with absolute value
10397         below 0x1p-79 to +/- 0x1p-79.
10398         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10399         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10400         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10401         nonzero exponents with absolute value below 0x1p-32 to +/-
10402         0x1p-32.
10403         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10404         (__ieee754_powl): Saturate nonzero exponents with absolute value
10405         below 0x1p-79 to +/- 0x1p-79.
10406         * math/libm-test.inc (pow_test): Add more tests.
10408 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10410         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10411         _dl_s390_cap_flags with kernel. Increase string length.
10412         (_dl_s390_platforms): Add z196 and zEC12.
10414 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10416         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10417         Change XOPEN21K to XOPEN2K.
10419 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
10421         * string/memmove.c: Use memcpy when possible.
10423 2012-11-06  Andreas Jaeger  <aj@suse.de>
10425         * po/eo.po: Update from translation team.
10427 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
10429         [BZ #14793]
10430         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10431         exponent and small x and y exponents, scale x or y up.  Increase
10432         by 2 the exponent used in scaling up.
10433         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10434         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10435         * math/libm-test.inc (fma_test): Add more tests.
10436         (fma_test_towardzero): Likewise.
10437         (fma_test_downward): Likewise.
10438         (fma_test_upward): Likewise.
10440 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
10442         [BZ #14805]
10443         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10444         fenv_t *.
10446         [BZ #14801]
10447         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10448         namespace for names of struct fields.
10449         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10450         fenv_t fields.
10451         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10452         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10454 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10456         [BZ #3665]
10457         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10459 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
10461         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10462         PTR_DEMANGLE.
10464         [BZ #5246]
10465         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10466         PTR_DEMANGLE.
10468 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
10470         [BZ #14797]
10471         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10472         definitely overflow as x * y not x * y + z.
10473         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10474         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10475         * math/libm-test.inc (fma_test): Add more tests.
10476         (fma_test_towardzero): Likewise.
10477         (fma_test_downward): Likewise.
10478         (fma_test_upward): Likewise.
10480 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
10482         [BZ #157]
10484         * include/stub-tag.h: Remove file.
10485         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10486         '#include' of it.
10487         * manual/maint.texi (Porting): Don't reference it.
10488         * Makerules ($(objpfx)stubs): Likewise.
10489         * dirent/closedir.c: Don't include <stub-tag.h>.
10490         * dirent/dirfd.c: Likewise.
10491         * dirent/fdopendir.c: Likewise.
10492         * dirent/getdents.c: Likewise.
10493         * dirent/getdents64.c: Likewise.
10494         * dirent/opendir.c: Likewise.
10495         * dirent/readdir.c: Likewise.
10496         * dirent/readdir64.c: Likewise.
10497         * dirent/readdir64_r.c: Likewise.
10498         * dirent/readdir_r.c: Likewise.
10499         * dirent/rewinddir.c: Likewise.
10500         * dirent/seekdir.c: Likewise.
10501         * dirent/telldir.c: Likewise.
10502         * gmon/profil.c: Likewise.
10503         * grp/setgroups.c: Likewise.
10504         * inet/if_index.c: Likewise.
10505         * io/access.c: Likewise.
10506         * io/chdir.c: Likewise.
10507         * io/chmod.c: Likewise.
10508         * io/chown.c: Likewise.
10509         * io/close.c: Likewise.
10510         * io/dup.c: Likewise.
10511         * io/dup2.c: Likewise.
10512         * io/dup3.c: Likewise.
10513         * io/euidaccess.c: Likewise.
10514         * io/faccessat.c: Likewise.
10515         * io/fchdir.c: Likewise.
10516         * io/fchmod.c: Likewise.
10517         * io/fchmodat.c: Likewise.
10518         * io/fchown.c: Likewise.
10519         * io/fchownat.c: Likewise.
10520         * io/fcntl.c: Likewise.
10521         * io/flock.c: Likewise.
10522         * io/fstatfs.c: Likewise.
10523         * io/fstatfs64.c: Likewise.
10524         * io/fstatvfs.c: Likewise.
10525         * io/fstatvfs64.c: Likewise.
10526         * io/futimens.c: Likewise.
10527         * io/fxstat.c: Likewise.
10528         * io/fxstat64.c: Likewise.
10529         * io/fxstatat.c: Likewise.
10530         * io/fxstatat64.c: Likewise.
10531         * io/getcwd.c: Likewise.
10532         * io/isatty.c: Likewise.
10533         * io/lchmod.c: Likewise.
10534         * io/lchown.c: Likewise.
10535         * io/link.c: Likewise.
10536         * io/linkat.c: Likewise.
10537         * io/lseek.c: Likewise.
10538         * io/lseek64.c: Likewise.
10539         * io/lxstat64.c: Likewise.
10540         * io/mkdir.c: Likewise.
10541         * io/mkdirat.c: Likewise.
10542         * io/mkfifo.c: Likewise.
10543         * io/mkfifoat.c: Likewise.
10544         * io/open.c: Likewise.
10545         * io/open64.c: Likewise.
10546         * io/openat.c: Likewise.
10547         * io/openat64.c: Likewise.
10548         * io/pipe.c: Likewise.
10549         * io/pipe2.c: Likewise.
10550         * io/poll.c: Likewise.
10551         * io/posix_fadvise.c: Likewise.
10552         * io/posix_fadvise64.c: Likewise.
10553         * io/posix_fallocate.c: Likewise.
10554         * io/posix_fallocate64.c: Likewise.
10555         * io/read.c: Likewise.
10556         * io/readlink.c: Likewise.
10557         * io/readlinkat.c: Likewise.
10558         * io/rmdir.c: Likewise.
10559         * io/sendfile.c: Likewise.
10560         * io/sendfile64.c: Likewise.
10561         * io/statfs.c: Likewise.
10562         * io/statfs64.c: Likewise.
10563         * io/statvfs.c: Likewise.
10564         * io/statvfs64.c: Likewise.
10565         * io/symlink.c: Likewise.
10566         * io/symlinkat.c: Likewise.
10567         * io/ttyname.c: Likewise.
10568         * io/ttyname_r.c: Likewise.
10569         * io/umask.c: Likewise.
10570         * io/unlink.c: Likewise.
10571         * io/unlinkat.c: Likewise.
10572         * io/utime.c: Likewise.
10573         * io/utimensat.c: Likewise.
10574         * io/write.c: Likewise.
10575         * io/xmknod.c: Likewise.
10576         * io/xmknodat.c: Likewise.
10577         * io/xstat.c: Likewise.
10578         * io/xstat64.c: Likewise.
10579         * login/getpt.c: Likewise.
10580         * login/grantpt.c: Likewise.
10581         * login/unlockpt.c: Likewise.
10582         * math/e_acoshl.c: Likewise.
10583         * math/e_acosl.c: Likewise.
10584         * math/e_asinl.c: Likewise.
10585         * math/e_atan2l.c: Likewise.
10586         * math/e_atanhl.c: Likewise.
10587         * math/e_coshl.c: Likewise.
10588         * math/e_expl.c: Likewise.
10589         * math/e_fmodl.c: Likewise.
10590         * math/e_gammal_r.c: Likewise.
10591         * math/e_hypotl.c: Likewise.
10592         * math/e_j0l.c: Likewise.
10593         * math/e_j1l.c: Likewise.
10594         * math/e_jnl.c: Likewise.
10595         * math/e_lgammal_r.c: Likewise.
10596         * math/e_log10l.c: Likewise.
10597         * math/e_log2l.c: Likewise.
10598         * math/e_logl.c: Likewise.
10599         * math/e_powl.c: Likewise.
10600         * math/e_rem_pio2l.c: Likewise.
10601         * math/e_sinhl.c: Likewise.
10602         * math/e_sqrtl.c: Likewise.
10603         * math/fclrexcpt.c: Likewise.
10604         * math/fedisblxcpt.c: Likewise.
10605         * math/feenablxcpt.c: Likewise.
10606         * math/fegetenv.c: Likewise.
10607         * math/fegetexcept.c: Likewise.
10608         * math/fegetround.c: Likewise.
10609         * math/feholdexcpt.c: Likewise.
10610         * math/fesetenv.c: Likewise.
10611         * math/fesetround.c: Likewise.
10612         * math/feupdateenv.c: Likewise.
10613         * math/fgetexcptflg.c: Likewise.
10614         * math/fraiseexcpt.c: Likewise.
10615         * math/fsetexcptflg.c: Likewise.
10616         * math/ftestexcept.c: Likewise.
10617         * math/k_cosl.c: Likewise.
10618         * math/k_rem_pio2l.c: Likewise.
10619         * math/k_sinl.c: Likewise.
10620         * math/k_tanl.c: Likewise.
10621         * math/s_asinhl.c: Likewise.
10622         * math/s_atanl.c: Likewise.
10623         * math/s_cbrtl.c: Likewise.
10624         * math/s_erfl.c: Likewise.
10625         * math/s_expm1l.c: Likewise.
10626         * math/s_log1pl.c: Likewise.
10627         * math/s_tanhl.c: Likewise.
10628         * misc/acct.c: Likewise.
10629         * misc/brk.c: Likewise.
10630         * misc/chflags.c: Likewise.
10631         * misc/chroot.c: Likewise.
10632         * misc/fchflags.c: Likewise.
10633         * misc/fgetxattr.c: Likewise.
10634         * misc/flistxattr.c: Likewise.
10635         * misc/fremovexattr.c: Likewise.
10636         * misc/fsetxattr.c: Likewise.
10637         * misc/fsync.c: Likewise.
10638         * misc/ftruncate.c: Likewise.
10639         * misc/futimes.c: Likewise.
10640         * misc/futimesat.c: Likewise.
10641         * misc/getdomain.c: Likewise.
10642         * misc/getdtsz.c: Likewise.
10643         * misc/gethostid.c: Likewise.
10644         * misc/gethostname.c: Likewise.
10645         * misc/getloadavg.c: Likewise.
10646         * misc/getpagesize.c: Likewise.
10647         * misc/getsysstats.c: Likewise.
10648         * misc/getxattr.c: Likewise.
10649         * misc/gtty.c: Likewise.
10650         * misc/ioctl.c: Likewise.
10651         * misc/lgetxattr.c: Likewise.
10652         * misc/listxattr.c: Likewise.
10653         * misc/llistxattr.c: Likewise.
10654         * misc/lremovexattr.c: Likewise.
10655         * misc/lsetxattr.c: Likewise.
10656         * misc/lutimes.c: Likewise.
10657         * misc/madvise.c: Likewise.
10658         * misc/mincore.c: Likewise.
10659         * misc/mlock.c: Likewise.
10660         * misc/mlockall.c: Likewise.
10661         * misc/mmap.c: Likewise.
10662         * misc/mprotect.c: Likewise.
10663         * misc/msync.c: Likewise.
10664         * misc/munlock.c: Likewise.
10665         * misc/munlockall.c: Likewise.
10666         * misc/munmap.c: Likewise.
10667         * misc/preadv.c: Likewise.
10668         * misc/preadv64.c: Likewise.
10669         * misc/ptrace.c: Likewise.
10670         * misc/pwritev.c: Likewise.
10671         * misc/pwritev64.c: Likewise.
10672         * misc/readv.c: Likewise.
10673         * misc/reboot.c: Likewise.
10674         * misc/remap_file_pages.c: Likewise.
10675         * misc/removexattr.c: Likewise.
10676         * misc/revoke.c: Likewise.
10677         * misc/select.c: Likewise.
10678         * misc/setdomain.c: Likewise.
10679         * misc/setegid.c: Likewise.
10680         * misc/seteuid.c: Likewise.
10681         * misc/sethostid.c: Likewise.
10682         * misc/sethostname.c: Likewise.
10683         * misc/setregid.c: Likewise.
10684         * misc/setreuid.c: Likewise.
10685         * misc/setxattr.c: Likewise.
10686         * misc/sstk.c: Likewise.
10687         * misc/stty.c: Likewise.
10688         * misc/swapoff.c: Likewise.
10689         * misc/swapon.c: Likewise.
10690         * misc/sync.c: Likewise.
10691         * misc/syncfs.c: Likewise.
10692         * misc/syscall.c: Likewise.
10693         * misc/truncate.c: Likewise.
10694         * misc/ualarm.c: Likewise.
10695         * misc/usleep.c: Likewise.
10696         * misc/ustat.c: Likewise.
10697         * misc/utimes.c: Likewise.
10698         * misc/vhangup.c: Likewise.
10699         * misc/writev.c: Likewise.
10700         * posix/_exit.c: Likewise.
10701         * posix/alarm.c: Likewise.
10702         * posix/execve.c: Likewise.
10703         * posix/fexecve.c: Likewise.
10704         * posix/fork.c: Likewise.
10705         * posix/fpathconf.c: Likewise.
10706         * posix/getaddrinfo.c: Likewise.
10707         * posix/getegid.c: Likewise.
10708         * posix/geteuid.c: Likewise.
10709         * posix/getgid.c: Likewise.
10710         * posix/getgroups.c: Likewise.
10711         * posix/getlogin.c: Likewise.
10712         * posix/getlogin_r.c: Likewise.
10713         * posix/getpgid.c: Likewise.
10714         * posix/getpid.c: Likewise.
10715         * posix/getppid.c: Likewise.
10716         * posix/getresgid.c: Likewise.
10717         * posix/getresuid.c: Likewise.
10718         * posix/getsid.c: Likewise.
10719         * posix/getuid.c: Likewise.
10720         * posix/glob64.c: Likewise.
10721         * posix/nanosleep.c: Likewise.
10722         * posix/pathconf.c: Likewise.
10723         * posix/pause.c: Likewise.
10724         * posix/posix_madvise.c: Likewise.
10725         * posix/pread.c: Likewise.
10726         * posix/pread64.c: Likewise.
10727         * posix/pwrite.c: Likewise.
10728         * posix/pwrite64.c: Likewise.
10729         * posix/sched_getaffinity.c: Likewise.
10730         * posix/sched_getp.c: Likewise.
10731         * posix/sched_gets.c: Likewise.
10732         * posix/sched_primax.c: Likewise.
10733         * posix/sched_primin.c: Likewise.
10734         * posix/sched_rr_gi.c: Likewise.
10735         * posix/sched_setaffinity.c: Likewise.
10736         * posix/sched_setp.c: Likewise.
10737         * posix/sched_sets.c: Likewise.
10738         * posix/sched_yield.c: Likewise.
10739         * posix/setgid.c: Likewise.
10740         * posix/setlogin.c: Likewise.
10741         * posix/setpgid.c: Likewise.
10742         * posix/setresgid.c: Likewise.
10743         * posix/setresuid.c: Likewise.
10744         * posix/setsid.c: Likewise.
10745         * posix/setuid.c: Likewise.
10746         * posix/sleep.c: Likewise.
10747         * posix/spawni.c: Likewise.
10748         * posix/sysconf.c: Likewise.
10749         * posix/times.c: Likewise.
10750         * posix/wait.c: Likewise.
10751         * posix/wait3.c: Likewise.
10752         * posix/wait4.c: Likewise.
10753         * posix/waitpid.c: Likewise.
10754         * resolv/gai_sigqueue.c: Likewise.
10755         * resource/getpriority.c: Likewise.
10756         * resource/getrlimit.c: Likewise.
10757         * resource/getrusage.c: Likewise.
10758         * resource/nice.c: Likewise.
10759         * resource/setpriority.c: Likewise.
10760         * resource/setrlimit.c: Likewise.
10761         * resource/ulimit.c: Likewise.
10762         * rt/aio_cancel.c: Likewise.
10763         * rt/aio_fsync.c: Likewise.
10764         * rt/aio_read.c: Likewise.
10765         * rt/aio_sigqueue.c: Likewise.
10766         * rt/aio_suspend.c: Likewise.
10767         * rt/aio_write.c: Likewise.
10768         * rt/clock_getres.c: Likewise.
10769         * rt/clock_gettime.c: Likewise.
10770         * rt/clock_nanosleep.c: Likewise.
10771         * rt/clock_settime.c: Likewise.
10772         * rt/lio_listio.c: Likewise.
10773         * rt/mq_close.c: Likewise.
10774         * rt/mq_getattr.c: Likewise.
10775         * rt/mq_notify.c: Likewise.
10776         * rt/mq_open.c: Likewise.
10777         * rt/mq_receive.c: Likewise.
10778         * rt/mq_send.c: Likewise.
10779         * rt/mq_setattr.c: Likewise.
10780         * rt/mq_timedreceive.c: Likewise.
10781         * rt/mq_timedsend.c: Likewise.
10782         * rt/mq_unlink.c: Likewise.
10783         * rt/shm_open.c: Likewise.
10784         * rt/shm_unlink.c: Likewise.
10785         * rt/timer_create.c: Likewise.
10786         * rt/timer_delete.c: Likewise.
10787         * rt/timer_getoverr.c: Likewise.
10788         * rt/timer_gettime.c: Likewise.
10789         * rt/timer_settime.c: Likewise.
10790         * setjmp/__longjmp.c: Likewise.
10791         * setjmp/setjmp.c: Likewise.
10792         * signal/kill.c: Likewise.
10793         * signal/killpg.c: Likewise.
10794         * signal/raise.c: Likewise.
10795         * signal/sigaction.c: Likewise.
10796         * signal/sigaltstack.c: Likewise.
10797         * signal/sigblock.c: Likewise.
10798         * signal/sigignore.c: Likewise.
10799         * signal/sigintr.c: Likewise.
10800         * signal/signal.c: Likewise.
10801         * signal/sigpause.c: Likewise.
10802         * signal/sigpending.c: Likewise.
10803         * signal/sigqueue.c: Likewise.
10804         * signal/sigreturn.c: Likewise.
10805         * signal/sigset.c: Likewise.
10806         * signal/sigsetmask.c: Likewise.
10807         * signal/sigstack.c: Likewise.
10808         * signal/sigsuspend.c: Likewise.
10809         * signal/sigtimedwait.c: Likewise.
10810         * signal/sigvec.c: Likewise.
10811         * signal/sigwait.c: Likewise.
10812         * signal/sigwaitinfo.c: Likewise.
10813         * signal/sysv_signal.c: Likewise.
10814         * socket/accept.c: Likewise.
10815         * socket/accept4.c: Likewise.
10816         * socket/bind.c: Likewise.
10817         * socket/connect.c: Likewise.
10818         * socket/getpeername.c: Likewise.
10819         * socket/getsockname.c: Likewise.
10820         * socket/getsockopt.c: Likewise.
10821         * socket/isfdtype.c: Likewise.
10822         * socket/listen.c: Likewise.
10823         * socket/recv.c: Likewise.
10824         * socket/recvfrom.c: Likewise.
10825         * socket/recvmsg.c: Likewise.
10826         * socket/send.c: Likewise.
10827         * socket/sendmsg.c: Likewise.
10828         * socket/sendto.c: Likewise.
10829         * socket/setsockopt.c: Likewise.
10830         * socket/shutdown.c: Likewise.
10831         * socket/sockatmark.c: Likewise.
10832         * socket/socket.c: Likewise.
10833         * socket/socketpair.c: Likewise.
10834         * stdio-common/ctermid.c: Likewise.
10835         * stdio-common/cuserid.c: Likewise.
10836         * stdio-common/remove.c: Likewise.
10837         * stdio-common/rename.c: Likewise.
10838         * stdio-common/renameat.c: Likewise.
10839         * stdio-common/tempname.c: Likewise.
10840         * stdlib/getcontext.c: Likewise.
10841         * stdlib/makecontext.c: Likewise.
10842         * stdlib/setcontext.c: Likewise.
10843         * stdlib/swapcontext.c: Likewise.
10844         * stdlib/system.c: Likewise.
10845         * streams/fattach.c: Likewise.
10846         * streams/fdetach.c: Likewise.
10847         * streams/getmsg.c: Likewise.
10848         * streams/getpmsg.c: Likewise.
10849         * streams/putmsg.c: Likewise.
10850         * streams/putpmsg.c: Likewise.
10851         * sysdeps/unix/bsd/getpt.c: Likewise.
10852         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10853         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10854         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10856         Likewise.
10857         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10858         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10859         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10860         * sysvipc/msgctl.c: Likewise.
10861         * sysvipc/msgget.c: Likewise.
10862         * sysvipc/msgrcv.c: Likewise.
10863         * sysvipc/msgsnd.c: Likewise.
10864         * sysvipc/semctl.c: Likewise.
10865         * sysvipc/semget.c: Likewise.
10866         * sysvipc/semop.c: Likewise.
10867         * sysvipc/semtimedop.c: Likewise.
10868         * sysvipc/shmat.c: Likewise.
10869         * sysvipc/shmctl.c: Likewise.
10870         * sysvipc/shmdt.c: Likewise.
10871         * sysvipc/shmget.c: Likewise.
10872         * termios/tcdrain.c: Likewise.
10873         * termios/tcflow.c: Likewise.
10874         * termios/tcflush.c: Likewise.
10875         * termios/tcgetattr.c: Likewise.
10876         * termios/tcgetpgrp.c: Likewise.
10877         * termios/tcsendbrk.c: Likewise.
10878         * termios/tcsetattr.c: Likewise.
10879         * termios/tcsetpgrp.c: Likewise.
10880         * time/adjtime.c: Likewise.
10881         * time/clock.c: Likewise.
10882         * time/getitimer.c: Likewise.
10883         * time/gettimeofday.c: Likewise.
10884         * time/setitimer.c: Likewise.
10885         * time/settimeofday.c: Likewise.
10886         * time/stime.c: Likewise.
10887         * time/time.c: Likewise.
10889 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
10891         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10892         /usr/old/bin.
10894         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10895         instead of spaces.
10896         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10898 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
10900         [BZ #14796]
10901         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10902         FE_TONEAREST before applying Dekker multiplication and Knuth
10903         addition.  Clear inexact exceptions and check for exact zero
10904         results afterwards.
10905         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10906         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10907         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10908         * math/libm-test.inc (fma_test): Add more tests.
10909         (fma_test_towardzero): Likewise.
10910         (fma_test_downward): Likewise.
10911         (fma_test_upward): Likewise.
10912         * sysdeps/generic/math_private.h (default_libc_fesetround): New
10913         function.
10914         (libc_fesetround): New macro.
10915         (libc_fesetroundf): Likewise.
10916         (libc_fesetroundl): Likewise.
10917         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10918         function.
10919         (libc_fesetround_387): Likewise.
10920         (libc_fesetroundf): New macro.
10921         (libc_fesetround): Likewise.
10922         (libc_fesetroundl): Likewise.
10923         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10924         function.
10925         (libc_fesetroundf): New macro.
10926         (libc_fesetround): Likewise.
10927         (libc_fesetroundl): Likewise.
10928         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10929         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10930         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10931         libm_hidden_ver.
10932         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10933         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10934         libm_hidden_def.
10935         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10936         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10937         libm_hidden_ver.
10938         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10939         libm_hidden_def.
10941         [BZ #3439]
10942         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10943         integer constant usable in #if and use that to give value to enum
10944         constant.
10945         (FE_DIVBYZERO): Likewise.
10946         (FE_UNDERFLOW): Likewise.
10947         (FE_OVERFLOW): Likewise.
10948         (FE_INVALID): Likewise.
10949         (FE_INVALID_SNAN): Likewise.
10950         (FE_INVALID_ISI): Likewise.
10951         (FE_INVALID_IDI): Likewise.
10952         (FE_INVALID_ZDZ): Likewise.
10953         (FE_INVALID_IMZ): Likewise.
10954         (FE_INVALID_COMPARE): Likewise.
10955         (FE_INVALID_SOFTWARE): Likewise.
10956         (FE_INVALID_SQRT): Likewise.
10957         (FE_INVALID_INTEGER_CONVERSION): Likewise.
10958         (FE_TONEAREST): Likewise.
10959         (FE_TOWARDZERO): Likewise.
10960         (FE_UPWARD): Likewise.
10961         (FE_DOWNWARD): Likewise.
10962         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10963         (FE_DIVBYZERO): Likewise.
10964         (FE_OVERFLOW): Likewise.
10965         (FE_UNDERFLOW): Likewise.
10966         (FE_INEXACT): Likewise.
10967         (FE_TONEAREST): Likewise.
10968         (FE_DOWNWARD): Likewise.
10969         (FE_UPWARD): Likewise.
10970         (FE_TOWARDZERO): Likewise.
10971         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10972         (FE_UNDERFLOW): Likewise.
10973         (FE_OVERFLOW): Likewise.
10974         (FE_DIVBYZERO): Likewise.
10975         (FE_INVALID): Likewise.
10976         (FE_TONEAREST): Likewise.
10977         (FE_TOWARDZERO): Likewise.
10978         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10979         (FE_OVERFLOW): Likewise.
10980         (FE_UNDERFLOW): Likewise.
10981         (FE_DIVBYZERO): Likewise.
10982         (FE_INEXACT): Likewise.
10983         (FE_TONEAREST): Likewise.
10984         (FE_TOWARDZERO): Likewise.
10985         (FE_UPWARD): Likewise.
10986         (FE_DOWNWARD): Likewise.
10987         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10988         (FE_DIVBYZERO): Likewise.
10989         (FE_OVERFLOW): Likewise.
10990         (FE_UNDERFLOW): Likewise.
10991         (FE_INEXACT): Likewise.
10992         (FE_TONEAREST): Likewise.
10993         (FE_DOWNWARD): Likewise.
10994         (FE_UPWARD): Likewise.
10995         (FE_TOWARDZERO): Likewise.
10997 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
10999         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11001 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
11003         * scripts/cross-test-ssh.sh (command): Use newlines to separate
11004         commands.  Quote $PWD.
11005         (blacklist_exports): Don't use remove_newlines.  Replace "declare
11006         -x" by "export".
11007         (remove_newlines): Remove.
11009 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
11011         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11012         * stdlib/stdlib.h (atof): Moved to ...
11013         * include/bits/stdlib-float.h: Here.  New file.
11014         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11015         * stdlib/bits/stdlib-float.h: New file.
11016         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11017         -mno-sse -mno-mmx.
11018         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11019         <xmmintrin.h>.
11021 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
11023         * conform/conformtest.pl (@headers): Add fenv.h.
11024         * conform/data/fenv.h-data: New file.
11025         * include/fenv.h [_ISOMAC]: Disable all contents of file except
11026         include of <math/fenv.h>.
11028         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11029         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11030         && !UNIX98].  Enables tests for XOPEN2K8.
11031         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11032         POSIX2008]: Likewise.
11034         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11035         (struct rusage): Do not expect type or its members.
11037         [BZ #3439]
11038         * math/math.h (FP_NAN): Define macro to integer constant usable in
11039         #if and use that to give value to enum constant.
11040         (FP_INFINITE): Likewise.
11041         (FP_ZERO): Likewise.
11042         (FP_SUBNORMAL): Likewise.
11043         (FP_NORMAL): Likewise.
11045 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
11047         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11048         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11049         arguments.
11051 2012-11-02  Roland McGrath  <roland@hack.frob.com>
11053         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11054         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11055         autoconf-time if not.
11056         * configure.in: Remove AC_PREREQ.
11058 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11060         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11061         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11062         of the internal implementation.
11064 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
11066         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11067         except include of <misc/sys/syslog.h>.
11069 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
11071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11072         function returns with a NULL context exit with zero.
11074 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11076         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11078 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
11080         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11081         (run_program_cmd): This.
11082         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11083         (tst_langinfo): New variable.  Use it.
11085 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
11087         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11088         floating point opcodes.
11090 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
11092         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11093         variable.
11095         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11097         * sysdeps/mach/hurd/powerpc: Remove directory.
11098         * sysdeps/mach/powerpc: Likewise.
11100 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
11102         * scripts/check-local-headers.sh: Ignore c++ headers.
11104 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
11106         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11107         __libc_cleanup_region_start argument.
11109 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
11111         [BZ #14784]
11112         [BZ #14785]
11113         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11114         x * y using scaling, not as x * y + z.
11115         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11116         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11117         * math/libm-test.inc (fma_test): Add more tests.
11118         (fma_test_towardzero): Likewise.
11119         (fma_test_downward): Likewise.
11120         (fma_test_upward): Likewise.
11122 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
11124         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11126 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
11128         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11129         New variable.
11131 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
11133         * rt/tst-shm.c (worker): Correct checking for mmap failure.
11135 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
11137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11138         Fix sort order.
11139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11140         Likewise.
11142 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11145         Fix the order of the list for glibc 2.17.
11146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11147         Likewise.
11149 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
11151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11153 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
11155         [BZ #14610]
11156         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11157         for low part of x being zero before using __atanl (y).
11158         * math/libm-test.inc (atan2_test): Add another test.
11160         * manual/install.texi (Configuring and compiling): Document
11161         general use of test-wrapper and test-wrapper-env.
11162         * INSTALL: Regenerated.
11164         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11165         (__fma): Do not extract and scale down low bits on after-rounding
11166         systems when result rounded to normal precision would have normal
11167         exponent.
11168         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11169         (__fmal): Do not extract and scale down low bits on after-rounding
11170         systems when result rounded to normal precision would have normal
11171         exponent.
11172         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11173         (__fmal): Do not extract and scale down low bits on after-rounding
11174         systems when result rounded to normal precision would have normal
11175         exponent.
11176         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11177         macro.
11178         (fma_test): Add more tests.
11179         (fma_test_towardzero): Likewise.
11180         (fma_test_downward): Likewise.
11181         (fma_test_upward): Likewise.
11183 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
11185         * sysdeps/i386/tininess.h: Renamed to ...
11186         * sysdeps/x86/tininess.h: This.
11187         * sysdeps/x86_64/tininess.h: Removed.
11189 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
11191         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11192         input.  Use $(build-program-cmd).
11193         ($(objpfx)tst-array1-static.out): Likewise.
11194         ($(objpfx)tst-array2.out): Likewise.
11195         ($(objpfx)tst-array3.out): Likewise.
11196         ($(objpfx)tst-array4.out): Likewise.
11197         ($(objpfx)tst-array5.out): Likewise.
11198         ($(objpfx)tst-array5-static.out): Likewise.
11200 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
11202         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11203         if defined.
11205         * nss/nsswitch.h (nss_interface_function): Provide new
11206         macro for use with NSS functions.
11207         * grp/initgroups.c: Use new macro.
11208         * nss/getXXbyYY.c: Likewise.
11209         * nss/getXXbyYY_r.c: Likewise.
11210         * nss/getXXent.c: Likewise.
11211         * nss/getXXent_r.c: Likewise.
11212         * sysdeps/posix/getaddrinfo.c: Likewise.
11214 2012-10-30  Andreas Jaeger  <aj@suse.de>
11216         * po/ru.po: Update Russion translation from translation project.
11218 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
11220         [BZ #14152]
11221         [BZ #14783]
11222         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11223         result and shift together with sticky bit instead of replicating
11224         round-to-nearest rounding.
11225         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11226         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11227         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
11228         missing underflow exceptions.
11229         (fma_test_towardzero): Add more tests.
11230         (fma_test_downward): Likewise.
11231         (fma_test_upward): Likewise.
11233         [BZ #14047]
11234         * sysdeps/generic/tininess.h: New file.
11235         * sysdeps/i386/tininess.h: Likewise.
11236         * sysdeps/sh/tininess.h: Likewise.
11237         * sysdeps/x86_64/tininess.h: Likewise.
11238         * stdlib/tst-strtod-underflow.c: Likewise.
11239         * stdlib/tst-tininess.c: Likewise.
11240         * stdlib/strtod_l.c: Include <tininess.h>.
11241         (round_and_return): Do not set errno for exact underflow cases.
11242         Force an underflow exception when setting errno for underflow.
11243         Determine underflow based on rounding to normal precision if
11244         TININESS_AFTER_ROUNDING.
11245         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11246         ERANGE for exact underflow cases.
11247         * stdlib/Makefile (tests): Add tst-tininess and
11248         tst-strtod-underflow.
11249         ($(objpfx)tst-tininess): Use $(link-libm).
11250         ($(objpfx)tst-strtod-underflow): Likewise.
11252 2012-10-30  Andreas Jaeger  <aj@suse.de>
11254         [BZ#14767]
11255         * elf/Makefile (tests): Remove conditional for have-initfini-array
11256         since this is now always required and the variable does not exist
11257         anymore.
11258         (tests-static): Likewise.
11259         (modules-names): Likewise.
11261         * po/eo.po: Add Esperanto translation from translation project.
11263         * elf/tst-array1.c (fini_array): Make writeable so that it can be
11264         merged with constructor/destructor.
11265         (init_array): Likewise.
11266         * elf/tst-array2dep.c (fini_array): Likewise.
11267         (init_array): Likewise.
11269 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
11271         * manual/message.texi: Delete @cartouche tags.
11273 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
11275         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11276         EOPNOTSUPP.
11277         * sysdeps/mach/hurd/fsync.c: Likewise.
11279         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11280         [_POSIX_REALTIME_SIGNALS]: Change condition to
11281         [_POSIX_REALTIME_SIGNALS > 0].
11283 2012-10-27  Andreas Jaeger  <aj@suse.de>
11285         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11286         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11287         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11288         [__WORDSIZE != 64]: Likewise.
11290 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
11292         *  iconvdata/tst-table.sh: Remove ${SHELL}.
11293         *  iconvdata/tst-tables.sh: Likewise.
11295 2012-10-25  David S. Miller  <davem@davemloft.net>
11297         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11298         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11299         of strtoull.
11301         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11302         ifunc-impl-list.c
11303         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11304         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11305         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11306         file.
11308 2012-10-25  Roland McGrath  <roland@hack.frob.com>
11310         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11311         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11312         __getdirentries.
11314 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
11315             Jim Blandy  <jimb@codesourcery.com>
11317         * scripts/cross-test-ssh.sh: New file.
11318         * manual/install.texi (Configuring and compiling): Document use of
11319         cross-test-ssh.sh.
11320         * INSTALL: Regenerated.
11322 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
11324         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11325         EOPNOTSUPP.
11327 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
11329         * Makeconfig (run-program-prefix): Fix comment.
11331 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
11332             Jim Blandy  <jimb@codesourcery.com>
11334         * Makeconfig (test-wrapper): New variable,
11335         (test-wrapper-env): Likewise.
11336         [$(cross-compiling) = yes && $(test-wrapper) != ""]
11337         (run-built-tests): Define to yes.
11338         (run-program-prefix): Use $(test-wrapper).
11339         (built-program-cmd): Likewise.
11340         * Rules (make-test-out): Use $(test-wrapper-env) and
11341         $(host-built-program-cmd).
11342         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11343         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11344         tst-pathopt.sh.
11345         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11346         $(test-wrapper-env) to tst-rtld-load-self.sh.
11347         ($(objpfx)order2.out): Use $(test-wrapper).
11348         ($(objpfx)tst-initorder.out): Likewise.
11349         ($(objpfx)tst-initorder2.out): Likewise.
11350         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11351         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11352         (test_wrapper_env): New variable.  Use it to run ld.so.
11353         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11354         Use it to run ld.so.
11355         (test_wrapper_env): Likewise.
11356         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11357         $(test-wrapper) to run-iconv-test.sh.
11358         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11359         (ICONV): Use $test_wrapper.
11360         * posix/Makefile ($(objpfx)globtest.out): Pass
11361         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11362         globtest.sh, not $(run-program-prefix).
11363         * posix/globtest.sh (run_via_rtld_prefix): New variable.
11364         (test_wrapper): Likewise.
11365         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
11366         set together with run_via_rtld_prefix.
11367         (run_program_prefix): Define in terms of test_wrapper and
11368         run_via_rtld_prefix.
11370 2012-10-24  Roland McGrath  <roland@hack.frob.com>
11372         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11373         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11374         Targets removed.
11376         [BZ #14743]
11377         * include/time.h: Remove librt_hidden_proto (clock_gettime).
11378         Declare __clock_getres, __clock_gettime, __clock_settime,
11379         __clock_nanosleep, and __clock_getcpuclockid.
11380         * rt/clock_gettime.c: Define __clock_gettime as an alias.
11381         Remove librt_hidden_def (clock_gettime).
11382         * sysdeps/unix/clock_gettime.c: Likewise.
11383         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11384         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11385         * rt/clock_getres.c: Define __clock_getres as an alias.
11386         * sysdeps/posix/clock_getres.c: Likewise.
11387         * rt/clock_settime.c: Define __clock_settime as an alias.
11388         * sysdeps/unix/clock_settime.c: Likewise.
11389         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11390         * sysdeps/unix/clock_nanosleep.c: Likewise.
11391         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11392         * rt/clock-compat.c: New file.
11393         * rt/Makefile (librt-routines): Add clock-compat and move
11394         $(clock-routines) to ...
11395         (routines): ... here, new variable.
11396         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11397         Don't add get_clockfreq here.
11398         * rt/Versions (libc: GLIBC_2.17): New version set.
11399         Add clock_* symbols here.
11400         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
11401         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11402         (GLIBC_2.17): Add clock_* symbols.
11403         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11405         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11407         Likewise.
11408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11409         Likewise.
11410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11412         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11414         * NEWS: Mention the move.
11416         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11417         Use __open, __read, __close rather than their public counterparts.
11418         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11419         (__get_clockfreq_via_cpuinfo): Likewise.
11420         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11421         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11423         * config.h.in (HAVE_IFUNC): New #undef.
11424         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11425         was successful.
11426         * configure: Regenerated.
11428 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
11430         * configure.in: Move READELF check to start of file.
11431         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11432         libc_cv_asm_gnu_indirect_function in the process.
11433         * configure: Regenerated.
11435 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
11437         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11438         send the output to /dev/null.
11439         (libc_cv_cc_with_libunwind): Likewise.
11440         (libc_cv_as_noexecstack): Likewise.
11441         * configure: Regenerate.
11443 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
11445         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11447         * posix/globtest.sh (TMPDIR): Do not set.
11448         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11449         (testout): Likewise.
11451 2012-10-24  Andreas Jaeger  <aj@suse.de>
11453         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11454         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11455         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11456         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11457         posix_fadvise64, posix_fallocate64.
11459         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11460         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11461         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11462         Likewise.
11463         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11464         Likewise.
11465         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11467         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11468         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11469         <bits/fcntl-linux.h>.
11470         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11472         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11473         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11474         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11475         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11476         [__WORDSIZE != 64]: Likewise.
11478 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
11480         * Makeconfig (run-built-tests): New variable.
11481         * Rules [$(cross-compiling) = yes]: Change condition to
11482         [$(run-built-tests) = no].
11483         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11484         to [$(run-built-tests) = yes].
11485         * elf/Makefile [$(cross-compiling) = no]: Likewise
11486         * grp/Makefile [$(cross-compiling) = no]: Likewise.
11487         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11488         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11489         * intl/Makefile [$(cross-compiling) = no]: Likewise.
11490         * io/Makefile [$(cross-compiling) = no]: Likewise.
11491         * libio/Makefile [$(cross-compiling) = no]: Likewise.
11492         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11493         * misc/Makefile [$(cross-compiling) = no]: Likewise.
11494         * posix/Makefile [$(cross-compiling) = no]: Likewise.
11495         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11496         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11497         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11498         * string/Makefile [$(cross-compiling) = no]: Likewise.
11500         * posix/Makefile ($(objpfx)globtest.out): Pass
11501         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11502         $(rtld-installed-name).
11503         * posix/globtest.sh (elf_objpfx): Remove variable.
11504         (rtld_installed_name): Likewise.
11505         (library_path): Likewise.
11506         (run_program_prefix): New variable.  Use for running globtest
11507         binary.
11509 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
11510             Joseph Myers  <joseph@codesourcery.com>
11512         * Makeconfig (host-built-program-cmd): New variable.
11513         * elf/Makefile (tst-stackguard1-ARGS): Use
11514         $(host-built-program-cmd).
11515         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11516         (tst-spawn-ARGS): Likewise.
11517         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11519 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
11520             Jim Blandy  <jimb@codesourcery.com>
11522         * Makeconfig (run-via-rtld-prefix): New variable.
11523         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11524         (built-program-cmd): Likewise.
11526 2012-10-22  Andreas Jaeger  <aj@suse.de>
11528         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11529         __O_RSYNC if it exists, otherwise to O_SYNC.
11531 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
11532             Joseph Myers  <joseph@codesourcery.com>
11534         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11535         /dev/null.
11536         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11537         from /dev/null
11538         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11539         /dev/null.
11541 2012-10-22  Andreas Jaeger  <aj@suse.de>
11543         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11544         Define always.
11545         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11547         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11548         bits/fcntl-linux.h.
11550         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11551         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11553         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11554         to __O_LARGEFILE.
11555         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11556         to __O_LARGEFILE.
11558 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
11559             Joseph Myers  <joseph@codesourcery.com>
11561         * config.make.in (NM): New variable.
11563 2012-10-21  Andreas Jaeger  <aj@suse.de>
11565         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11566         definitions and declarations that are provided by
11567         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11569 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
11571         [BZ #14683]
11572         * elf/Makefile (tests-static): Add tst-leaks1-static.
11573         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11574         ($(objpfx)tst-leaks1-static): New rule.
11575         ($(objpfx)tst-leaks1-static-mem): Likewise.
11576         (tst-leaks1-static-ENV): New macro.
11577         * elf/dl-open.c (dl_open_worker): Check the main application
11578         only if SHARED is defined.
11579         * elf/tst-leaks1-static.c: New file.
11581 2012-10-20  Andreas Jaeger  <aj@suse.de>
11583         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11584         generic values for Linux.
11585         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11586         and declarations that are provided by <bits/fcntl-linux.h> and
11587         include <bits/fcntl-linux.h>.
11588         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11589         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11591 2012-10-20  Roland McGrath  <roland@hack.frob.com>
11593         * io/fcntl.h: Move include of <bits/types.h> to the top and
11594         include it unconditionally.
11596 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
11598         * wcsmbs/Makefile (tests-ifunc): New variable.
11599         (tests): Add $(tests-ifunc).
11600         * wcsmbs/test-wcschr-ifunc.c: New file.
11601         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11602         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11603         * wcsmbs/test-wcslen-ifunc.c: Likewise.
11604         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11605         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11607         * string/Makefile (tests-ifunc): New variable.
11608         (tests): Add $(tests-ifunc).
11609         * string/test-memccpy.c (TEST_NAME): New macro.
11610         * string/test-memchr.c (TEST_NAME): Likewise.
11611         * string/test-memcmp.c (TEST_NAME): Likewise.
11612         * string/test-memcpy.c (TEST_NAME): Likewise.
11613         * string/test-memmem.c (TEST_NAME): Likewise.
11614         * string/test-memmove.c (TEST_NAME): Likewise.
11615         * string/test-memset.c (TEST_NAME): Likewise.
11616         * string/test-rawmemchr.c (TEST_NAME): Likewise.
11617         * string/test-stpcpy.c (TEST_NAME): Likewise.
11618         * string/test-stpncpy.c (TEST_NAME): Likewise.
11619         * string/test-strcasecmp.c (TEST_NAME): Likewise.
11620         * string/test-strcasestr.c (TEST_NAME): Likewise.
11621         * string/test-strcat.c (TEST_NAME): Likewise.
11622         * string/test-strchr.c (TEST_NAME): Likewise.
11623         * string/test-strcmp.c(TEST_NAME): Likewise.
11624         * string/test-strcpy.c (TEST_NAME): Likewise.
11625         * string/test-strcspn.c (TEST_NAME): Likewise.
11626         * string/test-strlen.c (TEST_NAME): Likewise.
11627         * string/test-strncasecmp.c (TEST_NAME): Likewise.
11628         * string/test-strncmp.c (TEST_NAME): Likewise.
11629         * string/test-strncpy.c (TEST_NAME): Likewise.
11630         * string/test-strnlen.c (TEST_NAME): Likewise.
11631         * string/test-strpbrk.c (TEST_NAME): Likewise.
11632         * string/test-strrchr.c (TEST_NAME): Likewise.
11633         * string/test-strspn.c (TEST_NAME): Likewise.
11634         * string/test-strstr.c (TEST_NAME): Likewise.
11635         * string/test-bcopy-ifunc.c: New file.
11636         * string/test-bzero-ifunc.c: Likewise.
11637         * string/test-memccpy-ifunc.c: Likewise.
11638         * string/test-memchr-ifunc.c: Likewise.
11639         * string/test-memcmp-ifunc.c: Likewise.
11640         * string/test-memcpy-ifunc.c: Likewise.
11641         * string/test-memmem-ifunc.c: Likewise.
11642         * string/test-memmove-ifunc.c: Likewise.
11643         * string/test-mempcpy-ifunc.c: Likewise.
11644         * string/test-memset-ifunc.c: Likewise.
11645         * string/test-rawmemchr-ifunc.c: Likewise.
11646         * string/test-stpcpy-ifunc.c: Likewise.
11647         * string/test-stpncpy-ifunc.c: Likewise.
11648         * string/test-strcasecmp-ifunc.c: Likewise.
11649         * string/test-strcasestr-ifunc.c: Likewise.
11650         * string/test-strcat-ifunc.c: Likewise.
11651         * string/test-strchr-ifunc.c: Likewise.
11652         * string/test-strchrnul-ifunc.c: Likewise.
11653         * string/test-strcmp-ifunc.c: Likewise.
11654         * string/test-strcpy-ifunc.c: Likewise.
11655         * string/test-strcspn-ifunc.c: Likewise.
11656         * string/test-strlen-ifunc.c: Likewise.
11657         * string/test-strncasecmp-ifunc.c: Likewise.
11658         * string/test-strncat-ifunc.c: Likewise.
11659         * string/test-strncmp-ifunc.c: Likewise.
11660         * string/test-strncpy-ifunc.c: Likewise.
11661         * string/test-strnlen-ifunc.c: Likewise.
11662         * string/test-strpbrk-ifunc.c: Likewise.
11663         * string/test-strrchr-ifunc.c: Likewise.
11664         * string/test-strspn-ifunc.c: Likewise.
11665         * string/test-strstr-ifunc.c: Likewise.
11667         * debug/Makefile (tests-ifunc): New variable.
11668         (tests): Add $(tests-ifunc).
11669         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11670         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11671         * debug/test-stpcpy_chk-ifunc.c: New file.
11672         * debug/test-strcpy_chk-ifunc.c: Likewise.
11674 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11676         [BZ #13601]
11677         * elf/dl-load.c (open_verify): Retry read if the entire ELF
11678         header is not read in.
11680 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
11682         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
11683         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
11684         directly.  Pass built executable to script as
11685         $(built-program-cmd).
11686         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
11687         $testprogram without using LD_LIBRARY_PATH and $ldso.
11689         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11690         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11691         $(rtld-installed-name).
11692         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11693         (rtld_installed_name): Likewise.
11694         (library_path): Likewise.
11695         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
11696         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11697         $(run-program-prefix) to tst-tables.sh.
11698         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
11699         it to run tst-table-from and tst-table-to.
11700         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11701         Pass it to tst-table.sh.
11702         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11703         $(run-program-prefix) to tst-gettext.sh.
11704         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11705         tst-translit.sh.
11706         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11707         tst-gettext2.sh.
11708         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
11709         to run tst-gettext.
11710         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
11711         to run tst-gettext2.
11712         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
11713         to run tst-translit.
11714         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11715         $(run-program-prefix) to tst-mtrace.sh.
11716         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
11717         to run tst-mtrace.
11718         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11719         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11720         $(rtld-installed-name).
11721         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11722         (rtld_installed_name): Likewise.
11723         (run_program_prefix): New variable.  Use it to run wordexp-test.
11725         * Makeconfig (ARCH): Remove all definitions.
11726         (machine): Likewise.
11727         [ARCH]: Remove conditional code.
11728         [!objdir]: Give error.
11729         [!objdir] (objpfx): Remove.
11730         [!objdir] (common-objpfx): Likewise.
11731         [!objdir] (common-objdir): Likewise.
11732         * configure.in (config_makefile): Remove.  Hardcode Makefile in
11733         AC_CONFIG_FILES call.
11734         * configure: Regenerated.
11736         [BZ #13888]
11737         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11738         or TMPDIR.
11739         (testout): Likewise.
11741         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11742         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11743         $(rtld-installed-name).
11744         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11745         (rtld_installed_name): Likwise.
11746         (runit): Remove function.
11747         (run_getconf): New variable,  Use it for running getconf binary.
11749 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
11751         [BZ #14716]
11752         * string/test-memmem.c (check_result): New function.
11753         (do_one_test): Use it.
11754         (check1): New function.
11755         (test_main): Use it.
11757 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
11759         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11761 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
11763         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11764         (_G_LSEEK64): Likewise.
11765         (_G_MMAP64): Likewise.
11766         (_G_FSTAT64): Likewise.
11767         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11768         (_G_LSEEK64): Likewise.
11769         (_G_MMAP64): Likewise.
11770         (_G_FSTAT64): Likewise.
11771         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11772         unconditional.  Call __mmap64 directly.
11773         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11774         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
11775         __lseek64 directly.
11776         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11777         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
11778         __mmap64 directly.
11779         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11780         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
11781         __lseek64 directly.
11782         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11783         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
11784         __lseek64 directly.
11785         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11786         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
11787         __lseek64 directly.
11788         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11789         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
11790         __fxstat64 directly.
11791         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11792         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11793         unconditional.
11794         (freopen64) [!_G_OPEN64]: Remove conditional code.
11795         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11796         unconditional.
11797         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11798         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11799         unconditional.
11800         (ftello64) [!_G_LSEEK64]: Remove conditional code.
11801         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11802         unconditional.
11803         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11804         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11805         unconditional.
11806         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11807         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11808         unconditional.
11809         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11810         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11811         unconditional.
11812         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11813         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11814         unconditional.
11815         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11817 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11819         [BZ #12140]
11820         * manual/memory.texi (Malloc Tunable Parameters): Add note
11821         about free list pointers overwriting some perturb bytes.
11822         Wording suggested by Roland McGrath.
11824 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
11826         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11827         (lgamma_test): Likewise.
11828         (tgamma_test): Likewise.
11830 2012-10-16  Florian Weimer  <fweimer@redhat.com>
11832         [BZ #14700]
11833         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11834         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11836 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
11838         * NEWS: Mention BZ #14716.
11839         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11840         when removing AVAILABLE1_USES_J macro.
11842 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
11844         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11845         (__bswap_64): __uint64_t for unsigned 64-bit int.
11847 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
11849         * include/string.h (memmem): Declare libc hidden alias.
11850         * string/memmem.c (memmem): Define libc hidden alias.
11851         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11852         __read, __close instead of open, read, close.
11854 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
11856         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11857         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11858         global and hidden.
11859         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11860         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11861         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11862         Likewise.
11863         (__rawmemchr_sse2): Likewise.
11864         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11865         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11866         (__strchr_sse2): Likewise.
11867         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11868         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11869         (__strcasecmp_sse2): Likewise.
11870         (__strncasecmp_sse2): Likewise.
11871         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11872         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11873         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11874         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11875         (__strrchr_sse2): Likewise.
11876         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11877         ifunc-impl-list.c.
11878         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11879         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11880         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11881         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11882         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11883         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11884         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11885         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11886         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11887         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11888         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11889         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11890         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11891         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11892         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11893         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11894         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11895         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11896         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11897         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11898         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11899         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11900         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11901         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11902         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11903         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11904         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11905         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11906         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11907         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11909         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11910         global and hidden.
11911         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11912         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11913         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11914         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11915         Likewise.
11916         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11917         Likewise.
11918         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11919         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11920         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11921         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11922         ifunc-impl-list.c.
11923         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11924         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11925         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11926         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11927         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11928         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11929         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11930         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11931         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11932         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11933         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11934         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11935         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11936         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11937         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11938         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11939         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11940         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11941         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11942         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11943         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11944         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11945         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11946         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11947         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11948         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11949         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11950         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11951         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11952         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11953         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11954         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11955         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11956         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11957         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11958         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11959         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11960         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11961         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11962         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11963         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11965         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11966         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11967         * include/ifunc-impl-list.h: New file.
11968         * misc/ifunc-impl-list.c: Likewise.
11969         * misc/Makefile (routines): Add ifunc-impl-list.
11970         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11971         * string/test-string.h: Include <ifunc-impl-list.h>.
11972         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11973         impl_array): New variables.
11974         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11975         are defined.
11976         (test_init): Call __libc_ifunc_impl_list to initialize
11977         func_list if TEST_IFUNC and TEST_NAME are defined.
11979         * string/Makefile (strop-tests): Add bcopy and bzero.
11980         * string/test-bcopy.c: New file.
11981         * string/test-bzero.c: Likewise.
11982         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11983         defined.
11984         * string/test-memset.c: Support bzero test if TEST_BZERO is
11985         defined.
11986         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11987         __libc_memmove.
11988         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11989         __libc_memset.
11990         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11991         of memset.
11993 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
11995         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11996         * configure: Regenerated.
11998         * Makeconfig (+link-static-before-libc): Don't include
11999         $(link-static-libc).
12001         * libio/libio.h (_IO_pos_t): Remove.
12003 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
12005         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
12006         McGrath.
12008 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
12010         * crypt/crypt-entry.c: Include fips-private.h.
12011         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12012         * crypt/md5c-test.c (main): Tolerate disabled MD5.
12013         * sysdeps/unix/sysv/linux/fips-private.h: New file.
12014         * sysdeps/generic/fips-private.h: New file, dummy fallback.
12016 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
12018         * crypt/crypt-private.h: Include stdbool.h.
12019         (_ufc_setup_salt_r): Return bool.
12020         * crypt/crypt-entry.c: Include errno.h.
12021         (__crypt_r): Return NULL with EINVAL for bad salt.
12022         * crypt/crypt_util.c (bad_for_salt): New.
12023         (_ufc_setup_salt_r): Check that salt is long enough and within
12024         the specified alphabet.
12025         * crypt/badsalttest.c: New file.
12026         * crypt/Makefile (tests): Add it.
12027         ($(objpfx)badsalttest): New.
12029 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
12031         * NEWS: Add entry for BZ #14602.
12033 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
12035         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12036         type-generic.
12037         * math/libm-test.inc: Update comment listing what functions and
12038         macros are tested.
12039         (isgreater_test): New function.
12040         (isgreaterequal_test): Likewise.
12041         (isless_test): Likewise.
12042         (islessequal_test): Likewise.
12043         (islessgreater_test): Likewise.
12044         (isunordered_test): Likewise.
12045         (main): Call the new functions.
12047 2012-10-09  Roland McGrath  <roland@hack.frob.com>
12049         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12050         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12051         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12052         * sysdeps/i386/configure: Regenerated.
12053         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12054         * sysdeps/mach/configure: Regenerated.
12055         * sysdeps/mach/hurd/configure: Regenerated.
12056         * sysdeps/powerpc/configure: Regenerated.
12057         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12058         * sysdeps/powerpc/powerpc64/configure: Regenerated.
12059         * sysdeps/s390/s390-32/configure: Regenerated.
12060         * sysdeps/s390/s390-64/configure: Regenerated.
12061         * sysdeps/sh/configure: Regenerated.
12062         * sysdeps/sparc/configure: Regenerated.
12063         * sysdeps/unix/sysv/linux/configure: Regenerated.
12064         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12065         * sysdeps/x86_64/configure: Regenerated.
12067         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12068         defined.  Don't check if MAP is NULL.
12070 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
12072         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12073         (_G_stat64): Likewise.
12074         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12075         (_G_stat64): Likewise.
12076         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12077         instead of struct _G_stat64.
12078         * libio/fileops.c (mmap_remap_check): Likewise.
12079         (decide_maybe_mmap): Likewise.
12080         (_IO_new_file_seekoff): Likewise.
12081         (_IO_file_stat): Likewise.
12082         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12083         _G_off64_t.
12084         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12085         instead of struct _G_stat64.
12086         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12088 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
12090         [BZ #14602]
12091         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12092         Replace with ...
12093         (CHECK_EOL): New macro.
12094         (two_way_short_needle): Check beginning of haystack for EOL.  Use
12095         CHECK_EOL.
12096         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12097         Replace with CHECK_EOL.
12098         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12099         Replace with CHECK_EOL.
12101 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
12103         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12104         type-generic.
12105         * math/libm-test.inc: Update comment listing what functions and
12106         macros are tested.
12107         (finite_test): New function.
12108         (isinf_test): Likewise.
12109         (isnan_test): Likewise.
12110         (fpclassify_test): Test subnormal input.
12111         (isfinite_test): Likewise.
12112         (isnormal_test): Likewise.
12113         (main): Call the new functions.
12115 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
12117         [BZ #14660]
12118         * Makerules (%.dynsym): Force C locale when running
12119         $(OBJDUMP) --dynamic-syms.
12121 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
12123         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12124         <stdint.h>.
12126 2012-10-06  David S. Miller  <davem@davemloft.net>
12128         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12129         upper 32-bits of the length value in %o2 since we use branch-on-register
12130         tests which consider the entire 64-bit register.
12132 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
12134         * string/test-strstr.c (check2): Add a test for page boundary.
12136 2012-10-05  David S. Miller  <davem@davemloft.net>
12138         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12139         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12140         file.
12141         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12142         sysdep_routines.
12143         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12144         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12145         and bzero when HWCAP_SPARC_CRYPTO is present.
12147 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
12149         [BZ #14602]
12150         * string/test-strstr.c (check2): New function.
12151         (test_main): Call check2.
12153         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12154         and bug-strchr1.
12155         * string/bug-strcasestr1.c (do_test): Moved to ...
12156         * string/test-strcasestr.c (check1): Here.  New function.
12157         (do_one_test): Break out result checking code into ...
12158         (check_result): This.  New function.
12159         (do_one_test): Call check_result.
12160         (test_main): Call check1.
12161         * string/bug-strchr1.c (do_test): Moved to ...
12162         * string/test-strchr.c (check1): Here.  New function.
12163         (do_one_test): Break out result checking code into ...
12164         (check_result): This.  New function.
12165         (do_one_test): Call check_result.
12166         (test_main): Call check1.
12167         * string/bug-strstr1.c (main): Moved to ...
12168         * string/test-strstr.c (check1): Here.  New function.
12169         (do_one_test): Break out result checking code into ...
12170         (check_result): This.  New function.
12171         (do_one_test): Call check_result.
12172         (test_main): Call check1.
12173         * string/bug-strcasestr1.c: Removed.
12174         * string/bug-strchr1.c: Likewise.
12175         * string/bug-strstr1.c: Likewise.
12177         * elf/Makefile (dl-routines): Add hwcaps.
12178         * elf/dl-support.c (_dl_important_hwcaps): Removed.
12179         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12180         (_dl_important_hwcaps): Moved to ...
12181         * elf/dl-hwcaps.c: Here.  New file.
12182         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12184         [BZ #14557]
12185         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12186         if IS_IN_rtld isn't defined.
12188         * elf/dl-support.c (_dl_sysinfo_map): New.
12189         Include "get-dynamic-info.h" and "setup-vdso.h".
12190         (_dl_non_dynamic_init): Call setup_vdso.
12191         * elf/dynamic-link.h: Don't include <assert.h>.
12192         (elf_get_dynamic_info): Moved to ...
12193         * elf/get-dynamic-info.h: Here.  New file.
12194         * elf/dynamic-link.h: Include "get-dynamic-info.h".
12195         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12196         * elf/setup-vdso.h: Here.  New file.
12197         * elf/rtld.c: Include "setup-vdso.h".
12198         (dl_main): Call setup_vdso.
12200 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
12202         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12203         creal in comment listing functions tested.  List finite, isinf,
12204         isnan, isless, islessequal, isgreater, isgreaterequal,
12205         islessgreater, isunordered, lgamma_r and pow10 as functions and
12206         macros not tested.  Mention which functions not tested are aliases
12207         for other functions.  Fix typo.  Note that signs of NaNs are not
12208         tested.
12210         * scripts/config.guess: Update from config.git.
12211         * scripts/config.sub: Likewise.
12213 2012-10-04  Roland McGrath  <roland@hack.frob.com>
12215         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12216         * misc/madvise.c (madvise): Renamed to __madvise.
12217         Make madvise a weak alias.
12218         * include/sys/mman.h: Declare __madvise.
12219         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12220         * sysdeps/unix/syscalls.list
12221         (madvise): Make __madvise the strong name, and madvise a weak alias.
12222         * sysdeps/unix/sysv/linux/syscalls.list
12223         (madvise, mmap): Remove redundant entries.
12224         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12225         * malloc/malloc.c (mtrim): Likewise.
12226         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12228 2012-10-03  Roland McGrath  <roland@hack.frob.com>
12230         * sysdeps/mach/hurd/dl-cache.c: File removed.
12231         * config.h.in (USE_LDCONFIG): New #undef.
12232         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12233         * configure: Regenerated.
12234         * elf/Makefile (dl-routines): Add dl-cache only under
12235         [$(use-ldconfig) = yes].
12236         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12237         cache on [USE_LDCONFIG].
12238         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12239         [USE_LDCONFIG].
12240         * elf/rtld.c (dl_main): Likewise.
12242 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
12244         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12245         _SC_LEVEL4_CACHE_LINESIZE.
12247 2012-10-03  Roland McGrath  <roland@hack.frob.com>
12249         * sysdeps/unix/bsd/confstr.h: File removed.
12251 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
12253         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12254         sys/sdt-config.h.
12256 2012-10-02  Roland McGrath  <roland@hack.frob.com>
12258         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12259         Make 'mapoff' field ElfW(Off) rather than off_t.
12261 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
12263         * nscd/Makefile: Remove nscd-cflags and all its users.
12264         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12265         (CFLAGS-nonlib): Add compiler flags for nscd modules.
12267         [BZ #10631]
12268         * malloc.c (malloc_printerr): Clarify error message.
12270 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
12272         [BZ #14648]
12273         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12274         Set bit_FMA_Usable if FMA is supported.
12275         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12276         macro.
12277         (bit_FMA4_Usable): Updated.
12278         (index_FMA_Usable): New macro.
12279         (CPUID_FMA): Likewise
12280         (HAS_FMA): Defined with bit_FMA_Usable.
12282 2012-10-01  Roland McGrath  <roland@hack.frob.com>
12284         * bits/types.h (__swblk_t): Type removed.
12285         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12286         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12287         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12288         (__SWBLK_T_TYPE): Likewise.
12289         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12290         (__SWBLK_T_TYPE): Likewise.
12291         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12292         (__SWBLK_T_TYPE): Likewise.
12293         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12294         (__SWBLK_T_TYPE): Likewise.
12296 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
12297             Honza Horak <hhorak@redhat.com>
12299         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12300         (xdr_mapname): Use YPMAXMAP as maxsize.
12301         (xdr_peername): Use YPMAXPEER as maxsize.
12302         (xdr_keydat): Use YPAXRECORD as maxsize.
12303         (xdr_valdat): Use YPMAXRECORD as maxsize.
12305 2012-10-01  Roland McGrath  <roland@hack.frob.com>
12307         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12309         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12310         * csu/init-first.c: ... here.
12311         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12312         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12313         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12314         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12315         * sysdeps/i386/init-first.c: File removed.
12316         * sysdeps/sh/init-first.c: File removed.
12318 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
12320         [BZ #14645]
12321         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12322         if x * y might underflow to zero and z is zero.
12323         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12324         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12325         * math/libm-test.inc (min_subnorm_value): New variable.
12326         (fma_test): Add more tests.
12327         (fma_test_towardzero): Likewise.
12328         (fma_test_downward): Likewise
12329         (fma_test_upward): Likewise.
12330         (initialize): Set min_subnorm_value.
12332 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
12334         [BZ #14638]
12335         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12336         0 + 0.
12337         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12338         mode for addition resulting in exact zero.
12339         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12340         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12341         exact 0 + 0.
12342         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12343         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12344         * math/libm-test.inc (fma_test): Add more tests.
12345         (fma_test_towardzero): New function.
12346         (fma_test_downward): Likewise.
12347         (fma_test_upward): Likewise.
12348         (main): Call the new functions.
12350 2012-09-28  David S. Miller  <davem@davemloft.net>
12352         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12354 2012-09-28  Roland McGrath  <roland@hack.frob.com>
12356         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12357         instead of SIGALRM.
12359         * sysdeps/gnu/_G_config.h: Moved to ...
12360         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12361         * sysdeps/mach/hurd/_G_config.h: Moved to ...
12362         * sysdeps/generic/_G_config.h: ... here.
12364         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
12366         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12368         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12369         Conditionalize target on [libnss_test1.so-version].
12371         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12373         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12374         (elfobjdir): Move out of conditionals.
12376         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12377         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12378         (__nss_lookup_function): Conditionalize label remove_from_tree on
12379         [!DO_STATIC_NSS || SHARED], matching its only use.
12381 2012-09-28  David S. Miller  <davem@davemloft.net>
12383         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12384         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12385         file.
12386         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12387         sysdep_routines.
12388         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12389         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12390         when HWCAP_SPARC_CRYPTO is present.
12392 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12394         * io/tst-mknodat.c: Create a FIFO instead of a socket.
12396 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
12398         [BZ #6530]
12399         * stdio-common/vfprintf.c (process_string_arg): Revert
12400         2000-07-22 change.
12402 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
12404         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12405         for testcase.
12406         * stdio-common/tst-sprintf.c: Include <locale.h>
12407         (main): Test sprintf's handling of incomplete multibyte
12408         characters.
12410 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
12412         * elf/dl-runtime.c (VERSYMIDX): Removed.
12413         * elf/dl-version.c (VERSYMIDX): Likewise.
12414         * elf/do-rel.h (VERSYMIDX): Likewise.
12415         (VALIDX): Likewise.
12416         * elf/dynamic-link.h (VERSYMIDX): Likewise.
12417         * elf/rtld.c (VALIDX): Likewise.
12418         (ADDRIDX): Likewise.
12419         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12420         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12421         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
12422         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12423         (VALIDX): Likewise.
12424         (ADDRIDX): Likewise.
12426 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12428         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12430 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
12432         [BZ #11438]
12433         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12434         to global scope.
12435         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12436         addresses are in the same scope as 192.0.2/24.
12437         * posix/gai.conf: Document new scope table defaults.
12439 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12441         [BZ #5298]
12442         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12443         for ftell.  Compute offsets from write pointers instead.
12444         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12446 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12448         [BZ #14543]
12449         * libio/Makefile (tests): New test case tst-fseek.
12450         * libio/tst-fseek.c: New test case to verify that fseek/ftell
12451         combination works in wide mode.
12452         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12453         state when the external buffer state changes.
12455 2012-09-27  David S. Miller  <davem@davemloft.net>
12457         [BZ #14376]
12458         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12459         pass reloc->r_addend in as the 'high' argument to
12460         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12462         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12464 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12466         * rt/tst-aio2.c: Include <pthread.h>.
12467         * rt/tst-aio3.c: Likewise.
12469 2012-09-27  Steve Ellcey  <sellcey@mips.com>
12471         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12473 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
12475         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12476         contents on [SHARED].
12478 2012-09-26  Marek Polacek  <polacek@redhat.com>
12480         [BZ #14530]
12481         [BZ #13741]
12482         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12483         for C++ and GCC <4.3 as well as for non GCC compilers.
12485 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
12487         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12489 2012-09-25  Roland McGrath  <roland@hack.frob.com>
12491         * Makefile.in (all, install): Declare with .PHONY.
12492         Reported by Michael Hope <michael.hope@linaro.org>.
12494 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12496         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12497         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12498         system header.
12499         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12500         Likewise.
12501         (sydep_routines): Add the new and the internal functions.
12502         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12503         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12505         (GLIBC_2.17): Add the new function.
12506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12507         (GLIBC_2.17): Likewise.
12508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12509         (GLIBC_2.17): Likewise.
12510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12511         (GLIBC_2.17): Likewise.
12512         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12514 2012-09-25  Alan Modra  <amodra@gmail.com>
12516         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12517         Add release barrier before setting once_control to say
12518         initialisation is done.  Add hints on lwarx.  Use macro in
12519         place of isync.
12520         (clear_once_control): Add release barrier.
12522 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
12524         [BZ #13629]
12525         * math/s_clog.c (__clog): Handle more values close to |z| = 1
12526         specially.
12527         * math/s_clog10.c (__clog10): Likewise.
12528         * math/s_clog10f.c (__clog10f): Likewise.
12529         * math/s_clog10l.c (__clog10l): Likewise.
12530         * math/s_clogf.c (__clogf): Likewise.
12531         * math/s_clogl.c (__clogl): Likewise.
12532         * math/Makefile (libm-calls): Add x2y2m1.
12533         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12534         (__x2y2m1): Likewise.
12535         (__x2y2m1l): Likewise.
12536         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12537         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12538         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12539         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12540         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12541         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12542         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12543         * sysdeps/i386/fpu/libm-test-ulps: Update.
12544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12546         [BZ #14621]
12547         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12548         int as type of variable DEPTH.
12549         (glob): Use size_t instead of int as type of variables NEWCOUNT
12550         and OLD_PATHC.
12552 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12554         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12555         Add s_sincosf-sse2.
12556         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12557         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12558         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12559         macros for using routine as __sincosf_ia32.
12560         Use macro for function declaration and weak_alias.
12561         * sysdeps/i386/fpu/libm-test-ulps: Update.
12563         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12564         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12566         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
12567         subnormal argument.
12568         * math/s_cexpf.c (__cexpf): Likewise.
12569         * math/s_csinf.c (__csinf): Likewise.
12570         * math/s_csinhf.c (__csinhf): Likewise.
12571         * math/s_ctanf.c (__ctanf): Likewise.
12572         * math/s_ctanhf.c (__ctanhf): Likewise.
12573         * math/s_ccosh.c (__ccoshf): Likewise.
12574         * math/s_cexp.c (__cexpl): Likewise.
12575         * math/s_csin.c (__csin): Likewise.
12576         * math/s_csinh.c (__csinh): Likewise.
12577         * math/s_ctan.c (__ctan): Likewise.
12578         * math/s_ctanh.c (ctanh): Likewise.
12579         * math/s_ccoshl.c (__ccoshl): Likewise.
12580         * math/s_cexpl.c (__cexpl): Likewise.
12581         * math/s_csinl.c (__csinl): Likewise.
12582         * math/s_csinhl.c (__csinhl): Likewise.
12583         * math/s_ctanl.c (__ctanl): Likewise.
12584         * math/s_ctanhl.c (__ctanhl): Likewise.
12586 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
12588         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12589         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12590         (_IO_off_t): Define to __off_t, not _G_off_t.
12591         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12592         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12593         (_IO_wint_t): Define to wint_t, not _G_wint_t.
12594         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12595         type of __dummy and __dummy2 fields.
12596         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12597         (_G_ssize_t): Likewise.
12598         (_G_off_t): Likewise.
12599         (_G_pid_t): Likewise.
12600         (_G_uid_t): Likewise.
12601         (_G_wchar_t): Likewise.
12602         (_G_wint_t): Likewise.
12603         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12604         (_G_ssize_t): Likewise.
12605         (_G_off_t): Likewise.
12606         (_G_pid_t): Likewise.
12607         (_G_uid_t): Likewise.
12608         (_G_wchar_t): Likewise.
12609         (_G_wint_t): Likewise.
12610         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12611         (_G_ssize_t): Likewise.
12612         (_G_off_t): Likewise.
12613         (_G_pid_t): Likewise.
12614         (_G_uid_t): Likewise.
12615         (_G_wchar_t): Likewise.
12616         (_G_wint_t): Likewise.
12618 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12620         * malloc/arena.c: Include malloc-sysdep.h.
12621         (shrink_heap): Use check_may_shrink_heap to decide if madvise
12622         is sufficient to shrink the heap or an unmap is needed.
12623         * sysdeps/generic/malloc-sysdep.h: New file.  Define
12624         new function check_may_shrink_heap.
12625         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
12626         new function check_may_shrink_heap.
12628 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12630         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12631         comments.
12633 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
12635         * catgets/test-gencat.sh: Add "set -e".
12636         * elf/tst-pathopt.sh: Likewise.
12637         * grp/tst_fgetgrent.sh: Likewise.
12638         * iconvdata/run-iconv-test.sh: Likewise.
12639         * intl/tst-gettext.sh: Likewise.
12640         * intl/tst-gettext2.sh: Likewise.
12641         * intl/tst-gettext4.sh: Likewise.
12642         * intl/tst-gettext6.sh: Likewise.
12643         * intl/tst-translit.sh: Likewise.
12644         * io/ftwtest-sh: Likewise.
12645         * libio/test-freopen.sh: Likewise.
12646         * malloc/tst-mtrace.sh: Likewise.
12647         * posix/globtest.sh: Likewise.
12648         * posix/tst-getconf.sh: Likewise.
12649         * posix/wordexp-tst.sh: Likewise.
12650         * stdio-common/tst-printf.sh: Likewise.
12651         * stdio-common/tst-unbputc.sh: Likewise.
12652         * stdlib/tst-fmtmsg.sh: Likewise.
12653         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12654         * catgets/Makefile: Do not specify -e option when running
12655         testsuite shell scripts.
12656         * elf/Makefile: Likewise.
12657         * grp/Makefile: Likewise.
12658         * iconvdata/Makefile: Likewise.
12659         * intl/Makefile: Likewise.
12660         * io/Makefile: Likewise.
12661         * libio/Makefile: Likewise.
12662         * malloc/Makefile: Likewise.
12663         * posix/Makefile: Likewise.
12664         * stdio-common/Makefile: Likewise.
12665         * stdlib/Makefile: Likewise.
12666         * sysdeps/x86_64/Makefile: Likewise.
12668         * io/ftwtest-sh: Add copyright header.
12669         * posix/globtest.sh: Likewise.
12670         * posix/tst-getconf.sh: Likewise.
12671         * posix/wordexp-tst.sh: Likewise.
12672         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12674 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
12676         [BZ #13679]
12677         * Makeconfig (+link): Defined as $(+link-static) if
12678         $(build-shared) isn't yes.
12679         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12680         isn't yes.
12681         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12683         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12685         [BZ #14562]
12686         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12687         new chunk size with MALLOC_ALIGN_MASK.
12689 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
12691         [BZ #5044]
12692         * stdio-common/printf_fphex.c: Include <stdbool.h> and
12693         <rounding-mode.h>.
12694         (__printf_fphex): Determine rounding using get_rounding_mode and
12695         round_away.
12696         * stdio-common/tst-printf-round.c (struct hex_test): New
12697         structure.
12698         (hex_tests): New variable.
12699         (test_hex_in_one_mode): New function.
12700         (do_test): Also run tests for hex float output.
12702 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
12704         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12705         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12706         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12707         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12708         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12709         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12710         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12711         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12713 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
12715         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12716         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12717         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12718         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12720 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
12722         [BZ #14579]
12723         * elf/rtld.c (dl_main): Limit the check for self loading to normal
12724         mode only.
12725         * elf/tst-rtld-load-self.sh: New test.
12726         * elf/Makefile: Run it.
12728 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
12730         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12731         (tst-writev-ENV): Remove.
12732         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12734 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
12736         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12738 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
12740         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12741         unconditional.
12742         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12743         Likewise.
12744         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12745         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12746         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12747         Likewise.
12749 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
12751         [BZ #14587]
12752         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12753         * config.make.in (have-cpp-asm-debuginfo): Removed.
12754         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12755         * configure: Regenerated.
12757 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
12759         [BZ #5044]
12760         * stdio-common/printf_fp.c: Include <stdbool.h> and
12761         <rounding-mode.h>.
12762         (___printf_fp): Determine rounding using get_rounding_mode and
12763         round_away.
12764         * stdio-common/tst-printf-round.c: New file.
12765         * stdio-common/Makefile (tests): Add tst-printf-round.
12766         (link-libm): New variable.
12767         ($(objpfx)tst-printf-round): Depend in $(link-libm).
12769 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
12771         [BZ #14576]
12772         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12773         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12774         Likewise.
12775         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12776         Likewise.
12778 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
12780         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12781         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12782         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12783         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12785 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
12787         [BZ #14518]
12788         * include/rounding-mode.h: New file.
12789         * sysdeps/generic/get-rounding-mode.h: Likewise.
12790         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12791         * stdlib/strtod_l.c: Include <rounding-mode.h>.
12792         (MAX_VALUE): New macro.
12793         (MIN_VALUE): Likewise.
12794         (overflow_value): New function.
12795         (underflow_value): Likewise.
12796         (round_and_return): Use overflow_value and underflow_value to
12797         determine return values in overflow and underflow cases.  Use
12798         round_away to determine rounding depending on rounding mode.
12799         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12800         determine return values in overflow and underflow cases.
12801         * stdlib/tst-strtod-round.c: Include <fenv.h>.
12802         (struct test_results): New structure.
12803         (struct test): Use struct test_results to store expected results
12804         for all rounding modes.
12805         (TEST): Include expected results for all rounding modes.
12806         (test_in_one_mode): New function.
12807         (do_test): Use test_in_one_mode to compute and check results.
12808         Check results for all rounding modes.
12809         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12810         $(link-libm).
12812 2012-12-09  Allan McRae  <allan@archlinux.org>
12814         * sysdeps/i386/fpu/libm-test-ulps: Update
12816 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
12818         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12819         (_G_int32_t): Likewise.
12820         (_G_uint16_t): Likewise.
12821         (_G_uint32_t): Likewise.
12822         (_G_HAVE_BOOL): Likewise.
12823         (_G_HAVE_ATEXIT): Likewise.
12824         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12825         (_G_HAVE_IO_FILE_OPEN): Likewise.
12826         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12827         (_G_int32_t): Likewise.
12828         (_G_uint16_t): Likewise.
12829         (_G_uint32_t): Likewise.
12830         (_G_HAVE_BOOL): Likewise.
12831         (_G_HAVE_ATEXIT): Likewise.
12832         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12833         (_G_HAVE_IO_FILE_OPEN): Likewise.
12834         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12835         (_G_int32_t): Likewise.
12836         (_G_uint16_t): Likewise.
12837         (_G_uint32_t): Likewise.
12838         (_G_HAVE_BOOL): Likewise.
12839         (_G_HAVE_ATEXIT): Likewise.
12840         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12841         (_G_HAVE_IO_FILE_OPEN): Likewise.
12843 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
12845         * csu/libc-tls.c: Update copyright years.
12847 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
12849         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12850         [!_G_USING_THUNKS]: Remove conditional code.
12851         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12852         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12854         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12855         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12856         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12857         (_G_VTABLE_LABEL_PREFIX): Likewise.
12858         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12859         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12860         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12861         (_G_VTABLE_LABEL_PREFIX): Likewise.
12862         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12863         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12864         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12865         (_G_VTABLE_LABEL_PREFIX): Likewise.
12866         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12868 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
12870         * libio/Makefile: Include ../Makeconfig before tests.
12871         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12872         only if $(build-shared) is yes.
12874         * iconv/gconv_db.c: Update copyright years.
12876 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12878         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12879         unwind info if defined PIC. Fix special cases description.
12880         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12882         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12883         DP_HI_MASK entry.
12884         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12886 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
12888         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12890         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12891         is NULL.
12893         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12894         (LDLIBS-tst-chk4): This.
12895         (LDFLAGS-tst-chk5): Renamed to ...
12896         (LDLIBS-tst-chk5): This.
12897         (LDFLAGS-tst-chk6): Renamed to ...
12898         (LDLIBS-tst-chk6): This.
12899         (LDFLAGS-tst-lfschk4): Renamed to ...
12900         (LDLIBS-tst-lfschk4): This.
12901         (LDFLAGS-tst-lfschk5): Renamed to ...
12902         (LDLIBS-tst-lfschk5): This.
12903         (LDFLAGS-tst-lfschk6): Renamed to ...
12904         (LDLIBS-tst-lfschk6): This.
12906         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12907         on $(common-objpfx)soversions.mk.
12909 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
12911         [BZ #10014]
12912         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12913         example host name.
12915 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12917         * malloc/arena.c (arena_get_retry): New function that gets
12918         another arena for the caller to try its request on.
12919         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12920         current arena cannot fulfill the request.
12921         (__libc_memalign): Likewise.
12922         (__libc_memalign): Likewise.
12923         (__libc_pvalloc): Likewise.
12924         (__libc_calloc): Likewise.
12926 2012-09-05  John Tobey  <john.tobey@gmail.com>
12928         [BZ #13542]
12929         * manual/arith.texi (Operations on Complex): Fix description
12930         of carg branch cut.
12932 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
12934         [BZ #10014]
12935         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12936         host name.
12938         [BZ #10038]
12939         * manual/memory.texi (Memory): Make order of menu items match
12940         order of sections.
12942 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12944         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12945         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
12946         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12948 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12950         * csu/libc-tls.c (static_dtv): Renamed to ...
12951         (_dl_static_dtv): This.  Make it global.
12952         (_dl_initial_dtv): Removed.
12953         (__libc_setup_tls): Updated.
12954         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12955         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12956         DL_INITIAL_DTV.
12958 2012-09-06  Petr Machata  <pmachata@redhat.com>
12960         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12961         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12962         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12963         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12965 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12967         [BZ #14545]
12968         * csu/libc-tls.c (_dl_initial_dtv): New variable.
12969         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12970         freeing dtv[-1].
12972 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12974         [BZ #14544]
12975         * Makeconfig (link-static-before-libc): Replace $(+prector)
12976         with $(+prectorT).
12977         (link-static-after-libc): Replace $(+postctor) with
12978         $(+postctorT).
12979         (link-bounded): Replace $(+prector)/$(+postctor) with
12980         $(+prectorT)/$(+postctorT).
12981         (+prectorT): New macro.
12982         (+postctorT): Likewise.
12984 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
12986         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12987         (round_str): Handle values above the maximum for IBM long double
12988         as inexact.
12989         * stdlib/tst-strtod-round.c (tests): Regenerated.
12991 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12993         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12994         assembler flag.
12995         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12996         zarch_nohighgprs around the zarch optimized routines.
12997         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12998         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12999         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13000         for zarch.
13002 2012-09-05  David S. Miller  <davem@davemloft.net>
13004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13006         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13007         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13008         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13009         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13010         entries.
13012 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13014         * malloc/arena.c: Fold copyright years.
13015         * malloc/mcheck.c, malloc/memusage.c: Likewise.
13017 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13019         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13021 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13023         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
13025 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13027         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13028         change internal state upon failure.
13030 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13032         * malloc/mcheck.c (mcheck_check_all): Fix typo.
13033         * malloc/memusage.c (mmap): Likewise.
13034         (mmap64, mremap): Likewise.  Adjust name in comment.
13036 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13038         * libio/fileops.c: Fix typos in comments.
13039         * libio/oldfileops.c: Likewise.
13040         * libio/wfileops.c: Likewise.
13042 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13044         [BZ #1349]
13045         * malloc/Makefile (tests): Add tst-malloc-usable test case.
13046         (tst-malloc-usable-ENV): Set environment for test case.
13047         * malloc/hooks.c (malloc_check_get_size): New function to get
13048         requested size.
13049         * malloc/malloc.c (musable): Use malloc_check_get_size.
13050         * malloc/tst-malloc-usable.c: New test case.
13052 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
13054         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13056 2012-09-05  Allan McRae  <allan@archlinux.org>
13058         [BZ #13966]
13059         * configure.in (CXX_SYSINCLUDES): Use compiler output to
13060         determine header location.
13061         * configure: Regenerated.
13063 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
13065         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13066         float format.
13067         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13068         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13069         format.
13070         (test): Regenerate.
13072 2012-09-04  David S. Miller  <davem@davemloft.net>
13074         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13075         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13076         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13078 2012-09-04  Florian Weimer  <fweimer@redhat.com>
13080         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13081         failures.
13083         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13085 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
13087         [BZ #9914]
13088         * libio/iogetdelim.c: Include <limits.h>.
13089         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13090         + len + 1 would overflow.
13092 2012-09-03  Andreas Jaeger  <aj@suse.de>
13094         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13095         * sysdeps/i386/fpu/libm-test-ulps: Update.
13097 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13099         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13100         Add s_sinf-sse2, s_conf-sse2.
13102         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13103         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13104         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13105         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13107         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13108         for using routine as __sinf_ia32.
13109         Use macro for function declaration and weak_alias.
13110         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13111         for using routine as __cosf_ia32.
13112         Use macro for function declaration and weak_alias.
13114         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13115         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13117         * sysdeps/x86_64/fpu/s_sinf.S: New file.
13118         * sysdeps/x86_64/fpu/s_cosf.S: New file.
13119         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13121         * math/libm-test.inc (cos_test): Add more test cases.
13122         (sin_test): Likewise.
13123         (sincos_test): Likewise.
13125 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13127         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13128         (IFUNC_RESOLVE): Make pointers to the specialized implementations
13129         hidden.
13130         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13132 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
13134         [BZ #14538]
13135         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13136         first element of the GOT.
13137         (elf_machine_load_address): Return the difference between
13138         the runtime address of _DYNAMIC and elf_machine_dynamic ().
13140 2012-09-01  Allan McRae  <allan@archlinux.org>
13142         [BZ #13412]
13143         * configure.in (AWK): Require gawk version 3.0 or later.
13144         * configure: Regenerated.
13146 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
13148         * sysdeps/unix/sysv/linux/kernel-features.h
13149         (__ASSUME_POSIX_CPU_TIMERS): Remove.
13150         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13151         [__NR_clock_getres]: Make code unconditional.
13152         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13153         (clock_getcpuclockid): Remove code left unreachable by removal of
13154         conditionals.
13155         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13156         code unconditional.
13157         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13158         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13159         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13160         Make code unconditional.
13161         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13162         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13163         * sysdeps/unix/sysv/linux/clock_settime.c
13164         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13165         conditional code.
13166         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13167         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13169 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
13171         [BZ #14476]
13172         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13173         scripts/test-installation.pl.
13175         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13176         and $ld_so_version if it is set.
13178 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13180         [BZ #14516]
13181         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13182         failure if reading from procfs failed.
13183         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13185 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
13187         * sysdeps/unix/sysv/linux/kernel-features.h
13188         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13189         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13190         Remove conditional code.
13191         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13192         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13193         Remove conditional code.
13194         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13195         * sysdeps/unix/sysv/linux/i386/fxstat.c
13196         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13197         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13198         * sysdeps/unix/sysv/linux/i386/fxstatat.c
13199         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13200         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13201         * sysdeps/unix/sysv/linux/i386/lxstat.c
13202         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13203         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13204         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13205         Remove conditional code.
13206         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13207         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13208         Remove conditional code.
13209         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13210         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13211         <kernel-features.h>.
13212         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13213         Remove.
13214         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13215         Remove conditional code.
13216         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13217         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13218         Remove conditional.
13220 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
13222         [BZ #5400]
13223         * NEWS: Add fixed bug number.
13225 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
13227         [BZ #14519]
13228         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13229         underflowing exponent in case of negative sign.
13230         * stdlib/tst-strtod-round-data: Add more tests.
13231         * stdlib/tst-strtod-round.c (tests): Regenerated.
13233         [BZ #3479]
13234         * stdlib/strtod_l.c (NDIG): Remove.
13235         (HEXNDIG): Likewise.
13236         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13237         smallest representable value.
13238         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13239         lie within an exact representation of 1/2 ulp of the result.
13240         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13241         unconditionally.
13242         (TENS_P9_IDX): Define unconditionally.
13243         (TENS_P9_SIZE): Likewise.
13244         (TENS_P10_IDX): Likewise.
13245         (TENS_P10_SIZE): Likewise.
13246         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13247         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13248         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13249         entries for 10^2^13 and 10^2^14.
13250         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13251         (TENS_P13_IDX): Define.
13252         (TENS_P13_SIZE): Likewise.
13253         (TENS_P14_IDX): Likewise.
13254         (TENS_P14_SIZE): Likewise.
13255         (_fpioconst_pow10): Change array size to
13256         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
13257         unconditional.
13258         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13259         1024]: Add entries for 10^2^13 and 10^2^14.
13260         [LAST_POW10 > _LAST_POW10]: Remove #error.
13261         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13262         (_fpioconst_pow10): Change array size to
13263         FPIOCONST_POW10_ARRAY_SIZE.
13264         * stdlib/gen-fpioconst.c: New file.
13265         * stdlib/gen-tst-strtod-round.c: Likewise.
13266         * stdlib/tst-strtod-round-data: Likewise.
13267         * stdlib/tst-strtod-round.c: Likewise.
13268         * stdlib/Makefile (tests): Add tst-strtod-round.
13270         [BZ #14459]
13271         * stdlib/strtod_l.c: Include <stdint.h>.
13272         (NDEBUG): Do not define.
13273         (round_and_return): Change EXPONENT parameter to type intmax_t.
13274         Rearrange calculations to avoid internal overflow possibilities.
13275         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13276         Rearrange calculations to avoid internal overflow possibilities.
13277         Assert that number fits inside MPNSIZE limbs.
13278         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13279         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
13280         calculations and add assertions to avoid internal overflow
13281         possibilities.  Add casts to avoid signed/unsigned operations.
13282         * stdlib/tst-strtod-overflow.c: New file.
13283         * stdlib/Makefile (tests): Add tst-strtod-overflow.
13285 2012-08-25  Marek Polacek  <polacek@redhat.com>
13287         * time/time.h: Fix some typos in comments.
13289 2012-08-23  Roland McGrath  <roland@hack.frob.com>
13291         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13292         * posix/tst-rfc3484-2.c: Likewise.
13293         * posix/tst-rfc3484-3.c: Likewise.
13295 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
13297         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13298         (EF_ARM_ABI_FLOAT_HARD): Likewise.
13300 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
13302         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13303         #include of fxstatat64.c.
13305 2012-08-22  Roland McGrath  <roland@hack.frob.com>
13307         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13308         * shadow/getspent_r.c: Likewise.
13309         * shadow/getspnam.c: Likewise.
13310         * shadow/getspnam_r.c: Likewise.
13311         * gshadow/getsgent.c: Likewise.
13312         * gshadow/getsgent_r.c: Likewise.
13313         * gshadow/getsgnam.c: Likewise.
13314         * gshadow/getsgnam_r.c: Likewise.
13315         * inet/getnetbyad.c: Likewise.
13316         * inet/getnetbyad_r.c: Likewise.
13317         * inet/getnetbynm.c: Likewise.
13318         * inet/getnetbynm_r.c: Likewise.
13319         * inet/getnetent.c: Likewise.
13320         * inet/getnetent_r.c: Likewise.
13321         * inet/getproto.c: Likewise.
13322         * inet/getproto_r.c: Likewise.
13323         * inet/getprtent.c: Likewise.
13324         * inet/getprtent_r.c: Likewise.
13325         * inet/getprtname.c: Likewise.
13326         * inet/getprtname_r.c: Likewise.
13327         * inet/getrpcbyname.c: Likewise.
13328         * inet/getrpcbyname_r.c: Likewise.
13329         * inet/getrpcbynumber.c: Likewise.
13330         * inet/getrpcbynumber_r.c: Likewise.
13331         * inet/getrpcent.c: Likewise.
13332         * inet/getrpcent_r.c: Likewise.
13333         * inet/getaliasent.c: Likewise.
13334         * inet/getaliasent_r.c: Likewise.
13335         * inet/getaliasname.c: Likewise.
13336         * inet/getaliasname_r.c: Likewise.
13337         * nscd/getgrgid_r.c: Likewise.
13338         * nscd/getgrnam_r.c: Likewise.
13339         * nscd/gethstbyad_r.c: Likewise.
13340         * nscd/gethstbynm3_r.c: Likewise.
13341         * nscd/getpwnam_r.c: Likewise.
13342         * nscd/getpwuid_r.c: Likewise.
13343         * nscd/getsrvbynm_r.c: Likewise.
13344         * nscd/getsrvbypt_r.c: Likewise.
13345         * nscd/gai.c: Likewise.
13347         * configure.in (build_nscd): New substituted variable, set
13348         by --disable-build-nscd and defaults to $use_nscd.
13349         * configure: Regenerated.
13350         * config.make.in (build-nscd): New substituted variable.
13351         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13352         Change conditional to require [$(build-nscd) = yes] as well.
13353         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13355         [BZ# 13696]
13356         * configure.in (use_nscd): New substituted variable, set by
13357         --disable-nscd.  If enabled, define USE_NSCD.
13358         * configure: Regenerated.
13359         * config.h.in: Add USE_NSCD.
13360         * config.make.in (use-nscd): New substituted variable.
13361         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13362         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13363         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13364         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13365         (CFLAGS-getgrnam_r.c): Likewise.
13366         (CFLAGS-initgroups.c): Likewise.
13367         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13368         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13369         Variables removed.
13370         * inet/getnetgrent_r.c
13371         (nscd_setnetgrent): New function, broken out of ...
13372         (setnetgrent): ... here.  Call it.
13373         (innetgr): Conditionalize nscd bits on [USE_NSCD].
13374         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13375         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13376         * nscd/Makefile (routines, aux): Move definitions after include of
13377         Makeconfig.  Conditionalize on [$(use-nscd) != no].
13378         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13379         Conditionalize on [USE_NSCD].
13380         (is_nscd, nscd_init_cb): Likewise.
13381         (nss_load_library): Conditionalize init callback on [USE_NSCD].
13382         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13383         * nss/nss_db/db-init.c: Likewise.
13384         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13385         [USE_NSCD].
13386         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13387         (make_request): Use it.
13388         (cache_valid_p): New function.
13389         (__check_pf): Use it.
13390         * NEWS: Add item for --disable-nscd.
13392 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
13394         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13395         to support sed >= 4.2.1-20-ga9bf076.
13396         * configure: Regenerated.
13398 2012-08-22  Roland McGrath  <roland@hack.frob.com>
13400         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13401         Conditionalize whole body on [IREL].
13403 2012-08-22  Jeff Law <law@redhat.com>
13405         [BZ #14505]
13406         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13407         if the family is PF_UNSPEC.
13409 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
13411         * Makerules (lib-version): Rename from V.
13412         (install-lib-nosubdir): Change V to lib-version.
13414 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
13416         [BZ #14252]
13417         * powerpc32/power6/wcschr.c: New file.
13418         * powerpc32/power6/wcscpy.c: New file.
13419         * powerpc32/power6/wcsrchr.c: New file.
13420         * powerpc64/power6/wcschr.c: New file.
13421         * powerpc64/power6/wcscpy.c: New file.
13422         * powerpc64/power6/wcsrchr.c: New file.
13424 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
13426         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13427         (two_way_short_needle): Use it.
13428         * string/strstr.c (AVAILABLE1_USES_J): Define.
13429         * string/strcasestr.c: Likewise.
13431         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13432         array references.
13433         * string/strcasestr.c (TOLOWER): Make side-effect safe.
13435         [BZ #11607]
13436         * NEWS: Add an entry.
13437         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13438         define their defaults.
13439         (two_way_short_needle): Detect end-of-string on-the-fly.
13440         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13441         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13442         * string/bug-strcasestr1.c: New test.
13443         * string/Makefile: Run it.
13445 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
13447         [BZ #11607]
13448         * string/str-two-way.h (two_way_short_needle): Optimize matching of
13449         the first character.
13451 2012-08-21  Roland McGrath  <roland@hack.frob.com>
13453         * csu/elf-init.c (__libc_csu_irel): Function removed.
13454         * csu/libc-start.c (apply_irel): New function.
13455         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13457 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
13459         * sysdeps/unix/sysv/linux/kernel-features.h
13460         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13461         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13462         <kernel-features.h>.
13463         [__NR_fadvise64_64]: Make code unconditional.
13464         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13465         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13466         !__NR_fadvise64_64)]: Likewise.
13467         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13468         !__NR_fadvise64_64))]: Likewise.
13469         [__NR_fadvise64]: Make code unconditional.
13470         [!__NR_fadvise64]: Remove conditional code.
13471         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13472         <kernel-features.h>.
13473         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13474         unconditional.
13475         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13476         conditional code.
13477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13478         not include <kernel-features.h>.
13479         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13480         unconditional.
13481         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13482         conditional code.
13483         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13484         include <kernel-features.h>.
13485         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13486         unconditional.
13487         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13488         conditional code.
13490 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
13492         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13493         slight instruction rearrangements per scrollpipe analysis.
13494         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13496 2012-08-20  Roland McGrath  <roland@hack.frob.com>
13498         * manual/syslog.texi (syslog; vsyslog, closelog):
13499         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13500         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13502         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13503         DSOCAPS to match condition on defining it.
13505 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
13507         * sysdeps/unix/sysv/linux/kernel-features.h
13508         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13510         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13511         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13513         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13514         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13516         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13517         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13519         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13520         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13522         * sysdeps/unix/sysv/linux/kernel-features.h
13523         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13524         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13525         unconditional.
13526         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13527         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13528         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13529         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13530         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13531         Make code unconditional.
13532         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13533         (__mmap64) [!__NR_mmap2]: Likewise.
13534         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13535         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13536         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13537         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13538         [__NR_mmap2]: Make code unconditional.
13539         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13540         (__mmap64) [!__NR_mmap2]: Likewise.
13542 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13544         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13546 2012-08-18  Andreas Jaeger  <aj@suse.de>
13548         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13550 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
13552         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13553         * include/unistd.h (__have_sock_cloexec): Likewise.
13554         (__have_pipe2): Likewise.
13555         (__have_dup3): Likewise.
13557 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
13559         [BZ #9685]
13560         * include/unistd.h (__have_pipe2): Change define into an extern int.
13561         (__have_dup3): Likewise.
13562         * socket/have_sock_cloexec.c: Include fcntl.h.
13563         (__have_pipe2): New variable.
13564         (__have_dup3): Likewise.
13566 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
13568         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13570 2012-08-17  Marek Polacek  <polacek@redhat.com>
13572         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13573         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13575 2012-08-17  Roland McGrath  <roland@hack.frob.com>
13577         * configure.in: Add AC_SUBST for sysheaders.
13578         * configure: Regenerated.
13579         * config.make.in (sysheaders): New substituted variable.
13581         * sysdeps/unix/mkfifo.c: Moved ...
13582         * sysdeps/posix/mkfifo.c: ... here.
13583         * sysdeps/unix/mkfifoat.c: Moved ...
13584         * sysdeps/posix/mkfifoat.c: ... here.
13586         * sysdeps/unix/utime.c: Moved ...
13587         * sysdeps/posix/utime.c: ... here.
13589         * sysdeps/unix/time.c: Moved ...
13590         * sysdeps/posix/time.c: ... here.
13591         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13592         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
13594         * sysdeps/unix/nice.c: Moved ...
13595         * sysdeps/posix/nice.c: ... here.
13597         * sysdeps/unix/alarm.c: Moved ...
13598         * sysdeps/posix/alarm.c: ... here.
13600         * intl/Makefile ($(codeset_mo)): Depend on the input file.
13602 2012-08-17  Jeff Law <law@redhat.com>
13604         * intl/Makefile (codeset_mo): New variable.
13605         ($(codeset_mo)): New target.
13606         (tst-codeset.out): Depend on that.  Remove explicit rule.
13607         (tst-gettext3.out, tst-gettext5.out): Likewise.
13608         (LOCPATH-ENV, tst-codeset-ENV): New variables.
13609         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13610         * intl/tst-codeset.sh: Remove.
13611         * intl/tst-gettext3.sh: Likewise.
13612         * intl/tst-gettext5.sh: Likewise.
13614 2012-08-17  Roland McGrath  <roland@hack.frob.com>
13616         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
13617         * sysdeps/unix/syscalls.list: ... here.
13619         * sysdeps/posix/getaddrinfo.c
13620         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13621         (gaiconf_init, gaiconf_reload): Use them.
13622         [!_STATBUF_ST_NSEC]
13623         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13624         Define using time_t rather than struct timespec.
13626         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13627         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13628         Macros removed.
13629         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13630         [!NO_THREADS].
13631         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13632         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13633         Likewise.
13635         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13636         __libc_cleanup_push argument.
13638         * bits/param.h: New file.
13639         * misc/sys/param.h: New file.
13640         * include/sys/param.h: New file.
13641         * misc/Makefile (headers): Add bits/param.h.
13642         * sysdeps/generic/sys/param.h: File removed.
13643         * sysdeps/unix/sysv/linux/bits/param.h: New file.
13644         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13645         * sysdeps/mach/hurd/bits/param.h: New file.
13646         * sysdeps/mach/hurd/sys/param.h: File removed.
13648         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13649         last change.
13651         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13652         [_IO_MTSAFE_IO].
13653         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13654         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13655         New macros.
13657         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13658         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13659         rather than -D_IO_MTSAFE_IO conditionally.
13660         * stdio-common/Makefile (CPPFLAGS): Likewise.
13661         * wcsmbs/Makefile (CPPFLAGS): Likewise.
13662         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13663         Use $(libio-mtsafe).
13664         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13665         of -D_IO_MTSAFE_IO.
13666         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13667         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13668         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13669         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13670         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13671         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13672         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13673         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13674         (CFLAGS-fread_u_chk.c): Likewise.
13675         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13676         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13677         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13678         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13679         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13680         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13681         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13682         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13683         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13685         * libio/Makefile: Test [$(libc-reentrant) = yes]
13686         instead of [$(filter %REENTRANT, $(defines)) nonempty].
13688         * Makeconfig
13689         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13690         * sysdeps/pthread/configure: File removed.
13691         * sysdeps/pthread/Makeconfig: New file.
13692         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13693         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13695 2012-08-16  Gary Benson  <gbenson@redhat.com>
13697         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13698         unmapping the first object in a namespace.
13700 2012-08-16  Roland McGrath  <roland@hack.frob.com>
13702         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13703         (__internal_setnetgrent): ... this.  Add internal_function to
13704         definition.  Add libc_hidden_def.
13705         (setnetgrent): Update caller.
13706         (internal_endnetgrent): Renamed to ...
13707         (__internal_endnetgrent): ... this.  Add internal_function to
13708         definition.  Add libc_hidden_def.
13709         (endnetgrent): Update caller.
13710         (internal_getnetgrent_r): Renamed to ...
13711         (__internal_getnetgrent_r): ... this.  Add internal_function to
13712         definition.  Add libc_hidden_def.
13713         (__getnetgrent_r): Update caller.
13714         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
13716 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
13718         * stdlib/longlong.h: Update from GCC.
13720 2012-08-16  Roland McGrath  <roland@hack.frob.com>
13722         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13723         on _QL, which is set by umul_ppmm but never used.
13724         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13725         variables, which are set by GMP macros but never used.
13726         * stdio-common/_itowa.c (_itowa): Likewise.
13727         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13728         * stdlib/mod_1.c (mpn_mod_1): Likewise.
13730 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
13732         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13733         struct La_sh_regs is not constant.
13734         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13735         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13736         and struct La_sparc64_regs are not constant.
13738 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
13740         * sysdeps/unix/sysv/linux/kernel-features.h
13741         (__ASSUME_POSIX_TIMERS): Remove.
13742         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13743         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13744         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13745         Make code unconditional.
13746         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13747         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13748         Make code unconditional.
13749         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13750         * sysdeps/unix/sysv/linux/clock_nanosleep.c
13751         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13752         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13753         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13754         Make code unconditional.
13755         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13756         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13757         (__libc_missing_posix_timers): Remove.
13759 2012-08-15  Roland McGrath  <roland@hack.frob.com>
13761         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13762         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13764         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13766         * elf/dl-sym.c: Include <stdlib.h>.
13768         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13769         constants, which avoids warnings in 32-bit builds.
13771         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13772         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13774         * misc/lseek.c: File moved to ...
13775         * io/lseek.c: ... here.
13777         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13779         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13780         shifting LEN more than 31 bits at once.
13782 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13784         [BZ #14195]
13785         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13786         segmentation fault for a case of two empty input strings.
13787         * string/test-strncasecmp.c (check1): Renamed to...
13788         (bz12205): ...this.
13789         (bz14195): Add new testcase for two empty input strings and N > 0.
13790         (test_main): Call new testcase, adapt for renamed function.
13792 2012-08-15  Andreas Jaeger  <aj@suse.de>
13794         [BZ #14090]
13795         * crypt/md5test2.c: New test, based on test supplied by Serge
13796         Belyshev <belyshev@depni.sinp.msu.ru>.
13797         * crypt/Makefile (xtests): Add md5test-giant..
13798         * crypt/Makefile ($(objpfx)md5test-giant): Add.
13800 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
13802         [BZ #14090]
13803         * crypt/md5.c (md5_process_block): Don't assume the buffer
13804         length is less than 2**32.
13805         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13806         length is less than 2**64.
13808 2012-08-15  Roland McGrath  <roland@hack.frob.com>
13810         * string/str-two-way.h: Include <sys/param.h>.
13811         (MAX): Macro removed.
13813         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13814         Move #define and #undef of memmove to just before and after
13815         including <string.h>.
13817         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13818         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13819         and after including <string.h>.  Move declarations of
13820         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13821         to before #include "string/memmove.c".
13823         * include/dirent.h: Declare __getdirentries.
13825         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13826         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13828 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
13830         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13831         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13832         * sysdeps/i386/configure: Regenerated.
13833         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13834         STABS_CURRENT_FILE, and STABS_FUN.
13835         (END): Remove call to STABS_FUN_END.
13836         (STABS_CURRENT_FILE1): Delete.
13837         (STABS_CURRENT_FILE): Likewise.
13838         (STABS_FUN): Likewise.
13839         (STABS_FUN_END): Likewise.
13840         (STABS_FUN2): Likewise.
13841         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13842         * sysdeps/x86_64/configure: Regenerated.
13844 2012-08-14  Roland McGrath  <roland@hack.frob.com>
13846         * elf/dl-open.c: Include <atomic.h>.
13847         * elf/dl-lookup.c: Likewise.
13849 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
13851         * sysdeps/unix/sysv/linux/kernel-features.h
13852         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13853         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13854         unconditionally.
13855         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13856         unconditionally.
13857         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13858         condition on __ASSUME_CLONE_THREAD_FLAGS.
13860 2012-08-14  Andreas Jaeger  <aj@suse.de>
13862         * sysdeps/i386/fpu/libm-test-ulps: Update.
13864 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
13866         * include/atomic.h (atomic_exchange_and_add): Split into ...
13867         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13868         New atomic macros.
13870 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
13872         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13874 2012-08-13  Jeff Law <law@redhat.com>
13876         * manual/stdio.texi (snprintf): Clarify handling of the trailing
13877         null byte in the output string.
13879 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
13881         * sysdeps/unix/sysv/linux/kernel-features.h
13882         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13883         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13884         (__ASSUME_ARG_MAX_STACK_BASED): Define.
13885         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13886         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13887         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
13888         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13890 2012-08-09  Jeff Law <law@redhat.com>
13892         [BZ #13939]
13893         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13894         When avoid_arena is set, don't retry in the that arena.  Pick the
13895         next one, whatever it might be.
13896         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13897         (arena_lock): Pass in new parameter to arena_get2.
13898         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13899         arena_get2.
13900         (__libc_malloc): Unify retrying after main arena failure with
13901         __libc_memalign version.
13902         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13904 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13906         [BZ #14166]
13907         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13908         to __redirect_strstr.
13909         (__strstr_sse42): Use typeof __redirect_strstr.
13910         (__strstr_ia32): Likewise.
13911         (__libc_strstr): New prototype.
13912         (strstr): Renamed to ...
13913         (__libc_strstr): This.
13914         (strstr): New strong alias of __libc_strstr.
13915         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13916         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13917         __redirect_time.
13918         Include <time.h>.
13919         (__libc_time): New prototype.
13920         (time_ifunc): Replace time with __libc_time.
13921         (time): New strong alias and hidden definition of __libc_time.
13922         (__GI_time): Remove strong alias.
13923         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13924         Include <stddef.h>.
13925         (memmove): Redefined to __redirect_memmove.
13926         (__memmove_sse2): Use typeof __redirect_memmove.
13927         (__memmove_ssse3): Likewise.
13928         (__memmove_ssse3_back): Likewise.
13929         (__libc_memmove): New prototype.
13930         (memmove): Renamed to ...
13931         (__libc_memmove): This.
13932         (memmove): New strong alias of __libc_memmove.
13934 2012-08-08  Mark Salter  <msalter@redhat.com>
13936         * elf/elf.h
13937         (R_MN10300_TLS_GD): Define.
13938         (R_MN10300_TLS_LD): Likewise.
13939         (R_MN10300_TLS_LDO): Likewise.
13940         (R_MN10300_TLS_GOTIE): Likewise.
13941         (R_MN10300_TLS_IE): Likewise.
13942         (R_MN10300_TLS_LE): Likewise.
13943         (R_MN10300_TLS_DTPMOD): Likewise.
13944         (R_MN10300_TLS_DTPOFF): Likewise.
13945         (R_MN10300_TLS_TPOFF): Likewise.
13946         (R_MN10300_SYM_DIFF): Likewise.
13947         (R_MN10300_ALIGN): Likewise.
13948         (R_MN10300_NUM): Update.
13950 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
13952         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13953         Remove.
13955 2012-08-08  Roland McGrath  <roland@hack.frob.com>
13957         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13959         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13960         sysdeps/unix -> sysdeps/posix move.
13961         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13963 2012-08-07      Allan McRae     <allan@archlinux.org>
13965         [BZ #14303]
13966         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13967         (SUNOS_CPP): Likewise.
13968         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13969         not found.
13970         (open_input): Call CPP using execvp.
13972 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
13974         * sysdeps/unix/sysv/linux/kernel-features.h
13975         (__ASSUME_PROT_GROWSUPDOWN): Remove.
13976         (__ASSUME_NO_CLONE_DETACHED): Likewise.
13977         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13978         (__ASSUME_WAITID_SYSCALL): Likewise.
13979         * sysdeps/unix/sysv/linux/dl-execstack.c
13980         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13981         code unconditional.
13982         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13983         conditional code.
13984         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13985         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13986         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13987         code.
13988         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13989         unconditional.
13990         [__ASSUME_WAITID_SYSCALL]: Likewise.
13991         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13993 2012-08-07  Roland McGrath  <roland@hack.frob.com>
13995         * sysdeps/unix/closedir.c: Renamed to ...
13996         * sysdeps/posix/closedir.c: ... here.
13997         * sysdeps/unix/dirfd.c: Renamed to ...
13998         * sysdeps/posix/dirfd.c: ... here.
13999         * sysdeps/unix/dirstream.h: Renamed to ...
14000         * sysdeps/posix/dirstream.h: ... here.
14001         * sysdeps/unix/fdopendir.c: Renamed to ...
14002         * sysdeps/posix/fdopendir.c: ... here.
14003         * sysdeps/unix/opendir.c: Renamed to ...
14004         * sysdeps/posix/opendir.c: ... here.
14005         * sysdeps/unix/readdir.c: Renamed to ...
14006         * sysdeps/posix/readdir.c: ... here.
14007         * sysdeps/unix/readdir_r.c: Renamed to ...
14008         * sysdeps/posix/readdir_r.c: ... here.
14009         * sysdeps/unix/rewinddir.c: Renamed to ...
14010         * sysdeps/posix/rewinddir.c: ... here.
14011         * sysdeps/unix/seekdir.c: Renamed to ...
14012         * sysdeps/posix/seekdir.c: ... here.
14013         * sysdeps/unix/telldir.c: Renamed to ...
14014         * sysdeps/posix/telldir.c: ... here.
14015         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14016         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14017         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14018         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14020         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14021         * bits/fcntl.h: ... here.
14023         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14024         not 0.
14025         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14026         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14027         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14028         (struct flock): Move l_start, l_len to the beginning.
14029         Use __pid_t for l_pid.
14030         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14031         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14032         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14033         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14034         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14035         [__USE_LARGEFILE64] (struct flock64): New type.
14036         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14038         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14039         * bits/dirent.h: ... here.
14041         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14042         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14044 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
14046         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14047         Change from 2.6.0 to 2.6.16.
14048         * sysdeps/unix/sysv/linux/configure: Regenerated.
14049         * sysdeps/unix/sysv/linux/kernel-features.h
14050         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14051         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14052         version.
14053         (__ASSUME_UTIMES): Likewise.
14054         (__ASSUME_CLONE_STOPPED): Remove.
14055         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14056         architectures, not kernel version.
14057         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14058         (__ASSUME_NO_CLONE_DETACHED): Likewise.
14059         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14060         (__ASSUME_WAITID_SYSCALL): Likewise.
14061         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14062         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14063         * README: State 2.6.16 as minimum Linux kernel version.  Do not
14064         refer to older versions.
14066 2012-08-06  Roland McGrath  <roland@hack.frob.com>
14068         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14069         Define alphasort64 as an alias.
14070         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14071         Define versionsort64 as an alias.
14072         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14073         Define scandir64 as an alias.
14074         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14075         Define scandirat64 as an alias.
14076         * dirent/alphasort64.c (alphasort64):
14077         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14078         * dirent/versionsort64.c: Likewise.
14079         * dirent/scandir64.c: Likewise.
14080         * dirent/scandirat64.c: Likewise.
14081         * sysdeps/wordsize-64/alphasort.c: File removed.
14082         * sysdeps/wordsize-64/alphasort64.c: File removed.
14083         * sysdeps/wordsize-64/scandir.c: File removed.
14084         * sysdeps/wordsize-64/scandir64.c: File removed.
14085         * sysdeps/wordsize-64/scandirat.c: File removed.
14086         * sysdeps/wordsize-64/scandirat64.c: File removed.
14087         * sysdeps/wordsize-64/versionsort.c: File removed.
14088         * sysdeps/wordsize-64/versionsort64.c: File removed.
14089         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14090         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14091         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14092         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14093         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14094         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14095         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14096         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14098         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14099         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14100         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14101         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14102         [defined __arch64__ || defined __sparcv9]
14103         (__INO_T_MATCHES_INO64_T): New macro.
14104         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14105         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14106         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14107         * sysdeps/unix/sysv/linux/bits/dirent.h
14108         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14109         (_DIRENT_MATCHES_DIRENT64): New macro.
14111         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14112         Define lockf64 as an alias.
14113         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14114         Define fseeko64 as an alias.
14115         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14116         Define ftello64 as an alias.
14117         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14118         Define _IO_fgetpos64 and fgetpos64 as aliases.
14119         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14120         Define _IO_fsetpos64 and fsetpos64 as aliases.
14121         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14122         Conditionalize body on this.
14123         * libio/fseeko64.c: Likewise.
14124         * libio/ftello64.c: Likewise.
14125         * libio/iofgetpos64.c: Likewise.
14126         * libio/iofsetpos64.c: Likewise.
14127         * sysdeps/wordsize-64/lockf.c: File removed.
14128         * sysdeps/wordsize-64/lockf64.c: File removed.
14129         * sysdeps/wordsize-64/fseeko.c: File removed.
14130         * sysdeps/wordsize-64/fseeko64.c: File removed.
14131         * sysdeps/wordsize-64/ftello.c: File removed.
14132         * sysdeps/wordsize-64/ftello64.c: File removed.
14133         * sysdeps/wordsize-64/iofgetpos.c: File removed.
14134         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14135         * sysdeps/wordsize-64/iofsetpos.c: File removed.
14136         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14137         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14138         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14139         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14140         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14141         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14142         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14143         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14144         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14145         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14146         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14148         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14149         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14150         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14151         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14152         [defined __arch64__ || defined __sparcv9]
14153         (__OFF_T_MATCHES_OFF64_T): New macro.
14154         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14155         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14156         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14157         (__OFF_T_MATCHES_OFF64_T): New macro.
14159 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
14161         * stdlib/secure-getenv.c (__secure_getenv): Replace
14162         GLIBC_2_16 with GLIBC_2_17.
14164 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
14166         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14167         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14169 2012-08-03  David S. Miller  <davem@davemloft.net>
14171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14173 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
14175         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14176         Remove.
14177         (__ASSUME_CORRECT_SI_PID): Likewise.
14178         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14179         (__ASSUME_TMPFS_NAME): Likewise.
14180         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14181         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14182         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14183         (HAVE_AUX_SECURE): Make definition unconditional.
14184         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14185         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14187 2012-08-03  Roland McGrath  <roland@hack.frob.com>
14189         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14190         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14191         * sysdeps/mach/hurd/eloop-threshold.h: New file.
14192         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14193         __eloop_threshold instead of SYMLOOP_MAX.
14195         * sysdeps/generic/eloop-threshold.h: New file.
14196         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14197         of MAXSYMLINKS.
14198         * elf/chroot_canon.c (chroot_canon): Likewise.
14200 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
14202         [BZ #13717]
14203         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14204         Change to 2.6.0 everywhere.
14205         * sysdeps/unix/sysv/linux/configure: Regenerated.
14206         * sysdeps/unix/sysv/linux/kernel-features.h
14207         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14208         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14209         kernel versions.
14210         (__ASSUME_POSIX_TIMERS): Define unconditionally.
14211         (__ASSUME_FUTEX_REQUEUE): Remove.
14212         (__ASSUME_STATFS64): Define unconditionally.
14213         (__ASSUME_AT_SECURE): Likewise.
14214         (__ASSUME_CORRECT_SI_PID): Likewise.
14215         (__ASSUME_TGKILL): Define without depending on kernel version for
14216         i386.
14217         (__ASSUME_UTIMES): Likewise.
14218         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14219         kernel version.
14220         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14221         (__ASSUME_TMPFS_NAME): Likewise.
14222         * README: Update reference to Linux kernel versions.
14224 2012-08-02  Marek Polacek  <polacek@redhat.com>
14226         [BZ# 14150]
14227         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
14228         libc_cv_asm_type_prefix with %.
14229         * configure: Regenerated.
14230         * include/libc-symbols.h: Remove comment about
14231         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14232         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14233         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14234         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14235         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14236         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14237         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14238         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14239         * elf/tst-unique2mod1.c: Likewise.
14240         * elf/tst-unique1mod2.c: Likewise.
14241         * elf/tst-unique1mod1.c: Likewise.
14242         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14243         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14244         Replace ASM_TYPE_DIRECTIVE with .type.
14245         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14246         * sysdeps/i386/sysdep.h: Likewise.
14247         * sysdeps/x86_64/sysdep.h: Likewise.
14248         * sysdeps/sh/sysdep.h: Likewise.
14249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14250         Do not define ASM_TYPE_DIRECTIVE.
14251         * sysdeps/powerpc/sysdep.h: Likewise.
14252         * sysdeps/powerpc/powerpc32/sysdep.h:
14253         Replace ASM_TYPE_DIRECTIVE with .type.
14254         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14255         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14256         * sysdeps/i386/fpu/e_powf.S: Likewise.
14257         * sysdeps/i386/fpu/e_expl.S: Likewise.
14258         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14259         * sysdeps/i386/fpu/e_acosh.S: Likewise.
14260         * sysdeps/i386/fpu/e_pow.S: Likewise.
14261         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14262         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14263         * sysdeps/i386/fpu/s_expm1.S: Likewise.
14264         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14265         * sysdeps/i386/fpu/e_log2.S: Likewise.
14266         * sysdeps/i386/fpu/e_log2l.S: Likewise.
14267         * sysdeps/i386/fpu/e_scalb.S: Likewise.
14268         * sysdeps/i386/fpu/e_powl.S: Likewise.
14269         * sysdeps/i386/fpu/e_log10f.S: Likewise.
14270         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14271         * sysdeps/i386/fpu/e_logl.S: Likewise.
14272         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14273         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14274         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14275         * sysdeps/i386/fpu/e_log2f.S: Likewise.
14276         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14277         * sysdeps/i386/fpu/e_log.S: Likewise.
14278         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14279         * sysdeps/i386/fpu/e_logf.S: Likewise.
14280         * sysdeps/i386/fpu/e_log10l.S: Likewise.
14281         * sysdeps/i386/fpu/e_atanh.S: Likewise.
14282         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14283         * sysdeps/i386/fpu/e_log10.S: Likewise.
14284         * sysdeps/i386/fpu/s_frexp.S: Likewise.
14285         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14286         * sysdeps/i386/fpu/s_asinh.S: Likewise.
14287         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14288         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14289         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14290         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14291         * sysdeps/i386/i686/strtok.S: Likewise.
14292         * sysdeps/i386/i386-mcount.S: Likewise.
14293         * sysdeps/i386/strtok.S: Likewise.
14294         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14295         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14296         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14297         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14298         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14299         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14300         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14301         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14302         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14303         * sysdeps/x86_64/_mcount.S: Likewise.
14304         * sysdeps/x86_64/strtok.S: Likewise.
14305         * sysdeps/sh/_mcount.S: Likewise.
14307 2012-08-01  Roland McGrath  <roland@hack.frob.com>
14309         * libio/iofopen.c: Include <fcntl.h>.
14310         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14311         (_IO_fopen64, fopen64): Define as aliases.
14312         * libio/iofopen64.c: Include <fcntl.h>.
14313         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14314         Conditionalize body on this.
14315         * sysdeps/wordsize-64/iofopen.c: File removed.
14316         * sysdeps/wordsize-64/iofopen64.c: File removed.
14318 2012-08-01  Marek Polacek  <polacek@redhat.com>
14320         * libc/Makeconfig: Use elf in place of binfmt-subdir.
14321         Use dlfcn directly instead of a variable.
14322         (binfmt-subdir): Do not define.
14323         (dlfcn): Likewise.
14325 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
14327         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14328         Remove all definitions.
14329         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14330         <kernel-features.h>.
14331         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14332         (miss_F_GETOWN_EX): Remove all definitions.
14333         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14334         macro definition.
14335         [!__ASSUME_FCNTL64]: Remove conditional code.
14336         [__ASSUME_FCNTL64]: Make code unconditional.
14337         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14338         <kernel-features.h>.
14339         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14340         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14341         (lockf64) [__NR_fcntl64]: Make code unconditional.
14342         (lockf64) [__ASSUME_FCNTL64]: Likewise.
14344         * sysdeps/unix/sysv/linux/kernel-features.h
14345         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14346         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14347         Make code unconditional.
14348         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14349         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14351         [__NR_vfork]: Make code unconditional.
14352         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14353         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14355         [__NR_vfork]: Make code unconditional.
14356         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14357         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14359 2012-08-01  Roland McGrath  <roland@hack.frob.com>
14361         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14362         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14364         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14365         Define mkstemp64 as an alias.
14366         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14367         Define mkstemps64 as an alias.
14368         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14369         Define mkostemp64 as an alias.
14370         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14371         Define mkostemps64 as an alias.
14372         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14373         Conditionalize body on this.
14374         * misc/mkostemp64.c: Likewise.
14375         * misc/mkostemps64.c: Likewise.
14376         * misc/mkstemps64.c: Likewise.
14377         * sysdeps/wordsize-64/mkstemp64.c: File removed.
14378         * sysdeps/wordsize-64/mkostemp64.c: File removed.
14379         * sysdeps/wordsize-64/mkostemp.c: File removed.
14380         * sysdeps/wordsize-64/mkstemp.c: File removed.
14381         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14382         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14383         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14384         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14386         [BZ #14138]
14387         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14388         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14389         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14390         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14392         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14393         compat_symbol macros from <shlib-compat.h> rather than the underlying
14394         default_symbol_version and symbol_version macros, so that DEFAULT
14395         lines in shlib-versions are respected.
14396         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14398 2012-08-01  Florian Weimer  <fweimer@redhat.com>
14400         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14401         Declare with warn_unused_result.
14402         (setgid, setregid, setegid, setresgid): Likewise.
14403         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14404         Likewise.
14405         * WUR-REPORT: Remove set*id functions.
14407 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
14409         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14411 2012-07-31  Roland McGrath  <roland@hack.frob.com>
14413         [BZ #10191]
14414         * include/sys/socket.h (__libc_accept, __libc_accept4):
14415         Add attribute_hidden.
14416         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14418         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14419         use of PTR_MANGLE.
14420         * inet/getnetgrent_r.c (setup): Likewise.
14422         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14424 2012-07-31  David S. Miller  <davem@davemloft.net>
14426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14428 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
14430         [BZ #13629]
14431         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14432         value between 1.0 and 2.0 and smaller part has absolute value less
14433         than 1.0.
14434         * math/s_clog10.c (__clog10): Likewise.
14435         * math/s_clog10f.c (__clog10f): Likewise.
14436         * math/s_clog10l.c (__clog10l): Likewise.
14437         * math/s_clogf.c (__clogf): Likewise.
14438         * math/s_clogl.c (__clogl): Likewise.
14439         * math/libm-test.inc (clog_test): Add more tests.
14440         (clog10_test): Likewise.
14441         * sysdeps/i386/fpu/libm-test-ulps: Update.
14442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14444 2012-07-31  Florian Weimer  <fweimer@redhat.com>
14446         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14447         Exit with zero in case no suitable GID is found, and write a
14448         message to standard error.
14450 2012-07-30  Roland McGrath  <roland@hack.frob.com>
14452         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14453         rather than to 1.
14454         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14455         (MAXPATHLEN): Removed.
14456         (NOGROUP, NODEV): New macros.
14457         (setbit, clrbit, isset, isclr): New macros.
14458         (howmany, roundup, powerof2): New macros.
14459         (DEV_BSIZE): New macro.
14461         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14462         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14464         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14465         definition on [!__NO_LONG_DOUBLE_MATH].
14467         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14468         PTR_MANGLE and PTR_DEMANGLE.
14470         * socket/accept4.c (accept4): Rename to __libc_accept4.
14471         Define accept4 as a weak alias.
14473         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14474         on [_DIRENT_HAVE_D_TYPE].
14475         * io/ftw.c (ftw_dir): Likewise.
14477         * io/xmknod.c (__xmknod): Don't check PATH for being null.
14479         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14481         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14482         Use the BSD numbers rather than the arbitrary ones we had.
14483         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14484         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14485         (SIGXCPU, SIGXFSZ): New macros.
14486         (_NSIG): Now 32.
14488         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14489         initializer on [_LIBC_REENTRANT].
14491         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14492         definitions inside [_POSIX_MAPPED_FILES].
14494         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14496         * dirent/opendir.c: Include <fcntl.h>.
14498         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14499         (__libc_getspecific): Likewise.
14500         (__libc_key_create): Likewise.
14502         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14503         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14504         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14505         (tmpfile64): Define as alias.
14506         * sysdeps/wordsize-64/tmpfile.c: File removed.
14507         * sysdeps/wordsize-64/tmpfile64.c: File removed.
14508         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14509         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14511         * stdio-common/vfscanf.c: Include <stdbool.h>.
14512         * nss/makedb.c: Likewise.
14513         * stdio-common/_i18n_number.h: Likewise.
14514         * argp/argp-help.c: Likewise.
14515         * posix/wordexp.c: Likewise.
14516         * sysdeps/posix/spawni.c: Likewise.
14517         * nss/nss_files/files-initgroups.c: Likewise.
14518         * stdio-common/reg-modifier.c: Include <stdlib.h>.
14519         * nss/nss_files/files-initgroups.c: Likewise.
14520         * nss/nss_db/db-netgrp.c: Likewise.
14521         * nss/nss_db/db-initgroups.c: Likewise.
14522         * io/fchmodat.c: Include <sys/stat.h>.
14524         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14525         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14527         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14528         [HAVE_MMAP].
14530         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14531         Add multiple inclusion protection.
14533 2012-07-27  David S. Miller  <davem@davemloft.net>
14535         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14537 2012-07-27  Gary Benson  <gbenson@redhat.com>
14539         [BZ #14298]
14540         * elf/rtld.c: Include <stap-probe.h>.
14541         (dl_main): Added static probes "init_start" and "init_complete".
14542         * elf/dl-load.c: Include <stap-probe.h>.
14543         (lose): Take new parameter "nsid".
14544         Added static probe "map_failed".
14545         (_dl_map_object_from_fd): Pass namespace id to lose.
14546         Added static probe "map_start".
14547         (open_verify): Pass namespace id to lose.
14548         * elf/dl-open.c: Include <stap-probe.h>.
14549         (dl_open_worker) Added static probes "map_complete", "reloc_start"
14550         and "reloc_complete".
14551         * elf/dl-close.c: Include <stap-probe.h>.
14552         (_dl_close_worker): Added static probes "unmap_start" and
14553         "unmap_complete".
14554         * elf/rtld-debugger-interface.txt: New file documenting the above.
14556 2012-07-26  Roland McGrath  <roland@hack.frob.com>
14558         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14559         rather than a string variable.
14560         * sunrpc/rpc_main.c (h_output): Likewise.
14561         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14563 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
14565         * inet/check_native.c: New file.
14567 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
14569         [BZ #13629]
14570         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14571         if larger part has absolute value 1.0.
14572         * math/s_clog10.c (__clog10): Likewise.
14573         * math/s_clog10f.c (__clog10f): Likewise.
14574         * math/s_clog10l.c (__clog10l): Likewise.
14575         * math/s_clogf.c (__clogf): Likewise.
14576         * math/s_clogl.c (__clogl): Likewise.
14577         * math/libm-test.inc (clog_test): Add more tests.
14578         (clog10_test): Likewise.
14579         * sysdeps/i386/fpu/libm-test-ulps: Update.
14580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14582         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14583         (pltexit): Likewise.
14584         (La_regs): Likewise.
14585         (La_retval): Likewise.
14586         (int_retval): Likewise.
14587         Update #error for removed macros to refer only to definitions in
14588         tst-audit.h.
14589         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14590         macro.
14591         (pltexit): Likewise.
14592         (La_regs): Likewise.
14593         (La_retval): Likewise.
14594         (int_retval): Likewise.
14595         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14596         macro.
14597         (pltexit): Likewise.
14598         (La_regs): Likewise.
14599         (La_retval): Likewise.
14600         (int_retval): Likewise.
14601         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14602         macro.
14603         (pltexit): Likewise.
14604         (La_regs): Likewise.
14605         (La_retval): Likewise.
14606         (int_retval): Likewise.
14607         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14608         macro.
14609         (pltexit): Likewise.
14610         (La_regs): Likewise.
14611         (La_retval): Likewise.
14612         (int_retval): Likewise.
14613         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14614         macro.
14615         (pltexit): Likewise.
14616         (La_regs): Likewise.
14617         (La_retval): Likewise.
14618         (int_retval): Likewise.
14619         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14620         macro.
14621         (pltexit): Likewise.
14622         (La_regs): Likewise.
14623         (La_retval): Likewise.
14624         (int_retval): Likewise.
14625         * sysdeps/generic/tst-audit.h: Update comment to refer only to
14626         macro definitions in tst-audit.h.
14627         * sysdeps/i386/tst-audit.h: New file.
14628         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14629         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14630         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14631         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14632         * sysdeps/sh/tst-audit.h: Likewise.
14633         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14634         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14635         * sysdeps/x86_64/tst-audit.h: Likewise.
14637 2012-07-26  Andreas Jaeger  <aj@suse.de>
14639         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14640         ptrace.
14642         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14643         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14644         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14645         PTRACE_O_MASK.
14646         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14647         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14648         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14650         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14651         value.
14653         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14654         _sigsys.
14655         (si_call_addr, si_syscall, si_arch): Define new macro.
14656         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14657         _sigsys.
14658         (si_call_addr, si_syscall, si_arch): Define new marcro.
14659         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14660         _sigsys.
14661         (si_call_addr, si_syscall, si_arch): Define new macro.
14662         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14663         _sigsys.
14664         (si_call_addr, si_syscall, si_arch): Define new macro.
14666 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
14668         [BZ #13717]
14669         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14670         Change to 2.4.21 where previously 2.4.1.
14671         * sysdeps/unix/sysv/linux/configure: Regenerated.
14672         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14673         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14674         Linux kernel version.
14675         (__ASSUME_STD_AUXV): Remove.
14676         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14677         kernel version.
14678         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14679         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14680         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14681         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14682         (__ASSUME_NETLINK_SUPPORT): Likewise.
14683         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14684         (__no_netlink_support): Remove conditional definition.
14685         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14686         Remove.
14687         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14688         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14689         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14690         (if_nameindex_ioctl): Remove.
14691         (if_nameindex_netlink): Do not handle __no_netlink_support.
14692         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14693         code.
14694         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14695         Remove conditional code.
14696         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14697         code.
14698         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14699         unconditional.
14700         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14701         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14702         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14703         Remove.
14704         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14705         [!__ASSUME_STD_AUXV]: Remove conditional code.
14706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14707         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14708         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14710         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14711         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14712         code.
14713         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14715         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14716         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14717         conditional code.
14718         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14720         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14721         code.
14722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14723         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14724         conditional code.
14725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14726         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14727         code unconditional.
14728         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14729         conditional code.
14730         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14731         unconditional.
14732         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14733         conditional code.
14734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14735         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14736         unconditional.
14737         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14738         conditional code.
14739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14740         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14741         code unconditional.
14742         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14743         conditional code.
14744         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14745         unconditional.
14746         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14747         conditional code.
14748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14749         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14750         code unconditional.
14751         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14752         conditional code.
14753         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14754         unconditional.
14755         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14756         conditional code.
14758 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
14760         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14761         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14762         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14763         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14764         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14765         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14766         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14767         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14768         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14769         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14770         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14771         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14772         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14773         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14774         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14775         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14776         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14777         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14778         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14779         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14780         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14781         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14782         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14784 2012-07-25  Florian Weimer  <fweimer@redhat.com>
14786         * Versions.def: Add GLIBC_2.17.
14787         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14788         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14789         Introduce __libc_secure_getenv.
14790         * stdlib/Versions (2.17): Add secure_getenv
14791         (GLIBC_PRIVATE): Add __libc_secure_getenv.
14792         * stdlib/secure-getenv.c: Rename __secure_getenv to
14793         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
14794         symbol __secure_getenv for GLIBC_2.0.
14795         * stdlib/tst-secure-getenv.c: New.
14796         * stdlib/Makefile (tests): Add testcase.
14797         * manual/startup.texi (Environment Access): Document
14798         secure_getenv.
14799         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14800         __libc_secure_getenv.
14801         * inet/ruserpass.c (ruserpass): Likewise.
14802         * malloc/mtrace.c (mtrace): Likewise.
14803         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
14804         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14805         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14806         * sysdeps/posix/tempname.c: Likewise.  Evaluate
14807         HAVE_SECURE_GETENV.
14808         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
14809         __secure_getenv to __libc_secure_getenv.
14810         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
14811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14812         Likewise.
14813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14814         Likewise.
14815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14817         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14818         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14819         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14820         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14823 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
14825         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14826         (struct La_i86_retval): Likewise.
14827         (struct La_x86_64_regs): Likewise.
14828         (struct La_x86_64_retval): Likewise.
14829         (struct La_x32_regs): Likewise.
14830         (struct La_x32_retval): Likewise.
14831         (struct La_ppc32_regs): Likewise.
14832         (struct La_ppc32_retval): Likewise.
14833         (struct La_ppc64_regs): Likewise.
14834         (struct La_ppc64_retval): Likewise.
14835         (struct La_sh_regs): Likewise.
14836         (struct La_sh_retval): Likewise.
14837         (struct La_s390_32_regs): Likewise.
14838         (struct La_s390_32_retval): Likewise.
14839         (struct La_s390_64_regs): Likewise.
14840         (struct La_s390_64_retval): Likewise.
14841         (struct La_sparc32_regs): Likewise.
14842         (struct La_sparc32_retval): Likewise.
14843         (struct La_sparc64_regs): Likewise.
14844         (struct La_sparc64_retval): Likewise.
14845         (struct audit_ifaces): Remove architecture-specific pltenter and
14846         pltexit members.
14847         * sysdeps/i386/ldsodefs.h: New file.
14848         * sysdeps/powerpc/ldsodefs.h: Likewise.
14849         * sysdeps/s390/ldsodefs.h: Likewise.
14850         * sysdeps/sh/ldsodefs.h: Likewise.
14851         * sysdeps/sparc/ldsodefs.h: Likewise.
14852         * sysdeps/x86_64/ldsodefs.h: Likewise.
14854 2012-07-25  Marek Polacek  <polacek@redhat.com>
14856         [BZ #6808]
14857         * math/libm-test.inc (yn_test): Add another test.
14858         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14859         to ERANGE when the result is +-Inf.
14860         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14861         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14862         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14863         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14865 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
14867         * conform/data/time.h-data (NULL): Use macro-constant.  Require
14868         equal to 0.
14869         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
14870         clock_t.
14871         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
14873 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
14875         * configure.in <sysdeps resolving>: Correct printing
14876         Implies_before.
14877         * configure: Regenerate.
14879 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
14881         * math/w_ilogb.c: Include <limits.h>.
14882         * math/w_ilogbl.c: Likewise.
14884 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
14886         * manual/lang.texi (__va_copy): Document primarily as ISO C99
14887         va_copy.  Document allowing for unavailable va_copy only as
14888         pre-C99 compatibility.
14889         * manual/string.texi (Copying and Concatenation): Use va_copy
14890         instead of __va_copy in concat example.
14892 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
14894         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14895         (__sendto): Use create_address_port.  Initialize APORT and deallocate
14896         it if not null.
14898         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14899         with O_NOLINK passed to __file_name_lookup.
14901         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14902         with O_NOLINK passed to __file_name_lookup.
14904         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14905         negative N or less than NGIDS.
14907         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14908         type to string_t.  Set ERANGE as errno and return it if NAME is not big
14909         enough.  Use memcpy instead of strncpy.
14911 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
14913         * elf/Makefile (check-data): Remove.
14914         (localplt.data): New vpath directive.
14915         ($(objpfx)check-localplt.out): Use localplt.data from vpath
14916         instead of $(check-data).
14917         * scripts/data/localplt-generic.data: Move to ...
14918         * sysdeps/generic/localplt.data: ... here.
14919         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14920         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14921         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14923         ... here.
14924         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14926         ... here.
14927         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14929         ... here.
14930         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14932         ... here.
14933         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14934         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14935         ... here.
14936         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14937         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14938         ... here.
14940 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14942         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14943         PPC32 and PPC64 files.
14944         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14945         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14947 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14949         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14950         __makecontext_ret to ...
14951         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14952         ... here and call exit if uc_link is NULL.  New file.
14953         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14954         __makecontext_ret.S.
14955         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14956         __makecontext_ret to ...
14957         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14958         ... here and call exit if uc_link is NULL.  New file.
14959         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14960         __makecontext_ret.S.
14962 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14964         * elf/elf.h (R_390_IRELATIVE): New definition.
14965         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14966         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
14967         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14968         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14969         (elf_machine_lazy_rel): Likewise.
14970         * sysdeps/s390/dl-irel.h: New file.
14971         * sysdeps/s390/s390-64/memcpy.S: New asm code.
14972         * sysdeps/s390/s390-64/memset.S: New asm code.
14973         * sysdeps/s390/s390-64/memcmp.S: New asm code.
14974         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14975         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14976         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14977         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14978         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14979         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14980         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14981         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14982         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14983         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14984         * sysdeps/s390/s390-32/memcpy.S: New asm code.
14985         * sysdeps/s390/s390-32/memset.S: New asm code.
14986         * sysdeps/s390/s390-32/memcmp.S: New asm code.
14988 2012-07-17  Marek Polacek  <polacek@redhat.com>
14990         [BZ #14349]
14991         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14992         * sysdeps/s390/s390-64/configure.in: Likewise.
14993         * sysdeps/sparc/configure.in: Likewise.
14994         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14995         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14996         * sysdeps/i386/configure.in: Likewise.
14997         * sysdeps/x86_64/configure.in: Likewise.
14998         * sysdeps/sh/configure.in: Likewise.
14999         * sysdeps/s390/s390-32/configure: Regenerated.
15000         * sysdeps/s390/s390-64/configure: Likewise.
15001         * sysdeps/x86_64/configure: Likewise.
15002         * sysdeps/sh/configure: Likewise.
15003         * sysdeps/powerpc/powerpc64/configure: Likewise.
15004         * sysdeps/powerpc/powerpc32/configure: Likewise.
15005         * sysdeps/sparc/configure: Likwise.
15006         * sysdeps/i386/configure: Likewise.
15008         * elf/dl-open.c: Comment fixes.
15010 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
15012         * Makefile [CXX] (check-data): Remove.
15013         [CXX] (c++-types.data): New vpath directive.
15014         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15015         vpath.  Do not allow for C++ type data being missing.
15016         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15017         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15018         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15019         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15020         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15021         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15022         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15024         ... here.
15025         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15027         ... here.
15028         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15030         ... here.
15031         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15033         ... here.
15034         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15036         ... here.
15037         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15038         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15039         ... here.
15040         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15041         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15042         ... here.
15043         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15044         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15046         * elf/tls-macros.h (TLS_LE): Move architecture-specific
15047         definitions to architecture-specific files.
15048         (TLS_IE): Likewise.
15049         (TLS_LD): Likewise.
15050         (TLS_GD): Likewise.
15051         * sysdeps/i386/tls-macros.h: New file.
15052         * sysdeps/powerpc/tls-macros.h: Likewise.
15053         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15054         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15055         * sysdeps/sh/tls-macros.h: Likewise.
15056         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15057         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15058         * sysdeps/x86_64/tls-macros.h: Likewise.
15060 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
15062         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15063         zero value for regular exit case.
15065         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15066         (__start_context): Preserve zero value for regular exit case.
15068 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
15069             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15071         * manual/setjmp.texi (setcontext): Clarify normal process
15072         termination when uc_link is the null pointer.
15073         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15074         exit call.
15076 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
15078         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15079         preprocessor.  Test for each exception mask separately.
15081 2012-07-16  Andreas Jaeger  <aj@suse.de>
15083         * po/ru.po: Update from translation team.
15085 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
15087         * conform/data/string.h-data (NULL): Use macro-constant.  Require
15088         equal to 0.
15089         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15090         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15091         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15092         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15093         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15095 2012-07-13  Andreas Jaeger  <aj@suse.de>
15097         * po/fr.po: Update from translation team.
15099 2012-07-12  Marek Polacek  <polacek@redhat.com>
15101         [BZ #14173]
15102         * math/libm-test.inc (yn_test): Add test for BZ #14173.
15103         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15104         loop condition.
15106 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
15108         [BZ #13717]
15109         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15110         Change to 2.4.1 where previously 2.4.0.
15111         * sysdeps/unix/sysv/linux/configure: Regenerated.
15112         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15113         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15114         version.
15115         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15116         (__ASSUME_AT_CLKTCK): Remove.
15117         (__ASSUME_AT_PAGESIZE): Likewise.
15118         (__ASSUME_AT_XID): Likewise.
15119         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15120         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15121         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15122         unconditionally.
15123         (HAVE_AUX_PAGESIZE): Likewise.
15124         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15125         [__ASSUME_AT_CLKTCK]: Make code unconditional.
15126         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15128 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
15130         [BZ #14307]
15131         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15132         the temporary buffer used to invoke __gethostbyname2_r,
15133         __gethostbyaddr_r and gethostbyname4_r to make room for struct
15134         host_data / struct gaih_addrtuple.
15135         * resolv/nss_dns/dns-host.c (global scope): Move definition of
15136         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15137         header file nss/nsswitch.h.
15138         * nss/nsswitch.h (global scope): Add definition of implementation
15139         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15140         resolv/nss_dns/dns-host.c).
15142 2012-07-11  Andreas Jaeger  <aj@suse.de>
15144         * po/fr.po: Update from translation team.
15146         * po/sv.po: Update from translation team
15147         * po/fr.po: Another update from translation team.
15149 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15151         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15152         for subnormals or multiply small sinh result by itself.
15153         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15156 2012-07-11  David S. Miller  <davem@davemloft.net>
15158         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15160 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
15162         [BZ #14347]
15163         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15164         (INTERNAL_MARK): Shift it here.
15166 2012-07-10  Marek Polacek  <polacek@redhat.com>
15168         [BZ #14151]
15169         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
15170         libc_cv_asm_global_directive with .globl.
15171         * configure: Regenerated.
15172         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15173         with .globl.
15174         * sysdeps/i386/configure: Regenerated.
15175         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15176         with .globl.
15177         * sysdeps/x86_64/configure: Regenerated.
15178         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15179         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15180         * elf/tst-unique2mod2.c: Likewise.
15181         * elf/tst-unique2mod1.c: Likewise.
15182         * elf/tst-unique1mod2.c: Likewise.
15183         * elf/tst-unique1mod1.c: Likewise.
15184         * sysdeps/s390/s390-32/sysdep.h: Likewise.
15185         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15186         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15187         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15188         * sysdeps/mach/sysdep.h: Likewise.
15189         * sysdeps/i386/sysdep.h: Likewise.
15190         * sysdeps/i386/i386-mcount.S: Likewise.
15191         * sysdeps/x86_64/_mcount.S: Likewise.
15192         * sysdeps/x86_64/sysdep.h: Likewise.
15193         * sysdeps/sh/_mcount.S: Likewise.
15194         * sysdeps/sh/sysdep.h: Likewise.
15195         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15196         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15197         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15198         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15199         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15200         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15201         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15202         * locale/localeinfo.h: Likewise.
15203         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15204         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15206 2012-07-09  Roland McGrath  <roland@hack.frob.com>
15208         [BZ #14336]
15209         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15210         system".
15211         * manual/message.texi (The Uniforum approach): Likewise.
15212         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15213         (glibc iconv Implementation): Likewise.
15215 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
15217         [BZ #14337]
15218         * math/s_clog.c (__clog): Avoid scaling a value down where that
15219         could result in underflow.
15220         * math/s_clog10.c (__clog10): Likewise.
15221         * math/s_clog10f.c (__clog10f): Likewise.
15222         * math/s_clog10l.c (__clog10l): Likewise.
15223         * math/s_clogf.c (__clogf): Likewise.
15224         * math/s_clogl.c (__clogl): Likewise.
15225         * math/libm-test.inc (clog_test): Add more tests.
15226         (clog10_test): Likewise.
15227         * sysdeps/i386/fpu/libm-test-ulps: Update.
15228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15230 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
15232         [BZ #14283]
15233         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15234         by 7 not 8 to examine high bit of fractional part.
15236         [BZ #14042]
15237         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15238         for call to __mcount_internal.
15239         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15240         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15241         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15243 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
15245         [BZ #14154]
15246         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15247         approximation for values within 0x1p-13f of an odd multiple of
15248         pi/4.
15249         * math/libm-test.inc (tan_test): Do not allow spurious underflow
15250         exception.  Add more tests.
15251         * sysdeps/i386/fpu/libm-test-ulps: Update.
15253         [BZ #6778]
15254         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15255         inputs and return -1 for them.  Do not check for +Inf in case not
15256         reachable for +Inf.
15257         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15258         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15259         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15260         and return -1 for them.  Do not check for +Inf in case not
15261         reachable for +Inf.
15262         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15263         define.
15264         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15265         and return -1 for them.  Do not check for +Inf in case not
15266         reachable for +Inf.
15267         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
15268         spurious underflow.
15269         * sysdeps/i386/fpu/libm-test-ulps: Update.
15270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15272 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
15274         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15276 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
15278         [BZ #14157]
15279         [BZ #14331]
15280         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15281         could result in spurious underflow.  Scale down values above
15282         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15283         * math/s_csqrtf.c (__csqrtf): Likewise.
15284         * math/s_csqrtl.c (__csqrtl): Likewise.
15285         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
15286         spurious underflow.
15287         * sysdeps/i386/fpu/libm-test-ulps: Update.
15288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15290 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
15292         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15293         xopen-msg.sed.
15294         * catgets/xopen-msg.awk: New file.
15295         * catgets/xopen-msg.sed: Removed.
15297         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15298         po2text.sed.
15299         * intl/po2test.awk: New file.
15300         * intl/po2test.sed: Removed.
15302 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
15304         [BZ #14328]
15305         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15306         or multiply small sinh result by itself.
15307         * math/s_ctanf.c (__ctanf): Likewise.
15308         * math/s_ctanh.c (__ctanh): Likewise.
15309         * math/s_ctanhf.c (__ctanhf): Likewise.
15310         * math/s_ctanhl.c (__ctanhl): Likewise.
15311         * math/s_ctanl.c (__ctanl): Likewise.
15312         * math/libm-test.inc (ctan_test_tonearest): New function.
15313         (ctan_test_towardzero): Likewise.
15314         (ctan_test_downward): Likewise.
15315         (ctan_test_upward): Likewise.
15316         (ctanh_test_tonearest): Likewise.
15317         (ctanh_test_towardzero): Likewise.
15318         (ctanh_test_downward): Likewise.
15319         (ctanh_test_upward): Likewise.
15320         (main): Call these new functions.
15321         * sysdeps/i386/fpu/libm-test-ulps: Update.
15322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15324 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
15326         * .gitignore: Delete /ports entry.
15328 2012-07-03  Andreas Jaeger  <aj@suse.de>
15330         * po/bg.po: Update from translation team.
15331         * po/cs.po: Likewise.
15332         * po/de.po: Likewise.
15333         * po/hr.po: Likewise.
15334         * po/nl.pl: Likewise.
15335         * po/pl.po: Likewise.
15336         * po/vi.po: Likewise.
15338 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
15340         * Makeconfig [!+link] (+link-before-libc): New variable.
15341         [!+link] (+link-after-libc): Likewise.
15342         [!+link] (+link-tests): Likewise.
15343         [!+link] (+link): Define in terms of $(+link-before-libc) and
15344         $(+link-after-libc).
15345         [!+link-static] (+link-static-before-libc): New variable.
15346         [!+link-static] (+link-static-after-libc): Likewise.
15347         [!+link-static] (+link-static-tests): Likewise.
15348         [!+link-static] (+link-static): Define in terms of
15349         $(+link-static-before-libc) and $(+link-static-after-libc).
15350         [build-shared] (link-libc-before-gnulib): New variable.
15351         [build-shared] (link-libc-tests): Likewise.
15352         [build-shared] (link-libc): Define in terms of
15353         $(link-libc-before-gnulib).
15354         [!build-shared] (link-libc-tests): New variable.
15355         (link-libc-static-tests): New variable.
15356         [!gnulib] (gnulib-arch): New variable.
15357         [!gnulib] (gnulib-tests): Likewise.
15358         [!gnulib] (static-gnulib-arch): Likewise.
15359         [!gnulib] (static-gnulib-tests): Likewise.
15360         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
15361         Define with "=" instead of ":=".
15362         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
15363         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
15364         * Rules (binaries-all-notests): New variable.
15365         (binaries-all-tests): Likewise.
15366         (binaries-static-notests): Likewise.
15367         (binaries-static-tests): Likewise.
15368         (binaries-all): Define using $(binaries-all-notests) and
15369         $(binaries-all-tests).
15370         (binaries-static): Define using $(binaries-static-notests) and
15371         $(binaries-static-tests).
15372         (binaries-shared-tests): New variable.
15373         (binaries-shared-notests): Likewise.
15374         (binaries-shared): Remove variable.
15375         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15376         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15377         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15378         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15379         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15380         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15381         * elf/Makefile (sln-modules): New variable.
15382         (extra-objs): Add $(sln-modules:=.o).
15383         (ldconfig-modules): Add static-stubs.
15384         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15385         * elf/static-stubs.c: New file.
15387         [BZ #14283]
15388         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15389         by 7 not 8 to examine high bit of fractional part.  Use volatile
15390         variables when splitting into final array of floats if
15391         __FLT_EVAL_METHOD__ != 0.
15392         * math/libm-test.inc (cos_test): Add another test.
15393         (sin_test): Likewise.
15394         * sysdeps/i386/fpu/libm-test-ulps: Update.
15396         [BZ #14273]
15397         * math/libm-test.inc (cosh_test): Add more tests.
15399         * version.h (RELEASE): Set to "development".
15400         (VERSION): Set to "2.16.90".
15402 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
15404         * NEWS: Update copyright. Remove last-updated date.
15405         Mention math library bug fixes and timezone data changes.
15406         * README: Mention GNU/Hurd, x32, and HPPA support status.
15408 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
15410         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15412 2012-06-27  Andreas Jaeger  <aj@suse.de>
15414         * manual/contrib.texi (Contributors): Add Samuel Thibault.
15416 2012-06-25  Andreas Jaeger  <aj@suse.de>
15418         * sysdeps/s390/fpu/libm-test-ulps: Update.
15420 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
15421             Thomas Schwinge  <thomas@codesourcery.com>
15423         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15424         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15425         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15426         fanotify_mark.
15428 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
15430         * sysdeps/mach/start.c: Remove file.
15431         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15432         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15433         * sysdeps/sh/init-first.c: Likewise.
15435         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15436         registers for frame unwinding purposes, add CFI directives.
15437         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15438         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15439         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15440         Likewise.
15442         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15443         __fortify_fail returning.
15444         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15446         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15447         sysdeps/sh/____longjmp_chk.S.
15448         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15449         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15450         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15451         (gen-as-const-headers): Append sigaltstack-offsets.sym.
15453         * sysdeps/sh/abort-instr.h: New file.
15454         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15455         process in case exit returns.
15457         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15458         initialize the GOT register before use.
15460         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15461         calculation of ARGC > 4.
15463         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15464         meaningful names to some local labels.
15466 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15467             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15469         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15470         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15471         (__arch_compare_and_exchange_val_16_acq): Likewise.
15472         (__arch_compare_and_exchange_val_32_acq): Likewise.
15473         (atomic_exchange_and_add): Fix gUSA sequence.
15474         (atomic_add): Likewise.
15475         (atomic_add_negative): Likewise.
15476         (atomic_add_zero): Likewise.
15477         (atomic_bit_test_set): Likewise.
15479 2012-06-22  Andreas Schwab  <schwab@redhat.com>
15481         [BZ #13579]
15482         * include/link.h (struct link_map): Add l_free_initfini.
15483         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15484         l_initfini.
15485         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15486         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15487         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15488         set.
15490 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
15492         * configure.in: Use AC_LANG_SOURCE.
15493         * configure: Regenerate.
15495 2012-06-22  Roland McGrath  <roland@hack.frob.com>
15497         * configure.in (libc_cv_localstatedir): New substituted variable.
15498         * configure: Regenerated.
15499         * config.make.in (localstatedir): New variable, substituted from
15500         libc_cv_localstatedir.
15501         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15502         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15503         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15504         * sysdeps/gnu/configure: Regenerated.
15506 2012-06-21  Jeff Law  <law@redhat.com>
15508         [BZ #14277]
15509         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15510         free.  Simplify list management for _LIBC case.
15512 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
15514         [BZ #14273]
15515         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15516         Clear sign bit of 64-bit integer value before comparing against
15517         overflow value.
15519         * sysdeps/mach/configure: Regenerated.
15521 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
15523         [BZ #14278]
15524         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15526 2012-06-21  Jeff Law  <law@redhat.com>
15528         [BZ #13882]
15529         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
15530         uint16_t for elements in the "seen" array to avoid char overflows.
15531         * elf/dl-fini.c (_dl_sort_fini): Likewise.
15532         * elf/dl-open.c (dl_open_worker): Likewise.
15534 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
15536         * scripts/list-sources.sh: Scan PORTS for translations.
15537         * po/libc.pot: Regenerated.
15539 2012-06-21  Andreas Jaeger  <aj@suse.de>
15541         [BZ #12194]
15542         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15543         warning.
15544         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15545         * bits/byteswap-16.h (__bswap_16): Likewise.
15546         * bits/byteswap.h (__bswap_constant_16): Likewise.
15548 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
15550         [BZ #14117]
15551         * sysdeps/i386/fpu_control.h: Removed.
15552         * sysdeps/x86_64/fpu_control.h: Moved to ...
15553         * sysdeps/x86/fpu_control.h: Here.
15555         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15556         (_FPU_SETCW): Likewise.
15558 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
15560         [BZ #14117]
15561         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15562         * sysdeps/x86/fpu/bits/mathinline.h: This.
15563         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15565         [BZ #14050]
15566         [BZ #14117]
15567         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15568         functions if __x86_64__ is defined.
15570 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
15572         * string/endian.h: Add !__ASSEMBLER__ condition for including
15573         conversion interfaces.
15575 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
15577         [BZ #14241]
15578         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15579         of ABS(x) in calculating zero to negative powers other than odd
15580         integers.
15581         * math/libm-test.inc (pow_test): Add more tests.
15583 2012-06-15  Andreas Jaeger  <aj@suse.de>
15585         * manual/contrib.texi (Contributors): Update entry of Liubov
15586         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15587         Machado Filho.
15589 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
15591         * string/string.h: Add __wur to GNU version of strerror_r.
15593 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
15595         [BZ #14229]
15596         * string/Makefile (tests): Add tst-strtok_r.
15597         * string/tst-strtok_r.c: New file.
15598         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15599         RAX_LP/RDX_LP on SAVE_PTR.
15601 2012-06-14  Roland McGrath  <roland@hack.frob.com>
15603         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15605 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
15607         * libm_test.inc (csqrt_test): Allow more spurious underflow
15608         exceptions.
15609         (j0_test): Likewise.
15610         (j1_test): Likewise.
15611         (y0_test): Likewise.
15612         (y1_test): Likewise.
15614 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
15616         * po/Makefile (libc.pot): Use UTF-8 charset.
15618 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
15620         [BZ #14210]
15621         Suppress sign-conversion warning from FD_SET.
15622         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15623         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15624         not unsigned long int.
15625         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15627 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
15629         [BZ #14050]
15630         [BZ #14117]
15631         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15632         __extern_always_inline instead of __extern_inline.
15633         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15634         (__signbit): Likewise.
15635         (__signbitl): Support C++ namespace.
15636         (lrintf): New inline function.
15637         (lrint): Likewise.
15638         (llrintf): Likewise.
15639         (llrint): Likewise.
15640         (fmaxf): Likewise.
15641         (fmax): Likewise.
15642         (fminf): Likewise.
15643         (fmin): Likewise.
15644         (rint): Likewise.
15645         (rintf): Likewise.
15646         (ceil): Likewise.
15647         (ceilf): Likewise.
15648         (floor): Likewise.
15649         (floorf): Likewise.
15650         (nearbyint): Likewise.
15651         (nearbyintf): Likewise.
15653 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
15655         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15656         non-default versions.
15658 2012-06-11  Roland McGrath  <roland@hack.frob.com>
15660         [BZ #14218]
15661         * manual/argp.texi (Argp): Reword argp_parse description slightly.
15663 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
15665         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15666         (FE_UPWARD, FE_DOWNWARD): Don't define.
15667         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15668         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15670         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15671         reading it.
15672         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15673         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15675 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15677         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15678         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15679         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15680         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15682 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
15684         [BZ #14117]
15685         * sysdeps/i386/fpu/bits/fenv.h: Removed.
15686         * sysdeps/i386/fpu/Implies: New file.
15687         * sysdeps/x86_64/fpu/Implies: Likewise.
15688         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15689         * sysdeps/x86/fpu/bits/fenv.h: This.
15691         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15692         __SSE_MATH__.
15694 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15696         [BZ #14134]
15697         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15698         character 0xffff that matches the last element of the
15699         conversion table.
15701 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15703         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15704         fmodl commit.
15706 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15708         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15709         values higher than 25.6283.
15711 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15713         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15714         subnormal exponent extraction and add some __builtin_expect.
15715         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15716         Fix for subnormal mantissa calculation.
15718 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
15720         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15721         cpu2 is -1 and errno is not ENOSYS.
15723 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
15725         [BZ #14117]
15726         * sysdeps/i386/i486/bits/string.h: Renamed to ...
15727         * sysdeps/x86/bits/string.h: This.
15728         * sysdeps/x86_64/bits/string.h: Removed.
15730         * sysdeps/i386/i486/bits/string.h: Define inline functions only
15731         if not compiling for x86-64, but compiling for >= i486.
15733         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15734         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15736         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15737         New macro from Linux kernel 3.4.0.
15738         (FP_XSTATE_MAGIC2): Likewise.
15739         (FP_XSTATE_MAGIC2_SIZE): Likewise.
15740         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15741         (struct _fpx_sw_bytes): New struct.
15742         (struct _xsave_hdr): Likewise.
15743         (struct _ymmh_state): Likewise.
15744         (struct _xstate): Likewise.
15746         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15747         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15748         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15749         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15750         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15751         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15753         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15754         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15755         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15756         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15757         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15758         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15760 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15762         [BZ #13743]
15763         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15764         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15765         (sysdep_headers): Include sys/platform/ppc.h.
15766         * sysdeps/powerpc/test-gettimebase.c: Test for
15767         __ppc_get_timebase() to catch future ISA opcode/insn changes.
15768         * manual/Makefile (appendices): Include platform.texi.
15769         * manual/contrib.texi (Contributors): Update @node pointers.
15770         * manual/maint.texi (Maintenance): Likewise.
15771         (Platform): New node.
15772         * manual/platform.texi: New file.  Document the new features.
15774 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15775             Jakub Jelinek  <jakub@redhat.com>
15777         [BZ #14188]
15778         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15779         where __builtin_expect is unavailable.
15781 2012-06-03  David S. Miller  <davem@davemloft.net>
15783         * stdlib/longlong.h: Updated from GCC.
15785 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
15787         [BZ #14042]
15788         * sysdeps/powerpc/powerpc32/mcount.c: New file.
15789         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15790         __mcount_internal.
15791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15792         (GLIBC_2.16): Likewise.
15794 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15796         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15798 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
15800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15801         (default-abi): New variable.
15802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15803         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15804         variable.
15805         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15806         Likewise.
15807         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15808         Likewise.
15809         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15810         Likewise.
15812         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15813         definition.  Document in comment.
15815 2012-06-01  David S. Miller  <davem@davemloft.net>
15817         * stdlib/longlong.h: Updated from GCC.
15819 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15821         [BZ #14117]
15822         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15823         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15824         sys/debugreg.h sys/io.h here.
15825         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15826         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15827         sys/io.h.
15828         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15829         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15830         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15831         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15832         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15833         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15835         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15836         Define only if __x86_64__ is defined.
15838 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
15840         [BZ #14048]
15841         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15842         Use int64_t for variable i.
15843         * math/libm-test.inc (fmod_test): Add more tests.
15845         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15846         z computation is not scheduled after fetestexcept.
15847         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15848         Use math_force_eval instead of asm to ensure calculation scheduled
15849         before exception test.
15850         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15851         Ensure a1 + u.d computation is not scheduled after fetestexcept.
15853 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
15855         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15856         computation is not scheduled after fetestexcept.
15858 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15860         [BZ #14117]
15861         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15862         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15864 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15866         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15867         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15869 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
15871         [BZ #14117]
15872         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15873         <bits/wordsize.h>.
15874         (__WCHAR_MIN): Support __WORDSIZE == 64.
15875         (__WCHAR_MAX): Likewise.
15877         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15878         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15880         [BZ #14183]
15881         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15882         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15884         [BZ #14117]
15885         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15886         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15888         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15889         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15891         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15892         Defined to 1 if __x86_64__ isn't defined.
15893         (_STAT_VER_LINUX_OLD): New.
15894         (st_atime): Remove duplicate.
15895         (st_mtime): Likewise.
15896         (st_ctime): Likewise.
15898 2012-05-31  David S. Miller  <davem@davemloft.net>
15900         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15901         entries.
15903 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
15905         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15906         gen-libm-test.pl.
15908         [BZ #14132]
15909         * elf/dl-reloc.c: Include <_itoa.h>.
15910         (_dl_reloc_bad_type): Remove use of INTUSE.
15911         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15912         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15913         * stdio-common/psiginfo.c (psiginfo): Likewise.
15914         * stdio-common/psignal.c (psignal): Likewise.
15915         * string/strsignal.c (strsignal): Likewise.
15916         * include/signal.h (_sys_siglist): Declare hidden proto.
15917         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
15918         INTVARDEF with libc_hidden_data_def.
15919         * stdio-common/itoa-udigits.c: Likewise.
15920         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15921         (_itoa_lower_digits_internal): Remove declaration.
15922         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15923         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15924         (_sys_sigabbrev_internal): Remove aliases.
15925         (_sys_siglist): Define hidden alias.
15927 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
15929         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15930         bits/sysctl.h.
15932 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
15934         [BZ #14117]
15935         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15936         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15938         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15939         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15940         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15941         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15942         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15943         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15945         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15946         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15947         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15949         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15950         with __addr.
15951         (insw): Likewise.
15952         (insl): Likewise.
15953         (outsb): Likewise.
15954         (outsw): Likewise.
15955         (outsl): Likewise.
15957         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15958         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15959         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15961         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15962         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15963         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15964         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15965         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15966         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15968         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15969         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15971         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15972         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15974         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15975         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15976         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15978         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15979         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15980         to ...
15981         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15983         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15984         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15985         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15987         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15988         for x86-64.
15989         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15991 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
15993         * math/math.h (M_El): Use two more decimal places.
15994         (M_LOG2El): Likewise.
15995         (M_LOG10El): Likewise.
15996         (M_LN2l): Likewise.
15997         (M_LN10l): Likewise.
15998         (M_PIl): Likewise.
15999         (M_PI_2l): Likewise.
16000         (M_PI_4l): Likewise.
16001         (M_1_PIl): Likewise.
16002         (M_2_PIl): Likewise.
16003         (M_2_SQRTPIl): Likewise.
16004         (M_SQRT2l): Likewise.
16005         (M_SQRT1_2l): Likewise.
16007 2012-05-31  David S. Miller  <davem@davemloft.net>
16009         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16010         values between float registers.
16011         * sysdeps/sparc/sparc64/memset.S: Likewise.
16012         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16014 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
16016         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16017         -D_FORTIFY_SOURCE=1.
16018         (CPPFLAGS-tst-longjmp_chk.c): Define.
16019         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16020         (CPPFLAGS-tst-longjmp_chk2.c): Define.
16021         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16022         CFLAGS-tst-wchar-h.c.
16024 2012-05-31  Marek Polacek  <polacek@redhat.com>
16026         [BZ #14132]
16027         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16028         __endmntent_internal): Remove declaration.
16029         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16030         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16031         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16033 2012-05-30  David S. Miller  <davem@davemloft.net>
16035         * sysdeps/sparc/sparc32/soft-fp/q_util.c
16036         (___Q_simulate_exceptions): Use real FP ops rather than writing
16037         into the %fsr.
16038         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16039         Likewise.
16041 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16043         [BZ #14117]
16044         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16045         * sysdeps/x86/bits/xtitypes.h: This.
16047         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16048         * sysdeps/x86/bits/wordsize.h: This.
16050         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16051         * sysdeps/x86/bits/huge_vall.h: This.
16053         * sysdeps/i386/bits/select.h: Removed.
16054         * sysdeps/x86_64/bits/select.h: Renamed to ...
16055         * sysdeps/x86/bits/select.h: This.
16057         * sysdeps/i386/bits/setjmp.h: Removed.
16058         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16059         * sysdeps/x86/bits/setjmp.h: This.
16061         * sysdeps/i386/bits/mathdef.h: Removed.
16062         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16063         * sysdeps/x86/bits/mathdef.h: This.
16065 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
16067         [BZ #14132]
16068         * include/sys/socket.h (__connect_internal)
16069         (__libc_sa_len_internal): Remove declaration.
16070         (__connect, __libc_sa_len): Declare hidden_proto.
16071         (SA_LEN): Remove use of INTUSE.
16072         * socket/connect.c: Add libc_hidden_def.
16073         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16074         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16075         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16076         alias.
16077         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16078         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16079         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16080         of adding _internal alias.
16082 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16084         [BZ #14117]
16085         * sysdeps/i386/bits/link.h: Removed.
16086         * sysdeps/i386/bits/linkmap.h: Likewise.
16087         * sysdeps/x86_64/bits/link.h: Renamed to ...
16088         * sysdeps/x86/bits/link.h: This.
16089         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16090         * sysdeps/x86/bits/linkmap.h: This.
16092         * sysdeps/i386/bits/endian.h: Removed.
16093         * sysdeps/x86_64/bits/endian.h: Renamed to ...
16094         * sysdeps/x86/bits/endian.h: This.
16096         * sysdeps/i386/bits/byteswap.h: Removed.
16097         * sysdeps/i386/bits/byteswap-16.h: Likewise.
16098         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16099         * sysdeps/x86/bits/byteswap.h: This.
16100         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16101         * sysdeps/x86/bits/byteswap-16.h: This.
16102         * sysdeps/i386/Implies: Add x86.
16103         * sysdeps/x86_64/Implies: Likewise.
16105 2012-05-30  David S. Miller  <davem@davemloft.net>
16107         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16108         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16109         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16110         (FP_TRAPPING_EXCEPTIONS): Define.
16111         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16112         (FP_TRAPPING_EXCEPTIONS): Define.
16113         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16114         subnormals only when inexact has been signalled or underflow
16115         exceptions are enabled.
16116         (_FP_PACK_CANONICAL): Likewise.
16118 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16120         [BZ #14183]
16121         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16122         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16124 2012-05-30  Richard Henderson  <rth@twiddle.net>
16126         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16127         with #ifndef NOT_IN_libc.
16129         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
16130         marked to avoid plt entry.
16132 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16134         [BZ #14112]
16135         * Makeconfig (default-abi): New macro.
16136         (abi-includes): Likewise.
16137         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
16138         $(abi-$(default-abi)-lib-soname) for soname if defined.
16139         ($(common-objpfx)gnu/lib-names.stmp): Generate from
16140         abi-variants.
16141         * Makefile (installed-stubs): Likewise.
16142         * include/stubs-biarch.h: Removed.
16143         * scripts/lib-names.awk: Only handle one library at a time.
16144         * scripts/soversions.awk: Remove WORDSIZE support.
16145         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16146         entries.
16147         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16148         Removed.
16149         (syscall-list-default-condition): Likewise.
16150         (syscall-list-default-condition): Likewise.
16151         (syscall-list-includes): Likewise.
16152         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16153         syscall-list-* with abi-*.  Handle undefined abi-variants.
16154         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16155         * sysdeps/unix/sysv/linux/i386/Implies: New file.
16156         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16157         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16158         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16159         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16160         Removed.
16161         (syscall-list-32-options): Likewise.
16162         (syscall-list-32-condition): Likewise.
16163         (syscall-list-64-options): Likewise.
16164         (syscall-list-64-condition): Likewise.
16165         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16166         macro.
16167         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16168         Renamed to ...
16169         (abi-*): This.
16170         (abi-64-ld-soname): New macro.
16171         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16172         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16173         Renamed to ...
16174         (abi-*): This.
16175         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16176         * sysdeps/x86_64/x32/shlib-versions: Likewise.
16178 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
16180         * sysdeps/unix/sysv/linux/kernel-features.h
16181         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16182         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16183         include <kernel-features.h>.
16184         [!__NR_ftruncate64]: Remove conditional code.
16185         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16186         [__NR_ftruncate64]: Make code unconditional.
16187         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16188         * sysdeps/unix/sysv/linux/truncate64.c: Do not
16189         include <kernel-features.h>.
16190         [!__NR_ftruncate64]: Remove conditional code.
16191         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16192         [__NR_ftruncate64]: Make code unconditional.
16193         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16195         include <kernel-features.h>.
16196         [!__NR_ftruncate64]: Remove conditional code.
16197         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16198         [__NR_ftruncate64]: Make code unconditional.
16199         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16201         include <kernel-features.h>.
16202         [!__NR_ftruncate64]: Remove conditional code.
16203         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16204         [__NR_ftruncate64]: Make code unconditional.
16205         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16207         * configure.in (libc_cv_fpie): Weaken to a compile test using
16208         LIBC_TRY_CC_OPTION.
16209         * configure: Regenerated.
16211 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16217         Refreshed.
16218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16223         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16224         Refreshed.
16226 2012-05-27  David S. Miller  <davem@davemloft.net>
16228         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16229         (___Q_zero): New.
16230         (__Q_simulate_exceptions): Return void.  Change to simulate
16231         exceptions by writing into the %fsr.
16232         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16233         (__Qp_handle_exceptions): Likewise.
16234         (numbers): Delete.
16235         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16236         __Qp_handle_exceptions.
16237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16238         __Qp_handle_exceptions.
16239         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16240         as unused and give dummy FP_RND_NEAREST initializer.
16241         (FP_INHIBIT_RESULTS): Define.
16242         (___Q_simulate_exceptions): Update declaration.
16243         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16244         formatting.
16245         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16246         as unused and give dummy FP_RND_NEAREST initializer.
16247         (__Qp_handle_exceptions): Update declaration.
16248         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16249         formatting.
16251 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
16253         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16254         the temporary FPU control word.
16255         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16256         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16257         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16258         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16259         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16260         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16261         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16262         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16263         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16264         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16265         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16267 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16269         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16270         fields.
16272 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
16274         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16275         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16276         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16277         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16278         Likewise.
16279         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16280         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16281         Likewise.
16283 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
16285         * po/h.po: Update from translation team.
16287 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
16289         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16291         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16292         handling of denormals.
16293         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16294         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16295         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16296         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16297         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16298         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16299         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16300         Likewise.
16302 2012-05-26  Marek Polacek  <polacek@redhat.com>
16304         [BZ #14152]
16305         * math/libm-test.inc (fma_test): Don't always expect underflow
16306         exception.
16308 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16310         [BZ #12416]
16311         * elf/tst-execstack.c: Include stackinfo.h.
16312         (do_test): Adjust test case to ensure that pthread_getattr_np
16313         behaviour remains the same after marking stack executable.
16315 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
16317         * sysdeps/unix/sysv/linux/kernel-features.h
16318         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16319         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16320         kernel-features.h.
16321         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16322         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16323         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16324         kernel-features.h.
16325         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16326         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16328 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
16330         * configure.in: Define the default includes to being none.
16331         * configure: Regenerated.
16333 2012-05-25  Roland McGrath  <roland@hack.frob.com>
16335         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16336         * sysdeps/x86_64/setjmp.S: Likewise.
16337         * sysdeps/i386/bsd-setjmp.S: Likewise.
16338         * sysdeps/i386/bsd-_setjmp.S: Likewise.
16339         * sysdeps/i386/setjmp.S: Likewise.
16340         * sysdeps/i386/__longjmp.S: Likewise.
16341         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16342         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16344         * include/stap-probe.h: New file.
16345         * configure.in: Handle --enable-systemtap.
16346         * configure: Regenerated.
16347         * config.h.in (USE_STAP_PROBE): New #undef.
16348         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16349         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16350         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16352 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
16354         [BZ #13717]
16355         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16356         to 2.4.0 where earlier.
16357         * sysdeps/unix/sysv/linux/configure: Regenerated.
16358         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16359         <kernel-features.h>.
16360         [__ASSUME_32BITUIDS]: Make code unconditional.
16361         [!__ASSUME_32BITUIDS]: Remove conditional code.
16362         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16363         <kernel-features.h>.
16364         [__ASSUME_32BITUIDS]: Make code unconditional.
16365         [!__ASSUME_32BITUIDS]: Remove conditional code.
16366         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16367         [__ASSUME_32BITUIDS]: Make code unconditional.
16368         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16369         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16370         <kernel-features.h>.
16371         [__ASSUME_32BITUIDS]: Make code unconditional.
16372         [!__ASSUME_32BITUIDS]: Remove conditional code.
16373         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16374         <kernel-features.h>.
16375         [__ASSUME_32BITUIDS]: Make code unconditional.
16376         [!__ASSUME_32BITUIDS]: Remove conditional code.
16377         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16378         <kernel-features.h>.
16379         [__ASSUME_32BITUIDS]: Make code unconditional.
16380         [!__ASSUME_32BITUIDS]: Remove conditional code.
16381         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16382         <kernel-features.h>.
16383         [__ASSUME_32BITUIDS]: Make code unconditional.
16384         [!__ASSUME_32BITUIDS]: Remove conditional code.
16385         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16386         <kernel-features.h>.
16387         [__ASSUME_32BITUIDS]: Make code unconditional.
16388         [!__ASSUME_32BITUIDS]: Remove conditional code.
16389         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16390         <kernel-features.h>.
16391         [__ASSUME_32BITUIDS]: Make code unconditional.
16392         [!__ASSUME_32BITUIDS]: Remove conditional code.
16393         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16394         <kernel-features.h>.
16395         [__ASSUME_32BITUIDS]: Make code unconditional.
16396         [!__ASSUME_32BITUIDS]: Remove conditional code.
16397         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16398         <kernel-features.h>.
16399         [__ASSUME_32BITUIDS]: Make code unconditional.
16400         [!__ASSUME_32BITUIDS]: Remove conditional code.
16401         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16402         <kernel-features.h>.
16403         [__ASSUME_32BITUIDS]: Make code unconditional.
16404         [!__ASSUME_32BITUIDS]: Remove conditional code.
16405         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16406         <kernel-features.h>.
16407         [__ASSUME_32BITUIDS]: Make code unconditional.
16408         [!__ASSUME_32BITUIDS]: Remove conditional code.
16409         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16410         <kernel-features.h>.
16411         [__NR_setresgid] (__setresgid): Do not declare.
16412         [__ASSUME_32BITUIDS]: Make code unconditional.
16413         [!__ASSUME_32BITUIDS]: Remove conditional code.
16414         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16415         <kernel-features.h>.
16416         [__NR_setresuid] (__setresuid): Do not declare.
16417         [__ASSUME_32BITUIDS]: Make code unconditional.
16418         [!__ASSUME_32BITUIDS]: Remove conditional code.
16419         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16420         <kernel-features.h>.
16421         [__ASSUME_32BITUIDS]: Make code unconditional.
16422         [!__ASSUME_32BITUIDS]: Remove conditional code.
16423         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16424         <kernel-features.h>.
16425         [__ASSUME_32BITUIDS]: Make code unconditional.
16426         [!__ASSUME_32BITUIDS]: Remove conditional code.
16427         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16428         <kernel-features.h>.
16429         [__ASSUME_32BITUIDS]: Make code unconditional.
16430         [!__ASSUME_32BITUIDS]: Remove conditional code.
16431         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16432         <kernel-features.h>.
16433         [__ASSUME_32BITUIDS]: Make code unconditional.
16434         [!__ASSUME_32BITUIDS]: Remove conditional code.
16435         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16436         <kernel-features.h>.
16437         [__ASSUME_32BITUIDS]: Make code unconditional.
16438         [!__ASSUME_32BITUIDS]: Remove conditional code.
16439         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16440         <kernel-features.h>.
16441         [__ASSUME_32BITUIDS]: Make code unconditional.
16442         [!__ASSUME_32BITUIDS]: Remove conditional code.
16443         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16444         <kernel-features.h>.
16445         [__ASSUME_32BITUIDS]: Make code unconditional.
16446         [!__ASSUME_32BITUIDS]: Remove conditional code.
16447         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16448         <kernel-features.h>.
16449         [__ASSUME_32BITUIDS]: Make code unconditional.
16450         [!__ASSUME_32BITUIDS]: Remove conditional code.
16451         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16452         <kernel-features.h>.
16453         [__ASSUME_32BITUIDS]: Make code unconditional.
16454         [!__ASSUME_32BITUIDS]: Remove conditional code.
16455         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16456         <kernel-features.h>.
16457         [__ASSUME_32BITUIDS]: Make code unconditional.
16458         [!__ASSUME_32BITUIDS]: Remove conditional code.
16459         * sysdeps/unix/sysv/linux/kernel-features.h
16460         (__ASSUME_SETRESUID_SYSCALL): Remove.
16461         (__ASSUME_SETRESGID_SYSCALL): Likewise.
16462         (__ASSUME_32BITUIDS): Likewise.
16463         (__ASSUME_LDT_WORKS): Likewise.
16464         (__ASSUME_O_DIRECTORY): Likewise.
16465         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16466         architecture but not kernel version.
16467         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16468         (__ASSUME_MMAP2_SYSCALL): Likewise.
16469         (__ASSUME_STAT64_SYSCALL): Likewise.
16470         (__ASSUME_IPC64): Likewise.
16471         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16472         <kernel-features.h>.
16473         [__ASSUME_32BITUIDS]: Make code unconditional.
16474         [!__ASSUME_32BITUIDS]: Remove conditional code.
16475         * sysdeps/unix/sysv/linux/opendir.c: Do not include
16476         <kernel-features.h>.
16477         [__ASSUME_O_DIRECTORY]: Make code unconditional.
16478         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16479         132096]: Remove conditional code.
16480         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16481         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16482         <kernel-features.h>.
16483         [__ASSUME_32BITUIDS]: Make code unconditional.
16484         [!__ASSUME_32BITUIDS]: Remove conditional code.
16485         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16486         <kernel-features.h>.
16487         [__ASSUME_32BITUIDS]: Make code unconditional.
16488         [!__ASSUME_32BITUIDS]: Remove conditional code.
16489         * sysdeps/unix/sysv/linux/setegid.c: Do not include
16490         <kernel-features.h>.
16491         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16492         unconditional.
16493         (__setresgid): Do not declare.
16494         [__ASSUME_32BITUIDS]: Make code unconditional.
16495         [!__ASSUME_32BITUIDS]: Remove conditional code.
16496         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16497         <kernel-features.h>.
16498         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16499         unconditional.
16500         (__setresuid): Do not declare.
16501         [__ASSUME_32BITUIDS]: Make code unconditional.
16502         [!__ASSUME_32BITUIDS]: Remove conditional code.
16503         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16504         <kernel-features.h>.
16505         [__ASSUME_32BITUIDS]: Make code unconditional.
16506         [!__ASSUME_32BITUIDS]: Remove conditional code.
16507         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16508         <kernel-features.h>.
16509         [__ASSUME_32BITUIDS]: Make code unconditional.
16510         [!__ASSUME_32BITUIDS]: Remove conditional code.
16512 2012-05-25  Richard Henderson  <rth@twiddle.net>
16514         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16515         dl_hwcap to ifunc resolver.
16516         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16517         elf_ifunc_invoke.
16518         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16519         dl_hwcap to ifunc resolver.
16520         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16522 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16524         [BZ #14153]
16525         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16526         for |x| <= 2**-26, not 2**-57.
16527         * math/libm-test.inc (acos_test): Do not allow spurious underflow
16528         exception.
16530 2012-05-24  Jeff Law  <law@redhat.com>
16532         * stdio-common/Makefile (tests): Add bug25.
16533         * stdio-common/bug25.c: New test.
16535 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
16537         [BZ #13576]
16538         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16539         multiple of MALLOC_ALIGNMENT in size.
16540         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16542 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16544         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16545         Require >= 256.
16546         (FILENAME_MAX): Use macro-int-constant.
16547         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
16548         (_IOFBF): Use macro-int-constant.
16549         (_IOLBF): Likewise.
16550         (_IONBF): Likewise.
16551         (SEEK_CUR): Likewise.
16552         (SEEK_END): Likewise.
16553         (SEEK_SET): Likewise.
16554         (TMP_MAX): Likewise.
16555         (EOF): Use macro-int-constant.  Require < 0.
16556         (NULL): Use macro-constant.  Require == 0.
16557         (stdin): Require type to be FILE *.
16558         (stdout): Likewise.
16559         (stderr): Likewise.
16560         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16561         macro-int-constant.
16562         (EXIT_SUCCESS): Likewise.
16563         (NULL): Use macro-constant.  Require == 0.
16564         (RAND_MAX): Use macro-int-constant.
16565         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16566         [C99-based standards] (strtof): Require function.
16567         [C99-based standards] (strtold): Likewise.
16568         [C99-based standards] (strtoll): Likewise.
16569         [C99-based standards] (strtoull): Likewise.
16570         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16571         [ISO || ISO99 || ISO11] (limits.h): Likewise.
16572         [ISO || ISO99 || ISO11] (math.h): Likewise.
16573         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16574         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16575         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16577 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
16579         [BZ #14132]
16580         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16581         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16582         * intl/dgettext.c (DCGETTEXT): Likewise.
16583         * intl/gettext.c (DCGETTEXT): Likewise.
16584         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16585         * posix/regex_internal.h (gettext): Likewise.
16586         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16587         Remove declaration.
16588         * include/argz.h (__argz_count_internal)
16589         (__argz_stringify_internal): Remove declaration.
16590         (__argz_count, __argz_stringify): Declare hidden proto.
16591         * intl/dcgettext.c: Remove use of INTDEF.
16592         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16593         * string/argz-stringify.c: Likewise.
16594         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16595         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16596         Declare hidden proto.
16597         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16598         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16599         Declare hidden proto.
16600         * include/stdio.h (__asprintf_internal): Don't declare.
16601         (__asprintf): Don't define as macro.  Declare hidden proto.
16602         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16603         (__fsetlocking): Declare hidden proto.
16604         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16605         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16606         hidden proto.
16607         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16608         (_IO_setlinebuf): Remove use of INTUSE.
16609         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16610         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16611         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16612         Remove declaration.
16613         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16614         (_IO_do_flush): Remove use of INTUSE.
16615         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16616         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16617         (_IO_adjust_column, _IO_least_wmarker)
16618         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16619         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16620         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16621         (_IO_default_doallocate, _IO_wdefault_doallocate)
16622         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16623         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16624         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16625         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16626         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16627         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16628         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16629         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16630         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16631         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16632         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16633         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16634         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16635         proto.
16636         (_IO_flush_all_internal, _IO_adjust_column_internal)
16637         (_IO_default_uflow_internal, _IO_default_finish_internal)
16638         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16639         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16640         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16641         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16642         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16643         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16644         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16645         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16646         (_IO_file_close_internal, _IO_file_close_it_internal)
16647         (_IO_file_underflow_internal, _IO_file_overflow_internal)
16648         (_IO_file_init_internal, _IO_file_attach_internal)
16649         (_IO_file_fopen_internal, _IO_file_read_internal)
16650         (_IO_file_sync_internal, _IO_file_seek_internal)
16651         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16652         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16653         (_IO_str_underflow_internal, _IO_str_overflow_internal)
16654         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16655         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16656         (_IO_list_all_internal, _IO_link_in_internal)
16657         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16658         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16659         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16660         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16661         (_IO_do_write_internal, _IO_padn_internal)
16662         (_IO_getline_info_internal, _IO_getline_internal)
16663         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16664         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16665         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16666         (_IO_vfscanf_internal, _IO_vfprintf_internal)
16667         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16668         (_IO_init_internal, _IO_un_link_internal): Don't declare.
16669         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16670         with libc_hidden_ver, remove use of INTUSE.
16671         * libio/genops.c: Likewise.
16672         * libio/freopen.c: Likewise.
16673         * libio/freopen64.c: Likewise.
16674         * libio/iofclose.c: Likewise.
16675         * libio/iofdopen.c: Likewise.
16676         * libio/iofflush.c: Likewise.
16677         * libio/iofflush_u.c: Likewise.
16678         * libio/iofgets.c: Likewise.
16679         * libio/iofgets_u.c: Likewise.
16680         * libio/iofopen.c: Likewise.
16681         * libio/iofopncook.c: Likewise.
16682         * libio/iofread.c: Likewise.
16683         * libio/iofread_u.c: Likewise.
16684         * libio/ioftell.c: Likewise.
16685         * libio/iofwrite.c: Likewise.
16686         * libio/iogetline.c: Likewise.
16687         * libio/iogets.c: Likewise.
16688         * libio/iogetwline.c: Likewise.
16689         * libio/iopadn.c: Likewise.
16690         * libio/iopopen.c: Likewise.
16691         * libio/ioseekoff.c: Likewise.
16692         * libio/ioseekpos.c: Likewise.
16693         * libio/iosetbuffer.c: Likewise.
16694         * libio/iosetvbuf.c: Likewise.
16695         * libio/ioungetc.c: Likewise.
16696         * libio/ioungetwc.c: Likewise.
16697         * libio/iovdprintf.c: Likewise.
16698         * libio/iovsprintf.c: Likewise.
16699         * libio/iovsscanf.c: Likewise.
16700         * libio/memstream.c: Likewise.
16701         * libio/obprintf.c: Likewise.
16702         * libio/oldfileops.c: Likewise.
16703         * libio/oldiofclose.c: Likewise.
16704         * libio/oldiofdopen.c: Likewise.
16705         * libio/oldiofopen.c: Likewise.
16706         * libio/oldiopopen.c: Likewise.
16707         * libio/oldstdfiles.c: Likewise.
16708         * libio/putc.c: Likewise.
16709         * libio/setbuf.c: Likewise.
16710         * libio/setlinebuf.c: Likewise.
16711         * libio/stdfiles.c: Likewise.
16712         * libio/strops.c: Likewise.
16713         * libio/vasprintf.c: Likewise.
16714         * libio/vscanf.c: Likewise.
16715         * libio/vsnprintf.c: Likewise.
16716         * libio/vswprintf.c: Likewise.
16717         * libio/wfiledoalloc.c: Likewise.
16718         * libio/wfileops.c: Likewise.
16719         * libio/wgenops.c: Likewise.
16720         * libio/wmemstream.c: Likewise.
16721         * libio/wstrops.c: Likewise.
16722         * libio/__fpurge.c: Likewise.
16723         * libio/__fsetlocking.c: Likewise.
16724         * assert/assert.c: Likewise.
16725         * debug/fgets_chk.c: Likewise.
16726         * debug/fgets_u_chk.c: Likewise.
16727         * debug/fread_chk.c: Likewise.
16728         * debug/fread_u_chk.c: Likewise.
16729         * debug/gets_chk.c: Likewise.
16730         * debug/obprintf_chk.c: Likewise.
16731         * debug/vasprintf_chk.c: Likewise.
16732         * debug/vdprintf_chk.c: Likewise.
16733         * debug/vsnprintf_chk.c: Likewise.
16734         * debug/vsprintf_chk.c: Likewise.
16735         * malloc/mtrace.c: Likewise.
16736         * misc/error.c: Likewise.
16737         * misc/syslog.c: Likewise.
16738         * stdio-common/asprintf.c: Likewise.
16739         * stdio-common/fxprintf.c: Likewise.
16740         * stdio-common/getw.c: Likewise.
16741         * stdio-common/isoc99_fscanf.c: Likewise.
16742         * stdio-common/isoc99_scanf.c: Likewise.
16743         * stdio-common/isoc99_vfscanf.c: Likewise.
16744         * stdio-common/isoc99_vscanf.c: Likewise.
16745         * stdio-common/isoc99_vsscanf.c: Likewise.
16746         * stdio-common/printf-prs.c: Likewise.
16747         * stdio-common/printf_fp.c: Likewise.
16748         * stdio-common/printf_fphex.c: Likewise.
16749         * stdio-common/printf_size.c: Likewise.
16750         * stdio-common/putw.c: Likewise.
16751         * stdio-common/scanf.c: Likewise.
16752         * stdio-common/sprintf.c: Likewise.
16753         * stdio-common/tmpfile.c: Likewise.
16754         * stdio-common/vfprintf.c: Likewise.
16755         * stdio-common/vfscanf.c: Likewise.
16756         * stdlib/strfmon_l.c: Likewise.
16757         * sunrpc/openchild.c: Likewise.
16758         * sunrpc/xdr_stdio.c: Likewise.
16759         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16760         * sysdeps/mach/hurd/tmpfile.c: Likewise.
16762 2012-05-24  Roland McGrath  <roland@hack.frob.com>
16764         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16766         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16767         in the third column, to generate for the shared library an IFUNC
16768         that uses _dl_vdso_vsym.
16769         * Makerules (COMPILE.c, compile-stdin.c): New variables.
16770         * Makeconfig (object-suffixes-noshared): New variable.
16772         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16773         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16774         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16775         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16777         [BZ #14132]
16778         * include/sys/time.h (__gettimeofday): Remove macro.
16779         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16780         * time/gettimeofday.c (__gettimeofday): Remove #undef.
16781         Remove INTDEF.
16782         (__gettimeofday): Add libc_hidden_def.
16783         (gettimeofday): Add libc_hidden_weak.
16784         * sysdeps/mach/gettimeofday.c: Likewise.
16785         * sysdeps/posix/gettimeofday.c: Likewise.
16786         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16787         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16788         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16789         (__gettimeofday_internal): Remove strong_alias.
16790         (__gettimeofday): Add libc_hidden_def.
16791         (gettimeofday): Add libc_hidden_weak.
16792         * sysdeps/unix/syscalls.list (gettimeofday):
16793         Remove __gettimeofday_internal alias.
16795 2012-05-24  Daniel Jacobowitz  <drow@false.org>
16796             H.J. Lu  <hongjiu.lu@intel.com>
16798         [BZ #12495]
16799         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16800         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16801         (largebin_index_32_big): New.
16802         (largebin_index): Use it for 16-byte alignment.
16803         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
16804         correction with front_misalign.
16806 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
16808         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16810         Likewise.
16811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16812         Likewise.
16813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16814         Likewise.
16815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16816         Likewise.
16817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16818         Likewise.
16819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16820         Likewise.
16821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16822         Likewise.
16823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16824         Likewise.
16825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16826         Likewise.
16827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16828         Likewise.
16829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16830         Likewise.
16831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16832         Likewise.
16834         * scripts/data/c++-types-x32-linux-gnu.data: New file.
16835         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16837 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16839         [BZ #10846]
16840         [BZ #14036]
16841         * math/libm-test.inc (exp_test): Add test from bug 14036.
16842         (pow_test): Add test from bug 10846.
16844         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16845         and other flags.
16846         (special_function): Do not include flags in test name.
16847         (parse_args): Likewise.
16848         * sysdeps/i386/fpu/libm-test-ulps: Update.
16849         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16850         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16851         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16854         * math/gen-libm-test.pl (%beautify): Add entries for underflow
16855         exceptions.
16856         * math/libm-test.inc ("Philosophy"): Update comment about
16857         exception testing.
16858         (UNDERFLOW_EXCEPTION): New macro.
16859         (UNDERFLOW_EXCEPTION_OK): Likewise.
16860         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16861         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16862         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16863         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16864         (INVALID_EXCEPTION_OK): Update value.
16865         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16866         (OVERFLOW_EXCEPTION_OK): Likewise.
16867         (IGNORE_ZERO_INF_SIGN): Likewise.
16868         (test_exceptions): Handle underflow exceptions.
16869         (acos_test): Update for underflow exception expectations.
16870         (cexp_test): Likewise.
16871         (clog_test): Likewise.
16872         (clog10_test): Likewise.
16873         (csqrt_test): Likewise.
16874         (ctan_test): Likewise.
16875         (ctanh_test): Likewise.
16876         (exp_test): Likewise.
16877         (exp10_test): Likewise.
16878         (exp2_test): Likewise.
16879         (expm1_test): Likewise.
16880         (fma_test): Likewise.
16881         (j0_test): Likewise.
16882         (jn_test): Likewise.
16883         (nexttoward_test): Likewise.
16884         (pow_test): Likewise.
16885         (scalbn_test): Likewise.
16886         (scalbln_test): Likewise.
16887         (tan_test): Likewise.
16888         (y1_test): Likewise.
16889         * sysdeps/i386/fpu/libm-test-ulps: Update.
16890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16892 2012-05-23  David S. Miller  <davem@davemloft.net>
16894         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16895         (__libc_sigaction): Remove unused local variables.
16897 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16899         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16901 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
16903         mktime: avoid signed integer overflow
16904         * time/mktime.c (__mktime_internal): Do not mishandle the case
16905         where diff == INT_MIN.
16907         mktime: simplify computation of average
16908         * time/mktime.c (ranged_convert): Use new time_t_avg function
16909         instead of rolling our own (probably-slower) code.
16911         mktime: do not assume signed right shift propagates sign bit
16912         * time/mktime.c (isdst_differ): New static function.
16913         (__mktime_internal): No need to normalize tm_isdst now.
16914         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16915         tm_isdst values.
16917         mktime: merge another wrapv change from gnulib
16918         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16919         from some compilers.
16921         mktime: remove incorrect attempt at unusual arithmetics
16922         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16923         The code didn't really work on such machines anyway.
16924         (TYPE_MINIMUM): Assume two's complement.
16925         (twos_complement_arithmetic): Verify that long_int and time_t
16926         are two's complement (or unsigned, in the latter case).
16928         mktime: check signed shifts on long_int and time_t, too
16929         * time/mktime.c (SHR): Check that shifts work as desired
16930         on the types long_int and time_t too, as SHR is used on
16931         such types.
16933         mktime: do not assume 'long' is wide enough
16934         * time/mktime.c (verify): Move decl up.
16935         (long_int): New type.
16936         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16937         to remove assumption in the code that 'long' is wide enough to
16938         store year values.  This assumption is not true on x32 and on
16939         some non-glibc platforms.
16941         mktime: merge wrapv change from gnulib
16942         * time/mktime.c (WRAPV): New macro.
16943         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16944         (guess_time_tm, __mktime_internal): Do not assume that signed
16945         integer overflow wraps around; modern compilers generate code
16946         where this assumption is no longer valid.
16948 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16950         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16951         Replace "jmp L(pseudo_end)" with "ret".
16952         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16953         Likewise.
16955 2012-05-23  Andreas Jaeger  <aj@suse.de>
16957         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16958         * sysdeps/unix/sysv/linux/poll.c: Remove file.
16960 2012-05-23  Andreas Jaeger  <aj@suse.de>
16961             Maximilian Attems  <max@stro.at>
16963         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16964         New macros.
16966 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16968         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16969         code so that pseudo_end is just ret and the stack pointer is
16970         correct also for static library in error case.
16972 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
16974         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16975         move to syscalls.list.
16976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16981         * manual/install.texi (Running make install): Do not mention Linux
16982         kernel version for which pt_chown is not needed.
16983         (Linux): Do not mention problems with nscd with 2.0 kernels.
16984         * INSTALL: Regenerated.
16986 2012-05-23  Andreas Jaeger  <aj@suse.de>
16988         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16989         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16990         macro.
16991         * sysdeps/unix/sysv/linux/s390/bits/mman.h
16992         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16993         * sysdeps/unix/sysv/linux/sh/bits/mman.h
16994         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16995         * sysdeps/unix/sysv/linux/i386/bits/mman.h
16996         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16997         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16998         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16999         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17000         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17001         * sysdeps/unix/sysv/linux/bits/in.h
17002         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17004 2012-05-22  Roland McGrath  <roland@hack.frob.com>
17006         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17007         (PREPARE_VERSION): Just use assert instead, it will be elided
17008         under [NDEBUG] anyway.
17010 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17012         * sysdeps/unix/sysv/linux/Makefile: Include
17013         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17014         (sysdep_routines): Remove sysctl.
17015         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17016         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17017         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17018         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17019         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17021 2012-05-22  Andreas Jaeger  <aj@suse.de>
17023         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17024         that pseudo_end is just ret and the stack pointer is correct also
17025         for static library in error case.
17027 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
17029         [BZ #14122]
17030         * nss/nsswitch.c (defconfig_entries): New variable.
17031         (__nss_database_lookup): Don't leak defconfig entries.
17032         (nss_parse_service_list): Don't leak on error paths.
17033         (free_database_entries): New function.
17034         (free_defconfig): New function.
17035         (free_mem): Move common code to free_database_entries.
17037 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17039         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17040         Add arch_prctl.
17041         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17043         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17044         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17045         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17046         New macro.
17047         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17048         (INTERNAL_SYSCALL_TYPES): Likewise.
17049         (LOAD_ARGS_TYPES_[1-6]): Likewise.
17050         (LOAD_REGS_TYPES_[1-6]): Likewise.
17051         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17052         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17054 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17056         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17057         copysignl for GLIBC_2_0.
17058         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17059         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17060         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17061         logbl for GLIBC_2_0.
17062         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17063         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17065 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17067         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17068         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17070         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17071         Use "neg %eax".
17073         * time/mktime.c: Update copyright years.
17075 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
17077         mktime: merge comment-quoting-style change from gnulib
17078         * time/mktime.c: Quote 'like this' in comments.
17079         The GNU coding standards suggest that we no longer quote `like this',
17080         as "`" and "'" are typically rendered asymmetrically nowadays.
17081         The typical gnulib style is to quote 'like this' when quoting
17082         code, and "like this" when quoting English.
17084         * time/mktime.c (compile-command): Add "-I.".
17086         mktime: merge mktime-internal.h change from gnulib
17087         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17089         mktime: merge time_r change from gnulib
17090         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17092         mktime: merge DEBUG change from gnulib
17093         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17094         case system <time.h> has a #define.
17096         mktime: merge <sys/types.h> change from gnulib
17097         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17098         since <time.t> is now guaranteed to define time_t.
17100         mktime: merge HAVE_CONFIG_H change from gnulib
17101         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17103 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17105         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17106         Use "neg %eax".
17108         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17109         __rlim_t cast.
17110         (struct rusage): Use anonymous union to pad each field to
17111         __syscall_slong_t.
17113 2012-05-21  David S. Miller  <davem@davemloft.net>
17115         * Makefules (o-iterator): Remove .s cases.
17116         (compile-command.s): Delete.
17117         (COMPILE.s): Delete.
17118         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17120 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
17122         * configure.in (libc_cv_predef_stack_protector): Only consider
17123         "foobar" and "__stack_chk_fail" lines in libc_undefs.
17124         * configure: Regenerated.
17126 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
17128         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17129         New macro.  Use R*LP on int and pointer.
17130         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17131         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17132         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17133         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17135         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17136         [__WORDSIZE_TIME64_COMPAT32] instead of
17137         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17138         (struct utmp): Likewise.
17139         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17140         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17141         Renamed to ...
17142         (__WORDSIZE_TIME64_COMPAT32): This.
17143         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17144         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17145         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17146         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17147         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17148         (__WORDSIZE_TIME64_COMPAT32): New macro.
17150 2012-05-21  Andreas Jaeger  <aj@suse.de>
17152         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17153         only if [SHARED]. Add prototype for __wcschr_ia32.
17155 2012-05-21  Roland McGrath  <roland@hack.frob.com>
17157         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17158         of %rbp unmolested in the jmp_buf while mangling the low bits.
17159         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17160         unmolested high bits of %rbp while demangling the low bits.
17161         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17163 2012-05-21  Andreas Jaeger  <aj@suse.de>
17165         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17166         * sunrpc/svc_simple.c: Use it for registerrpc.
17167         * sunrpc/xcrypt.c: Use it for passwd2des.
17169         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17171 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
17173         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17174         Don't define if [__SYSCALL_WORDSIZE != 32].
17175         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17176         New macro.
17178 2012-05-21  Bruno Haible  <bruno@clisp.org>
17179             Andreas Jaeger  <aj@suse.de>
17181         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17182         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17183         inptr and inend for must_buffer_ch.
17184         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17185         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17186         * stdio-common/Makefile (tests): Remove bug15.
17187         (bug15-ENV): Remove macro.
17188         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17189         anymore.
17191 2012-05-19  Andreas Jaeger  <aj@suse.de>
17192             Roland McGrath  <roland@hack.frob.com>
17194         * manual/contrib.texi: Completely rewritten. It contains now an
17195         alphabetical list of contributors and their contributions.
17197 2012-05-21  Richard Henderson  <rth@twiddle.net>
17199         * misc/getauxval.c (__getauxval): Use unsigned long int.
17200         * misc/sys/auxv.h: Include <sys/cdefs.h>.
17201         (getauxval): Use unsigned long int.
17203 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
17205         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17207 2012-05-21  Roland McGrath  <roland@hack.frob.com>
17209         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17210         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17211         __alignof__ (long double).
17213 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17217 2012-05-20  Richard Henderson  <rth@twiddle.net>
17219         * misc/getauxval.c: New file.
17220         * misc/sys/auxv.h: New file.
17221         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17222         (routines): Add getauxval.
17223         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17224         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17225         * elf/dl-sysdep.c (_dl_auxv): Remove.
17226         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17227         * elf/dl-support.c (_dl_auxv): New variable.
17228         (_dl_aux_init): Initialize it.
17229         * manual/startup.texi (Auxiliary Vector): New node.
17230         * sysdeps/generic/bits/hwcap.h: New file.
17231         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17232         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
17233         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17234         * sysdeps/sparc/sysdep.h: ... here.  Include it.
17235         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17236         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17238         Update.
17239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17242         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17248 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17250         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17252 2012-05-19  David S. Miller  <davem@davemloft.net>
17254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17256 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
17258         [BZ #14123]
17259         * math/s_ccosh.c: Include <float.h>
17260         (__ccosh): Avoid internal overflow calculating sinh and cosh
17261         values before multiplying by sin and cos values.
17262         * math/s_ccoshf.c: Likewise.
17263         * math/s_ccoshl.c: Likewise.
17264         * math/s_csin.c: Likewise.
17265         * math/s_csinf.c: Likewise.
17266         * math/s_csinl.c: Likewise.
17267         * math/s_csinh.c: Likewise.
17268         * math/s_csinhf.c: Likewise.
17269         * math/s_csinhl.c: Likewise.
17270         * math/libm-test.inc (ccos_test): Add more tests.
17271         (ccosh_test): Likewise.
17272         (csin_test): Likewise.
17273         (csinh_test): Likewise.
17274         * sysdeps/i386/fpu/libm-test-ulps: Update.
17275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17277 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17279         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17280         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17282         * sysdeps/x86_64/x32/_itoa.h: Add comment.
17284 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
17286         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17287         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17288         * sysdeps/powerpc/soft-fp/Versions: Likewise.
17289         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17290         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17291         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17292         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17293         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17294         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17295         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17296         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17297         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17298         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17299         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17300         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17301         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17302         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17303         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17304         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17305         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17306         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17307         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17308         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17309         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17310         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17311         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17312         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17313         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17314         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17315         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17316         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17318 2012-05-18  Andreas Jaeger  <aj@suse.de>
17320         * csu/.gitignore: Delete.
17322 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17324         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17325         (timex): Use __syscall_slong_t.
17327 2012-05-18  Andreas Jaeger  <aj@suse.de>
17328             Carlos O'Donell  <carlos_odonell@mentor.com>
17330         * manual/install.texi (Configuring and compiling): Update
17331         description about files modified in the source directory.
17332         * INSTALL: Regenerated.
17334 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17336         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17337         value.  Use "or" to set return value to -1.
17338         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17339         negate return value.
17341 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17343         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17344         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17345         failure if the compiler has Graphite support disabled.
17346         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17347         Likewise.
17348         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17349         CFLAGS-memmove.c): Likewise.
17350         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17351         Likewise.
17353 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17355         * sysdeps/x86_64/x32/_itoa.h: New file.
17357         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17358         getdents system call only if kernel and user dirents have the
17359         same d_ino and d_off.
17361         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17362         LLONG_MAX != LONG_MAX.
17363         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17364         (_fitoa_word): Likewise.
17366         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17367         years.
17368         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17369         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17370         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17372         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17373         include <bits/wordsize.h>.  Check __x86_64__ instead of
17374         __WORDSIZE.
17375         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17376         if __x86_64__ is defined.  Use anonymous union on fpstate.
17378         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17379         anonymous union.
17381 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
17383         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17384         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17385         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17386         Refer to _rtld_local_ro instead of _rtld_global_ro.
17387         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17388         Likewise.
17389         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17390         Likewise.
17391         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17392         Likewise.
17393         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17394         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17395         of _rtld_global, and rtld_progname instead of _dl_argv[0].
17397         * sysdeps/powerpc/powerpc32/dl-machine.c
17398         (__elf_machine_runtime_setup) [PROF]: Don't reference
17399         _dl_prof_resolve.
17401 2012-05-18  Andreas Jaeger  <aj@suse.de>
17403         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17404         function only available for GCCs before 3.4 since GCC 3.4
17405         introduced a builtin.
17406         (lrint): Likewise.
17407         (llrintf): Likewise.
17408         (llrint): Likewise.
17409         (fmaxf): Likewise.
17410         (fmax): Likewise.
17411         (fminf): Likewise.
17412         (fmin): Likewise.
17413         (rint): Likewise.
17414         (rintf): Likewise.
17415         (nearbyint): Likewise.
17416         (nearbyintf): Likewise.
17417         (ceil): Likewise.
17418         (ceilf): Likewise.
17419         (floor): Likewise.
17420         (floorf): Likewise.
17422 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17424         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17425         on both fields and cast pointer to __syscall_ulong_t.
17427         * bits/types.h (__fsword_t): New type.
17428         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17429         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17430         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17431         (__FSWORD_T_TYPE): Likewise.
17432         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17433         (__FSWORD_T_TYPE): Likewise.
17434         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17435         (__FSWORD_T_TYPE): Likewise.
17436         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17437         (__FSWORD_T_TYPE): Likewise.
17438         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17439         __SWORD_TYPE with __fsword_t.
17440         (statfs64): Likewise.
17442 2012-05-17  David S. Miller  <davem@davemloft.net>
17444         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17446 2012-05-17  Andreas Jaeger  <aj@suse.de>
17448         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17449         warning.
17451 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17453         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17455 2012-05-17  Andreas Jaeger  <aj@suse.de>
17457         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17458         when it is used.
17460 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
17462         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17464 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17466         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17467         * sysdeps/x86_64/tst-mallocalign1.c: New file.
17469 2012-05-17  Andreas Jaeger  <aj@suse.de>
17470             Carlos O'Donell  <carlos_odonell@mentor.com>
17472         [BZ #14059]
17473         * sysdeps/x86_64/multiarch/init-arch.h
17474         (bit_YMM_Usable): Rename to...
17475         (bit_AVX_Usable): ... this.
17476         (bit_FMA4_Usable): New macro.
17477         (bit_XMM_state): New macro.
17478         (bit_YMM_state): New macro.
17479         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17480         [__ASSEMBLER__] (index_AVX_Usable): ... this.
17481         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17482         (CPUID_OSXSAVE): New macro.
17483         (CPUID_AVX): New macro.
17484         (CPUID_FMA4): New macro.
17485         (index_YMM_Usable): Rename to...
17486         (index_AVX_Usable): ... this.
17487         (HAS_AVX): Use HAS_ARCH_FEATURE.
17488         (HAS_FMA4): Likewise.
17489         (HAS_YMM_USABLE): Remove.
17490         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17491         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17492         are present.
17493         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17494         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17495         * sysdeps/x86_64/multiarch/Makefile: Likewise.
17496         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17497         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17499 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
17501         * math/libm-test.c: Support platforms without multiple rounding modes.
17502         * math/bug-nextafter.c: Support platforms without FP exceptions.
17503         * math/bug-nexttoward.c: Likewise.
17504         * math/test-fenv.c: Likewise.
17505         * math/test-misc.c: Likewise.
17506         * stdlib/bug-getcontext.c: Likewise.
17508 2012-05-17  Andreas Jaeger  <aj@suse.de>
17510         * manual/examples/search.c (critter_cmp): Change signature to
17511         avoid warnings.
17512         * manual/string.texi (Collation Functions): Likewise.
17514 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17516         * bits/types.h: Fold copyright years.
17517         * bits/typesizes.h: Likewise.
17518         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17519         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17520         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17521         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17522         * time/time.h: Likewise.
17524 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
17526         [BZ #208]
17527         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17528         in instead of returning them.  Return void.
17529         (__libc_mallinfo): Accumulate over all arenas.
17530         (__malloc_stats): Adjust for change in int_mallinfo interface.
17532 2012-05-16  Roland McGrath  <roland@hack.frob.com>
17534         [BZ #10375]
17535         * configure.in (NM): Add AC_CHECK_TOOL for it.
17536         (libc_extra_cflags): New substituted variable.
17537         Check for -fstack-protector being used implicitly.
17538         * configure: Regenerated.
17539         * config.make.in (config-extra-cflags): New variable,
17540         gets @libc_extra_cflags@.
17541         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17543         [BZ #10375]
17544         * configure.in: Check for _FORTIFY_SOURCE being predefined.
17545         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17546         * configure: Regenerated.
17547         * config.make.in (CPPUNDEFS): New substituted variable.
17548         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17549         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17550         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17552 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17554         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17555         (mq_attr): Use __syscall_slong_t.
17557 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17559         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17560         Check __x86_64__ instead of __WORDSIZE.
17561         (_STAT_VER_LINUX): Likewise.
17562         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
17563         __syscall_ulong_t and __syscall_slong_t.
17564         (stat64): Likewise.
17566 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17568         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17570 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17572         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17574 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17576         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17577         __syscall_ulong_t.
17579         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17580         include <bits/wordsize.h>.  Check __x86_64__ instead of
17581         __WORDSIZE.
17582         (greg_t): Use "__extension__ long long int" if __x86_64__ is
17583         defined.
17584         (mcontext_t): Replace "unsigned long" with "unsigned long long".
17586         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17587         include <bits/wordsize.h>.  Check __x86_64__ instead of
17588         __WORDSIZE.
17589         (user_regs_struct): Use "__extension__ unsigned long long"
17590         instead of "unsigned long" if __x86_64__ is defined.
17591         (user): Likewise.  Pad after pointer field if __ILP32__ is
17592         defined.
17594 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
17596         * configure.in (makeinfo): Require version 4.5 or later.  Allow
17597         versions 5 to 9.
17598         * configure: Regenerated.
17599         * manual/install.texi (texinfo): Increase version requirement to
17600         4.5 or later.
17601         * INSTALL: Regenerated.
17603         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17605 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17607         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17609         * sysdeps/x86_64/x32/ffs.c: New file.
17611         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17612         __syscall_ulong_t.
17613         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17614         defined.  Use __syscall_ulong_t.
17615         (shminfo): Use __syscall_ulong_t.
17616         (shm_info): Likewise.
17618         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17619         __syscall_ulong_t.
17621         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17622         <bits/wordsize.h>.
17623         (msgqnum_t): Use __syscall_ulong_t.
17624         (msglen_t): Likewise.
17625         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
17626         __syscall_ulong_t.
17628         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17629         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17631         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17633         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17634         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17636         * sysvipc/sys/msg.h (msgbuf): Replace long int with
17637         __syscall_slong_t.
17639         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17640         include <bits/wordsize.h>.  Check __x86_64__ instead of
17641         __WORDSIZE.
17643         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17644         "unsigned long long int" if __x86_64__ is defined.
17645         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17647         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17648         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17649         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17651         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17652         <stdint.h>.
17653         (GET_PC): Cast to uintptr_t first.
17654         (GET_FRAME): Likewise.
17655         (GET_STACK): Likewise.
17657         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17658         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17659         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17660         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17661         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17662         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17663         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17664         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17665         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17666         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17667         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17668         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17669         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17670         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17671         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17672         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17673         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17674         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17675         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17676         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17677         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17678         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17679         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17680         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17681         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17682         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17683         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17684         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17685         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17687 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
17689         * Makerules (+depfiles): Also collect depfiles from .oS in
17690         $(extra-objs).
17691         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17692         .oS, $(libnldbl-routines)).
17694         * Makerules (native-compile-mkdep-flags): Define.
17695         * sunrpc/Makefile (extra-objs): Add $(addprefix
17696         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17697         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17698         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
17699         calling $(make-target-directory).
17701 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17703         * bits/types.h (__snseconds_t): Removed.
17704         * time/time.h (struct timespec): Replace __snseconds_t with
17705         __syscall_slong_t.
17706         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17707         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17708         Likewise.
17709         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17710         (__SNSECONDS_T_TYPE): Likewise.
17711         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17712         (__SNSECONDS_T_TYPE): Likewise.
17713         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17714         (__SNSECONDS_T_TYPE): Likewise.
17716 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17718         * sysdeps/mach/hurd/bits/typesizes.h
17719         (__SYSCALL_SLONG_TYPE): New macro.
17720         (__SYSCALL_ULONG_TYPE): Likewise.
17722 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17724         * bits/types.h (__syscall_slong_t): New type.
17725         (__syscall_ulong_t): Likewise.
17727         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17728         (__SYSCALL_ULONG_TYPE): Likewise.
17729         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17730         (__SYSCALL_SLONG_TYPE): Likewise.
17731         (__SYSCALL_ULONG_TYPE): Likewise.
17732         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17733         (__SYSCALL_SLONG_TYPE): Likewise.
17734         (__SYSCALL_ULONG_TYPE): Likewise.
17735         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17736         (__SYSCALL_SLONG_TYPE): Likewise.
17737         (__SYSCALL_ULONG_TYPE): Likewise.
17739 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17741         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17742         Add sigaltstack-offsets.sym.
17743         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17744         <sigaltstack-offsets.h>.
17745         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
17746         longjmp_msg pointer.
17747         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
17748         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17749         signal stack.
17750         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17752 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
17754         * elf/stackguard-macros.h: Remove file.
17755         * sysdeps/generic/stackguard-macros.h: New file.
17756         * sysdeps/i386/stackguard-macros.h: Likewise.
17757         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17758         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17759         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17760         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17761         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17762         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17763         * sysdeps/x86_64/stackguard-macros.h: Likewise.
17764         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17765         <elf/stackguard-macros.h>.
17767         [BZ #14109]
17768         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17769         __aligned__ in attribute.
17770         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17771         (gregset_t): Likewise.
17773 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17775         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17776         * sysdeps/x86_64/64/Implies-after: Here.  New file.
17777         * sysdeps/x86_64/x32/Implies-after: New file.
17779 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17781         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17782         and access return value for _dl_profile_fixup.  Use R10_LP to
17783         load frame size.
17785 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17787         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17789 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17791         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17792         * sysdeps/x86_64/x32/sysdep.h: New file.
17794 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17796         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17797         * sysdeps/x86_64/setjmp.S: Likewise.
17799 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17801         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17802         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17803         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17804         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17805         remove unused global constant.
17807 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
17809         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17810         include of <not-cancel.h>.
17812 2012-05-15  Roland McGrath  <roland@hack.frob.com>
17814         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17816 2012-05-15  Jeff Law  <law@redhat.com>
17817             Andreas Jaeger  <aj@suse.de>
17819         [BZ #13594]
17820         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17821         out from...
17822         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17823         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17824         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17825         code changing __hst_map_handle.map.
17827 2012-05-15  Roland McGrath  <roland@hack.frob.com>
17829         * configure.in (sysnames): Look for Implies-before and Implies-after
17830         files.
17831         * configure: Regenerated.
17833 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17835         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17836         8-byte data alignment with LP_SIZE alignment.
17838 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17840         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17841         into R10_LP.
17843 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17845         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17847 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17849         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17850         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17851         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17852         Likewise.
17853         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17855 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17857         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17858         (stackinfo_sub_sp): Likewise.
17860 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17862         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17863         RAX_LP.
17865 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17867         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17868         into R*_LP.
17870 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17872         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17873         sizes into R*_LP.
17875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17877         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17879 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17881         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17882         into R11_LP and load __x86_64_shared_cache_size_half into
17883         R8_LP.
17885 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17887         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17888         R8_LP.
17890 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17892         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17893         logb for POWER7.
17894         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17895         logbf for POWER7.
17896         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17897         logbl for POWER7.
17898         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17899         powerpc32/power7/fpu/s_logb.c via #include.
17900         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17901         powerpc32/power7/fpu/s_logbf.c via #include.
17902         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17903         powerpc32/power7/fpu/s_logbl.c via #include.
17905 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
17907         * README.libm: Remove file.
17909 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17911         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17912         count for x32.  Use R*_LP and omit operand-size suffix.
17914 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17916         * shlib-versions: Move x86_64-.*-linux.* entries to ...
17917         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
17918         * sysdeps/x86_64/x32/shlib-versions: New file.
17920 2012-05-14  Roland McGrath  <roland@hack.frob.com>
17922         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17923         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17924         Use _dl_fatal_printf instead.
17926 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
17928         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17929         set if not set by the user.  Do not allow for being unset.
17930         * sysdeps/unix/sysv/linux/configure: Regenerated.
17932 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17934         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17935         the `q' suffix from lea and replace .quad with ASM_ADDR.
17937 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17939         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17940         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
17941         instead of $17.
17942         (PTR_DEMANGLE): Likewise.
17944 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17946         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17947         (LP_OP): Likewise.
17948         (ASM_ADDR): Likewise.
17949         (RAX_LP): Likewise.
17950         (RBP_LP): Likewise.
17951         (RBX_LP): Likewise.
17952         (RCX_LP): Likewise.
17953         (RDI_LP): Likewise.
17954         (RSI_LP): Likewise.
17955         (RSP_LP): Likewise.
17956         (R8_LP): Likewise.
17957         (R9_LP): Likewise.
17958         (R10_LP): Likewise.
17959         (R10_LP): Likewise.
17960         (R11_LP): Likewise.
17961         (R12_LP): Likewise.
17962         (R13_LP): Likewise.
17963         (R14_LP): Likewise.
17964         (R15_LP): Likewise.
17966 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17968         * sysdeps/x86_64/x32/dl-machine.h: New file.
17970 2012-05-14  Andreas Jaeger  <aj@suse.de>
17972         * manual/Makefile (subdir): Remove export of subdir.
17973         (all): Remove target.
17974         (.PHONY): Remove all from list.
17975         (mkinstalldirs): Remove.
17976         (.PHONY): Remove installdirs from list.
17977         ($(inst_infodir)/libc.info): Use make-target-directory.
17978         (installdirs): Remove.
17979         (subdir_%): Remove.
17980         (glibc-targets): Remove.
17981         (lib): Remove.
17982         (stubs): Remove.
17983         ($(objpfx)stubs ../po/manual.pot): Remove.
17984         ($(objpfx)stamp%): Remove.
17985         (make-target-directory): Remove.
17986         (subdir_install): Remove.
17987         (routines): Remove.
17988         (aux): Remove.
17989         (sources): Remove.
17990         (objects): Remove.
17991         (headers): Remove.
17993         [BZ #13750]
17994         * manual/.gitignore: Remove, it's not needed anymore.
17995         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17996         all files in it.
17997         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17998         directory.
17999         (texis): Renamed to $(objpfx)texis.
18000         (texis-path): New, contains path to generated files.
18001         (chapters.%): Use texis-path for complete path, add extra argument
18002         libc-texinfo.sh.
18003         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18004         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18005         (summary,texi, stamp-summary): Use complete path of
18006         files. Generate files in build dir.
18007         (dir-add.texi): Build in build dir.
18008         (libm-err.texi,stamp-libm-err): Likewise.
18009         (version.texi, stamp-version): Likewise.
18010         (.%c.texi): Likewise.
18011         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18012         (mostlyclean): Remove target.
18013         (realclean): Remove target.
18014         (generated): Add new variable with contents from mostlyclean and
18015         realclean, remove entries duplicated in common-mostlyclean, add
18016         stamp-libm-err and stamp-version.
18017         (generated-dirs): Add libc directory.
18018         ($(inst_infodir)/libc.info): Install files from build dir.
18020         * manual/install.texi (Configuring and compiling): Adjust since
18021         the info files are not part of the tar ball anymore.
18023 2012-05-14  Andreas Jaeger  <aj@suse.de>
18025         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18026         variable.
18028 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
18030         [BZ #13717]
18031         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18032         to 2.2.0 where earlier.
18033         * sysdeps/unix/sysv/linux/configure: Regenerated.
18034         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18035         Remove conditional code.
18036         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18037         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18038         Remove conditional code.
18039         [!__NR_lchown]: Likewise.
18040         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18041         [__NR_lchown]: Likewise.
18042         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18043         comment referencing __ASSUME_LCHOWN_SYSCALL.
18044         * sysdeps/unix/sysv/linux/i386/sigaction.c
18045         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18046         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18047         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18048         Remove conditional code.
18049         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18050         (__protocol_available): Remove #if 0 code.
18051         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18052         conditional code.
18053         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18054         * sysdeps/unix/sysv/linux/kernel-features.h
18055         (__ASSUME_GETCWD_SYSCALL): Don't define.
18056         (__ASSUME_REALTIME_SIGNALS): Likewise.
18057         (__ASSUME_PREAD_SYSCALL): Likewise.
18058         (__ASSUME_PWRITE_SYSCALL): Likewise.
18059         (__ASSUME_POLL_SYSCALL): Likewise.
18060         (__ASSUME_LCHOWN_SYSCALL): Likewise.
18061         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18062         non-SPARC.
18063         (__ASSUME_SIOCGIFNAME): Don't define.
18064         (__ASSUME_MSG_NOSIGNAL): Likewise.
18065         (__ASSUME_SENDFILE): Define unconditionally.
18066         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18067         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18068         conditional code.
18069         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18070         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18071         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18072         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18073         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18074         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18075         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18077         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18078         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18080         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18081         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18083         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18084         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18086         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18087         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18089         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18090         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18092         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18093         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18095         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18096         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18098         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18099         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18100         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18101         Remove conditional code.
18102         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18103         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18104         Remove conditional code.
18105         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18106         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18107         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18108         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18109         Remove conditional code.
18110         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18111         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18112         Remove conditional code.
18113         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18114         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18115         Remove conditional code.
18116         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18117         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18118         Remove conditional code.
18119         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18120         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18121         Remove conditional code.
18122         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18123         * sysdeps/unix/sysv/linux/sh/pwrite64.c
18124         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18125         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18126         * sysdeps/unix/sysv/linux/sigaction.c
18127         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18128         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18129         * sysdeps/unix/sysv/linux/sigpending.c
18130         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18131         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18132         * sysdeps/unix/sysv/linux/sigprocmask.c
18133         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18134         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18135         * sysdeps/unix/sysv/linux/sigsuspend.c
18136         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18137         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18138         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18139         (__libc_missing_rt_sigs): Remove.
18140         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18141         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18142         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18143         Remove conditional code.
18144         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18145         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18146         return 1.
18147         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18148         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18149         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18150         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18152 2012-05-14  Andreas Jaeger  <aj@suse.de>
18154         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18155         it's not used in glibc.
18156         (__coshm1): Likewise.
18157         (__acosh1p): Likewise.
18158         (__sgn): Likewise.
18160         * manual/string.texi (Copying and Concatenation): Add missing
18161         variable in concat example.
18162         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18164 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18166         [BZ #14103]
18167         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18168         __builtin_clzl with __builtin_clzll.
18170 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18172         [BZ #14104]
18173         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18174         libc_freeres_ptr.
18176 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18178         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18179         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18180         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18181         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18183 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
18185         * NEWS: Update ia64 info.
18187 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
18189         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18190         used as bcopy.
18192 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
18194         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18195         * sysdeps/unix/syscalls.list (dup3): Likewise.
18196         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18197         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18199 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
18201         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18202         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18204 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
18206         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18207         thread pointer.
18208         (TLS_IE): Use mov/add instead of movq/addq to load thread
18209         pointer.
18210         (TLS_GD_PREFIX): New.
18211         (TLS_GD): Use it.
18213 2012-05-11  David S. Miller  <davem@davemloft.net>
18215         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18216         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18217         (_FPU_SETCW): Likewise.
18219 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18221         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18222         is 32-byte aligned.
18224 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
18226         [BZ #11837]
18227         * iconvdata/gb18030.c: Update tables.
18228         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
18229         characters specially.
18230         (BODY for TO_LOOP): Add encoding of missing ranges.
18232 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
18234         [BZ #13673]
18235         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18236         * sysdeps/mach/hurd/dup3.c: Likewise.
18237         * sysdeps/mach/hurd/readlinkat.c: Likewise.
18238         * sysdeps/powerpc/memmove.c:: Likewise.
18240 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18242         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18243         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18245 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18247         * elf/elf.h (R_X86_64_RELATIVE64): New.
18248         (R_X86_64_NUM): Updated.
18249         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18250         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
18251         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18252         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18253         tst-quad1pie tst-quad2pie
18254         (modules-names): Add tst-quadmod1 tst-quadmod2.
18255         ($(objpfx)tst-quad1): New dependency.
18256         ($(objpfx)tst-quad2): Likewise.
18257         ($(objpfx)tst-quad1pie): Likewise.
18258         ($(objpfx)tst-quad2pie): Likewise.
18259         * sysdeps/x86_64/tst-quad1.c: New file.
18260         * sysdeps/x86_64/tst-quad1pie.c: New file.
18261         * sysdeps/x86_64/tst-quad2.c: Likewise.
18262         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18263         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18264         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18265         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18266         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18268 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18270         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18271         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18272         * streams/stropts.h (t_scalar_t): Define type.
18274         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18275         (_PATH_PRESERVE): Set to "/var/lib".
18276         (_PATH_RWHODIR): Set to "/var/spool/rwho".
18278         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18279         instead of int.
18281         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18282         if __dir_mkfile succeeded.
18284         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18285         checking for _hurd_dtablesize.  Unlock it right after having
18286         finished _hurd_dtable allocation.
18288 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18290         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18291         * sysdeps/mach/hurd/configure: Regenerated.
18292         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18293         special-casing to...
18294         * sysdeps/gnu/configure.in: ... this new file.
18295         * sysdeps/unix/sysv/linux/configure: Regenerated.
18296         * sysdeps/gnu/configure: New generated file.
18298         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18299         for Linux: use nsec instead of usec, as well as:
18300         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18301         members of type struct timespec.
18302         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18303         New macros.
18304         (struct stat64): Likewise.
18305         (_STATBUF_ST_NSEC): New macro.
18306         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18308         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18309         __strtoul_internal rather than strtoul.
18311 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18313         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18314         and reject them.
18316 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18318         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18319         which preserves existing values.
18320         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18322 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18324         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18325         TIMEOUT values.  Return EINVAL for NFDS values either negative or
18326         greater than FD_SETSIZE.
18328 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18330         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18331         allocated, call __vm_protect to finish enabling the existing space, and
18332         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18333         allocate the remainder.
18335 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18337         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18338         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
18340 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18342         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18343         sysdeps/mach/hurd/readlink.c.
18345         * posix/tst-sysconf.c (posix_options): Only use
18346         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18347         _POSIX_SYNCHRONIZED_IO when they are defined
18348         * sysdeps/mach/hurd/bits/posix_opt.h:
18349         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18350         (_XOPEN_REALTIME): Undefine macro.
18351         (_XOPEN_REALTIME_THREADS): Undefine macro.
18352         (_XOPEN_SHM): Undefine macro.
18353         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18354         macro to -1.
18355         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18356         macro to -1.
18357         (_POSIX_ASYNC_IO): Undefine macro.
18358         (_POSIX_PRIORITIZED_IO): Undefine macro.
18359         (_POSIX_SPIN_LOCKS): Define macro to -1.
18361         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18362         SA_NODEFER, SA_RESETHAND.
18363         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18364         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18365         F_DUPFD_CLOEXEC.
18367 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18369         * elf/Makefile (pldd-modules): Define unconditionally.
18371 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18373         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18375 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18377         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18378         Return ENOENT when name is empty.
18379         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18381 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18383         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18385         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18387 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18389         Fix mlock in all cases except non-readable pages.
18390         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18391         instead of VM_PROT_ALL as parameter to __vm_wire function.
18393         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18394         (__mkdir): When path is `/', just fail with EEXIST.
18395         * sysdeps/mach/hurd/mkdirat.c: Likewise.
18397 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18399         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18400         <sys/uio.h> (for writev).
18401         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18402         and <sys/param.h> (for MIN).
18404 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18406         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18407         REQUESTED_TIME.  Properly set the remaining time and return EINTR
18408         if interrupted.
18410 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18412         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18413         Depend on against $(link-rpcuserlibs).
18415 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18417         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18418         (__libc_stack_end): Do not use attribute_relro.
18419         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18420         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
18421         to libthread-provided value.
18422         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18423         attribute_relro.
18425 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18427         [BZ #3748]
18428         * bits/libc-lock.h (__libc_once_get): New macro.
18429         * sysdeps/mach/bits/libc-lock.h: Likewise.
18430         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18431         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18432         instead of using implementation details.
18434         * libio/fileops.c: Unconditionally include <kernel-features.h>.
18435         * libio/freopen.c: Likewise.
18436         * libio/freopen64.c: Likewise.
18437         * misc/syslog.c: Likewise.
18438         * nscd/connections.c: Likewise.
18439         * nscd/netgroupcache.c: Likewise.
18440         * sysdeps/posix/getcwd.c: Likewise.
18442 2012-05-10  Roland McGrath  <roland@hack.frob.com>
18444         * math/w_ilogbf.c: Add #include <limits.h>.
18446 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18448         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
18449         path instead of returning without unlocking.
18451         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18452         immediate-write ioctls.
18453         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18455 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18457         * sysdeps/mach/hurd/i386/init-first.c (init): Use
18458         __builtin_frame_address instead of making assumptions about the
18459         location of the return address relative to DATA.  Force early load of
18460         the return address.
18461         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18462         __builtin_frame_address.
18464         dup3 for GNU Hurd.
18465         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18466         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
18467         implement dup3 and do some further code clean-ups.
18468         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18469         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18471 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18473         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18475         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18476         HURD_CRITICAL_END around holding _hurd_dtable_lock.
18477         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18478         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18479         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18480         d->port.lock.
18482         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18483         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
18484         when handler == SIG_ERR, not when handler != SIG_ERR.
18486 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18488         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18489         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18490         definitions.
18492         accept4 for GNU Hurd.
18493         * include/sys/socket.h (__libc_accept4): New prototype.
18494         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
18495         to implement __libc_accept4.
18496         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18497         __libc_accept4.
18498         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18500         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18501         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18502         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18503         signal-defines.sym.
18505 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18507         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
18509 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18511         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18512         assertion on O_CLOEXEC flag.
18513         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18514         * hurd/intern-fd.c: Likewise.
18515         * hurd/port2fd.c: Likewise.
18517 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18519         [BZ #3906]
18520         * bits/in.h (IPV6_PKTINFO): Define new macro.
18521         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18523 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18525         [BZ #13954]
18526         [BZ #13955]
18527         [BZ #13956]
18528         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18529         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18530         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18531         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18532         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18533         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18534         * math/libm-test.inc (logb_test) : Additional logb tests.
18536 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
18537             Andreas Jaeger  <aj@suse.de>
18539         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18540         * configure: Regenerated.
18541         * config.h.in (LINK_OBSOLETE_RPC): New macro.
18542         * config.make.in (link-obsolete-rpc): New substituted variable.
18543         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18544         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18545         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18546         (shared-only-routines): Don't set it under [link-obsolete-rpc],
18547         so that libc.a contains the symbols.
18548         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18549         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18550         * sunrpc/auth_none.c: Likewise.
18551         * sunrpc/auth_unix.c: Likewise.
18552         * sunrpc/authdes_prot.c: Likewise.
18553         * sunrpc/authuxprot.c: Likewise.
18554         * sunrpc/clnt_gen.c: Likewise.
18555         * sunrpc/clnt_perr.c: Likewise.
18556         * sunrpc/clnt_raw.c: Likewise.
18557         * sunrpc/clnt_simp.c: Likewise.
18558         * sunrpc/clnt_tcp.c: Likewise.
18559         * sunrpc/clnt_udp.c: Likewise.
18560         * sunrpc/clnt_unix.c: Likewise.
18561         * sunrpc/des_crypt.c: Likewise.
18562         * sunrpc/des_soft.c: Likewise.
18563         * sunrpc/get_myaddr.c: Likewise.
18564         * sunrpc/key_call.c: Likewise.
18565         * sunrpc/key_prot.c: Likewise.
18566         * sunrpc/netname.c: Likewise.
18567         * sunrpc/pm_getmaps.c: Likewise.
18568         * sunrpc/pm_getport.c: Likewise.
18569         * sunrpc/pmap_clnt.c: Likewise.
18570         * sunrpc/pmap_prot.c: Likewise.
18571         * sunrpc/pmap_prot2.c: Likewise.
18572         * sunrpc/pmap_rmt.c: Likewise.
18573         * sunrpc/publickey.c: Likewise.
18574         * sunrpc/rpc_cmsg.c: Likewise.
18575         * sunrpc/rpc_common.c: Likewise.
18576         * sunrpc/rpc_dtable.c: Likewise.
18577         * sunrpc/rpc_prot.c: Likewise.
18578         * sunrpc/rpc_thread.c: Likewise.
18579         * sunrpc/rtime.c: Likewise.
18580         * sunrpc/svc.c: Likewise.
18581         * sunrpc/svc_auth.c: Likewise.
18582         * sunrpc/svc_raw.c: Likewise.
18583         * sunrpc/svc_run.c: Likewise.
18584         * sunrpc/svc_tcp.c: Likewise.
18585         * sunrpc/svc_udp.c: Likewise.
18586         * sunrpc/svc_unix.c: Likewise.
18587         * sunrpc/svcauth_des.c: Likewise.
18588         * sunrpc/xcrypt.c: Likewise.
18589         * sunrpc/xdr.c: Likewise.
18590         * sunrpc/xdr_array.c: Likewise.
18591         * sunrpc/xdr_float.c: Likewise.
18592         * sunrpc/xdr_intXX_t.c: Likewise.
18593         * sunrpc/xdr_mem.c: Likewise.
18594         * sunrpc/xdr_rec.c: Likewise.
18595         * sunrpc/xdr_ref.c: Likewise.
18596         * sunrpc/xdr_sizeof.c: Likewise.
18597         * sunrpc/xdr_stdio.c: Likewise.
18599 2012-05-10  Roland McGrath  <roland@hack.frob.com>
18601         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18602         change.  Update copyright years.
18604 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
18606         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18608 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
18609             Joseph Myers  <joseph@codesourcery.com>
18610             Paul Pluzhnikov  <ppluzhnikov@google.com>
18612         [BZ #14012]
18613         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18614         requiring rpcgen.
18615         [cross-compiling] (extra-libs): Likewise.
18616         [cross-compiling] (extra-libs-others): Likewise.
18617         [cross-compiling] (librpcsvc-routines): Likewise.
18618         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18619         [cross-compiling] (omit-deps): Likewise.
18620         (sunrpc-CPPFLAGS): New variable.
18621         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18622         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18623         (cross-rpcgen-objs): New variable.
18624         (extra-objs): Append $(cross-rpcgen-objs).
18625         ($(cross-rpcgen-objs)): New rule.
18626         ($(objpfx)cross-rpcgen): Likewise.
18627         (rpcgen-cmd): Define to use $(built-program-file).  Expand
18628         comment.
18629         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18630         ($(objpfx)x%.stmp): Likewise.
18631         * sunrpc/proto.h [IS_IN_build] (_): Define.
18632         [IS_IN_build] (_libc_intl_domainname): Likewise.
18634 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18636         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18637         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18638         and R_X86_64_TPOFF64.
18640 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
18642         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18643         sysdeps/unix/sysv/syscalls.list.
18644         (stime): Likewise.
18645         (utime): Likewise.
18646         * sysdeps/unix/sysv/syscalls.list: Remove file.
18648 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
18650         [BZ #3440]
18651         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18652         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18653         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18654         (__LC_IDENTIFICATION): Make these macros useful in #if
18655         expressions, as required by C99.
18657 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
18659         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18660         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
18661         after this.
18663 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
18665         * stdlib/longlong.h: Updated from GCC.
18667 2012-05-09  Andreas Jaeger  <aj@suse.de>
18669         * nscd/nscd.c (run_modes): Make named enum, reorder so that
18670         default is first entry.
18671         (run_mode): Set type.
18672         (main): Remove informal message about syslog.
18673         (options): Fix typo.
18675         [BZ #14053]
18676         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
18677         to asm.
18678         (lrint): Likewise.
18679         (llrintf): Likewise.
18680         (llrint): Likewise.
18681         (rint): Likewise.
18682         (rintf): Likewise.
18683         (nearbyint): Likewise.
18684         (nearbyintf): Likewise.
18686 2012-05-09  Andreas Jaeger  <aj@suse.de>
18687             Pedro Alves  <palves@redhat.com>
18689         * nscd/nscd.c (run_mode): Use enum.
18690         (main): Cleanup coding style issue.
18692 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
18693             Andreas Jaeger  <aj@suse.de>
18695         * nscd/nscd.c (go_background): Replaced with...
18696         (run_mode): ... this.
18697         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
18698         (options): Add -F --foreground.
18699         (main): Implement it.
18700         (parse_opt): Parse it.
18702 2012-05-09  Andreas Jaeger  <aj@suse.de>
18704         [BZ #14083]
18705         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18706         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18707         -Wconversion warning.
18708         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18709         Likewise.
18711 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
18713         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
18714         == 0.
18715         (LC_ALL): Use macro-int-constant.
18716         (LC_COLLATE): Likewise.
18717         (LC_CTYPE): Likewise.
18718         (LC_MESSAGES): Likewise.
18719         (LC_MONETARY): Likewise.
18720         (LC_NUMERIC): Likewise.
18721         (LC_TIME): Likewise.
18722         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18723         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18724         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18725         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18726         Specify type.
18727         [C99-based standards] (float_t): Expect type.
18728         [C99-based standards] (double_t): Expect type.
18729         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
18730         type.
18731         [C99-based standards] (HUGE_VALL): Likewise.
18732         [C99-based standards] (INFINITY): Likewise.
18733         [C99-based standards] (NAN): Likewise.
18734         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18735         [C99-based standards] (FP_NAN): Likewise.
18736         [C99-based standards] (FP_NORMAL): Likewise.
18737         [C99-based standards] (FP_SUBNORMAL): Likewise.
18738         [C99-based standards] (FP_ZERO): Likewise.
18739         [C99-based standards] (FP_FAST_FMA): Use
18740         optional-macro-int-constant.  Specify type.  Require == 1.
18741         [C99-based standards] (FP_FAST_FMAF): Likewise.
18742         [C99-based standards] (FP_FAST_FMAL): Likewise.
18743         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18744         [C99-based standards] (FP_ILOGBNAN): Likewise.
18745         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18746         Specify type.
18747         [C99-based standards] (MATH_ERREXCEPT): Likewise.
18748         [C99-based standards] (math_errhandling): Specify type.
18749         [ISO99 || ISO11] (signgam): Do not allow.
18750         [non-C99-based standards] (copysignf): Do not allow.
18751         [non-C99-based standards] (exp2f): Likewise.
18752         [non-C99-based standards] (log2f): Likewise.
18753         [non-C99-based standards] (modff): Allow.
18754         [non-C99-based standards] (erff): Do not allow.
18755         [non-C99-based standards] (erfcf): Likewise.
18756         [non-C99-based standards] (gammaf): Likewise.
18757         [non-C99-based standards] (hypotf): Likewise.
18758         [non-C99-based standards] (j0f): Likewise.
18759         [non-C99-based standards] (j1f): Likewise.
18760         [non-C99-based standards] (jnf): Likewise.
18761         [non-C99-based standards] (lgammaf): Likewise.
18762         [non-C99-based standards] (tgammaf): Likewise.
18763         [non-C99-based standards] (y0f): Likewise.
18764         [non-C99-based standards] (y1f): Likewise.
18765         [non-C99-based standards] (ynf): Likewise.
18766         [non-C99-based standards] (isnanf): Likewise.
18767         [non-C99-based standards] (acoshf): Likewise.
18768         [non-C99-based standards] (asinhf): Likewise.
18769         [non-C99-based standards] (atanhf): Likewise.
18770         [non-C99-based standards] (cbrtf): Likewise.
18771         [non-C99-based standards] (expm1f): Likewise.
18772         [non-C99-based standards] (ilogbf): Likewise.
18773         [non-C99-based standards] (log1pf): Likewise.
18774         [non-C99-based standards] (logbf): Likewise.
18775         [non-C99-based standards] (nextafterf): Likewise.
18776         [non-C99-based standards] (remainderf): Likewise.
18777         [non-C99-based standards] (rintf): Likewise.
18778         [non-C99-based standards] (scalbf): Likewise.
18779         [non-C99-based standards] (copysignl): Likewise.
18780         [non-C99-based standards] (exp2l): Likewise.
18781         [non-C99-based standards] (log2l): Likewise.
18782         [non-C99-based standards] (modfl): Allow.
18783         [non-C99-based standards] (erfl): Do not allow.
18784         [non-C99-based standards] (erfcl): Likewise.
18785         [non-C99-based standards] (gammal): Likewise.
18786         [non-C99-based standards] (hypotl): Likewise.
18787         [non-C99-based standards] (j0l): Likewise.
18788         [non-C99-based standards] (j1l): Likewise.
18789         [non-C99-based standards] (jnl): Likewise.
18790         [non-C99-based standards] (lgammal): Likewise.
18791         [non-C99-based standards] (tgammal): Likewise.
18792         [non-C99-based standards] (y0l): Likewise.
18793         [non-C99-based standards] (y1l): Likewise.
18794         [non-C99-based standards] (ynl): Likewise.
18795         [non-C99-based standards] (isnanl): Likewise.
18796         [non-C99-based standards] (acoshl): Likewise.
18797         [non-C99-based standards] (asinhl): Likewise.
18798         [non-C99-based standards] (atanhl): Likewise.
18799         [non-C99-based standards] (cbrtl): Likewise.
18800         [non-C99-based standards] (expm1l): Likewise.
18801         [non-C99-based standards] (ilogbl): Likewise.
18802         [non-C99-based standards] (log1pl): Likewise.
18803         [non-C99-based standards] (logbl): Likewise.
18804         [non-C99-based standards] (nextafterl): Likewise.
18805         [non-C99-based standards] (remainderl): Likewise.
18806         [non-C99-based standards] (rintl): Likewise.
18807         [non-C99-based standards] (scalbl): Likewise.
18808         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18809         [non-C99-based standards] (FP_*): Do not allow.
18810         [C99-based standards] (FP_*): Change to
18811         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18812         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18813         allow.
18814         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18815         (SIG_ERR): Likewise.
18816         [X/Open-based standards] (SIG_HOLD): Likewise.
18817         (SIG_IGN): Likewise.
18818         (SIGABRT): Use macro-int-constant.  Specify type.  Require
18819         positive value.
18820         (SIGFPE): Likewise.
18821         (SIGILL): Likewise.
18822         (SIGINT): Likewise.
18823         (SIGSEGV): Likewise.
18824         (SIGTER): Likewise.
18825         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18826         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18827         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18828         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18829         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18830         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18831         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18832         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18833         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18834         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18835         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18836         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18837         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18838         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18839         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18840         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18841         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18842         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18843         [X/Open-based standards] (SIGTRAP): Likewise.
18844         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18845         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18846         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18847         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18848         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18849         allow.
18851 2012-05-08  Ian Wienand  <ianw@vmware.com>
18853         [BZ #14080]
18854         * time/tzset.c (__tzset_parse_tz): Update default rules for
18855         daylight time changes in the Energy Policy Act of 2005.
18857 2012-05-09  Andreas Jaeger  <aj@suse.de>
18859         [BZ #13983]
18860         * elf/ldconfig.c (parse_conf): Change string to make clear that
18861         ldconfig only issued a warning if ld.so.conf does not exist.
18863 2012-05-08  David S. Miller  <davem@davemloft.net>
18865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18866         movxtod instead of popping the value on the stack.
18868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18870 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
18872         * config.h.in: Add HAVE_ARM_PCS_VFP.
18874 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
18876         [BZ #13979]
18877         * include/features.h: Warn if user requests __FORTIFY_SOURCE
18878         checking but the checks are disabled for any reason.
18880 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
18882         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18883         and ELF64_R_TYPE with ELFW(R_TYPE).
18885 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
18887         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18888         (ulimit): Likewise.
18890         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18891         (settimeofday): Likewise.
18893 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
18895         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
18896         a struct th_u2 inside the union, and move tu_block/tu_code into
18897         a new th_u3 union of tu_block/tu_code inside of that.  Move
18898         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
18899         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
18900         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18901         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18902         (th_stuff): Change to th_u1.tu_stuff.
18903         (th_data): Define.
18904         (th_msg): Change to th_u1.th_u2.tu_data.
18906 2012-05-07  David S. Miller  <davem@davemloft.net>
18908         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18910         [BZ #14074]
18911         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18912         (SETUP_PIC_REG): Use it.
18913         (SETUP_PIC_REG_LEAF): Use it.
18915 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
18917         [BZ #13885]
18918         [BZ #13923]
18919         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18920         USE_AS_EXPM1L.
18921         (EXPL_FINITE): Likewise.
18922         (FLDLOG): Likewise.
18923         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18924         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18925         e_expl.S.
18926         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18927         USE_AS_EXPM1L.
18928         (EXPL_FINITE): Likewise.
18929         (FLDLOG): Likewise.
18930         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18931         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18932         e_expl.S.
18933         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
18934         test of -max_value argument for long double.
18935         * sysdeps/i386/fpu/libm-test-ulps: Update.
18936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18938 2012-05-06  David S. Miller  <davem@davemloft.net>
18940         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18941         quad soft-float symbols whose references which are compiler
18942         generated.
18943         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18945 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
18947         [BZ #13884]
18948         [BZ #13914]
18949         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18950         USE_AS_EXP10L.
18951         (EXPL_FINITE): Likewise.
18952         (FLDLOG): Likewise.
18953         (c0): Likewise.
18954         (c1): Likewise.
18955         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
18956         Adjust comments for base varying.
18957         (__expl_finite): Change alias to EXPL_FINITE.
18958         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18959         e_expl.S.
18960         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18961         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18962         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18963         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18964         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18965         USE_AS_EXP10L.
18966         (EXPL_FINITE): Likewise.
18967         (FLDLOG): Likewise.
18968         (c0): Likewise.
18969         (c1): Likewise.
18970         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
18971         Adjust comments for base varying.
18972         (__expl_finite): Change alias to EXPL_FINITE.
18973         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
18974         tests for bugs.
18975         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18977         [BZ #14064]
18978         * math/libm-test.inc (check_float_internal): Correct ulp
18979         calculation for subnormal expected results.
18981 2012-05-06  Andreas Jaeger  <aj@suse.de>
18983         * Makeconfig (+math-flags): New, set to -frounding-math.
18984         (+cflags): Add +math-flags so that all of glibc gets compiled with
18985         it.
18987         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18989 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
18991         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18992         Disable one test.
18994         [BZ #13787]
18995         [BZ #13922]
18996         [BZ #14036]
18997         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18998         (__ieee754_expl): Allow for and saturate large arguments.
18999         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19000         (u_threshold): Likewise.
19001         (__exp): Call __ieee754_exp before checking for overflow and
19002         underflow.
19003         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19004         (u_threshold): Likewise.
19005         (__expf): Call __ieee754_expf before checking for overflow and
19006         underflow.
19007         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19008         (u_threshold): Likewise.
19009         (__expl): Call __ieee754_expl before checking for overflow and
19010         underflow.
19011         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19012         (__ieee754_expl): Allow for and saturate large arguments.
19013         * math/libm-test.inc (exp_test): Add another test.  Do not allow
19014         missing overflow exception on overflow.
19015         (expm1_test): Do not allow missing overflow exception on overflow.
19017         * sysdeps/i386/fpu/e_expl.c: Move to ...
19018         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
19019         rather than using inline asm.
19020         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19021         * sysdeps/x86_64/fpu/e_expl.S: Copy from
19022         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19024         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19025         (nice): Likewise.
19026         (poll): Likewise.
19027         (signal): Likewise.
19028         (time): Likewise.
19029         (times): Likewise.
19031 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
19033         * sysdeps/unix/syscalls.list (adjtime): Add entry from
19034         sysdeps/unix/common/syscalls.list.
19035         (fchmod): Likewise.
19036         (fchown): Likewise.
19037         (ftruncate): Likewise.
19038         (getrusage): Likewise.
19039         (gettimeofday): Likewise.
19040         (setpgid): Likewise.
19041         (setregid): Likewise.
19042         (setreuid): Likewise.
19043         (sigaction): Likewise.
19044         (truncate): Likewise.
19045         (vhangup): Likewise.
19046         * sysdeps/unix/common/syscalls.list: Remove file.
19047         * sysdeps/unix/bsd/Implies: Don't include unix/common.
19048         * sysdeps/unix/sysv/linux/Implies: Likewise.
19050 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
19052         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19053         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19054         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19055         Moved to ...
19056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19057         Here.
19058         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19059         to ...
19060         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19061         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19062         to ...
19063         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19064         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19065         to ...
19066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19067         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19068         to ...
19069         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19070         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19071         to ...
19072         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19073         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19074         to ...
19075         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19076         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19077         to ...
19078         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19079         Here.
19080         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19081         to ...
19082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19083         Here.
19084         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19085         to ...
19086         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19087         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19088         Moved to ...
19089         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19090         Here.
19091         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19092         to ...
19093         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19095 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
19097         * sysdeps/unix/common/bits/dirent.h: Remove file.
19098         * sysdeps/unix/common/bits/fcntl.h: Likewise.
19100         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19101         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19102         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19103         * sysdeps/unix/bsd/isatty.c: Likewise.
19104         * sysdeps/unix/bsd/tcdrain.c: Likewise.
19105         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19106         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19108 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19110         [BZ #13563]
19111         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19112         long double comparison inaccuracies.
19113         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19116 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
19118         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19119         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19121 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
19123         [BZ #14049]
19124         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19125         nonzero digits before rounding a hex value.
19126         * stdlib/tst-strtod.c (tests): Add another test.
19128 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19130         * sysdeps/s390/fpu/libm-test-ulps: Update.
19132 2012-05-03  Andreas Jaeger  <aj@suse.de>
19134         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19135         does not get optimized out.
19136         (malloc_opt_barrier): New.
19138 2012-05-03  Andreas Jaeger  <aj@suse.de>
19139             Roland McGrath  <roland@hack.frob.com>
19141         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19142         intermediate file deletion.
19143         (generated): Add .symlist files.
19145 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
19147         [BZ #13775]
19148         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19149         Redirect under this condition.
19150         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19151         [__USE_GNU] (__dprintf_chk): Not under this condition.
19152         [__USE_GNU] (__vdprintf_chk): Likewise.
19153         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19154         under this condition.
19155         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19156         [__USE_XOPEN2K8] (dprintf): Define under this condition.
19157         [__USE_XOPEN2K8] (vdprintf): Likewise.
19158         [__USE_GNU] (__dprintf_chk): Not under this condition.
19159         [__USE_GNU] (__vdprintf_chk): Likewise.
19160         [__USE_GNU] (dprintf): Likewise.
19161         [__USE_GNU] (vdprintf): Likewise.
19163 2012-05-03  Roland McGrath  <roland@hack.frob.com>
19165         * elf/Makefile (common-generated): Set this instead of generated for
19166         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
19167         $(all-built-dso)-derived lists.
19169 2012-05-03  Andreas Jaeger  <aj@suse.de>
19171         * sysdeps/i386/fpu/libm-test-ulps: Update.
19173         * FAQ: Removed.
19174         * FAQ.in: Likewise.
19175         * scripts/gen-FAQ.pl: Likewise.
19176         * manual/install.texi (Installation): Point to online location of
19177         FAQ.
19178         * Makefile (files-for-dist): Remove FAQ.
19179         (FAQ): Remove.
19181 2012-05-02  Allan McRae  <allan@archlinux.org>
19183         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19184         (LDFLAGS-reldepmod5.so): Likewise.
19185         (LDFLAGS-reldep6mod1.so): Likewise.
19186         (LDFLAGS-reldep6mod4.so): Likewise.
19187         (LDFLAGS-reldep8mod3.so): Likewise.
19188         (LDFLAGS-unload4mod1.so): Likewise.
19189         (LDFLAGS-unload4mod2.so): Likewise.
19190         (LDFLAGS-tst-initorder): Likewise.
19191         (LDFLAGS-tst-initordera2.so): Likewise.
19192         (LDFLAGS-tst-initordera3.so): Likewise.
19193         (LDFLAGS-tst-initordera4.so): Likewise.
19194         (LDFLAGS-tst-initorderb2.so): Likewise.
19195         (LDFLAGS-noload): Likewise.
19196         (LDFLAGS-next): Likewise.
19197         (LDFLAGS-order2mod1.so): Likewise.
19198         (LDFLAGS-order2mod2.so): Likewise.
19199         (LDFLAGS-tst-initorder2): Likewise.
19200         (LDFLAGS-tst-initorder2a.so): Likewise.
19201         (LDFLAGS-tst-initorder2b.so): Likewise.
19202         (LDFLAGS-tst-initorder2c.so): Likewise.
19203         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19205 2012-05-02  David S. Miller  <davem@davemloft.net>
19207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19209 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
19211         [BZ #14055]
19212         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19214 2012-05-02  Andreas Jaeger  <aj@suse.de>
19216         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19217         since we manipulate rounding mode.
19218         (CPPFLAGS-test-idouble.c): Likewise.
19219         (CPPFLAGS-test-ifloat.c): Likewise.
19220         (CFLAGS-test-ldouble.c): Likewise.
19221         (CFLAGS-test-double.c): Likewise.
19222         (CFLAGS-test-float.c): Likewise.
19223         (CFLAGS-test-misc.c): Likewise.
19224         (CFLAGS-test-test-fenv.c): Likewise.
19226 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19228         [BZ #2550]
19229         [BZ #2570]
19230         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19231         comparisons to determine direction to adjust input.
19233 2012-05-01  Roland McGrath  <roland@hack.frob.com>
19235         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19236         output to the target.
19238         * scripts/localplt.awk: New file.
19239         * elf/Makefile ($(objpfx)check-localplt): Target removed.
19240         (check-localplt-CFLAGS): Variable removed.
19241         ($(all-built-dso:=.jmprel)): New static pattern rule.
19242         (generated): Add those targets.
19243         (localplt-built-dso): New variable.
19244         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19246         * elf/check-localplt.c: File removed.
19248         * scripts/check-execstack.awk: New file.
19249         * elf/Makefile ($(objpfx)check-execstack): Target removed.
19250         (check-execstack-CFLAGS): Variable removed.
19251         ($(objpfx)check-execstack.h): Target removed.
19252         ($(objpfx)execstack-default): New target.
19253         (generated): Add that instead of check-execstack.h.
19254         ($(all-built-dso:=.phdr)): New static pattern rule.
19255         (generated): Add those targets.
19256         * elf/check-execstack.c: File removed.
19258         * scripts/check-textrel.awk: New file.
19259         * elf/Makefile ($(objpfx)check-textrel): Target removed.
19260         (check-textrel-CFLAGS): Variable removed.
19261         (all-built-dso): Use := to define.o
19262         ($(all-built-dso:=.dyn)): New static pattern rule.
19263         (generated): Add those targets.
19264         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19265         * config.make.in (READELF): New substituted variable.
19266         * elf/check-textrel.c: File removed.
19268 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
19270         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19271         allow.
19272         * conform/data/ctype.h-data [C99-based standards] (isblank):
19273         Expect function.
19274         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19275         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19276         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19277         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19278         Specify type.  Require positive value.
19279         (EILSEQ): Likewise.
19280         (ERANGE): Likewise.
19281         [ISO || POSIX] (EILSEQ): Do not expect.
19282         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19283         Specify type.  Require positive value.
19284         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19285         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19286         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19287         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19288         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19289         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19290         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19291         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19292         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19293         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19294         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19295         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19296         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19297         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19298         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19299         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19300         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19301         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19302         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19303         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19304         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19305         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19306         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19307         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19308         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19309         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19310         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19311         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19312         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19313         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19314         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19315         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19316         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19317         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19318         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19319         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19320         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19321         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19322         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19323         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19324         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19325         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19326         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19327         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19328         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19329         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19330         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19331         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19332         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19333         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19334         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19335         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19336         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19337         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19338         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19339         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19340         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19341         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19342         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19343         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19344         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19345         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19346         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19347         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19348         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19349         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19350         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19351         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19352         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19353         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19354         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19355         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19356         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19357         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19358         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19359         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19360         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19361         Require >= 2.
19362         (FLT_ROUNDS): Expect as macro, not constant.
19363         (FLT_MANT_DIG): Use macro-int-constant.
19364         (DBL_MANT_DIG): Likewise.
19365         (LDBL_MANT_DIG): Likewise.
19366         (FLT_DIG): Likewise.
19367         (DBL_DIG): Likewise.
19368         (LDBL_DIG): Likewise.
19369         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
19370         (DBL_MIN_EXP): Likewise.
19371         (LDBL_MIN_EXP): Likewise.
19372         (FLT_MAX_EXP): Use macro-int-constant.
19373         (DBL_MAX_EXP): Likewise.
19374         (LDBL_MAX_EXP): Likewise.
19375         (FLT_MAX_10_EXP): Likewise.
19376         (DBL_MAX_10_EXP): Likewise.
19377         (LDBL_MAX_10_EXP): Likewise.
19378         (FLT_MAX): Use macro-constant.
19379         (DBL_MAX): Likewise.
19380         (LDBL_MAX): Likewise.
19381         (FLT_EPSILON): Use macro-constant.  Give upper bound.
19382         (DBL_EPSILON): Likewise.
19383         (LDBL_EPSILON): Likewise.
19384         (FLT_MIN): Likewise.
19385         (DBL_MIN): Likewise.
19386         (LDBL_MIN): Likewise.
19387         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19388         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19389         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19390         [ISO11] (FLT_HAS_SUBNORM): Likewise.
19391         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19392         [ISO11] (DBL_DECIMAL_DIG): Likewise.
19393         [ISO11] (FLT_DECIMAL_DIG): Likewise.
19394         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19395         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19396         [ISO11] (FLT_TRUE_MIN): Likewise.
19397         [ISO11] (LDBL_TRUE_MIN): Likewise.
19398         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19399         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19400         (SCHAR_MIN): Use macro-int-constant.  Specify type.
19401         (SCHAR_MAX): Likewise.
19402         (UCHAR_MAX): Likewise.
19403         (CHAR_MIN): Likewise.
19404         (CHAR_MAX): Likewise.
19405         (MB_LEN_MAX): Use macro-int-constant.
19406         (SHRT_MIN): Use macro-int-constant.  Specify type.
19407         (SHRT_MAX): Likewise.
19408         (USHRT_MAX): Likewise.
19409         (INT_MAX): Likewise.
19410         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
19411         bound negative.
19412         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19413         bound with "U".
19414         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19415         bound with "L".
19416         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
19417         bound negative.  Suffix upper bound with "L".
19418         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19419         bound with "UL".
19420         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19421         Specify type.
19422         [C99-based standards] (LLONG_MAX): Likewise.
19423         [C99-based standards] (ULLONG_MAX): Likewise.
19424         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
19425         == 0.
19426         [ISO11] (max_align_t): Require type.
19427         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19429         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19430         from $CFLAGS, without defining away __attribute__ calls.
19431         (checknamespace): Use $CFLAGS_namespace.
19433         * conform/conformtest.pl (@keywords): Only include C99 keywords
19434         for standards based on C99 or C11.
19436         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19437         Disable tests.
19438         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19439         UNIX98]: Likewise.
19441         * conform/conformtest.pl: Handle "macro-int-constant" and test for
19442         usability of symbols in #if.
19444         * conform/conformtest.pl: If macro or constant types start
19445         "promoted:", expect the symbol to be of the following type
19446         promoted by the integer promotions.
19448         * conform/conformtest.pl: Parse all "constant" and "macro" lines
19449         in one place.  Also handle "macro-constant".
19451         * conform/conformtest.pl: Only accept expected macro values with
19452         "==".  Parse all "macro" lines in one place.
19453         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19455         * conform/conformtest.pl: Handle braced types on "constant" lines
19456         instead of handling "typed-constant".
19457         * conform/data/signal.h-data: Use "constant" instead of
19458         "typed-constant".
19460         * conform/conformtest.pl: Handle "optional-" at start of lines in
19461         one place rather than duplicating several cases.  Handle each
19462         format of "macro" line with initial "optional-".
19464         * conform/conformtest.pl: Only accept expected constant or
19465         optional-constant values with "==".  Parse all "constant" lines in
19466         one place.  Parse all "optional-constant" lines in one place.
19467         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19468         * conform/data/fmtmsg.h-data: Likewise.
19469         * conform/data/netinet/in.h-data: Likewise.
19470         * conform/data/tar.h-data: Likewise.
19471         * conform/data/limits.h-data: Use "==" form on "constant" and
19472         "optional-constant" lines.
19474         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19475         Use -std=c99 for XOPEN2K.
19476         (@knownproblems): Remove.
19477         (newtoken): Don't check %isknown.
19479         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19480         Do not expect macro.
19481         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19482         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19483         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19484         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19485         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19486         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19487         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19488         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19489         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19490         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19491         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19492         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19493         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19494         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19495         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19496         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19497         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19498         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19499         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19500         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19501         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19502         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19503         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19504         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19505         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19506         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19507         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19508         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19509         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19510         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19511         [XPG3] (acosh): Likewise.
19512         [XPG3] (asinh): Likewise.
19513         [XPG3] (atanh): Likewise.
19514         [XPG3] (cbrt): Likewise.
19515         [XPG3] (expm1): Likewise.
19516         [XPG3] (ilogb): Likewise.
19517         [XPG3] (log1p): Likewise.
19518         [XPG3] (logb): Likewise.
19519         [XPG3] (nextafter): Likewise.
19520         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19521         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19522         [XPG3] (remainder): Likewise.
19523         [XPG3] (rint): Likewise.
19524         [XPG3 || XPG4 || UNIX98] (round): Likewise.
19525         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19526         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19527         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19528         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19529         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19530         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19531         [UNIX98 || XOPEN2K] (scalb): Expect.
19532         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19533         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19534         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19535         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19536         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19537         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19538         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19539         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19540         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19541         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19542         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19543         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19544         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19545         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19546         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19547         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19548         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19549         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19550         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19551         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19552         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19553         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19554         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19555         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19556         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19557         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19558         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19559         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19560         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19561         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19562         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19563         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19564         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19565         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19566         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19567         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19568         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19569         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19570         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19571         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19572         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19573         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19574         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19575         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19576         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19577         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19578         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19579         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19580         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19581         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19582         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19583         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19584         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19585         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19586         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19587         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19588         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19589         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19590         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19591         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19592         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19593         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19594         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19595         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19596         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19597         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19598         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19599         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19600         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19601         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19602         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19603         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19604         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19605         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19606         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19607         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19608         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19609         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19610         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19611         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19612         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19613         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19614         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19615         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19616         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19617         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19618         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19619         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19620         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19621         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19622         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19623         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19624         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19625         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19626         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19627         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19628         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19629         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19630         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19631         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19632         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19633         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19634         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19635         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19636         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19637         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19638         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19639         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19640         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19641         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19642         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19643         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19644         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19645         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19646         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19647         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19648         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19649         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19650         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19651         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19652         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19653         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19654         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19655         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19656         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19657         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19658         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19659         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19660         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19661         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19662         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19663         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19664         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19665         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19666         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19667         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19668         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19670         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19671         _XOPEN_SOURCE_EXTENDED for XPG4.
19673         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19675         * Makeconfig (localtime): Remove variable.
19676         (inst_localtime-file): Likewise.
19678 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19681         Update.
19682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19683         Update.
19684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19685         Update.
19686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19687         Update.
19688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19689         Update.
19690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19691         Update.
19692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19693         Update.
19694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19695         Update.
19696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19697         Update.
19699 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
19701         [BZ #2550]
19702         [BZ #2570]
19703         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19704         comparisons to determine direction to adjust input.
19705         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19706         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19707         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19708         Likewise.
19709         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19710         Likewise.
19711         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19712         Likewise.
19713         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19714         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19715         Likewise.
19716         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19717         Likewise.
19718         * math/libm-test.inc (nexttoward_test): Add more tests.
19720 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19722         [BZ #14040]
19723         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19724         in version GLIBC_2.1, not GLIBC_2.0.
19725         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19726         Likewise.
19728 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
19730         [BZ #13942]
19731         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19732         (1 - x) * (1 + x).
19733         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19734         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19735         * math/libm-test.inc (acos_test): Add more tests.
19736         (asin_test): Likewise.
19737         * sysdeps/i386/fpu/libm-test-ulps: Update.
19738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19740         [BZ #14034]
19741         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19742         of square root.
19743         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19744         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19745         * math/libm-test.inc (acos_test_tonearest): New function.
19746         (acos_test_towardzero): Likewise.
19747         (acos_test_downward): Likewise.
19748         (acos_test_upward): Likewise.
19749         (asin_test_tonearest): Likewise.
19750         (asin_test_towardzero): Likewise.
19751         (asin_test_downward): Likewise.
19752         (asin_test_upward): Likewise.
19753         (main): Call the new functions.
19754         * sysdeps/i386/fpu/libm-test-ulps: Update.
19755         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19757         [BZ #13884]
19758         [BZ #13924]
19759         * math/e_exp10.c: Include <float.h>.
19760         (__ieee754_exp10): Handle underflow here rather than multiplying
19761         large negative argument by M_LN10.
19762         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19763         of __ieee754_expf.
19764         * math/e_exp10l.c: Include <float.h>.
19765         (__ieee754_exp10l): Handle underflow here rather than multiplying
19766         large negative argument by M_LN10l.
19767         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
19768         spurious overflow exception on underflow.
19770 2012-04-29  Marek Polacek  <polacek@redhat.com>
19772         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19773         (__fortify_function): New macro.
19774         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19775         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19776         __extern_always_inline.
19777         * libio/bits/stdio2.h: Likewise.
19778         * libio/bits/stdio.h: Likewise.
19779         * string/string.h: Likewise.
19780         * string/bits/string3.h: Likewise.
19781         * include/stdio.h: Likewise.
19782         * stdlib/bits/stdlib.h: Likewise.
19783         * stdlib/stdlib.h: Likewise.
19784         * rt/bits/mqueue2.h: Likewise.
19785         * rt/mqueue.h: Likewise.
19786         * posix/bits/unistd.h: Likewise.
19787         * posix/unistd.h: Likewise.
19788         * io/bits/poll2.h: Likewise.
19789         * io/bits/fcntl2.h: Likewise.
19790         * io/fcntl.h: Likewise.
19791         * io/sys/poll.h: Likewise.
19792         * misc/bits/syslog.h: Likewise.
19793         * misc/bits/syslog-ldbl.h: Likewise.
19794         * misc/sys/syslog.h: Likewise.
19795         * socket/bits/socket2.h: Likewise.
19796         * socket/sys/socket.h: Likewise.
19797         * debug/tst-chk1.c: Likewise.
19798         * wcsmbs/bits/wchar2.h: Likewise.
19799         * wcsmbs/bits/wchar-ldbl.h: Likewise.
19800         * wcsmbs/wchar.h: Likewise.
19802 2012-04-29  Andreas Jaeger  <aj@suse.de>
19804         * Makerules (tests): Remove enable-check-abi protection.
19805         (check-abi-warn): Remove.
19806         (check-abi-%): Remove check-abi-warn usage.
19808         * configure.in: Remove check-abi configure option.
19809         * configure: Regenerated.
19810         * config.make.in (enable-check-abi): Remove.
19812 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
19814         [BZ #14033]
19815         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19816         double functions to double *_finite functions.
19818         [BZ #13941]
19819         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19820         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19821         LDBL_MIN_EXP.
19822         * stdio-common/Makefile (tests): Add tst-sprintf3.
19823         * stdio-common/tst-sprintf3.c: New file.
19825         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19826         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19828 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
19830         * conform/conformtest.pl: Remove duplicate typed-constant
19831         handling.
19833 2012-04-28  David S. Miller  <davem@davemloft.net>
19835         * Makerules (%.abilist): Add vpath on sysdep_dirs.
19836         (check-abi-%): Remove AWK script prerequisite and explicit
19837         abilist directory.
19838         (check-abi): Rewrite to just diff the symlist with the abilist.
19839         (config-tls, config-abi-config): Delete, no longer used.
19840         (update-abi-%): Remove AWK script and explicit abilist directory.
19841         (update-abi): Rewrite to simply compare and conditionally copy the
19842         symlist and the sysdep abilist file.  Remove update-abi-config
19843         checks.
19844         * abilist/ld.abilist: Remove.
19845         * abilist/libBrokenLocale.abilist: Remove.
19846         * abilist/libanl.abilist: Remove.
19847         * abilist/libcrypt.abilist: Remove.
19848         * abilist/libdl.abilist: Remove.
19849         * abilist/librt.abilist: Remove.
19850         * abilist/libthread_db.abilist: Remove.
19851         * abilist/libutil.abilist: Remove.
19852         * scripts/extract-abilist.awk: Remove.
19853         * scripts/merge-abilist.awk: Remove.
19854         * sysdeps/generic/libcidn.abilist: New file.
19855         * sysdeps/generic/libnss_compat.abilist: New file.
19856         * sysdeps/generic/libnss_db.abilist: New file.
19857         * sysdeps/generic/libnss_dns.abilist: New file.
19858         * sysdeps/generic/libnss_files.abilist: New file.
19859         * sysdeps/generic/libnss_hesiod.abilist: New file.
19860         * sysdeps/generic/libnss_nis.abilist: New file.
19861         * sysdeps/generic/libnss_nisplus.abilist: New file.
19862         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19863         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19864         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19865         file.
19866         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19867         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19868         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19869         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19870         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19871         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19872         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19873         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19874         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19875         file.
19876         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19877         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19878         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19879         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19880         file.
19881         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19882         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19883         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19884         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19885         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19886         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19887         file.
19888         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19889         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19890         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19891         file.
19892         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19893         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19894         New file.
19895         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19896         New file.
19897         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19898         New file.
19899         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19900         New file.
19901         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19902         New file.
19903         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19904         New file.
19905         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19906         New file.
19907         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19908         New file.
19909         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19910         New file.
19911         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19912         New file.
19913         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19914         New file.
19915         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19916         New file.
19917         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19918         New file.
19919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19920         file.
19921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19922         New file.
19923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19924         New file.
19925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19926         file.
19927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19928         New file.
19929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19930         New file.
19931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19932         file.
19933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19934         New file.
19935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19936         New file.
19937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19938         New file.
19939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19940         New file.
19941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19942         New file.
19943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19944         New file.
19945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19947         file.
19948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19949         New file.
19950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19951         file.
19952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19953         file.
19954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19955         file.
19956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19957         file.
19958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19959         file.
19960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19961         New file.
19962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19963         file.
19964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19965         file.
19966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19967         New file.
19968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19969         file.
19970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19972         file.
19973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19974         New file.
19975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19976         file.
19977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19978         file.
19979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19980         file.
19981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19982         file.
19983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19984         file.
19985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19986         New file.
19987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19988         file.
19989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19990         file.
19991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19992         New file.
19993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19994         file.
19995         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19996         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19997         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19998         file.
19999         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20000         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20001         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20002         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20003         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20004         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20005         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20006         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20007         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20008         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20009         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20011         file.
20012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20013         New file.
20014         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20015         file.
20016         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20017         file.
20018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20019         file.
20020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20021         file.
20022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20023         file.
20024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20025         New file.
20026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20027         New file.
20028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20029         file.
20030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20031         New file.
20032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20033         file.
20034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20035         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20036         file.
20037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20038         New file.
20039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20040         file.
20041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20042         file.
20043         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20044         file.
20045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20046         file.
20047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20048         file.
20049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20050         New file.
20051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20052         New file.
20053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20054         file.
20055         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20056         New file.
20057         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20058         file.
20060 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
20062         * conform/conformtest.pl: Fix typo in handling typed-constant from
20063         allow-header.
20065 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
20067         * README: Cut down references to pre-2.6 Linux kernels and
20068         Linuxthreads.  Update lists of configurations in libc and ports
20069         and sort alphabetically.  Say "or newer" with Linux kernel version
20070         requirements.
20072         * config.h.in [IS_IN_build]: Allow compiling without optimization.
20074 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20076         [BZ #887]
20077         * math/libm-test.inc (logb_test_downward): New test to expose
20078         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20079         rounding mode.
20081 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
20083         [BZ #14027]
20084         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20085         to be done.
20086         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20087         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20089 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
20091         * sysdeps/unix/i386/brk.S: Remove file.
20092         * sysdeps/unix/i386/dl-brk.S: Likewise.
20093         * sysdeps/unix/i386/pipe.S: Likewise.
20094         * sysdeps/unix/i386/sigreturn.S: Likewise.
20095         * sysdeps/unix/i386/syscall.S: Likewise.
20096         * sysdeps/unix/i386/vfork.S: Likewise.
20097         * sysdeps/unix/i386/wait.S: Likewise.
20099         * sysdeps/unix/common/tcsendbrk.c: Move to ...
20100         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20102         * configure.in (arm*-none*): Do not allow without
20103         --enable-hacker-mode.
20104         (netbsd*): Remove case setting base_os.
20105         (386bsd*): Likewise.
20106         (freebsd*): Likewise.
20107         (bsdi*): Likewise.
20108         (osf*): Likewise.
20109         (sunos*): Likewise.
20110         (ultrix*): Likewise.
20111         (newsos*): Likewise.
20112         (dynix*): Likewise.
20113         (*bsd*): Likewise.
20114         (sysv*): Likewise.
20115         (isc*): Likewise.
20116         (esix*): Likewise.
20117         (sco*): Likewise.
20118         (minix*): Likewise.
20119         (irix4*): Likewise.
20120         (irix6*): Likewise.
20121         (solaris[2-9]*): Likewise.
20122         (none): Likewise.
20123         * configure: Regenerated.
20125 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20127         [BZ #11521]
20128         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20129         overflow or cancellation in calculating denominator.
20130         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20131         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20132         down expression to avoid unexpected rounding in newer GCCs.
20133         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20135 2012-04-26  David S. Miller  <davem@davemloft.net>
20137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20138         long-double compat symbols.
20139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20153 2012-04-25  David S. Miller  <davem@davemloft.net>
20155         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20156         HWCAP_* values only after the memory barriers have been defined.
20157         (atomic_full_barrier): Define.
20158         (atomic_read_barrier): Define.
20159         (atomic_write_barrier): Define.
20161 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20163         * shlib-versions: Add libgcc_s version information.
20164         * sysdeps/generic/libgcc_s.h: Remove.
20165         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20166         libgcc_s.h.
20167         * sysdeps/gnu/unwind-resume.c: Likewise.
20168         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20170 2012-04-25  David S. Miller  <davem@davemloft.net>
20172         * sysdeps/unix/sparc/brk.S: Delete.
20173         * sysdeps/unix/sparc/dl-brk.S: Delete.
20174         * sysdeps/unix/sparc/pipe.S: Delete.
20175         * sysdeps/unix/sparc/sysdep.S: Delete.
20176         * sysdeps/unix/sparc/sysdep.h: Delete.
20177         * sysdeps/unix/sparc/vfork.S: Delete.
20178         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20179         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20180         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20181         ret_ERRVAL, r0, r1, MOVE): Define.
20182         (JUMPTARGET): Remove.
20183         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20184         sysdeps/unix/sparc/sysdep.h
20185         (ENTRY, END): Remove.
20186         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20188 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
20190         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20191         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20192         -DIS_IN_build.
20194         * timezone/README: Update upstream location and email address for
20195         tzcode and tzdata.
20196         * timezone/zdump.c: Update from tzcode 2012b.
20197         * timezone/zic.c: Likewise.
20199         * configure.in (libc_cv_as_needed): Remove test.
20200         * configure: Regenerated.
20201         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20202         conditional definition.
20203         [$(have-as-needed) != yes] (no-as-needed): Likewise.
20204         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20205         * config.make.in (have-as-needed): Remove variable.
20207 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20208             Paul Pluzhnikov  <ppluzhnikov@google.com>
20210         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20211         strings correctly.
20213 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
20215         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20216         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20217         * sysdeps/sh/strlen.S: Likewise.
20219 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
20221         * sysdeps/unix/fork.S: Remove file.
20222         * sysdeps/unix/i386/fork.S: Likewise.
20223         * sysdeps/unix/sparc/fork.S: Likewise.
20225         * sysdeps/unix/system.c: Remove file.
20226         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20228         * sysdeps/unix/getegid.S: Remove file.
20229         * sysdeps/unix/geteuid.S: Likewise.
20231 2012-04-24  Roland McGrath  <roland@hack.frob.com>
20233         * scripts/check-localplt.awk: New file.
20234         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20235         of diff.
20236         * scripts/data/localplt-generic.data: Add a comment.
20238         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20239         NODE when __dir_mkfile failed.
20240         * sysdeps/mach/hurd/symlinkat.c: Likewise.
20241         Reported by Ludovic Courtès <ludo@gnu.org>.
20243 2012-04-24  Andreas Jaeger  <aj@suse.de>
20245         * Makerules (common-clean): Also remove gen-as-const-headers
20246         files.
20248 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
20250         * Makerules (native-compile): Do not change working directory for
20251         build.  Use $(OUTPUT_OPTION) in command.
20252         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20254 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20256         [BZ #13886]
20257         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20258         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20259         * math/libm-test.inc (floor_test): Add more tests.
20260         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20262 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
20264         * sysdeps/unix/getdents.c: Remove file.
20265         * sysdeps/unix/sysv/getdents.c: Likewise.
20266         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20268         * sysdeps/unix/syscalls.list (madvise): Add syscall from
20269         sysdeps/unix/mman/syscalls.list.
20270         (mmap): Likewise.
20271         (mprotect): Likewise.
20272         (msync): Likewise.
20273         (munmap): Likewise.
20274         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20275         * sysdeps/unix/mman/syscalls.list: Remove.
20276         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20278         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20279         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20280         * configure: Regenerated.
20281         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20282         $(libgcc_s_suffix).
20283         * config.make.in (libgcc_s_suffix): Remove variable.
20285 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
20287         * sysdeps/unix/sysv/gethostname.c: Move to ...
20288         * sysdeps/posix/gethostname.c: ... here.
20290         * sysdeps/unix/execve.S: Remove file.
20292         * sysdeps/unix/_exit.S: Remove file.
20294 2012-04-23  Andreas Jaeger  <aj@suse.de>
20296         [BZ #13739]
20297         * manual/Makefile: Remove make dist support, there's no
20298         need for a stand-alone documentation tar ball.
20299         (TEXI2DVI): Define always, it's not in Makeconfig.
20300         (dist): Removed.
20301         (tar-it): Removed.
20302         (edition): Removed.
20303         (glibc-doc-$(edition).tar): Removed
20304         (%.Z): Removed.
20305         (%.gz): Removed.
20306         (%.uu): Removed.
20307         (ETAGS): Remove, it's in Makeconfig.
20308         (move-if-change): Remove, it's in Makeconfig.
20310 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
20312         [BZ #13970]
20313         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20314         (strtod, strtof, strtold, strtol, strtoul, strtoq)
20315         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20316         (strtod_l, strtof_l, strtold_l): Remove __wur.
20317         It is not necessarily an error to ignore strtol's return value.
20318         One can reliably look at the stored endptr to decide whether
20319         the number had valid syntax.
20321 2012-04-21  Andreas Jaeger  <aj@suse.de>
20323         [BZ #13739]
20324         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20326 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
20328         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20329         * sysdeps/unix/sysv/Versions: Remove file.
20331 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
20333         [BZ #13927]
20334         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20336 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
20338         [BZ #7064]
20339         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20340         version from __vm86.
20342 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
20344         * sysdeps/unix/common/lxstat.c: Remove file.
20345         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20347         * sysdeps/unix/sysv/Makefile: Remove file.
20349         * sysdeps/unix/sysv/direct.h: Remove file.
20351         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20352         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20353         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20354         * sysdeps/unix/sysv/bits/signum.h: Likewise.
20355         * sysdeps/unix/sysv/bits/stat.h: Likewise.
20356         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20357         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20359         * sysdeps/unix/sysv/setrlimit.c: Remove file.
20361         * sysdeps/unix/xmknod.c: Remove file.
20362         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20364         * sysdeps/unix/sysv/settimeofday.c: Remove file.
20366         * sysdeps/unix/sysv/i386/time.S: Remove file.
20368         * sysdeps/unix/fxstat.c: Remove file.
20369         * sysdeps/unix/xstat.c: Likewise.
20370         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20372         * sysdeps/unix/sysv/sigaction.c: Remove file.
20374         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20375         (sysdep_headers): Remove variable.
20376         [termio.h not in sysdep_headers] (generated): Likewise.
20377         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20378         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20379         * sysdeps/unix/sysv/tcdrain.c: Likewise.
20380         * sysdeps/unix/sysv/tcflow.c: Likewise.
20381         * sysdeps/unix/sysv/tcflush.c: Likewise.
20382         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20383         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20384         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20385         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20386         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20388         * sysdeps/unix/siglist.c: Remove file.
20390         * sysdeps/unix/getppid.S: Remove file.
20392         * sysdeps/unix/mkdir.c: Remove file.
20393         * sysdeps/unix/rmdir.c: Likewise.
20395 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
20397         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20398         ERR_MAX value.
20399         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20400         errlist-compat value.
20402 2012-04-18  David S. Miller  <davem@davemloft.net>
20404         * sysdeps/generic/memcopy.h (reg_char): Delete.
20405         * debug/strcat_chk.c: Use char, not reg_char.
20406         * debug/strcpy_chk.c: Likewise.
20407         * debug/strncat_chk.c: Likewise.
20408         * debug/strncpy_chk.c: Likewise.
20409         * string/memchr.c: Likewise.
20410         * string/memrchr.c: Likewise.
20411         * string/rawmemchr.c: Likewise.
20412         * string/strcat.c: Likewise.
20413         * string/strchr.c: Likewise.
20414         * string/strchrnul.c: Likewise.
20415         * string/strcmp.c: Likewise.
20416         * string/strcpy.c: Likewise.
20417         * string/strncat.c: Likewise.
20418         * string/strncmp.c: Likewise.
20419         * string/strncpy.c: Likewise.
20421 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20423         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20424         __builtin_memcopy is called when src and dest ranges are known to not
20425         overlap.
20427 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20429         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20430         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20431         fwd_align_merge macro call.
20432         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20433         bwd_align_merge macro call.
20434         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20436 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20438         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20439         bwd_align_merge macros.
20440         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20441         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20442         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20444 2012-04-18  David S. Miller  <davem@davemloft.net>
20446         * sysdeps/sparc/sparc64/memcopy.h: Delete.
20448 2012-04-18  Andreas Jaeger  <aj@suse.de>
20450         [BZ# 6794]
20451         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20452         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20453         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20455         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20456         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20457         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20459         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20460         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20461         Adjust for changed ldbl-128 files.
20463         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20464         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20465         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20467 2012-04-17  David S. Miller  <davem@davemloft.net>
20469         * sysdeps/sparc/sparc32/memcopy.h: Delete.
20471 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
20473         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20474         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20475         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20476         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20477         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20478         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20480 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20482         [BZ #6794]
20483         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20484         * math/libm-test.inc: Add ilogb errno and exception tests.
20485         * math/w_ilogb.c: New file: ilogb wrapper.
20486         * math/w_ilogbf.c: New file: ilogbf wrapper.
20487         * math/w_ilogbl.c: New file: ilogbl wrapper.
20488         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20489         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20490         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20491         exception being thrown with 0.0 as argument.
20492         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20493         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20494         exception being thrown with 0.0 as argument.
20495         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20496         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20497         exception being thrown with 0.0 as argument.
20498         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20499         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20500         exception being thrown with 0.0 as argument.
20501         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20502         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
20503         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
20504         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20505         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20506         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20507         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20508         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20509         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20511 2012-04-17  Petr Baudis  <pasky@ucw.cz>
20513         * include/sys/uio.h: Change __vector to __iovec to avoid clash
20514         with altivec.
20516 2012-04-16  Marek Polacek  <polacek@redhat.com>
20518         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20520 2012-04-16  Marek Polacek  <polacek@redhat.com>
20522         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20523         operands of fdivp instruction.
20525 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
20527         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20528         * elf/tst-auditmod3b.c: Likewise.
20529         * elf/tst-auditmod4b.c: Likewise.
20530         * elf/tst-auditmod5b.c: Likewise.
20531         * elf/tst-auditmod6b.c: Likewise.
20532         * elf/tst-auditmod6c.c: Likewise.
20533         * elf/tst-auditmod7b.c: Likewise.
20534         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20535         * sysdeps/x86_64/preconfigure.in: Likewise.
20536         * sysdeps/x86_64/preconfigure: Regenerated.
20538 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
20540         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20541         __ILP32__.
20543 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
20545         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20546         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20548 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
20550         [BZ #13973]
20551         * locale/iso-639.def: Fix gl language name. Spotted by
20552         Yaron Shahrabani.
20554 2012-04-12  Roland McGrath  <roland@hack.frob.com>
20556         [BZ #2074]
20557         * libio/libio.h (__io_write_fn): Update comment.
20559 2012-04-12  Petr Baudis  <pasky@ucw.cz>
20561         [BZ #2074]
20562         * stdio.texi (Hook Functions): The user provided writer function
20563         is not allowed to return -1.
20565 2012-04-11  David S. Miller  <davem@davemloft.net>
20567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20569 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
20571         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20572         Add a leading slash to rtkaio.
20574 2012-04-11  Jim Meyering  <meyering@redhat.com>
20576         [BZ #11959]
20577         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20578         It is not necessarily an error to ignore fwrite's return
20579         value.  One can reliably use ferror to test for errors after
20580         the fact.
20582 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
20584         * bits/types.h (__snseconds_t): New type.
20585         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20587         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20588         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20589         (__SNSECONDS_T_TYPE): Likewise.
20590         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20591         (__SNSECONDS_T_TYPE): Likewise.
20592         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20593         (__SNSECONDS_T_TYPE): Likewise.
20595 2012-04-10  Andreas Jaeger  <aj@suse.de>
20597         [BZ #2636]
20598         * manual/time.texi (Processor Time): Return type of times is
20599         elapsed real time since an arbitrary point in the past.
20600         (CPU Time): Move CLK_TCK from here...
20601         (Processor Time): ...to here.  Correct description.
20602         * manual/conf.texi (Constants for Sysconf): Correct description of
20603         _SC_CLK_TCK.
20605 2012-04-10  David S. Miller  <davem@davemloft.net>
20607         [BZ #13967]
20608         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20609         where the is a gap between DT_REL(A) and DT_JMPREL.
20611 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
20613         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20614         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20615         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20617 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20619         * elf/dl-support.c (_dl_inhibit_cache): New variable.
20620         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20621         (dl_main): Handle --inhibit-cache.
20622         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20623         _dl_inhibit_cache.
20624         * elf/dl-load.c (_dl_map_object): Use it.
20625         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20627 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
20629         [BZ #13872]
20630         * sysdeps/i386/fpu/e_powl.S (p78): New object.
20631         (__ieee754_powl): Saturate large exponents rather than testing for
20632         overflow of y*log2(x).
20633         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20634         * math/libm-test.inc (pow_test): Do not permit spurious overflow
20635         exceptions.
20637         [BZ #11521]
20638         * math/s_ctan.c: Include <float.h>.
20639         (__ctan): Avoid internal overflow or cancellation in calculating
20640         denominator.
20641         * math/s_ctanf.c: Likewise.
20642         * math/s_ctanl.c: Likewise.
20643         * math/s_ctanh.c: Likewise.
20644         * math/s_ctanhf.c: Likewise.
20645         * math/s_ctanhl.c: Likewise.
20646         * math/libm-test.inc (ctan_test): Add more tests.
20647         (ctanh_test): Likewise.
20648         * sysdeps/i386/fpu/libm-test-ulps: Update.
20649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20651 2012-04-09  Andreas Jaeger  <aj@suse.de>
20653         [BZ #6894]
20654         * manual/filesys.texi (Directory Entries): Mention that d_namlen
20655         is an optional BSD extension.
20657         [BZ #10254]
20658         * manual/stdio.texi (Opening Streams): Document additional fopen
20659         parameters.
20661 2012-04-09  Roland McGrath  <roland@hack.frob.com>
20663         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20664         %eax without telling the compiler.
20666 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
20668         [BZ # 13963]
20669         * manual/install.texi: Use sourceware.org.
20671 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
20673         [BZ #13873]
20674         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20675         (__ieee754_pow): Generate overflow and underflow using huge*huge
20676         and tiny*tiny rather than just returning constant infinity or zero
20677         for large exponents.
20678         * math/libm-test.inc (pow_test): Require overflow exceptions for
20679         applicable cases of large exponents.
20681         [BZ #706]
20682         * sysdeps/i386/fpu/e_pow.S (p10): New object.
20683         (__ieee754_pow): Use iterative multiplication algorithm only for
20684         integer exponents with absolute value below 1024.  Check for odd
20685         integer exponents when using algorithm for real exponents.
20686         * math/libm-test.inc (pow_test): Add more tests.
20687         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20689 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
20691         [BZ #13705]
20692         * math/libm-test.inc (exp_test): Do not allow overflow exception
20693         on underflow test.
20695 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
20697         [BZ #13705]
20698         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20699         instead of __kernel_standard_f.
20701 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
20703         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20704         * sysdeps/x86_64/memset_chk.S: Likewise.
20706 2012-04-08  Andreas Jaeger  <aj@suse.de>
20708         [BZ #10153]
20709         * manual/startup.texi (Environment Access): Describe return value
20710         for putenv and setenv.
20712         [BZ #6895]
20713         * manual/filesys.texi (Directory Entries): Add description for
20714         DT_LNK.
20716         [BZ #6890]
20717         * manual/filesys.texi (Directory Entries): Clarify that it's file
20718         system not operating system in the description of DT_UNKNOWN.
20720         [BZ #6578]
20721         * manual/syslog.texi (closelog): Fix reference, it's openlog.
20723 2012-04-08  Stephen Compall  <s11@member.fsf.org>
20725         [BZ #6649]
20726         * manual/llio.texi (Opening and Closing Files): Add cross
20727         reference to explain mode argument.
20729 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
20731         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20732         * sysdeps/x86_64/memset_chk.S: Likewise.
20734 2012-04-07  David S. Miller  <davem@davemloft.net>
20736         * elf/elf.h (R_SPARC_WDISP10): Define.
20737         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20738         R_SPARC_SIZE32.
20739         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20740         R_SPARC_SIZE64 and R_SPARC_H34.
20742 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
20744         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20745         conditions and remove no longer applicable assertion.
20747 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
20749         * bits/byteswap.h: Include <features.h>.
20750         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20751         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20753 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
20755         * bits/byteswap.h (__bswap_16): Removed.
20756         Include <bits/byteswap-16.h> to get __bswap_16.
20757         * sysdeps/i386/bits/byteswap.h: Likewise.
20758         * sysdeps/s390/bits/byteswap.h: Likewise.
20759         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20760         * bits/byteswap-16.h: New file.
20761         * sysdeps/i386/bits/byteswap-16.h: Likewise.
20762         * sysdeps/s390/bits/byteswap-16.h: Likewise.
20763         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20764         * string/Makefile (headers): Add bits/byteswap-16.h.
20766 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20768         [BZ #13895]
20769         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20770         extra indirection.
20771         * nss/Makefile (tests-static, tests): Add tst-nss-static.
20772         * nss/tst-nss-static.c: New.
20774 2012-04-06  Robert Millan  <rmh@gnu.org>
20776         [BZ #6486]
20777         * manual/llio.texi (File Position Primitive): lseek
20778         refers to WHENCE when it really means OFFSET.
20780 2012-04-06  Andreas Jaeger  <aj@suse.de>
20782         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20783         strncmp declarations.
20785         * abilist/libc.abilist: Add __poll and __ppoll.
20787 2012-04-05  David S. Miller  <davem@davemloft.net>
20789         * scripts/check-local-headers.sh: Accept a host triplet in the
20790         path matched by the exclude regexp.
20792         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20793         definition.
20794         * sysdeps/powerpc/powerpc32/dl-machine.h
20795         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20796         * sysdeps/s390/s390-32/dl-machine.h
20797         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20798         * sysdeps/sparc/sparc32/dl-machine.h
20799         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20800         * sysdeps/sparc/sparc64/dl-machine.h
20801         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20803         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20804         lazy binding.
20805         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
20806         undefined symbol errors.
20808         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
20809         DT_NEEDED entries.
20811 2012-04-05  Michael Matz  <matz@suse.de>
20813         [BZ #13592]
20814         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20816 2012-04-05  Andreas Jaeger  <aj@suse.de>
20818         [BZ #13908]
20819         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20820         comment.
20822 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20824         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20825         which ROUND is no valid rounding mode.
20827 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20829         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20830         read again.
20831         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20833 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20835         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20836         an exception using FPU order intentionally.
20838 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20840         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20841         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20842         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20843         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20845 2012-04-05  Simon Josefsson  <simon@josefsson.org>
20847         [BZ #12340]
20848         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20849         EINVAL when BUFLEN is too smal.
20851 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20853         [BZ #13553]
20854         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20855         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20857 2012-04-03  Andreas Jaeger  <aj@suse.de>
20859         [BZ #13938]
20860         * manual/setjmp.texi (System V contexts): Fix sentence.
20862         [BZ #13926]
20863         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20864         New macro for this case.
20865         [!__GNUC__] (__bswap_64): New inline function for this case.
20866         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20867         * bits/byteswap.h: Likewise.
20868         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20869         ull, guard with __GLIBC_HAVE_LONG_LONG.
20871         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20872         __GLIBC_HAVE_LONG_LONG.
20874         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20875         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20877 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20879         [BZ #13691]
20880         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20881         inptr and inend, rather than using last_ch.
20883 2012-04-02  David S. Miller  <davem@davemloft.net>
20885         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20886         * stdio-common/printf-parse.h (read_int): Change return type to
20887         'int', return -1 on INT_MAX overflow.
20888         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20889         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
20890         overflows INT_MAX.  Check for overflow of in-format-string precision
20891         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
20892         SIZE_MAX not INT_MAX for integer overflow test.
20893         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20894         skip the construct in the format string but do not record anything.
20895         * stdio-common/bug22.c: Adjust to test both width/prevision
20896         INT_MAX overflow as well as total length INT_MAX overflow.  Check
20897         explicitly for proper errno values.
20899 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20901         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20902         CHAR_MAX.
20903         * string/test-strcmp.c [! WIDE]: Likewise.
20904         * time/tst-mktime2.c: Likewise for INT_MAX.
20905         * string/test-string.h: #include <sys/param.h> for MIN.
20907         * csu/init-first.c (__libc_init_first): Call __ctype_init.
20908         * sysdeps/i386/init-first.c (init): Likewise.
20909         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20910         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20911         * sysdeps/sh/init-first.c (init): Likewise.
20913 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
20915         * po/ru.po: Update from translation team.
20916         * po/vi.po: Likewise.
20918 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20920         * resolv/nss_dns/dns-host.c: Merge copyright years.
20922 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20924         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20925         Optimize memcpy with prefetch if
20926         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
20927         src, dst pointers have unequal 16 byte alignments.
20929 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20931         [BZ #13928]
20932         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20933         from a CNAME entry and return the minimum ttl for the query.
20934         (gaih_getanswer_slice): Likewise.
20936 2012-03-30  Jeff Law  <law@redhat.com>
20938         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20939         due to long keys.
20940         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20941         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20943         * resolv/nss_dns/dns-host.c: Update copyright year.
20945 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
20947         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
20948         requests to save a system call.  Fix check that all bytes are sent.
20950         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20951         comments for sendmmsg.
20953 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20955         [BZ #13691]
20956         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20957         with only 1 character between 0x0041 and 0x01b0.
20958         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20959         * wcsmbs/tst-mbsnrtowcs.c: New file.
20961 2012-03-29  David S. Miller  <davem@davemloft.net>
20963         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20964         small copies by hand.
20966 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20968         [BZ #13761]
20969         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20970         _nss_compat_initgroups_dyn): Fall back to malloc/free
20971         for large group memberships.
20973 2012-03-28  David S. Miller  <davem@davemloft.net>
20975         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20976         that branches into memcpy.
20977         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20978         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20979         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20980         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20981         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20982         bits.
20983         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20984         implementation too.
20985         * sysdeps/sparc/mempcpy.S: New file.
20987         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20988         the IFUNC routine in the libc case.
20989         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20991         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20992         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20993         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20994         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20995         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20996         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20997         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20998         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21000         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21001         loop to 256 bytes instead of 64 bytes and fix test signedness.
21003         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21004         * sysdeps/sparc/sparc32/Makefile: rather than here...
21005         * sysdeps/sparc/sparc64/Makefile: and here.
21007 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
21009         * malloc/mallocbug.c: Avoid warnings about unused variables.
21011 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21013         [BZ #13760]
21014         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21015         in the right place. Discard and retry query if response is
21016         larger than input buffer size.
21018 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
21020         [BZ #369]
21021         [BZ #2678]
21022         [BZ #3866]
21023         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21024         x for large integer exponent.
21025         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21026         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
21027         sign of result as needed afterwards.
21028         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21029         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21030         result for underflowing pow the same as for overflow.
21031         (__kernel_standard_l): Handle powl overflow and underflow here
21032         rather than calling __kernel_standard.
21033         * math/libm-test.inc (pow_test): Add more tests.
21035         [BZ #3868]
21036         [BZ #13879]
21037         [BZ #13910]
21038         [BZ #13911]
21039         [BZ #13912]
21040         [BZ #13913]
21041         [BZ #13915]
21042         [BZ #13916]
21043         [BZ #13917]
21044         [BZ #13918]
21045         [BZ #13919]
21046         [BZ #13920]
21047         [BZ #13921]
21048         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21049         * sysdeps/ieee754/k_standard.c: Include <float.h>.
21050         (__kernel_standard_l): New function.
21051         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21052         __kernel_standard.
21053         * math/w_acosl.c (__acosl): Likewise.
21054         * math/w_asinl.c (__asinl): Likewise.
21055         * math/w_atan2l.c (__atan2l): Likewise.
21056         * math/w_atanhl.c (__atanhl): Likewise.
21057         * math/w_coshl.c (__coshl): Likewise.
21058         * math/w_exp10l.c (__exp10l): Likewise.
21059         * math/w_exp2l.c (__exp2l): Likewise.
21060         * math/w_fmodl.c (__fmodl): Likewise.
21061         * math/w_hypotl.c (__hypotl): Likewise.
21062         * math/w_j0l.c (__j0l, __y0l): Likewise.
21063         * math/w_j1l.c (__j1l, __y1l): Likewise.
21064         * math/w_jnl.c (__jnl, __ynl): Likewise.
21065         * math/w_lgammal.c (__lgammal): Likewise.
21066         * math/w_log10l.c (__log10l): Likewise.
21067         * math/w_log2l.c (__log2l): Likewise.
21068         * math/w_logl.c (__logl): Likewise.
21069         * math/w_powl.c (__powl): Likewise.
21070         * math/w_remainderl.c (__remainderl): Likewise.
21071         * math/w_scalbl.c (sysv_scalbl): Likewise.
21072         * math/w_sinhl.c (__sinhl): Likewise.
21073         * math/w_sqrtl.c (__sqrtl): Likewise.
21074         * math/w_tgammal.c (__tgammal): Likewise.
21075         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21076         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21077         * math/libm-test.inc (acos_test): Add more tests.
21078         (acosh_test): Likewise.
21079         (asin_test): Likewise.
21080         (atanh_test): Likewise.
21081         (exp_test): Likewise.
21082         (exp10_test): Likewise.
21083         (exp2_test): Likewise.
21084         (expm1_test): Likewise.
21085         (lgamma_test): Likewise.
21086         (log_test): Likewise.
21087         (log10_test): Likewise.
21088         (log1p_test): Likewise.
21089         (log2_test): Likewise.
21090         (pow_test): Do not allow some spurious overflow exceptions.
21091         (sqrt_test): Add more tests.
21092         (tgamma_test): Likewise.
21093         (y0_test): Likewise.
21094         (y1_test): Likewise.
21095         (yn_test): Likewise.
21097 2012-03-27  Anton Blanchard  <anton@samba.org>
21099         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21100         MAP_HUGETLB.
21101         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21102         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21103         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21105 2012-03-27  David S. Miller  <davem@davemloft.net>
21107         * conform/Makefile: Run run-conformtest.sh using $(BASH).
21109         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21110         have-as-vis3 check.
21112 2012-03-27  Andreas Jaeger  <aj@suse.de>
21114         * sysdeps/x86_64/elf/configure.in: Moved to ...
21115         * sysdeps/x86_64/configure.in: ... here.
21116         * sysdeps/x86_64/elf/start.S: Moved to ...
21117         * sysdeps/x86_64/start.S: ... here.
21118         * sysdeps/x86_64/elf/configure: Delete.
21120         * sysdeps/x86_64/configure.in: Merge contents from
21121         sysdeps/i386/configure.in (without i686 check).
21123         * sysdeps/i386/elf/Versions: Merge into ...
21124         * sysdeps/i386/Versions: ... this.
21125         * sysdeps/i386/elf/Versions: Delete file.
21126         * sysdeps/i386/elf/start.S: Moved to ...
21127         * sysdeps/i386/start.S: ...here.
21128         * sysdeps/i386/elf/configure.in: Merge into...
21129         * sysdeps/i386/configure.in: ...here.
21130         * sysdeps/i386/elf/configure.in: Delete file.
21131         * sysdeps/i386/elf/configure: Delete file.
21133         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21134         * debug/backtracesyms.c: ... here.
21135         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21136         * debug/backtracesymsfd.c: ... here.
21137         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21138         * sysdeps/generic/ifunc-sel.h: ... here.
21140         * sysdeps/unix/i386/start.c: Delete file.
21141         * sysdeps/unix/sparc/start.c: Delete file.
21142         * sysdeps/unix/start.c: Delete file.
21144         * sysdeps/sh/elf/configure.in: Moved to ...
21145         * sysdeps/sh/configure.in: ... here.
21146         * sysdeps/sh/elf/start.S: Moved to ...
21147         * sysdeps/sh/start.S: ... here.
21148         * sysdeps/sh/elf/configure: Delete file.
21150         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21151         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21152         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21153         * sysdeps/powerpc/powerpc64/entry.h: ... here.
21154         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21155         * sysdeps/powerpc/powerpc64/start.S: here.
21156         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21157         * sysdeps/powerpc/powerpc64/Makefile: ... this.
21158         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21159         * sysdeps/powerpc/powerpc64/configure.in: ... this.
21160         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21162         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21163         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21164         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21165         * sysdeps/powerpc/powerpc32/start.S: ... here.
21166         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21167         * sysdeps/powerpc/powerpc32/configure.in: ... this.
21168         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21170         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21171         * sysdeps/powerpc/ifunc-sel.h: ... here.
21172         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21173         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21175         * sysdeps/sparc/elf/configure.in: Moved to ...
21176         * sysdeps/sparc/configure.in: ... here.
21177         * sysdeps/sparc/elf/configure: Delete file.
21178         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21179         * sysdeps/sparc/sparc32/start.S: ... here.
21180         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21181         * sysdeps/sparc/sparc64/start.S: ... here.
21182         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21183         * sysdeps/sparc/sparc32/Makefile: ... this.
21184         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21185         * sysdeps/sparc/sparc64/Makefile: ... this.
21187         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21188         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21189         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21190         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21191         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21192         * sysdeps/s390/s390-32/setjmp.S: ... here.
21193         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21194         * sysdeps/s390/s390-32/configure.in: ... here.
21195         * sysdeps/s390/s390-32/elf/configure: Delete file.
21196         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21197         * sysdeps/s390/s390-32/start.S: ... here.
21199         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21200         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21201         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21202         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21203         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21204         * sysdeps/s390/s390-64/setjmp.S: ... here.
21205         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21206         * sysdeps/s390/s390-64/configure.in: ... here
21207         * sysdeps/s390/s390-64/elf/configure: Delete file.
21208         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21209         * sysdeps/s390/s390-64/start.S: ... here.
21210         * sysdeps/s390/s390-64/elf/configure: Delete.
21212         * configure.in: Remove support for elf directories in sysdeps.
21214         * configure: Regenerated.
21215         * sysdeps/i386/configure: Regenerated.
21216         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21217         * sysdeps/powerpc/powerpc64/configure: Regenerated.
21218         * sysdeps/s390/s390-32/configure: Regenerated.
21219         * sysdeps/s390/s390-64/configure: Regenerated.
21220         * sysdeps/sh/configure: Regenerated.
21221         * sysdeps/sparc/configure: Regenerated.
21222         * sysdeps/x86_64/configure: Regenerated.
21224 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
21226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21228         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21229         denormal result into account.
21231 2012-03-25  Roland McGrath  <roland@hack.frob.com>
21233         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21234         Reported by Allan McRae <allan@archlinux.org>.
21236 2012-03-23  Jeff Law  <law@redhat.com>
21238         * nss/getnssent.c (__nss_getent): Fix typo.
21240 2012-03-23  David S. Miller  <davem@davemloft.net>
21242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21244 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
21246         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21247         to pad to uint64_t for each field.
21248         (dl_tls_index): Replace unsigned long with uint64_t.
21250 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
21251         Paul Pluzhnikov  <ppluzhnikov@google.com>
21253         [BZ #6528]
21254         * grp/Makefile (otherlibs): Don't set it.
21255         * inet/Makefile (otherlibs): Likewise.
21256         * login/Makefile (otherlibs): Likewise.
21257         * nscd/Makefile (otherlibs): Likewise.
21258         * posix/Makefile (otherlibs): Likewise.
21259         * pwd/Makefile (otherlibs): Likewise.
21260         * rt/Makefile (otherlibs): Likewise.
21261         * sunrpc/Makefile (otherlibs): Likewise.
21262         * nss/Makefile (otherlibs): Likewise.
21263         Add libnss_files to routines and static-only-routines.
21264         ($(objpfx)getent): Remove rule.
21265         * resolv/Makefile: Add libnss_dns and libresolv to routines and
21266         static-only-routines.
21268 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
21270         [BZ #13892]
21271         * math/s_cexp.c: Include <float.h>.
21272         (__cexp): Handle exp result overflowing not necessarily
21273         overflowing both real and imaginary parts of result.
21274         * math/s_cexpf.c: Likewise.
21275         * math/s_cexpl.c: Likewise.
21276         * math/libm-test.inc (cexp_test): Add more tests.
21277         * sysdeps/i386/fpu/libm-test-ulps: Update.
21278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21280 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21282         * include/link.h (ELFW): New macro.
21283         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21284         Replace ELF64_R_TYPE with ELFW(R_TYPE).
21286 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21288         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21289         with uint64_t.
21291 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21293         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21294         declaration.
21295         (struct La_x32_retval): Likewise.
21297 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21299         * sysdeps/x86_64/preconfigure.in: New file.
21300         * sysdeps/x86_64/preconfigure: New generated file.
21302 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
21304         [BZ #13824]
21305         * math/e_exp2l.c: Include <float.h>.
21306         (__ieee754_exp2l): Handle overflow and underflow cases
21307         separately.  Only pass fractional part of argument to
21308         __ieee754_expl.
21309         * math/libm-test.inc (exp2_test): Add more tests.
21311         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21312         negating x to take absolute value.
21313         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21314         Likewise.
21315         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21316         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21317         Likewise.
21318         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21319         computing low part if x was negated.
21320         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21322 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21324         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21325         la_x32_gnu_pltexit.
21326         (pltexit): Cast int_retval to ptrdiff_t.
21327         * elf/tst-auditmod3b.c: Likewise.
21328         * elf/tst-auditmod4b.c: Likewise.
21329         * elf/tst-auditmod5b.c: Likewise.
21330         * elf/tst-auditmod6b.c: Likewise.
21331         * elf/tst-auditmod6c.c: Likewise.
21332         * elf/tst-auditmod7b.c: Likewise.
21334         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21335         and x32_gnu_pltexit.
21337         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21338         __ELF_NATIVE_CLASS.
21339         (La_x32_regs): New macro.
21340         (La_x32_retval): Likewise.
21341         (la_x32_gnu_pltenter): New function prototype.
21342         (la_x32_gnu_pltexit): Likewise.
21344 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
21346         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21347         exponent.
21349         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21351         * configure.in (libc_cv_cc_nofma): Check for option to disable
21352         generation of FMA instructions.
21353         * configure: Regenerate.
21354         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21355         * sysdeps/ieee754/dbl-64/Makefile: New file.
21356         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21357         Remove brandred-fma4.
21358         (CFLAGS-brandred-fma4.c): Remove.
21359         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21360         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21361         define.
21362         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21363         define.
21365 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21367         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21368         LLONG_MAX != LONG_MAX.
21369         (_itoa_word): Use _ITOA_WORD_TYPE on value.
21370         (_fitoa_word): Likewise.
21371         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21372         LLONG_MAX != LONG_MAX.
21373         * stdio-common/_itowa.h: Include <_itoa.h>.
21374         (_itowa_word): Use _ITOA_WORD_TYPE on value.
21375         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
21376         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
21377         only if not defined.
21378         (_ITOA_WORD_TYPE): Likewise.
21379         (_itoa_word): Use _ITOA_WORD_TYPE on value.
21380         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21382 2012-03-21  David S. Miller  <davem@davemloft.net>
21384         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21386 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21388         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21389         of x86_64 when setting libc_cv_slibdir, libdir and
21390         libc_cv_localedir.
21391         * sysdeps/unix/sysv/linux/configure: Regenerated.
21393 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21395         * manual/lang.texi (Old Varargs): Remove section.
21396         (How Variadic): Update menu.
21397         (va_start): Do not mention varargs.h.
21399 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21400             Joseph Myers  <joseph@codesourcery.com>
21402         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21403         link test.
21404         * configure: Regenerated.
21406 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21408         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21409         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21410         conformtest.pl
21412 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21414         * NOTES: Remove.
21415         * Makefile (files-for-dist): Remove NOTES.
21416         (NOTES): Remove rule.
21417         * README: Don't refer to NOTES.
21418         * manual/creature.texi: Don't include macros.texi.
21419         * manual/intro.texi (creature.texi): Remove comment referring to
21420         NOTES.
21422         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21423         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21424         * configure: Regenerated.
21425         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21426         LIBC_TRY_CC_OPTION.
21427         (libc_cv_as_i686): Likewise.
21428         (libc_cv_cc_avx): Likewise.
21429         (libc_cv_cc_sse2avx): Likewise.
21430         (libc_cv_cc_fma4): Likewise.
21431         (libc_cv_cc_novzeroupper): Likewise.
21432         * sysdeps/i386/configure: Regenerated.
21434         [BZ #13883]
21435         * sysdeps/i386/fpu/s_cexp.S: Remove.
21436         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21437         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21438         * math/libm-test.inc (cexp_test): Add more tests.
21439         * sysdeps/i386/fpu/libm-test-ulps: Update.
21440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21442 2012-03-21  Allan McRae  <allan@archlinux.org>
21444         * timezone/Makefile: Do not install iso3166.tab and zone.tab
21446 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21448         [BZ #13871]
21449         * math/w_exp2.c: Do not include <float.h>.
21450         (o_threshold, u_threshold): Remove.
21451         (__exp2): Calculate result before checking finiteness and calling
21452         __kernel_standard.
21453         * math/w_exp2f.c: Likewise.
21454         * math/w_exp2l.c: Likewise.
21455         * math/libm-test.inc (exp2_test): Require overflow exception for
21456         1e6 input.
21458         [BZ #3866]
21459         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21460         range of signed 64-bit integers before using fistpll.  Remove
21461         checks for whether integers fit in mantissa bits.
21462         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21463         the range of signed 32-bit integers before using fistpl.  Remove
21464         checks for whether integers fit in mantissa bits.
21465         * sysdeps/i386/fpu/e_powl.S (p64): New object.
21466         (__ieee754_powl): Test for y outside the range of signed 64-bit
21467         integers before using fistpll.  Reduce 64-bit values to 63-bit
21468         ones as needed.
21469         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21470         divide-by-zero is raised for zero to large negative powers.
21471         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21472         (__ieee754_powl): Test for y outside the range of signed 64-bit
21473         integers before using fistpll.  Reduce 64-bit values to 63-bit
21474         ones as needed.
21475         * math/libm-test.inc (pow_test): Add more tests.
21477 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21479         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21480         <stdio-common/_itoa.h>.
21481         * debug/segfault.c: Likewise.
21482         * elf/dl-cache.c: Likewise.
21483         * elf/dl-minimal.c: Likewise.
21484         * elf/dl-misc.c: Likewise.
21485         * elf/dl-sysdep.c: Likewise.
21486         * elf/dl-version.c: Likewise.
21487         * elf/rtld.c: Likewise.
21488         * hurd/hurdsock.c: Likewise.
21489         * hurd/lookup-retry.c: Likewise.
21490         * malloc/malloc.c: Likewise.
21491         * malloc/mtrace.c: Likewise.
21492         * nscd/nscd_getgr_r.c: Likewise.
21493         * nscd/nscd_getpw_r.c: Likewise.
21494         * nscd/nscd_getserv_r.c: Likewise.
21495         * posix/getopt_init.c: Likewise.
21496         * posix/wordexp.c: Likewise.
21497         * stdio-common/_itoa.c: Likewise.
21498         * stdio-common/printf_fphex.c: Likewise.
21499         * stdio-common/vfprintf.c: Likewise.
21500         * string/_strerror.c: Likewise.
21501         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21502         * sysdeps/i386/i686/hp-timing.h: Likewise.
21503         * sysdeps/mach/_strerror.c: Likewise.
21504         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21505         * sysdeps/mach/hurd/sethostid.c: Likewise.
21506         * sysdeps/mach/hurd/xmknodat.c: Likewise.
21507         * sysdeps/mach/xpg-strerror.c: Likewise.
21508         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21509         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21510         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21511         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21512         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21513         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21514         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21515         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21516         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21517         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21518         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21519         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21520         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21521         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21522         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21523         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21524         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21525         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21526         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21527         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21528         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21530         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21532         * stdio-common/_itoa.h: Moved to ...
21533         * sysdeps/generic/_itoa.h: Here.
21535         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21537         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21538         instead of "_itoa.h" and "_itowa.h".
21539         * stdio-common/vfprintf.: Likewise.
21541 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21543         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21544         <bits/wordsize.h>.
21545         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21546         (__signbit): Likwise.
21547         (llrintf): Likwise.
21548         (llrint): Likwise.
21550 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21552         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21553         __WORDSIZE != 64.
21555 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
21557         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21558         OVERFLOW_EXCEPTION_OK.
21559         * math/libm-test.inc ("Philosophy"): Update comment about
21560         exception testing.
21561         (OVERFLOW_EXCEPTION): Define.
21562         (OVERFLOW_EXCEPTION_OK): Likewise.
21563         (INVALID_EXCEPTION_OK): Renumber.
21564         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21565         (IGNORE_ZERO_INF_SIGN): Likewise.
21566         (test_exceptions): Handle FE_OVERFLOW.
21567         (exp10_test): Expect overflow exceptions.
21568         (exp2_test): Likewise.
21569         (expm1_test): Likewise.
21570         (nextafter_test): Likewise.
21571         (pow_test): Likewise.
21572         (scalbn_test): Likewise.
21573         (scalbln_test): Likewise.
21575 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21577         * sysdeps/x86_64/bits/atomic.h
21578         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21579         64bit integer.
21580         (atomic_exchange_acq): Likewise.
21581         (__arch_exchange_and_add_body): Likewise.
21582         (__arch_add_body): Likewise.
21583         (atomic_add_negative): Likewise.
21584         (atomic_add_zero): Likewise.
21586 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21588         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
21589         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21591 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21593         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21594         Check __x86_64__ instead of __WORDSIZE.
21596 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21598         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21600 2012-03-19  David S. Miller  <davem@davemloft.net>
21602         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21604         * sysdeps/sparc/fpu/fenv_private.h: New file.
21605         * sysdeps/sparc/fpu/math_private.h: Use it.
21606         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21607         Remove.
21608         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21609         (libc_feholdexcept_setroundl): Remove.
21610         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21611         Remove.
21612         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21613         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21615 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21617         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21618         int64_t instead of long int.
21619         (INSERT_WORDS64): Likwise.
21621 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21623         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21624         _Unwind_GetCFA return to _Unwind_Ptr first.
21626 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
21628         [BZ #13629]
21629         * math/s_clog.c: Include <float.h>.
21630         (__clog): Scale large or subnormal inputs.
21631         * math/s_clogf.c: Likewise.
21632         * math/s_clogl.c: Likewise.
21633         * math/s_clog10.c: Include <float.h>.
21634         (M_LOG10_2): Define.
21635         (__clog10): Scale large or subnormal inputs.
21636         * math/s_clog10f.c: Likewise.
21637         * math/s_clog10l.c: Likewise.
21638         * math/libm-test.inc (clog_test): Add more tests.
21639         (clog10_test): Likewise.
21640         * sysdeps/i386/fpu/libm-test-ulps: Update.
21641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21643         [BZ #11451]
21644         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21645         x and y.
21646         * math/libm-test.inc (atan2_test): Add another test.
21648         * Makerules (common-objdir-compile): Remove.
21649         * sysdeps/unix/Makefile (config-generated): Do not add
21650         $(unix-generated) to variable.
21651         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21652         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21653         Remove rule.
21654         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21655         Likewise.
21656         [generic bits/local_lim.h] (before-compile): Do not append to
21657         variable.
21658         [generic bits/local_lim.h] (common-generated): Likewise.
21659         [generic sys/param.h] (before-compile): Do not append to variable.
21660         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21661         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21662         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21663         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21664         include.
21665         [generic sys/param.h] (sys/param.h-includes): Remove variable.
21666         [generic sys/param.h] (sys/param.h-includes): Remove rule.
21667         [generic sys/param.h] ($(addprefix
21668         $(common-objpfx),$(sys/param.h-includes))): Likewise.
21669         [generic sys/param.h] (common-generated): Do not append to
21670         variable.
21671         [generic sys/param.h] (sysdep_headers): Likewise.
21672         [generic bits/errno.h] (before-compile): Do not append to
21673         variable.
21674         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21675         rule.
21676         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21677         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21678         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21679         [generic bits/errno.h] (common-generated): Do not append to
21680         variable.
21681         [generic bits/ioctls.h] (before-compile): Do not append to
21682         variable.
21683         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21684         rule.
21685         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21686         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21687         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21688         rule.
21689         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21690         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21691         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21692         [generic bits/ioctls.h] (common-generated): Do not append to
21693         variable.
21694         [generic sys/syscall.h] (syscall.h): Remove variable.
21695         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21696         rule.
21697         [generic sys/syscall.h] (before-compile): Do not append to
21698         variable.
21699         [generic sys/syscall.h] (common-generated): Likewise.
21700         * sysdeps/unix/errnos-tmpl.c: Remove file.
21701         * sysdeps/unix/errnos.awk: Likewise.
21702         * sysdeps/unix/ioctls-tmpl.c: Likewise.
21703         * sysdeps/unix/ioctls.awk: Likewise.
21704         * sysdeps/unix/mk-local_lim.c: Likewise.
21705         * sysdeps/unix/snarf-ioctls: Likewise.
21707 2012-03-19  Richard Henderson  <rth@twiddle.net>
21709         * sysdeps/i386/fpu/fenv_private.h: New file.
21710         * sysdeps/i386/fpu/math_private.h: Use it.
21711         (math_opt_barrier, math_force_eval): Remove.
21712         (libc_feholdexcept_setround_53bit): Remove.
21713         (libc_feupdateenv_53bit): Remove.
21714         * sysdeps/x86_64/fpu/math_private.h: Likewise.
21715         (math_opt_barrier, math_force_eval): Remove.
21716         (libc_feholdexcept): Remove.
21717         (libc_feholdexcept_setround): Remove.
21718         (libc_fetestexcept, libc_fesetenv): Remove.
21719         (libc_feupdateenv_test): Remove.
21720         (libc_feupdateenv, libc_feholdsetround): Remove.
21721         (libc_feresetround): Remove.
21723         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21724         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21726         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21727         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21728         (libc_feupdateenv_testl): New.
21729         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21730         (libc_feupdateenv_testf): New.
21731         (libc_feupdateenv): Use libc_feupdateenv_test.
21732         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21733         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21735         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21736         (libc_feholdsetroundf, libc_feholdsetroundl): New.
21737         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21738         (libc_feresetround_noex): New.
21739         (libc_feresetround_noexf): New.
21740         (libc_feresetround_noexl): New.
21741         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21742         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21743         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21744         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21745         SET_RESTORE_ROUND.
21746         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21747         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21748         (__cos): Likewise.
21749         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21750         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21751         SET_RESTORE_ROUND_NOEX.
21752         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21753         SET_RESTORE_ROUND_NOEXF.
21754         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21755         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21756         (libc_feholdsetroundf): New.
21757         (libc_feresetround, libc_feresetroundf): New.
21759         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21760         (libc_feholdexcept_setround_53bit): Convert from macro to function.
21761         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
21763         * sysdeps/generic/math_private.h: Include <fenv.h>.
21764         (default_libc_feholdexcept): New.
21765         (default_libc_feholdexcept_setround): New.
21766         (default_libc_fesetenv, default_libc_feupdateenv): New.
21767         (libc_feholdexcept): Only define if undefined.
21768         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21769         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21770         (libc_feholdexcept_setroundl): Likewise.
21771         (libc_feholdexcept_setround_53bit): Likewise.
21772         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21773         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21774         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21775         (libc_feupdateenv_53bit): Likewise.
21776         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21777         (libc_feholdexcept): Convert from macro to inline function.
21778         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21779         (libc_fesetenv, libc_feupdateenv): Likewise.
21781         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21782         not previously defined.
21783         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21784         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21785         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21786         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21787         * sysdeps/ieee754/flt-32/math_private.h: New file.
21788         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21789         math_private.h below SET_FLOAT_WORD.
21790         (__isnan, __isinf_ns, __finite): Remove.
21791         (__isnanf, __isinf_nsf, __finitef): Remove.
21793 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
21795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21797 2012-03-17  David S. Miller  <davem@davemloft.net>
21799         [BZ #6471]
21800         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21801         for 2.16.
21803 2012-03-16  David S. Miller  <davem@davemloft.net>
21805         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21806         warnings.
21808         [BZ #6471]
21809         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21810         properly.
21811         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21812         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21813         sysdep_routines when subdir is sysvipc.
21814         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21815         __getshmlba helper.
21817         * sysdeps/sparc/fpu/libm-test/ulps: Update.
21819 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21821         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21822         [__LP64__].
21824 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21826         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21827         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21828         (__lround): Renamed to ...
21829         (__llround): This.  Replace long int with long long int.
21830         Define lround functions as aliases of llround functions.
21831         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21833 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21835         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21836         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
21837         adresses to uintptr_t.  Replace "long int" and "unsigned long
21838         int" with "greg_t" on va_arg.
21840 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21842         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21843         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21845         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21846         Move e_machine check before EI_CLASS check.  Handle x32
21847         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21848         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21849         SKIP_EM_IA_64 and include
21850         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21852         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21853         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21854         (add_system_dir): New macro.
21856         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21857         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21859 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
21861         [BZ #2551]
21862         [BZ #2552]
21863         [BZ #2553]
21864         [BZ #2554]
21865         [BZ #2562]
21866         [BZ #2563]
21867         [BZ #2565]
21868         [BZ #2566]
21869         [BZ #2576]
21870         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21871         (y0): Likewise.
21872         * math/w_j0f.c (j0f): Likewise.
21873         (y0f): Likewise.
21874         * math/w_j0l.c (__j0l): Likewise.
21875         (__y0l): Likewise.
21876         * math/w_j1.c (j1): Likewise.
21877         (y1): Likewise.
21878         * math/w_j1f.c (j1f): Likewise.
21879         (y1f): Likewise.
21880         * math/w_j1l.c (__j1l): Likewise.
21881         (__y1l): Likewise.
21882         * math/w_jn.c (jn): Likewise.
21883         (yn): Likewise.
21884         * math/w_jnf.c (jnf): Likewise.
21885         (ynf): Likewise.
21886         * math/w_jnl.c (__jnl): Likewise.
21887         (__ynl): Likewise.
21888         * math/libm-test.inc (j0_test): Add more tests.
21889         (j1_test): Likewise.
21890         (jn_test): Likewise.  Add trailing semicolon to existing test.
21891         (y0_test): Likewise.
21892         (y1_test): Likewise.
21893         * sysdeps/i386/fpu/libm-test-ulps: Update.
21894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21896         [BZ #13851]
21897         [BZ #13854]
21898         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21899         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21900         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21901         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21902         (__tanl): Set errno for infinite argument.
21903         * sysdeps/i386/fpu/mptan.c: Remove.
21904         * sysdeps/i386/fpu/s_tan.S: Likewise.
21905         * sysdeps/i386/fpu/s_tanl.S: Likewise.
21906         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21907         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21908         * math/libm-test.inc (tan_test): Add more tests and enable more
21909         tests for double and long double.
21910         * sysdeps/i386/fpu/libm-test-ulps: Update.
21911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21913 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
21915         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21916         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21918 2012-03-16  Roland McGrath  <roland@hack.frob.com>
21920         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21921         * configure.in: Use it for both main tree and add-ons.
21922         * configure: Regenerated.
21924 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21926         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21928 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
21930         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21931         in comment.
21933         [BZ #13851]
21934         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21935         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21936         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21937         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21938         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21939         infinite argument.
21940         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21941         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21942         != 0 for prec == 2.
21943         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21944         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21945         * sysdeps/i386/fpu/s_cosl.S: Likewise.
21946         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21947         * sysdeps/i386/fpu/s_sinl.S: Likewise.
21948         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21949         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21950         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21951         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21952         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21953         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21954         * math/libm-test.inc (cos_test): Add more tests and enable more
21955         tests for long double.
21956         (sin_test): Likewise.
21957         (sincos_test): Likewise.
21958         * sysdeps/i386/fpu/libm-test-ulps: Update.
21959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21961 2012-03-16  David S. Miller  <davem@davemloft.net>
21963         * sysdeps/sparc/fpu/math_private.h: New file.
21965 2012-03-15  David S. Miller  <davem@davemloft.net>
21967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21968         file.
21969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
21970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21971         file.
21972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21973         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21974         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21975         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21976         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21977         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21978         sysdep routines.
21979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21981         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21982         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21984         * sysdeps/sparc/sparc-ifunc.h: New file.
21985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21986         sparc-ifunc.h
21987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21989         Likewise.
21990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21991         Likewise.
21992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21996         Likewise.
21997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22002         Likewise.
22003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22004         Likewise.
22005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22009         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22010         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22011         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22012         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22013         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22014         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22015         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22016         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22017         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22018         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22019         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22020         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22021         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22022         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22023         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22024         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22025         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22026         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22027         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22028         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22030 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
22032         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22033         scaling.
22034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22036 2012-03-15  Andreas Jaeger  <aj@suse.de>
22038         [BZ #13852]
22039         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22040         ieee754/flt-32 implementation for sin, cos and sincos.
22041         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22042         * sysdeps/i386/fpu/s_cosf.S: Likewise.
22043         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22044         * sysdeps/i386/fpu/s_sinf.S: Likewise.
22045         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22046         ieee754/flt-32 implementation for tan.
22048         * math/libm-test.inc (cos_test): Enable some large input tests for
22049         float as well
22050         (sin_test): Likewise.
22051         (sincos_test): Likewise.
22052         (tan_test): Add tests for large input.
22054         * sysdeps/i386/fpu/libm-test-ulps: Update.
22056 2012-03-15  Andreas Jaeger  <aj@suse.de>
22058         [BZ #13658]
22059         * math/libm-test.inc (cos_test): Add more test cases.
22060         (sin_test): Likewise.
22061         (sincos_test): Likewise.
22063 2012-03-15  Andreas Jaeger  <aj@suse.de>
22065         [BZ #13837]
22066         * math/libm-test.inc (cos_test): Add a test case for large input
22067         value.
22068         (sin_test): Likewise.
22069         (sincos_test): Likewise.
22071 2012-03-15  Andreas Jaeger  <aj@suse.de>,
22072         Joseph Myers  <joseph@codesourcery.com>
22074         [BZ #13658]
22075         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22076         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22077         * sysdeps/i386/fpu/branred.c: Likewise.
22078         * sysdeps/i386/fpu/dosincos.c: Likewise.
22079         * sysdeps/i386/fpu/mpa.c: Likewise.
22080         * sysdeps/i386/fpu/s_cos.S: Likewise.
22081         * sysdeps/i386/fpu/s_sin.S: Likewise.
22082         * sysdeps/i386/fpu/s_sincos.S: Likewise.
22083         * sysdeps/i386/fpu/sincos32.c: Likewise.
22085         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22086         Define.
22087         (libc_feupdateenv_53bit): Define.
22088         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22089         Define.
22090         (libc_feupdateenv_53bit): Define.
22092         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22093         53 bit (without extend i386 double precision).
22095         * math/libm-test.inc (sincos_test): Add tests for large input.
22096         (sin): Likewise.
22097         (cos): Likewise.
22099         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22101 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
22103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22105 2012-03-15  David S. Miller  <davem@davemloft.net>
22107         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22108         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22109         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22110         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22113         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22115         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22116         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22117         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22118         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22119         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22120         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22121         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22123         file.
22124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22126         file.
22127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22129         file.
22130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22132         file.
22133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22134         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22135         fmin/fmax sysdep routines.
22136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22138 2012-03-14  David S. Miller  <davem@davemloft.net>
22140         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22141         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22142         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22143         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22144         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22145         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22146         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22147         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22148         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22149         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22150         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22151         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22152         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22153         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22154         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22155         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22156         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22157         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22158         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22159         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22160         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22161         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22162         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22163         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22164         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22165         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22166         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22167         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22168         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22169         routines.
22170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22171         file.
22172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22174         file.
22175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22177         file.
22178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22180         file.
22181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22183         file.
22184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22186         file.
22187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22188         file.
22189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22190         file.
22191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22192         file.
22193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22194         New file.
22195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22196         file.
22197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22198         file.
22199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
22200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22201         file.
22202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
22203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22204         file.
22205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
22206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22207         file.
22208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
22209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22210         VIS3 routines.
22212         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22213         New file.
22215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22217         * sysdeps/sparc/configure.in: New file.
22218         * sysdeps/sparc/configure: Generate.
22219         * configure.in (libc_cv_sparc_as_vis3): Substitute.
22220         * configure: Regenerate.
22221         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22222         * config.make.in (have-as-vis3): New.
22223         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22224         available use -Av9d instead of -Av9a.
22225         * sysdeps/sparc/sparc64/Makefile: Likewise.
22226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
22227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22228         New file.
22229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22230         file.
22231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22232         New file.
22233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22234         file.
22235         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22236         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22237         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22238         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22239         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22241         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22242         fzeros/fnegs to load 0x80000000 into a float register instead of
22243         using the stack.
22244         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22246 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
22248         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22249         bits/syscall.h.
22250         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22251         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22252         ($(inst_includedir)/bits/syscall.h): Remove rule.
22253         ($(objpfx)bits/syscall.d): Include instead of
22254         $(objpfx)syscall-list.d.
22255         (generated): Change syscall-list.h and syscall-list.d to
22256         bits/syscall.h and bits/syscall.d.
22258 2012-03-14  Roland McGrath  <roland@hack.frob.com>
22260         [BZ #13846]
22261         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22263 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
22265         [BZ #13841]
22266         * math/s_csqrt.c: Include <float.h>.
22267         (__csqrt): Scale large or subnormal inputs.
22268         * math/s_csqrtf.c: Likewise.
22269         * math/s_csqrtl.c: Likewise.
22270         * math/libm-test.inc (csqrt_test): Add more tests.
22271         * sysdeps/i386/fpu/libm-test-ulps: Update.
22272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22274         [BZ #13840]
22275         * math/libm-test.inc (hypot_test): Add more tests.
22277 2012-03-13  David S. Miller  <davem@davemloft.net>
22279         [BZ #13840]
22280         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22281         double-precision for the calculation instead of scaling.
22283 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
22285         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22286         manipulate bits before adding and subtracting TWO52[sx].
22287         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22288         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22289         Likewise.
22290         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22292 2012-03-13  David S. Miller  <davem@davemloft.net>
22294         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22295         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22296         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22297         rtld-global-offsets.h
22298         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22300         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22301         large parameters.
22303         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22305         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22306         'err' in the ifdef scope in which it is actually used.
22308         * nss/nss_db/db-init.c: Include string.h
22310 2012-03-12  David S. Miller  <davem@davemloft.net>
22312         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22313         masking out of the most significant byte of random value used.
22314         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22315         Fix coding style in previous change.
22317         * sysdeps/unix/sysv/linux/kernel-features.h
22318         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22319         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22320         expression.
22321         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22322         later.
22324 2012-03-11  David S. Miller  <davem@davemloft.net>
22326         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22327         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22328         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22329         for 'resultvar' otherwise things get truncated on 64-bit.
22331         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22332         Fix masking out of the most significant byte of random value used.
22334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22336 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
22338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22340 2012-03-09  David S. Miller  <davem@davemloft.net>
22342         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22343         variables with appropriate CPP guards.
22344         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22345         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
22346         on resulting framesize and the management of the outregs buffer for pltexit.
22347         Preserve floating point return values across _dl_call_pltexit call.
22348         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22349         framesize and the management of the outregs buffer for pltexit.
22350         Preserve floating point return values across _dl_call_pltexit
22351         call.
22352         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22353         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22354         (print_exit): Fix format string for return register value.
22356 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
22358         * sunrpc/Makefile (others): Add rpcgen.
22359         ($(objpfx)rpcgen): Remove special build rule and dependency on
22360         libc.
22361         * sunrpc/rpcgen.c: New file.
22363 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
22365         [BZ #13673]
22366         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22367         * stdio-common/bug-vfprintf-nargs.c: Likewise.
22368         * sysdeps/i386/crti.S: Likewise.
22369         * sysdeps/i386/crtn.S: Likewise.
22370         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22371         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22372         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22373         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22374         * sysdeps/sh/crti.S: Likewise.
22375         * sysdeps/sh/crtn.S: Likewise.
22376         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22378         [BZ #13673]
22379         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22380         with URL.
22381         * locale/programs/locfile-kw.gperf: Likewise.
22382         * locale/programs/charmap-kw.h: Regenerated.
22383         * locale/programs/locfile-kw.h: Likewise.
22385         [BZ #13673]
22386         * intl/plural.y: Replace FSF snail mail address with URL.
22387         * intl/plural.c: Regenerated.
22389 2012-03-09  Richard Henderson  <rth@twiddle.net>
22391         * include/math_private.h: Remove file.
22392         * math/math_private.h: Move file ...
22393         * sysdeps/generic/math_private.h: ... here.
22395         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22396         * sysdeps/powerpc/fpu/math_private.h: Likewise.
22397         * sysdeps/x86_64/fpu/math_private.h: Likewise.
22399         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
22400         and <math_private.h>.
22401         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22402         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22403         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22404         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22405         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22406         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22407         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22408         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22409         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22410         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22411         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22412         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22413         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22414         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22415         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22416         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22417         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22418         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22419         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22420         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22421         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22422         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22423         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22424         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22425         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22426         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22427         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22428         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22429         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22430         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22431         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22432         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22433         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22434         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22435         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22436         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22437         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22438         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22439         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22440         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22441         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22442         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22443         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22444         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22445         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22446         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22447         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22448         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22449         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22450         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22451         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22452         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22453         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22454         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22455         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22456         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22457         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22458         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22459         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22460         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22461         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22462         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22463         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22464         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22465         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22466         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22467         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22468         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22469         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22470         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22471         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22472         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22473         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22474         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22475         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22476         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22477         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22478         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22479         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22480         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22481         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22482         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22483         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22484         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22485         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22486         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22487         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22488         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22489         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22490         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22491         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22492         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22493         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22494         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22495         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22496         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22497         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22498         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22499         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22500         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22501         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22502         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22503         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22504         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22505         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22506         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22507         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22508         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22509         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22510         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22511         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22512         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22513         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22514         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22515         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22516         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22517         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22518         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22519         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22520         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22521         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22522         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22523         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22524         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22525         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22526         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22527         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22528         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22529         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22530         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22531         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22532         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22533         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22534         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22535         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22536         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22537         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22538         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22539         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22540         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22541         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22542         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22543         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22544         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22545         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22546         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22547         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22548         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22549         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22550         * sysdeps/ieee754/k_standard.c: Likewise.
22551         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22552         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22553         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22554         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22555         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22556         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22557         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22558         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22559         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22560         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22561         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22562         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22563         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22564         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22565         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22566         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22567         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22568         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22569         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22570         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22571         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22572         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22573         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22574         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22575         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22576         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22577         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22578         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22579         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22580         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22581         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22582         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22583         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22584         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22585         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22586         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22587         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22588         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22589         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22590         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22591         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22592         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22593         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22594         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22595         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22596         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22597         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22598         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22599         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22600         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22601         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22602         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22603         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22604         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22605         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22606         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22607         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22608         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22609         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22610         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22611         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22612         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22613         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22614         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22615         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22616         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22617         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22618         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22619         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22620         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22621         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22622         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22623         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22624         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22625         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22626         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22627         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22628         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22629         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22630         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22631         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22632         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22633         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22634         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22635         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22636         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22637         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22638         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22639         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22640         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22641         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22642         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22643         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22644         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22645         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22646         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22647         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22648         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22649         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22650         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22651         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22652         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22653         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22654         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22655         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22656         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22657         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22658         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22659         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22660         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22661         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22662         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22663         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22664         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22665         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22666         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22667         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22668         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22669         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22670         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22671         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22672         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22673         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22674         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22675         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22676         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22677         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22678         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22679         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22680         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22681         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22682         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22683         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22684         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22685         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22686         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22687         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22688         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22689         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22690         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22691         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22692         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22693         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22694         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22695         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22696         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22697         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22698         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22699         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22700         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22701         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22702         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22703         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22704         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22705         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22706         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22707         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22708         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22709         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22710         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22711         * sysdeps/ieee754/s_lib_version.c: Likewise.
22712         * sysdeps/ieee754/s_matherr.c: Likewise.
22713         * sysdeps/ieee754/s_signgam.c: Likewise.
22714         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22715         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22716         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22717         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22718         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22719         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22720         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22721         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22722         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22723         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22724         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22725         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22726         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22727         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22728         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22729         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22730         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22731         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22732         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22733         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22734         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22736 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
22738         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22739         * sunrpc/rpc_main.c: Likewise.
22740         * sunrpc/rpc_svcout.c: Likewise.
22742 2012-03-09  David S. Miller  <davem@davemloft.net>
22744         * include/math_private.h: New file.
22746 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
22748         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22749         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22750         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22751         from <bits/socket_type.h>.
22752         (enum __socket_type): Don't define here.
22753         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22754         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22755         bits/socket_type.h.
22757         [BZ #13566]
22758         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22759         checking __USE_GNU.
22761         * Makerules ($(inst_includedir)/%.h): New rule.
22762         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22763         (install-others): Remove variable setting.
22764         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22766 2012-03-08  Richard Henderson  <rth@twiddle.net>
22768         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22769         from macro to inline function; merge with the
22770         !__LIBC_INTERNAL_MATH_INLINES version.
22771         (__ieee754_sqrtf): Likewise.
22773         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22774         to inline function.
22775         (__rintf, __floor, __floorf): Likewise.
22777         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22778         macro to inline function.
22779         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22781         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22782         not <math/math_private.h>.
22784 2012-03-08  David S. Miller  <davem@davemloft.net>
22786         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22787         copyright year.
22788         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22790 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
22792         * resolv/gai_misc.c (handle_requests): Fix struct timespec
22793         normalization.
22794         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22795         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22797 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
22799         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
22800         be defined individually, they must be defined as a block.  Define
22801         S for printing a string instead of hidint the different by using a
22802         macro for adding the 'l'.
22803         * stdio-common/tst-fphex-wide.c: Adjust.
22805 2012-03-07  Marek Polacek  <polacek@redhat.com>
22807         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22809 2012-03-08  Marek Polacek  <polacek@redhat.com>
22811         [BZ #13806]
22812         * stdio-common/Makefile (tests): Add tst-fphex-wide.
22813         * stdio-common/tst-fphex.c: Define a few macros to make the
22814         test reusable.  Use them.
22815         * stdio-common/tst-fphex-wide.c: New file.
22817 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
22819         [BZ #6911]
22820         * manual/macros.texi (gnusystems): New macro.
22821         (nongnusystems): Likewise.
22822         (gnulinuxhurdsystems): Likewise.
22823         (gnuhurdsystems): Likewise..
22824         (gnulinuxsystems): Likewise.
22825         * manual/charset.texi: Use new macros or @theglibc{} to refer to
22826         variants of the GNU system, not "GNU system".
22827         * manual/conf.texi: Likewise.
22828         * manual/errno.texi: Likewise.  Update example of errno macro
22829         expansion.
22830         * manual/filesys.texi: Likewise.
22831         (getumask): Document as specific to GNU/Hurd.
22832         * manual/install.texi: Likewise.  Reword some references to
22833         GNU/Linux.
22834         * manual/intro.texi: Likewise.
22835         * manual/io.texi: Likewise.
22836         (File Name Portability): Detail which constraints are inapplicable
22837         to all GNU systems and which are only inapplicable to GNU/Hurd.
22838         * manual/job.texi: Likewise.
22839         * manual/llio.texi: Likewise.
22840         (O_NOCTTY): Document as present on GNU/Linux.
22841         * manual/maint.texi: Likewise.
22842         * manual/memory.texi: Likewise.
22843         * manual/pattern.texi: Likewise.
22844         * manual/pipe.texi: Likewise.
22845         * manual/process.texi: Likewise.
22846         * manual/resource.texi: Likewise.
22847         (RUSAGE_CHILDREN): Remove statement about specifying a particular
22848         child on GNU/Hurd.
22849         * manual/setjmp.texi: Likewise.
22850         * manual/signal.texi: Likewise.
22851         * manual/startup.texi: Likewise.
22852         * manual/stdio.texi: Likewise.
22853         * manual/terminal.texi: Likewise.
22854         (ONLCR): Document as POSIX.
22855         (OXTABS): Document availability on GNU/Linux as XTABS.
22856         (ONOEOT): Document availability separately from other bits.
22857         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22858         * manual/time.texi: Likewise.
22859         * manual/users.texi: Likewise.
22860         * INSTALL: Regenerated.
22861         * sysdeps/gnu/errlist.c: Regenerated.
22863         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22864         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22865         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
22866         puts.
22867         * configure: Regenerated.
22869 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
22871         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22872         default includes instead of AC_HEADER_CHECK.
22873         * sysdeps/i386/configure: Regenerated.
22875         [BZ #10716]
22876         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22877         * math/s_cacoshf.c (__cacoshf): Likewise.
22878         * math/s_cacoshl.c (__cacoshl): Likewise.
22879         * math/s_casinh.c (__casinh): Set signs of result from argument.
22880         * math/s_casinhf.c (__casinhf): Likewise.
22881         * math/s_casinhl.c (__casinhl): Likewise.
22882         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22883         (casinh_test): Add more tests.
22884         * sysdeps/i386/fpu/libm-test-ulps: Update.
22885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22887 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
22889         * po/zh_TW.po: Update from translation team.
22891         * login/Makefile (distribute): Remove variable.
22892         * catgets/Makefile: Likewise.
22893         * mach/Makefile: Likewise.
22894         * malloc/Makefile: Likewise.
22895         * misc/Makefile: Likewise.
22896         * iconv/Makefile: Likewise.
22897         * nscd/Makefile: Likewise.
22898         * hurd/Makefile: Likewise.
22899         * manual/Makefile: Likewise.
22900         * locale/Makefile: Likewise.
22901         * intl/Makefile: Likewise.
22902         * conform/Makefile: Likewise.
22903         * nss/Makefile: Likewise.
22904         * time/Makefile: Likewise.
22905         * soft-fp/Makefile: Likewise.
22906         * dirent/Makefile: Likewise.
22907         * gmon/Makefile: Likewise.
22908         * po/Makefile: Likewise.
22909         * rt/Makefile: Likewise.
22910         * socket/Makefile: Likewise.
22911         * math/Makefile: Likewise.
22912         * signal/Makefile: Likewise.
22913         * debug/Makefile: Likewise.
22914         * elf/Makefile: Likewise.
22915         * timezone/Makefile: Likewise.
22916         * stdlib/Makefile: Likewise.
22917         * iconvdata/Makefile: Likewise.
22918         * sunrpc/Makefile: Likewise.
22919         * io/Makefile: Likewise.
22920         * argp/Makefile: Likewise.
22921         * inet/Makefile: Likewise.
22922         * hesiod/Makefile: Likewise.
22923         * grp/Makefile: Likewise.
22924         * csu/Makefile: Likewise.
22925         * wctype/Makefile: Likewise.
22926         * crypt/Makefile: Likewise.
22927         * libio/Makefile: Likewise.
22928         * string/Makefile: Likewise.
22929         * nis/Makefile: Likewise.
22930         * resolv/Makefile: Likewise.
22931         * stdio-common/Makefile: Likewise.
22932         * wcsmbs/Makefile: Likewise.
22933         * dlfcn/Makefile: Likewise.
22934         * posix/Makefile: Likewise.
22936         [BZ #6959]
22937         * timezone/Makefile: Don't install timezone files, just the programs
22938         and scripts.
22940 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
22942         * nss/databases.def: Add missing gshadow entry.
22944         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
22946 2012-03-06  Marek Polacek  <polacek@redhat.com>
22948         [BZ #13726]
22949         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22950         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22951         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22952         * stdio-common/tst-long-dbl-fphex.c: New file.
22954 2012-03-06  David S. Miller  <davem@davemloft.net>
22956         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22957         (set_obp_int): New function.
22958         (get_obp_int): New function.
22959         (__get_clockfreq_via_dev_openprom): Likewise.
22960         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22961         Avoid unused variable warnings on 'val' and use builtin_expect.
22962         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22963         __builtin_expect.
22964         (INLINE_CLONE_SYSCALL): Likewise.
22966 2012-03-05  David S. Miller  <davem@davemloft.net>
22968         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22970 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
22972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22974         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22975         only for |x| >= 40.
22976         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22978 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22980         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22981         Replace gettimeofday with __vdso_gettimeofday.
22983         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22984         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22985         __vdso_clock_gettime and __vdso_getcpu.
22987         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22988         time with __vdso_time.
22990 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
22992         * manual/lang.texi (size_t): Note types to which size_t may be
22993         equivalent with the GNU C Library, but do not describe when
22994         differences between them are significant.
22996 2012-03-05  Andreas Jaeger  <aj@suse.de>
22998         * sysdeps/i386/fpu/libm-test-ulps: Update.
23000 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
23002         [BZ #3976]
23003         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23004         (__ieee754_pow): Save and restore rounding mode and use
23005         round-to-nearest for main computations.
23006         * math/libm-test.inc (pow_test_tonearest): New function.
23007         (pow_test_towardzero): Likewise.
23008         (pow_test_downward): Likewise.
23009         (pow_test_upward): Likewise.
23010         (main): Call the new functions.
23011         * sysdeps/i386/fpu/libm-test-ulps: Update.
23012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23014         [BZ #3976]
23015         * math/libm-test.inc (cosh_test_tonearest): New function.
23016         (cosh_test_towardzero): Likewise.
23017         (cosh_test_downward): Likewise.
23018         (cosh_test_upward): Likewise.
23019         (sinh_test_tonearest): Likewise.
23020         (sinh_test_towardzero): Likewise.
23021         (sinh_test_downward): Likewise.
23022         (sinh_test_upward): Likewise.
23023         (main): Call the new functions.
23024         * sysdeps/i386/fpu/libm-test-ulps: Update.
23025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23027 2012-03-05  Tom de Vries  <tom@codesourcery.com>
23029         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23030         default stack guard is set in last bytes.
23031         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23033 2012-03-05  Kees Cook  <keescook@chromium.org>
23035         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23037         [BZ #13656]
23038         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23039         possibly allocate from heap instead of stack.
23040         * stdio-common/bug-vfprintf-nargs.c: New file.
23041         * stdio-common/Makefile (tests): Add nargs overflow test.
23043 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
23045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23047 2012-03-03  Marek Polacek  <polacek@redhat.com>
23049         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23050         * math/math_private.h: Likewise.
23051         * stdlib/tst-strtod.c: Likewise.
23052         * sysdeps/i386/i486/bits/atomic.h: Likewise.
23053         * sysdeps/x86_64/bits/atomic.h: Likewise.
23055 2012-03-02  David S. Miller  <davem@davemloft.net>
23057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23059         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23061         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23062         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23063         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23064         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23066 2012-03-02  Roland McGrath  <roland@hack.frob.com>
23068         [BZ #13792]
23069         * manual/examples/README: New file, says the example source files
23070         can be used under GPL>=2.
23071         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23072         line containing just "*/".
23073         * manual/examples/add.c: Add copyright header (GPL>=2).
23074         * manual/examples/argp-ex1.c: Likewise.
23075         * manual/examples/argp-ex2.c: Likewise.
23076         * manual/examples/argp-ex3.c: Likewise.
23077         * manual/examples/argp-ex4.c: Likewise.
23078         * manual/examples/atexit.c: Likewise.
23079         * manual/examples/db.c: Likewise.
23080         * manual/examples/dir.c: Likewise.
23081         * manual/examples/dir2.c: Likewise.
23082         * manual/examples/execinfo.c: Likewise.
23083         * manual/examples/filecli.c: Likewise.
23084         * manual/examples/filesrv.c: Likewise.
23085         * manual/examples/fmtmsgexpl.c: Likewise.
23086         * manual/examples/genpass.c: Likewise.
23087         * manual/examples/inetcli.c: Likewise.
23088         * manual/examples/inetsrv.c: Likewise.
23089         * manual/examples/isockad.c: Likewise.
23090         * manual/examples/longopt.c: Likewise.
23091         * manual/examples/memopen.c: Likewise.
23092         * manual/examples/memstrm.c: Likewise.
23093         * manual/examples/mkfsock.c: Likewise.
23094         * manual/examples/mkisock.c: Likewise.
23095         * manual/examples/mygetpass.c: Likewise.
23096         * manual/examples/pipe.c: Likewise.
23097         * manual/examples/popen.c: Likewise.
23098         * manual/examples/rprintf.c: Likewise.
23099         * manual/examples/search.c: Likewise.
23100         * manual/examples/select.c: Likewise.
23101         * manual/examples/setjmp.c: Likewise.
23102         * manual/examples/sigh1.c: Likewise.
23103         * manual/examples/sigusr.c: Likewise.
23104         * manual/examples/stpcpy.c: Likewise.
23105         * manual/examples/strdupa.c: Likewise.
23106         * manual/examples/strftim.c: Likewise.
23107         * manual/examples/strncat.c: Likewise.
23108         * manual/examples/subopt.c: Likewise.
23109         * manual/examples/swapcontext.c: Likewise.
23110         * manual/examples/termios.c: Likewise.
23111         * manual/examples/testopt.c: Likewise.
23112         * manual/examples/testpass.c: Likewise.
23113         * manual/examples/timeval_subtract.c: Likewise.
23115         [BZ #13792]
23116         * manual/time.texi (Elapsed Time): Move timeval_subtract example
23117         function to ...
23118         * manual/timeval_subtract.c.texi: ... here, new file.
23120 2012-03-02  David S. Miller  <davem@davemloft.net>
23122         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23124 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
23126         [BZ #3976]
23127         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23128         (__sin): Save and restore rounding mode and use round-to-nearest
23129         for all computations.
23130         (__cos): Save and restore rounding mode and use round-to-nearest
23131         for all computations.
23132         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23133         <fenv.h>.
23134         (tan): Save and restore rounding mode and use round-to-nearest for
23135         all computations.
23136         * math/libm-test.inc (cos_test_tonearest): New function.
23137         (cos_test_towardzero): Likewise.
23138         (cos_test_downward): Likewise.
23139         (cos_test_upward): Likewise.
23140         (sin_test_tonearest): Likewise.
23141         (sin_test_towardzero): Likewise.
23142         (sin_test_downward): Likewise.
23143         (sin_test_upward): Likewise.
23144         (tan_test_tonearest): Likewise.
23145         (tan_test_towardzero): Likewise.
23146         (tan_test_downward): Likewise.
23147         (tan_test_upward): Likewise.
23148         (main): Call the new functions.
23149         * sysdeps/i386/fpu/libm-test-ulps: Update.
23150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23152         [BZ #10135]
23153         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23154         small n, then large n, before computing and testing k+n.
23155         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23156         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23157         Likewise.
23158         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23159         Likewise.
23160         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23161         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23162         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23163         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23164         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23165         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23166         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23167         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23168         * math/libm-test.inc (scalbn_test): Add more tests.
23169         (scalbln_test): Likewise.
23171         * manual/filesys.texi (mode_t): Describe constraints on size and
23172         signedness, not exact equivalence to a particular type.
23173         (ino_t): Likewise.
23174         (ino64_t): Likewise.
23175         (dev_t): Likewise.
23176         (nlink_t): Likewise.
23177         (blkcnt_t): Likewise.
23178         (blkcnt64_t): Likewise.
23179         * manual/llio.texi (off_t): Likewise.
23181         [BZ #3976]
23182         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23183         (__ieee754_exp): Save and restore rounding mode and use
23184         round-to-nearest for all computations.
23185         * math/libm-test.inc (exp_test_tonearest): New function.
23186         (exp_test_towardzero): Likewise.
23187         (exp_test_downward): Likewise.
23188         (exp_test_upward): Likewise.
23189         (main): Call the new functions.
23190         * sysdeps/i386/fpu/libm-test-ulps: Update.
23191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23193 2012-03-01  Chris Demetriou  <cgd@google.com>
23195         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23196         have predictable order.
23198 2012-03-01  David S. Miller  <davem@davemloft.net>
23200         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23202         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23203         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23204         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23205         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23207         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23208         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23209         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23211         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23212         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23213         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23214         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23215         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23219         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23220         * sysdeps/sparc/fpu/libm-test-ulps: to here.
23221         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23223         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23224         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23225         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23226         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23227         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23228         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23229         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23230         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23231         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23232         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23233         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23234         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23235         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23236         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23237         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23238         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23239         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23240         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23241         * sysdeps/sparc/elf/configure: Regenerated.
23243 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
23245         * configure.in (AS, LD): Require binutils 2.20 or later.
23246         * configure: Regenerated.
23247         * manual/install.texi (Tools for Compilation): Give binutils 2.20
23248         as required minimum version.
23249         * INSTALL: Regenerated.
23251         [BZ #2541]
23252         [BZ #4108]
23253         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23254         before squaring exponent.
23255         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23256         bottom long double and 27 bits of top long double before squaring
23257         exponent.
23258         * math/libm-test.inc (erfc_test): Add more tests.
23259         * sysdeps/i386/fpu/libm-test-ulps: Update.
23260         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23263 2012-03-01  Kai Tietz  <ktietz@redhat.com>
23265         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23266         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23267         containing bit-fields.
23268         * soft-fp/extended.h (_FP_UNION_E): Likewise.
23269         * soft-fp/single.h (_FP_UNION_S): Likewise.
23270         * soft-fp/double.h (_FP_UNION_D): Likewise.
23272 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
23274         [BZ #13786]
23275         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23276         not include ../strcmp.S.
23277         [USE_AS_STRNCASECMP_L]: Likewise.
23278         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23279         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23280         * sysdeps/i386/i686/multiarch/strncase_l-c.c
23281         (__strncasecmp_l_ia32): Define as alias to
23282         __strncasecmp_l_nonascii.
23284         [BZ #5794]
23285         * math/libm-test.inc (expm1_test): Add test for bug 5794.
23286         * sysdeps/i386/fpu/libm-test-ulps: Update.
23287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23289         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23292 2012-02-29  Jeff Law  <law@redhat.com>
23294         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23295         out of bounds read.
23297 2012-02-29  Marek Polacek  <polacek@redhat.com>
23299         [BZ #13706]
23300         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23301         * elf/Makefile: Add rules to run tst-unused-dep.out.
23303 2012-02-28  David S. Miller  <davem@davemloft.net>
23305         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23306         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23307         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23308         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23309         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23310         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23312 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
23314         * math/libm-test.inc (llround_test): Move one test from
23315         lround_test.  Use TEST_f_L in moved test.
23316         (lround_test): Move misplaced test to llround_test.  Add testcase
23317         from bug 2561.
23319 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
23321         * sysdeps/x86_64/fpu/e_expf.S: New file.
23322         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23324 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
23326         [BZ #13637]
23327         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23328         of remain_len that may cause incomplete multi-byte character and
23329         false match.
23330         * posix/bug-regex33.c: New file.
23331         * posix/Makefile (tests): Add bug-regex33.
23333 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
23335         * manual/macros.texi: New file.
23336         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23337         * manual/libc.texinfo: Include macros.texi.
23338         * manual/creatute.texi: Likewise.
23339         * manual/install.texi: Likewise.
23340         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23341         @glibcadj{} in references to the GNU C Library.
23342         * manual/charset.texi: Likewise.
23343         * manual/conf.texi: Likewise.
23344         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
23345         when not using those macros.
23346         * manual/creature.texi: Likewise.
23347         * manual/crypt.texi: Likewise.
23348         * manual/errno.texi: Likewise.
23349         * manual/filesys.texi: Likewise.
23350         * manual/header.texi: Likewise.
23351         * manual/install.texi: Likewise.
23352         * manual/intro.texi: Likewise.
23353         * manual/io.texi: Likewise.
23354         * manual/job.texi: Likewise.
23355         * manual/lang.texi: Likewise.
23356         * manual/libc.texiinfo: Likewise.
23357         * manual/llio.texi: Likewise.
23358         * manual/locale.texi: Likewise.
23359         * manual/maint.texi: Likewise.
23360         * manual/math.texi: Likewise.
23361         * manual/memory.texi: Likewise.
23362         * manual/message.texi: Likewise.
23363         * manual/nss.texi: Likewise.
23364         * manual/pattern.texi: Likewise.
23365         * manual/process.texi: Likewise.
23366         * manual/resource.texi: Likewise.
23367         * manual/search.texi: Likewise.
23368         * manual/setjmp.texi: Likewise.
23369         * manual/signal.texi: Likewise.
23370         * manual/socket.texi: Likewise.
23371         * manual/startup.texi: Likewise.
23372         * manual/stdio.texi: Likewise.
23373         * manual/string.texi: Likewise.
23374         * manual/sysinfo.texi: Likewise.
23375         * manual/syslog.texi: Likewise.
23376         * manual/terminal.texi: Likewise.
23377         * manual/time.texi: Likewise.
23378         * manual/users.texi: Likewise.
23379         * INSTALL: Regenerated.
23380         * NOTES: Regenerated.
23381         * sysdeps/gnu/errlist.c: Regenerated.
23383 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
23385         * include/dirent.h: Include <dirstream.h> before
23386         <dirent/dirent.h>.
23388 2012-02-28  David S. Miller  <davem@davemloft.net>
23390         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23391         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23392         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23393         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23395 2012-02-27  David S. Miller  <davem@davemloft.net>
23397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23399         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23400         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23403         frame pointer instead of stack pointer relative arg slot.
23404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23405         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23406         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23408 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
23410         [BZ #3992]
23411         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23413 2012-02-27  David S. Miller  <davem@davemloft.net>
23415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23419         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23420         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23421         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23422         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23424 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
23426         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23427         later.  Allow versions 5-9.
23428         * configure: Regenerated.
23429         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23430         required minimum version and 4.6 as recommended version.  Do not
23431         mention bugs in GCC 2.7 and 2.8.
23432         * INSTALL: Regenerated.
23434 2012-02-27  David S. Miller  <davem@davemloft.net>
23436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23440         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23441         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23442         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23443         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23445         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23446         manipulate bits before adding and subtracting TWO112[sx].
23447         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23449 2012-02-27  Roland McGrath  <roland@hack.frob.com>
23451         [BZ #13775]
23452         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23453         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23454         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23455         being in POSIX, because they are in 1003.1-2008.
23457         * rt/tst-aio.c: Include <fcntl.h>.
23458         * rt/tst-aio7.c: Likewise.
23459         * rt/tst-aio64.c: Likewise.
23461         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23463 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
23465         * manual/install.texi (--with-headers): Describe headers as
23466         interface headers, not private headers.
23467         (Specific advice for GNU/Linux systems): Describe use of headers
23468         from "make headers_install", not private headers from older
23469         kernels.
23470         * INSTALL: Regenerated.
23471         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23472         Change to 2.6.19.
23473         * sysdeps/unix/sysv/linux/configure: Regenerated.
23475         * manual/llio.texi (fclean): Remove documentation.
23477         * manual/Makefile (libc-texi-generated): New variable.  Include
23478         version.texi.
23479         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23480         $(libc-texi-generated), not duplicated list of files.
23481         (version.texi, stamp-version): New rules.
23482         (realclean): Remove $(libc-texi-generated), not individual files
23483         from that list.  Do not remove dir-add.texinfo.
23484         * manual/libc.texinfo: Comment out uses of edition numbers and
23485         references to printed manual.  Remove last-updated dates.
23486         (EDITION): Comment out.
23487         (ISBN): Likewise.
23488         (VERSION, UPDATED): Remove.
23489         (version.texi): Include.
23491 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
23493         * sysdeps/posix/spawni.c: Include <signal.h>.
23494         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23495         * sysdeps/pthread/aio_fsync.c: Likewise.
23497 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
23499         * conform/Makefile (tests): Run only when not cross-compiling and
23500         when fast-check is not defined.
23502         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23503         * conform/data/limits.h-data: Fixes for POSIX2008.
23504         * conform/run-conformtest.sh: Run all tests.
23505         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23506         headers.
23507         * include/bits/dlfcn.h: Likewise.
23508         * include/langinfo.h: Likewise.
23509         * include/monetary.h: Likewise.
23510         * include/sys/poll.h: Likewise.
23512         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23513         for __USE_GNU.
23514         * posix/spawn.h: Define __need_sigset_t.
23515         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23516         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23517         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
23518         to get sigevent_t only.
23519         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23520         only for __USE_GNU.
23521         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23522         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23523         process_vm_writev only for __USE_GNU.
23524         * termios/termios.h: Declare tcgetsid also for POSIX2008.
23526         * conform/Makefile: For now ignore errors from run-conformtest.
23527         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
23528         POSIX to avoid namespace pollution.  Don't prepend headers.
23529         * conform/data/aio.h-data: Fixes for POSIX testing.
23530         * conform/data/fcntl.h-data: Likewise.
23531         * conform/data/glob.h-data: Likewise.
23532         * conform/data/grp.h-data: Likewise.
23533         * conform/data/pthread.h-data: Likewise.
23534         * conform/data/pwd.h-data: Likewise.
23535         * conform/data/signal.h-data: Likewise.
23536         * conform/data/spawn.h-data: Likewise.
23537         * conform/data/stdio.h-data: Likewise.
23538         * conform/data/stdlib.h-data: Likewise.
23539         * conform/data/stropts.h-data: Likewise.
23540         * conform/data/sys/mman.h-data: Likewise.
23541         * conform/data/sys/stat.h-data: Likewise.
23542         * conform/data/sys/types.h-data: Likewise.
23543         * conform/data/sys/wait.h-data: Likewise.
23544         * conform/data/time.h-data: Likewise.
23545         * conform/data/unistd.h-data: Likewise.
23546         * conform/data/utime.h-data: Likewise.
23548         * io/sys/stat.h: fchmod was always in POSIX.
23549         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23550         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23551         * rt/aio.h: Define __need_timespec before including <time.h>.
23552         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23553         struct.  Add forward declaration of pthread_attr_t and use it in
23554         sigevent.
23555         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23556         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23557         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23558         always remove CLK_TCK definition.
23560 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
23562         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23564 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
23566         * conform/run-conformtest.sh: New file.
23567         * conform/Makefile: Run run-conformtest for tests.
23568         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
23569         support.
23571         * conform/data/uchar.h-data: New file.
23572         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23573         * conform/data/arpa/inet.h-data: Likewise.
23574         * conform/data/assert.h-data: Likewise.
23575         * conform/data/complex.h-data: Likewise.
23576         * conform/data/cpio.h-data: Likewise.
23577         * conform/data/ctype.h-data: Likewise.
23578         * conform/data/dirent.h-data: Likewise.
23579         * conform/data/dlfcn.h-data: Likewise.
23580         * conform/data/errno.h-data: Likewise.
23581         * conform/data/fcntl.h-data: Likewise.
23582         * conform/data/float.h-data: Likewise.
23583         * conform/data/fmtmsg.h-data: Likewise.
23584         * conform/data/fnmatch.h-data: Likewise.
23585         * conform/data/ftw.h-data: Likewise.
23586         * conform/data/glob.h-data: Likewise.
23587         * conform/data/grp.h-data: Likewise.
23588         * conform/data/iconv.h-data: Likewise.
23589         * conform/data/inttypes.h-data: Likewise.
23590         * conform/data/langinfo.h-data: Likewise.
23591         * conform/data/libgen.h-data: Likewise.
23592         * conform/data/limits.h-data: Likewise.
23593         * conform/data/locale.h-data: Likewise.
23594         * conform/data/math.h-data: Likewise.
23595         * conform/data/monetary.h-data: Likewise.
23596         * conform/data/mqueue.h-data: Likewise.
23597         * conform/data/ndbm.h-data: Likewise.
23598         * conform/data/net/if.h-data: Likewise.
23599         * conform/data/netdb.h-data: Likewise.
23600         * conform/data/netinet/in.h-data: Likewise.
23601         * conform/data/nl_types.h-data: Likewise.
23602         * conform/data/poll.h-data: Likewise.
23603         * conform/data/pthread.h-data: Likewise.
23604         * conform/data/pwd.h-data: Likewise.
23605         * conform/data/regex.h-data: Likewise.
23606         * conform/data/sched.h-data: Likewise.
23607         * conform/data/search.h-data: Likewise.
23608         * conform/data/semaphore.h-data: Likewise.
23609         * conform/data/setjmp.h-data: Likewise.
23610         * conform/data/signal.h-data: Likewise.
23611         * conform/data/spawn.h-data: Likewise.
23612         * conform/data/stdarg.h-data: Likewise.
23613         * conform/data/stdio.h-data: Likewise.
23614         * conform/data/stdlib.h-data: Likewise.
23615         * conform/data/string.h-data: Likewise.
23616         * conform/data/strings.h-data: Likewise.
23617         * conform/data/stropts.h-data: Likewise.
23618         * conform/data/sys/ipc.h-data: Likewise.
23619         * conform/data/sys/mman.h-data: Likewise.
23620         * conform/data/sys/msg.h-data: Likewise.
23621         * conform/data/sys/resource.h-data: Likewise.
23622         * conform/data/sys/select.h-data: Likewise.
23623         * conform/data/sys/sem.h-data: Likewise.
23624         * conform/data/sys/shm.h-data: Likewise.
23625         * conform/data/sys/socket.h-data: Likewise.
23626         * conform/data/sys/stat.h-data: Likewise.
23627         * conform/data/sys/statvfs.h-data: Likewise.
23628         * conform/data/sys/time.h-data: Likewise.
23629         * conform/data/sys/timeb.h-data: Likewise.
23630         * conform/data/sys/times.h-data: Likewise.
23631         * conform/data/sys/types.h-data: Likewise.
23632         * conform/data/sys/uio.h-data: Likewise.
23633         * conform/data/sys/un.h-data: Likewise.
23634         * conform/data/sys/utsname.h-data: Likewise.
23635         * conform/data/sys/wait.h-data: Likewise.
23636         * conform/data/syslog.h-data: Likewise.
23637         * conform/data/tar.h-data: Likewise.
23638         * conform/data/termios.h-data: Likewise.
23639         * conform/data/utime.h-data: Likewise.
23640         * conform/data/utmpx.h-data: Likewise.
23641         * conform/data/varargs.h-data: Likewise.
23642         * conform/data/wchar.h-data: Likewise.
23643         * conform/data/wctype.h-data: Likewise.
23644         * conform/data/wordexp.h-data: Likewise.
23646         * include/stropts.h: New file.
23647         * include/uchar.h: New file.
23648         * include/aio.h: Changes to allow conformtest.pl to use the headers.
23649         * include/assert.h: Likewise.
23650         * include/ctype.h: Likewise.
23651         * include/dirent.h: Likewise.
23652         * include/dlfcn.h: Likewise.
23653         * include/fcntl.h: Likewise.
23654         * include/fnmatch.h: Likewise.
23655         * include/glob.h: Likewise.
23656         * include/grp.h: Likewise.
23657         * include/libio.h: Likewise.
23658         * include/locale.h: Likewise.
23659         * include/math.h: Likewise.
23660         * include/net/if.h: Likewise.
23661         * include/netdb.h: Likewise.
23662         * include/netinet/in.h: Likewise.
23663         * include/pthread.h: Likewise.
23664         * include/pwd.h: Likewise.
23665         * include/regex.h: Likewise.
23666         * include/sched.h: Likewise.
23667         * include/search.h: Likewise.
23668         * include/setjmp.h: Likewise.
23669         * include/signal.h: Likewise.
23670         * include/stdio.h: Likewise.
23671         * include/stdlib.h: Likewise.
23672         * include/string.h: Likewise.
23673         * include/sys/cdefs.h: Likewise.
23674         * include/sys/mman.h: Likewise.
23675         * include/sys/msg.h: Likewise.
23676         * include/sys/resource.h: Likewise.
23677         * include/sys/select.h: Likewise.
23678         * include/sys/socket.h: Likewise.
23679         * include/sys/stat.h: Likewise.
23680         * include/sys/statvfs.h: Likewise.
23681         * include/sys/time.h: Likewise.
23682         * include/sys/times.h: Likewise.
23683         * include/sys/uio.h: Likewise.
23684         * include/sys/utsname.h: Likewise.
23685         * include/sys/wait.h: Likewise.
23686         * include/termios.h: Likewise.
23687         * include/time.h: Likewise.
23688         * include/ulimit.h: Likewise.
23689         * include/unistd.h: Likewise.
23690         * include/utime.h: Likewise.
23691         * include/wchar.h: Likewise.
23692         * include/wctype.h: Likewise.
23693         * include/wordexp.h: Likewise.
23695         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23697         * time/time.h: TIME_UTC must be a macro.
23698         Make timespec_get available for ISO C11 only as well.
23700 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
23702         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23703         Reported by Peng Haitao <penght@cn.fujitsu.com>.
23705 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23707         * configure.in: Use -o not -a in test for unsupported multi-arch.
23709 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23711         * manual/texinfo.tex: Update to version 2012-01-19.16.
23713 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23715         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23717 2012-02-24  Roland McGrath  <roland@hack.frob.com>
23719         [BZ #13738]
23720         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23721         * manual/fdl-1.3.texi: New file.
23722         * manual/fdl-1.1.texi: File removed.
23724         [BZ #13738]
23725         * manual/libc.texinfo (FDL_VERSION): New @set.
23726         Use it for mention of FDL in cover text.
23727         (Documentation License): Use it in @include file name.
23729 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23730             Roland McGrath  <roland@hack.frob.com>
23732         [BZ #5461]
23733         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23734         not LONG_LONG_MAX and LONG_LONG_MIN.
23735         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23736         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
23737         name.
23738         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23740 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23742         [BZ #2547]
23743         [BZ #11365]
23744         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23745         manipulate bits before adding and subtracting TWO23[sx].
23746         * math/libm-test.inc (nearbyint_test): Add more tests.
23748 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23750         [BZ #2548]
23751         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23752         bits before adding and subtracting TWO23[sx].
23753         * math/libm-test.inc (rint_test): Add more tests.
23754         (rint_test_tonearest): Likewise.
23755         (rint_test_towardzero): Likewise.
23756         (rint_test_downward): Likewise.
23757         (rint_test_upward: Likewise.
23759 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23761         [BZ #10110]
23762         * include/stdc-predef.h: New file.  Extracted from features.h.
23763         * include/features.h: Include stdc-predef.h.
23764         * Makefile (headers): Add stdc-predef.h.
23765         * CONFORMANCE (Compiler limitations): Update.
23767 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23769         * manual/libc.texinfo (VERSION, UPDATED): Revert.
23771 2012-02-21  David S. Miller  <davem@davemloft.net>
23773         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23774         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23776 2012-02-20  David S. Miller  <davem@davemloft.net>
23778         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23779         using a normal save/restore sequence, rather than allocating a
23780         dummy stack frame just to store a frame pointer and restore.
23781         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23783 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23785         * manual/install.texi: Fix stray word in line-wrapped comment.
23787 2012-02-20  David S. Miller  <davem@davemloft.net>
23789         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23790         both binutils and gcc support GOTDATA.
23792         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23793         "rd %pc" in the PIC register setup sequences.
23795         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23796         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23797         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23798         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23799         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23800         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23801         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23802         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23803         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23804         (SYSCALL_ERROR_HANDLER): Likewise.
23805         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23806         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23807         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23808         (SYSCALL_ERROR_HANDLER): Likewise.
23810         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23811         (HAVE_GCC_GOTDATA): New.
23812         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23813         relocation support in both binutils and gcc.
23814         * sysdeps/sparc/elf/configure: Regenerate.
23816         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23817         * sysdeps/sparc/sparc32/elf/configure: Delete.
23818         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23819         * sysdeps/sparc/sparc64/elf/configure: Delete.
23820         * sysdeps/sparc/elf/configure.in: New file.
23821         * sysdeps/sparc/elf/configure: Generate.
23823         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23824         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23825         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23826         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23827         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23829 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23831         * manual/install.texi: Do not mention specific glibc version
23832         numbers.
23833         * manual/libc.texinfo (VERSION, UPDATED): Update.
23834         (@copying): Use @copyright{} and range of years.
23836 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23838         [BZ #13695]
23839         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23840         [crti.S not in sysdirs] (generated): Do not append.
23841         [crti.S not in sysdirs] (omit-deps): Likewise.
23842         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23843         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23844         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23845         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23846         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23847         Likewise.
23848         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23849         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23850         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23851         * csu/defs.awk: Remove file.
23852         * sysdeps/generic/initfini.c: Likewise.
23853         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23854         variable.
23855         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23856         Likewise.
23858 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23860         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23861         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23862         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23863         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23864         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23865         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23866         <bits/epoll.h>.
23867         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23868         (__EPOLL_PACKED): Define to empty if not defined by
23869         <bits/epoll.h>.
23870         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23871         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23872         bits/epoll.h.
23874 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23876         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23877         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23878         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23879         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23880         <bits/timerfd.h>.
23881         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23882         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23883         bits/timerfd.h.
23885 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23887         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23888         in C locale.
23889         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23890         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23891         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23894 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
23896         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23897         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23899 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
23901         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23902         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23903         defined.
23904         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23905         Likewise.
23906         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23907         entry for 2.16.
23909 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
23911         * math/w_acos.c: Use non-signaling floating-point comparisons.
23912         * math/w_acosf.c: Likewise.
23913         * math/w_acosh.c: Likewise.
23914         * math/w_acoshf.c: Likewise.
23915         * math/w_acoshl.c: Likewise.
23916         * math/w_acosl.c: Likewise.
23917         * math/w_asin.c: Likewise.
23918         * math/w_asinf.c: Likewise.
23919         * math/w_asinl.c: Likewise.
23920         * math/w_atanh.c: Likewise.
23921         * math/w_atanhf.c: Likewise.
23922         * math/w_atanhl.c: Likewise.
23923         * math/w_exp2.c: Likewise.
23924         * math/w_exp2f.c: Likewise.
23925         * math/w_exp2l.c: Likewise.
23926         * math/w_j0.c: Likewise.
23927         * math/w_j0f.c: Likewise.
23928         * math/w_j0l.c: Likewise.
23929         * math/w_j1.c: Likewise.
23930         * math/w_j1f.c: Likewise.
23931         * math/w_j1l.c: Likewise.
23932         * math/w_jn.c: Likewise.
23933         * math/w_jnf.c: Likewise.
23934         * math/w_log.c: Likewise.
23935         * math/w_log10.c: Likewise.
23936         * math/w_log10f.c: Likewise.
23937         * math/w_log10l.c: Likewise.
23938         * math/w_log2.c: Likewise.
23939         * math/w_log2f.c: Likewise.
23940         * math/w_log2l.c: Likewise.
23941         * math/w_logf.c: Likewise.
23942         * math/w_logl.c: Likewise.
23943         * math/w_sqrt.c: Likewise.
23944         * math/w_sqrtf.c: Likewise.
23945         * math/w_sqrtl.c: Likewise.
23946         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23947         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23948         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23949         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23950         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23952 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23954         [BZ #9739]
23955         * manual/string.texi (strnlen): Use correct parameter name in
23956         equivalent expression.
23958 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23960         [BZ #11174]
23961         * manual/users.texi (seteuid): Consistently use neweuid for
23962         argument name.
23964 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23966         [BZ #13704]
23967         * manual/nss.texi (Services in the NSS configuration): Correct
23968         list of services in example configuration file.
23970 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
23972         [BZ #11322]
23973         * manual/arith.texi: Remove statements about negative zero
23974         behaving identically to zero.
23976 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
23978         [BZ #5993]
23979         * manual/install.texi: Do not document upgrading from libc5.
23981 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
23983         [BZ #4596]
23984         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23986 2012-02-18  David S. Miller  <davem@davemloft.net>
23988         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23989         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23990         %o7 across the call.
23991         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23992         instead.
23993         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23994         SETUP_PIC_REG_LEAF.
23995         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23996         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23997         * sysdeps/sparc/crtn.S: Likewise.
23999 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
24001         * aout/Makefile: Remove.
24003 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
24005         [BZ #13058]
24006         * manual/examples/argp-ex1.c (main): Format definition in GNU
24007         style.
24008         * manual/examples/argp-ex2.c (main): Likewise.
24009         * manual/examples/argp-ex3.c (main): Likewise.
24010         * manual/examples/argp-ex4.c (main): Likewise.
24011         * manual/examples/longopt.c (main): Use new-style prototype
24012         definition.
24013         * manual/examples/strncat.c (main): Specify return type and use
24014         (void) for arguments.
24015         * manual/examples/subopt.c (main): Use char **argv argument.
24017 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24019         [BZ #5077]
24020         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24021         rounding modes.
24023 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
24025         [BZ #6907]
24026         * manual/string.texi (strchr): Change when strchrnul is
24027         recommended.
24029 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
24031         [BZ #174]
24032         * manual/locale.texi (setlocale): Document LOCPATH.
24034 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24036         [BZ #10210]
24037         * manual/process.texi (execle): Move @dots{} before last argument.
24039 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
24041         [BZ #12047]
24042         * manual/charset.texi (Generic Charset Conversion): Fix typo
24043         (LC_TYPE -> LC_CTYPE).
24045 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
24047         [BZ #5805]
24048         * manual/arith.texi (scalbn): Use @var{} on parameter names.
24049         (scalbnf): Likewise.
24050         (scalbnl): Likewise.
24051         (scalbln): Likewise.
24052         (scalblnf): Likewise.
24053         (scalblnl): Likewise.
24054         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24055         (vwarnx): Likewise.
24056         (verr): Likewise.
24057         (verrx): Likewise.
24058         * manual/filesys.texi (telldir): Use braces around return type.
24059         * manual/llio.texi (mmap): Add space after comma.
24060         (mmap64): Likewise.
24061         * manual/math.texi (jn): Use @var{} on parameter names.
24062         (jnf): Likewise.
24063         (jnl): Likewise.
24064         (yn): Likewise.
24065         (ynf): Likewise.
24066         (ynl): Likewise.
24067         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24068         line.
24069         * manual/resource.texi (ulimit): Use @dots{} instead of literal
24070         "...".
24071         (sched_get_priority_min): Remove semicolon on @deftypefun line.
24072         (sched_get_priority_max): Likewise.
24073         * manual/signal.texi (sigvec): Add space after comma.
24074         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24075         names.
24076         (if_indextoname): Likewise.
24077         (if_freenameindex): Likewise.
24078         (sendto): Use ',' instead of '.' in prototype.
24079         * manual/startup.texi (syscall): Use @dots{} instead of literal
24080         "...".
24081         * manual/stdio.texi (__fpending): Separate initial words of
24082         paragraph from @deftypefun line.
24083         * manual/syslog.texi (syslog): Use @dots{} instead of literal
24084         "...".
24085         (vsyslog): Use @var{} on parameter names.
24086         * manual/terminal.texi (stty): Use @var{} on parameter names.
24087         * manual/users.texi (getutmp): Use @var{} on parameter names.
24088         (getutmpx): Likewise.
24090 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24092         [BZ #6884]
24093         * manual/stdio.texi (fopen): Fix typos in description of
24094         ",ccs=STRING".
24096 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
24098         [BZ #4026]
24099         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24100         get clock_id definition.
24102 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
24104         [BZ #4822]
24105         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24106         (madvise): Cast every argument to void on its own.
24108 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24110         [BZ #9902]
24111         * manual/startup.texi (Exit Status): Fix typo.
24113 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24115         [BZ #10140]
24116         * manual/examples/argp-ex1.c: Include <stdlib.h>.
24117         * manual/examples/argp-ex2.c: Likewise.
24118         * manual/examples/argp-ex3.c: Likewise.
24120 2012-02-16  Richard Henderson  <rth@redhat.com>
24122         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24123         * sysdeps/s390/s390-32/initfini.c: Remove.
24124         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24125         * sysdeps/s390/s390-64/initfini.c: Remove.
24127 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24129         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24130         compiler output for sysdeps/generic/initfini.c.
24131         * sysdeps/sh/elf/initfini.c: Remove file.
24133 2012-02-16  David S. Miller  <davem@davemloft.net>
24135         [BZ #11494]
24136         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24138         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24139         * sysdeps/sparc/crti.S: New file.
24140         * sysdeps/sparc/crtn.S: New file.
24141         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24142         * sysdeps/sparc/sparc64/Makefile: Likewise.
24144 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
24146         [BZ #3335]
24147         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24149 2012-02-15  Roland McGrath  <roland@hack.frob.com>
24151         [BZ #4822]
24152         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24154         * mach/devstream.c (cookie_io_functions_t): Macro removed.
24155         (write, read, close): Likewise.
24156         Patch by Aurelien Jarno <aurelien@aurel32.net>.
24158 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
24160         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24161         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24162         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24163         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24164         <bits/signalfd.h>.
24165         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24166         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24167         bits/signalfd.h.
24169 2012-02-14  Marek Polacek  <polacek@redhat.com>
24171         * sysdeps/x86_64/crti.S: New file.
24172         * sysdeps/x86_64/crtn.S: New file.
24173         * sysdeps/x86_64/elf/initfini.c: Remove file.
24175 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
24177         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24178         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24179         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24180         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24181         <bits/inotify.h>.
24182         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24183         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24184         bits/inotify.h.
24186 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
24188         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24189         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24190         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24191         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24192         <bits/eventfd.h>.
24193         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24194         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24195         bits/eventfd.h.
24197 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
24199         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24200         __feraiseexcept instead of feraiseexcept.
24202         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24203         nanosleep invocations.
24204         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24205         strings, and add error checking for a nanosleep invocations.
24207 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
24209         Replace FSF snail mail address with URLs, as per GNU coding standards.
24210         Most of the snail mail addresses were wrong anyway, and omitting
24211         them makes the source code easier to maintain.  Almost all of the
24212         changes are to license notices and to locale LC_IDENTIFICATION
24213         addresses, except for this one:
24214         * manual/libc.texinfo: In "Published by", give the FSF's URL,
24215         not its snail mail address.
24217 2012-02-09  Richard Henderson  <rth@twiddle.net>
24219         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24220         of kernel-features.h.
24222         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24224 2012-02-08  Marek Polacek  <polacek@redhat.com>
24226         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24227         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24228         * sysdeps/gnu/_G_config.h: Likewise.
24229         * sysdeps/generic/_G_config.h: Likewise.
24231 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
24233         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24234         tests.
24235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24237         * sysdeps/powerpc/powerpc32/crti.S: New file.
24238         * sysdeps/powerpc/powerpc32/crtn.S: New file.
24239         * sysdeps/powerpc/powerpc64/crti.S: New file.
24240         * sysdeps/powerpc/powerpc64/crtn.S: New file.
24242         * Makeconfig (have-initfini): Don't set.
24243         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24244         * configure.in (nopic_initfini): Don't substitute.
24245         * config.h.in (HAVE_INITFINI): Don't #undef.
24246         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24247         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24249 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
24251         Support crti.S and crtn.S provided directly by architectures.
24252         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24253         [crti.S in sysdirs] (omit-deps): Likewise.
24254         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24255         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24256         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24257         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24258         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24259         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24260         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24261         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24262         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24263         compiler output for sysdeps/generic/initfini.c.
24264         * sysdeps/i386/elf/Makefile: Remove file.
24265         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24267 2012-02-07  Marek Polacek  <polacek@redhat.com>
24269         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24270         * sysdeps/gnu/_G_config.h: Likewise.
24271         * sysdeps/mach/hurd/_G_config.h: Likewise.
24273 2012-02-07  Marek Polacek  <polacek@redhat.com>
24275         * math/Makefile (tests): Add tst-CMPLX2.
24276         * math/tst-CMPLX2.c: New file.
24278 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
24280         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24282         * math/libm-test.inc (jn_test): Add missing L suffix.
24284 2012-02-06  Marek Polacek  <polacek@redhat.com>
24286         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24287         * sysdeps/i386/fpu/e_powf.S: Likewise.
24288         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24289         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24290         * sysdeps/i386/fpu/e_acosh.S: Likewise.
24291         * sysdeps/i386/fpu/e_pow.S: Likewise.
24292         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24293         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24294         * sysdeps/i386/fpu/s_expm1.S: Likewise.
24295         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24296         * sysdeps/i386/fpu/e_log2.S: Likewise.
24297         * sysdeps/i386/fpu/e_log2l.S: Likewise.
24298         * sysdeps/i386/fpu/e_scalb.S: Likewise.
24299         * sysdeps/i386/fpu/e_powl.S: Likewise.
24300         * sysdeps/i386/fpu/s_log1p.S: Likewise.
24301         * sysdeps/i386/fpu/e_log10f.S: Likewise.
24302         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24303         * sysdeps/i386/fpu/e_logl.S: Likewise.
24304         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24305         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24306         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24307         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24308         * sysdeps/i386/fpu/e_log2f.S: Likewise.
24309         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24310         * sysdeps/i386/fpu/e_log.S: Likewise.
24311         * sysdeps/i386/fpu/s_cexp.S: Likewise.
24312         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24313         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24314         * sysdeps/i386/fpu/e_logf.S: Likewise.
24315         * sysdeps/i386/fpu/e_log10l.S: Likewise.
24316         * sysdeps/i386/fpu/e_atanh.S: Likewise.
24317         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24318         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24319         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24320         * sysdeps/i386/fpu/e_log10.S: Likewise.
24321         * sysdeps/i386/fpu/s_frexp.S: Likewise.
24322         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24323         * sysdeps/i386/fpu/s_asinh.S: Likewise.
24324         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24325         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24326         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24327         * sysdeps/i386/asm-syntax.h: Likewise.
24328         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24329         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24330         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24331         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24332         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24333         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24334         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24335         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24336         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24337         * sysdeps/powerpc/sysdep.h: Likewise.
24338         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24339         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24341 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
24343         [BZ #411]
24344         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24346 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
24348         * sysdeps/i386/sysdep.h: Include <features.h>.
24349         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24350         version.
24352 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
24354         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24355         Define.
24356         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24357         LOAD_PIC_REG_STR.
24359 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24361         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24362         (SETUP_PIC_REG): Use GET_PC_THUNK.
24363         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24364         macro.
24366 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24368         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24369         for non-PIC compilation.
24370         (SETUP_PIC_REG): Add .p2align directive.
24371         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24372         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24373         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24374         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24375         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24376         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24377         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24378         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24379         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24380         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24381         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24382         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24383         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24384         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24385         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24386         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24387         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24388         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24389         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24390         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24391         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24392         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24393         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24394         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24395         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24396         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24397         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24398         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24399         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24400         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24401         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24402         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24403         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24404         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24405         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24406         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24407         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24408         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24409         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24410         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24411         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24413 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24415         * math/tst-CMPLX.c: Include <stdio.h>.
24417 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
24419         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24420         float.
24421         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24422         * sysdeps/sparc/bits/mathdef.h: Likewise.
24424 2012-01-31  Marek Polacek  <polacek@redhat.com>
24426         * libio/libio.h: Don't define _PARAMS.
24427         * locale/programs/config.h: Don't define PARAMS.
24428         * stdlib/strtol_l.c: Likewise.
24429         (__strtol_l): Remove PARAMS from the prototype.
24431 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
24433         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
24434         names.  Just use the correct names.  Remove unnecessary wrapper
24435         functions.
24436         * malloc/arena.c: Likewise.
24437         * malloc/hooks.c: Likewise.
24439         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24440         ARENA_TEST says not to.  Simplify test for creation of a new arena.
24441         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24443 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
24445         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24446         into tail calls.
24447         (update_get_addr): New function.
24448         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24449         GET_ADDR_MODULE parameter.
24451 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
24453         * crypt/cert.c: Remove __STDC__ conditionals.
24454         * crypt/crypt-entry.c: Likewise.
24455         * crypt/crypt_util.c: Likewise.
24456         * libio/filedoalloc.c: Likewise.
24457         * libio/fileops.c: Likewise.
24458         * libio/genops.c: Likewise.
24459         * libio/iofclose.c: Likewise.
24460         * libio/iofdopen.c: Likewise.
24461         * libio/iofopen.c: Likewise.
24462         * libio/iofopen64.c: Likewise.
24463         * libio/iogetdelim.c: Likewise.
24464         * libio/iopopen.c: Likewise.
24465         * libio/obprintf.c: Likewise.
24466         * libio/oldfileops.c: Likewise.
24467         * libio/oldiofclose.c: Likewise.
24468         * libio/oldiofdopen.c: Likewise.
24469         * libio/oldiofopen.c: Likewise.
24470         * libio/oldiopopen.c: Likewise.
24471         * libio/wfiledoalloc.c: Likewise.
24472         * libio/wgenops.c: Likewise.
24473         * locale/programs/xmalloc.c: Likewise.
24474         * misc/syslog.c: Likewise.
24475         * stdio-common/xbug.c: Likewise.
24476         * string/memchr.c: Likewise.
24477         * string/memcmp.c: Likewise.
24478         * string/memrchr.c: Likewise.
24479         * string/rawmemchr.c: Likewise.
24480         * sysdeps/posix/getcwd.c: Likewise.
24481         * time/strftime_l.c: Likewise.
24483 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
24485         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
24486         * config.make.in (config-cflags-sse2avx): Define.
24487         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24488         Fix typo.
24490 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
24492         * scripts/config.guess: Update from upstream config git repository.
24493         * scripts/config.sub: Likewise.
24495 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
24497         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24498         (EM_NUM): Update.
24499         (R_TILEPRO_*, R_TILEGX_*): New macros.
24501         * scripts/firstversions.awk: Fix bug in version range handling.
24503         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24505         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24507         * include/sys/epoll.h: New file.
24508         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24509         libc_hidden_def.
24511 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
24513         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24514         Avoid unnecessary __WORDSIZE == 64 test.
24515         (fmaxf): Use VEX format if possible.
24516         (fmax): Likewise.
24517         (fminf): Likewise.
24518         (fmin): Likewise.
24520         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24521         * math/math_private.h: Remove libc_fegetround* and
24522         libc_fesetround*.
24523         * sysdeps/i386/configure.in: Check for -msse2avx.
24524         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24525         also if SSE2AVX is defined.
24526         Remove libc_fegetround* and libc_fesetround*.
24527         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24528         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
24529         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24530         of HAS_YMM_USABLE.
24531         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24532         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24533         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24534         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24535         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24537         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24539 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24541         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24542         size is not set.
24543         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24545 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
24547         [BZ #13618]
24548         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24549         relocation.
24550         * Makeconfig (libm): Define.
24551         * elf/Makefile: Add rules to build and run tst-relsort1.
24552         * elf/tst-relsort1.c: New file.
24553         * elf/tst-relsort1mod1.c: New file.
24554         * elf/tst-relsort1mod2.c: New file.
24556 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
24558         * math/s_ldexp.c: Remove __STDC__ conditionals.
24559         * math/s_ldexpf.c: Likewise.
24560         * math/s_ldexpl.c: Likewise.
24561         * math/s_nextafter.c: Likewise.
24562         * math/s_nexttowardf.c: Likewise.
24563         * math/s_significand.c: Likewise.
24564         * math/s_significandf.c: Likewise.
24565         * math/s_significandl.c: Likewise.
24566         * math/w_jnl.c: Likewise.
24567         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24568         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24569         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24570         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24571         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24572         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24573         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24574         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24575         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24576         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24577         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24578         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24579         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24580         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24581         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24582         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24583         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24584         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24585         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24586         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24587         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24588         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24589         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24590         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24591         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24592         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24593         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24594         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24595         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24596         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24597         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24598         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24599         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24600         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24601         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24602         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24603         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24604         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24605         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24606         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24607         * sysdeps/ieee754/k_standard.c: Likewise.
24608         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24609         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24610         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24611         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24612         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24613         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24614         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24615         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24616         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24617         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24618         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24619         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24620         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24621         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24622         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24623         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24624         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24625         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24626         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24627         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24628         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24629         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24630         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24631         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24632         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24633         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24634         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24635         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24636         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24637         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24638         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24639         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24640         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24641         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24642         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24643         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24644         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24645         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24646         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24647         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24648         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24649         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24650         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24651         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24652         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24653         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24654         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24655         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24656         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24657         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24658         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24659         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24660         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24661         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24662         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24663         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24664         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24665         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24666         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24667         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24668         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24669         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24670         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24671         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24672         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24673         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24674         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24675         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24676         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24677         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24678         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24679         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24680         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24681         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24682         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24683         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24684         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24685         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24686         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24687         * sysdeps/ieee754/s_matherr.c: Likewise.
24688         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24689         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24690         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24691         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24693 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
24695         * crypt/md5.h: Remove __STDC__ conditionals.
24696         * libio/libioP.h: Likewise.
24697         * locale/programs/config.h: Likewise.
24698         * sysdeps/generic/sysdep.h: Likewise.
24699         * sysdeps/i386/asm-syntax.h: Likewise.
24700         * sysdeps/s390/asm-syntax.h: Likewise.
24701         * sysdeps/unix/sysdep.h: Likewise.
24702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24705 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
24707         * libio/libio.h: Remove __STDC__ conditionals.
24708         * malloc/obstack.h: Likewise.
24709         * math/complex.h: Likewise.
24710         * math/math.h: Likewise.
24711         * sysdeps/generic/_G_config.h: Likewise.
24712         * sysdeps/gnu/_G_config.h: Likewise.
24713         * sysdeps/mach/hurd/_G_config.h: Likewise.
24714         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24715         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24716         * sysdeps/sparc/bits/mathdef.h: Likewise.
24718 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
24720         [BZ #13583]
24721         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
24722         Clean up HAS_* macros.
24723         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
24724         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24725         possible.
24726         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24727         HAS_AVX.
24728         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24729         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24730         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24731         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24732         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24734 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
24736         * elf/tst-unique3.cc (gets): Remove declaration.
24737         * elf/tst-unique3lib.cc (gets): Likewise.
24738         * elf/tst-unique3lib2.cc (gets): Likewise.
24739         * elf/tst-unique4.cc (gets): Likewise.
24741 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
24743         * include/stdio.h: Add C++ protection.  Add gets declarations and
24744         definitions.
24745         * debug/tst-chk1.c: Don't declare gets here.
24746         * stdio-common/tst-gets.c: Likewise.
24748 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
24750         * posix/glob: Remove directory.
24752 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
24754         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24756 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
24758         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24759         of the non-standard EPFNOSUPPORT.
24761 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24763         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24764         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24765         ANYWHERE set to 1 only on KERN_NO_SPACE error.
24767 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
24769         * wcsmbs/uchar.h: Test __STDC_VERSION__.
24771 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
24773         * nscd/aicache.c (addhstaiX): Do not cache negative results of
24774         transient errors.
24775         * nscd/grpcache.c (cache_addgr): Likewise.
24776         * nscd/hstcache.c (cache_addhst): Likewise.
24777         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24778         * nscd/pwdcache.c (cache_addpw): Likewise.
24779         * nscd/servicescache.c (cache_addserv): Likewise.
24781 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
24783         * malloc/malloc.c: Various cleanups.
24784         * malloc/hooks.c: Likewise.
24786         * stdlib/Makefile (tests): Add bug-fmtmsg1.
24787         * stdlib/bug-fmtmsg1.c: New file.
24789         * stdlib/fmtmsg.c (init): Add missing unlock.
24790         Patch by Peng Haitao <penght@cn.fujitsu.com>.
24792 2012-01-12  Marek Polacek  <polacek@redhat.com>
24794         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24795         and _GNU_SOURCE.
24797 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
24799         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24800         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24801         macro to ensure uniqueness of label name.
24802         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24803         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24805 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
24807         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24809         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24810         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24811         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24812         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24814 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
24816         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24818         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24819         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24820         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24822         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24824         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
24825         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24826         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24827         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
24829         * math/bits/math-finite.h: Add ldexp support.
24831 2012-01-10  Marek Polacek  <polacek@redhat.com>
24833         * locale/programs/localedef.h (show_archive_content): Add noreturn
24834         attribute.
24836 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
24838         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24840 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24842         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24844         * io/Makefile (headers): Add bits/poll2.h.
24846 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
24848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24849         typo #include statement.
24851 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24853         * include/sys/cdefs.h: Define __attribute_alloc_size.
24854         * catgets/gencat.c: Add alloc_size attribute and apply consistently
24855         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24856         * elf/pldd.c: Likewise.
24857         * iconv/iconv_charmap.c: Likewise.
24858         * iconv/iconvconfig.c: Likewise.
24859         * iconv/strtab.c: Likewise.
24860         * locale/programs/locale.c: Likewise.
24861         * locale/programs/localedef.h: Likewise.
24862         * locale/programs/simple-hash.c: Likewise.
24863         * nscd/nscd.h: Likewise.
24864         * nss/makedb.c: Likewise.
24865         * sysdeps/generic/ldconfig.h: Likewise.
24866         * locale/programs/localedef.c: Remove xmalloc prototype.
24867         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24869 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24871         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24872         appropriate.
24874 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24876         * math/Makefile (tests): Add tst-CMPLX.
24877         * math/tst-CMPLX.c: New file.
24879         * math/complex.h (CMPLXL): Fix typo.
24881         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24882         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24883         GLIBC_2.16.
24884         * debug/tst-chk1.c: Add poll and ppoll tests.
24885         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24886         * include/sys/poll.h: Add hidden proto for ppoll.
24887         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24888         * sysdeps/mach/hurd/ppoll.c: Likewise.
24889         * io/ppoll.c: Likewise.
24890         * debug/poll_chk.c: New file.
24891         * debug/ppoll_chk.c: New file.
24892         * include/bits/poll2.h: New file.
24893         * io/bits/poll2.h: New file.
24895         [BZ #1350]
24896         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24898         * configure.in: static is always set to yes.  Remove.
24899         * config.make.in: Don't set build-static.
24900         * Makeconfig: Remove use of build-static.
24901         * dlfcn/Makefile: Likewise.
24902         * elf/Makefile: Likewise.
24903         * math/Makefile: Likewise.
24904         * misc/Makefile: Likewise.
24905         * nptl/Makefile: Likewise.
24906         * sysdeps/mach/hurd/Makefile: Likewise.
24908         * configure.in: PWD_P is not used anymore.
24909         * config.make.in: Remove PWD_P entry.
24911         * configure.in: Remove last remnants of RANLIB.
24912         No need to check for signed size_t anymore.
24913         Don't set libc_commonpagesize and libc_relro_required here for Alpha
24914         and IA-64.
24915         Remove __builtin_expect test because we require at least gcc 3.4.
24916         * aclocal.m4: Likewise.
24918         * wcsmbs/mbrtoc16.c: Implement using towc function.
24919         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24920         * wcsmbs/wcsmbsload.c: Likewise.
24921         * iconv/gconv_simple.c: Likewise.
24922         * iconv/gconv_int.h: Likewise.
24923         * iconv/gconv_builtin.h: Likewise.
24924         * iconv/iconv_prog.c: Remove CHAR16 handling.
24926         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24928         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24930         * configure.in: Remove --with-elf and --enable-bounded options.
24931         Dont set base_machine for ia64.  More non-ELF conditions removed.
24932         Remove testing and setting of leading underscore information.
24933         * config.make.in (build-bounded): Set to no.
24934         * config.h.in: Remove NO_UNDERSCORES entry.
24935         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
24936         them.
24937         * csu/start.c: Remove !NO_UNDERSCORE code.
24938         * locale/localeinfo.h: Likewise.
24939         * sysdeps/generic/machine-gmon.h: Likewise.
24940         * sysdeps/generic/sysdep.h: Likewise.
24941         * sysdeps/i386/sysdep.h: Likewise.
24942         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24943         * sysdeps/mach/sysdep.h: Likewise.
24944         * sysdeps/s390/s390-32/sysdep.h: Likewise.
24945         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24946         * sysdeps/sh/sysdep.h: Likewise.
24947         * sysdeps/sparc/sparc32/alloca.S: Likewise.
24948         * sysdeps/unix/i386/sysdep.S: Likewise.
24949         * sysdeps/unix/sparc/start.c: Likewise.
24950         * sysdeps/unix/sparc/sysdep.S: Likewise.
24951         * sysdeps/unix/sparc/sysdep.h: Likewise.
24952         * sysdeps/unix/start.c: Likewise.
24953         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24954         * sysdeps/x86_64/sysdep.h: Likewise.
24956 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
24958         [BZ #13553]
24959         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24960         for non-gcc.
24961         * argp/argp-fmtstream.h: Use const instead __const.
24962         * argp/argp.h: Likewise.
24963         * assert/assert.h: Likewise.
24964         * bits/fenv.h: Likewise.
24965         * bits/sched.h: Likewise.
24966         * bits/sigset.h: Likewise.
24967         * bits/sigthread.h: Likewise.
24968         * catgets/nl_types.h: Likewise.
24969         * conform/data/pthread.h-data: Likewise.
24970         * crypt/crypt-private.h: Likewise.
24971         * crypt/crypt.h: Likewise.
24972         * crypt/crypt_util.c: Likewise.
24973         * ctype/ctype.h: Likewise.
24974         * debug/execinfo.h: Likewise.
24975         * debug/mbsnrtowcs_chk.c: Likewise.
24976         * debug/mbsrtowcs_chk.c: Likewise.
24977         * debug/wcsnrtombs_chk.c: Likewise.
24978         * debug/wcsrtombs_chk.c: Likewise.
24979         * debug/wcstombs_chk.c: Likewise.
24980         * dirent/dirent.h: Likewise.
24981         * dlfcn/dlfcn.h: Likewise.
24982         * elf/neededtest4.c: Likewise.
24983         * grp/grp.h: Likewise.
24984         * gshadow/gshadow.h: Likewise.
24985         * iconv/gconv.h: Likewise.
24986         * iconv/gconv_int.h: Likewise.
24987         * iconv/gconv_simple.c: Likewise.
24988         * iconv/iconv.h: Likewise.
24989         * iconv/loop.c: Likewise.
24990         * iconv/skeleton.c: Likewise.
24991         * include/aio.h: Likewise.
24992         * include/aliases.h: Likewise.
24993         * include/argz.h: Likewise.
24994         * include/arpa/inet.h: Likewise.
24995         * include/assert.h: Likewise.
24996         * include/dirent.h: Likewise.
24997         * include/dlfcn.h: Likewise.
24998         * include/execinfo.h: Likewise.
24999         * include/fcntl.h: Likewise.
25000         * include/fenv.h: Likewise.
25001         * include/glob.h: Likewise.
25002         * include/grp.h: Likewise.
25003         * include/libintl.h: Likewise.
25004         * include/mntent.h: Likewise.
25005         * include/netdb.h: Likewise.
25006         * include/pwd.h: Likewise.
25007         * include/rpc/netdb.h: Likewise.
25008         * include/sched.h: Likewise.
25009         * include/search.h: Likewise.
25010         * include/shadow.h: Likewise.
25011         * include/signal.h: Likewise.
25012         * include/stdio.h: Likewise.
25013         * include/stdlib.h: Likewise.
25014         * include/string.h: Likewise.
25015         * include/sys/socket.h: Likewise.
25016         * include/sys/stat.h: Likewise.
25017         * include/sys/statfs.h: Likewise.
25018         * include/sys/statvfs.h: Likewise.
25019         * include/sys/syslog.h: Likewise.
25020         * include/sys/time.h: Likewise.
25021         * include/sys/uio.h: Likewise.
25022         * include/time.h: Likewise.
25023         * include/unistd.h: Likewise.
25024         * include/utmp.h: Likewise.
25025         * include/wchar.h: Likewise.
25026         * include/wctype.h: Likewise.
25027         * inet/aliases.h: Likewise.
25028         * inet/arpa/inet.h: Likewise.
25029         * inet/netinet/ether.h: Likewise.
25030         * inet/netinet/in.h: Likewise.
25031         * intl/libintl.h: Likewise.
25032         * io/bits/fcntl2.h: Likewise.
25033         * io/fcntl.h: Likewise.
25034         * io/ftw.h: Likewise.
25035         * io/sys/poll.h: Likewise.
25036         * io/sys/stat.h: Likewise.
25037         * io/sys/statfs.h: Likewise.
25038         * io/sys/statvfs.h: Likewise.
25039         * io/utime.h: Likewise.
25040         * libio/bits/stdio.h: Likewise.
25041         * libio/bits/stdio2.h: Likewise.
25042         * libio/libio.h: Likewise.
25043         * libio/libioP.h: Likewise.
25044         * libio/stdio.h: Likewise.
25045         * locale/lc-ctype.c: Likewise.
25046         * locale/locale.h: Likewise.
25047         * login/utmp.h: Likewise.
25048         * malloc/arena.c: Likewise.
25049         * malloc/malloc.c: Likewise.
25050         * malloc/malloc.h: Likewise.
25051         * malloc/mcheck.c: Likewise.
25052         * malloc/mtrace.c: Likewise.
25053         * math/bits/mathcalls.h: Likewise.
25054         * math/fenv.h: Likewise.
25055         * math/math_private.h: Likewise.
25056         * misc/bits/error.h: Likewise.
25057         * misc/bits/syslog.h: Likewise.
25058         * misc/err.h: Likewise.
25059         * misc/error.h: Likewise.
25060         * misc/fstab.h: Likewise.
25061         * misc/mntent.h: Likewise.
25062         * misc/regexp.h: Likewise.
25063         * misc/search.h: Likewise.
25064         * misc/sgtty.h: Likewise.
25065         * misc/sys/mman.h: Likewise.
25066         * misc/sys/syslog.h: Likewise.
25067         * misc/sys/uio.h: Likewise.
25068         * misc/sys/xattr.h: Likewise.
25069         * misc/ttyent.h: Likewise.
25070         * nis/rpcsvc/ypclnt.h: Likewise.
25071         * nss/nss.h: Likewise.
25072         * posix/bits/unistd.h: Likewise.
25073         * posix/fnmatch.h: Likewise.
25074         * posix/glob.h: Likewise.
25075         * posix/sched.h: Likewise.
25076         * posix/spawn.h: Likewise.
25077         * posix/sys/wait.h: Likewise.
25078         * posix/unistd.h: Likewise.
25079         * posix/wordexp.h: Likewise.
25080         * pwd/pwd.h: Likewise.
25081         * resolv/netdb.h: Likewise.
25082         * resource/sys/resource.h: Likewise.
25083         * rt/aio.h: Likewise.
25084         * rt/bits/mqueue2.h: Likewise.
25085         * rt/mqueue.h: Likewise.
25086         * shadow/shadow.h: Likewise.
25087         * signal/signal.h: Likewise.
25088         * socket/send.c: Likewise.
25089         * socket/sendto.c: Likewise.
25090         * socket/sys/socket.h: Likewise.
25091         * stdio-common/printf.h: Likewise.
25092         * stdlib/bits/stdlib.h: Likewise.
25093         * stdlib/fmtmsg.h: Likewise.
25094         * stdlib/monetary.h: Likewise.
25095         * stdlib/stdlib.h: Likewise.
25096         * stdlib/ucontext.h: Likewise.
25097         * streams/stropts.h: Likewise.
25098         * string/argz.h: Likewise.
25099         * string/bits/string2.h: Likewise.
25100         * string/string.h: Likewise.
25101         * string/strings.h: Likewise.
25102         * sunrpc/rpc/auth.h: Likewise.
25103         * sunrpc/rpc/auth_des.h: Likewise.
25104         * sunrpc/rpc/clnt.h: Likewise.
25105         * sunrpc/rpc/netdb.h: Likewise.
25106         * sunrpc/rpc/pmap_clnt.h: Likewise.
25107         * sunrpc/rpc/xdr.h: Likewise.
25108         * sysdeps/generic/inttypes.h: Likewise.
25109         * sysdeps/generic/net/if.h: Likewise.
25110         * sysdeps/generic/sys/swap.h: Likewise.
25111         * sysdeps/gnu/net/if.h: Likewise.
25112         * sysdeps/gnu/utmpx.h: Likewise.
25113         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25114         * sysdeps/i386/i486/bits/string.h: Likewise.
25115         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25116         * sysdeps/s390/bits/string.h: Likewise.
25117         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25118         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25119         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25120         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25121         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25122         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25123         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25124         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25125         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25126         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25127         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25128         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25129         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25130         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25131         * sysdeps/unix/sysv/linux/readv.c: Likewise.
25132         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25133         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25134         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25135         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25136         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25137         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25138         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25139         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25140         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25141         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25142         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25143         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25144         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25145         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25146         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25147         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25148         * sysvipc/sys/ipc.h: Likewise.
25149         * sysvipc/sys/msg.h: Likewise.
25150         * sysvipc/sys/sem.h: Likewise.
25151         * sysvipc/sys/shm.h: Likewise.
25152         * termios/termios.h: Likewise.
25153         * time/sys/time.h: Likewise.
25154         * time/time.h: Likewise.
25155         * wcsmbs/bits/wchar2.h: Likewise.
25156         * wcsmbs/uchar.h: Likewise.
25157         * wcsmbs/wchar.h: Likewise.
25158         * wctype/wctype.h: Likewise.
25160         [BZ #13551]
25161         * Makeconfig: Remove all but ELF support including AIX support.
25162         * Makerules: Likewise.
25163         * config.h.in: Likewise.
25164         * config.make.in: Likewise.
25165         * configure: Likewise.
25166         * configure.in: Likewise.
25167         * csu/Makefile: Likewise.
25168         * csu/version.c: Likewise.
25169         * debug/Makefile: Likewise.
25170         * dlfcn/Makefile: Likewise.
25171         * elf/Makefile: Likewise.
25172         * extra-lib.mk: Likewise.
25173         * iconv/Makefile: Likewise.
25174         * include/libc-symbols.h: Likewise.
25175         * include/shlib-compat.h: Likewise.
25176         * resolv/Makefile: Likewise.
25177         * resolv/res_libc.c: Likewise.
25178         * rt/Makefile: Likewise.
25179         * sysdeps/i386/asm-syntax.h: Likewise.
25180         * sysdeps/i386/sysdep.h: Likewise.
25181         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25182         * sysdeps/mach/sysdep.h: Likewise.
25183         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25184         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25185         * sysdeps/s390/asm-syntax.h: Likewise.
25186         * sysdeps/s390/s390-32/sysdep.h: Likewise.
25187         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25188         * sysdeps/sh/sysdep.h: Likewise.
25189         * sysdeps/unix/sparc/sysdep.h: Likewise.
25190         * sysdeps/wordsize-32/divdi3.c: Likewise.
25191         * sysdeps/x86_64/sysdep.h: Likewise.
25193         * argp/Versions: Remove _argp_unlock_xxx.
25195         [BZ #13559]
25196         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
25197         * abilist/libBrokenLocale.abilist: Likewise.
25198         * abilist/libanl.abilist: Likewise.
25199         * abilist/libc.abilist: Likewise.
25200         * abilist/libcrypt.abilist: Likewise.
25201         * abilist/libdl.abilist: Likewise.
25202         * abilist/libm.abilist: Likewise.
25203         * abilist/libnsl.abilist: Likewise.
25204         * abilist/libpthread.abilist: Likewise.
25205         * abilist/libresolv.abilist: Likewise.
25206         * abilist/librt.abilist: Likewise.
25207         * abilist/libthread_db.abilist: Likewise.
25208         * abilist/libutil.abilist: Likewise.
25209         * abilist/libnss_db.abilist: New file.
25211         * scripts/abilist.awk: Add support for indirect functions.
25213         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25215         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25217         * shlib-versions: Remove entries for ports architectures.
25219         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
25220         files in ports.
25221         * elf/stackguard-macros.h: Remove support for IA-64.
25222         * elf/tst-auditmod1.c: Likewise.
25223         * sysdeps/generic/ldsodefs.h: Likewise.
25225         * sysdeps/unix/sysv/linux/configure.in: Ports should define
25226         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25227         configure files.
25229         [BZ #13552]
25230         * configure.in: Remove --enable-omitfp support.
25231         * FAQ.in: Adjust.
25232         * config.make.in: Likewise.
25233         * Makeconfig: Likewise.
25234         * manual/install.texi: Likewise.
25236         In case anyone cares, the IA-64 architecture could move to ports.
25237         * sysdeps/ia64/*: Removed.
25238         * sysdeps/unix/sysv/linux/ia64/*: Removed.
25239         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
25241         [BZ #13555]
25242         * configure.in: Remove entries for unsupported architectures.
25244         [BZ #13533]
25245         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25246         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
25247         routines.
25248         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25249         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25250         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
25251         fall back to using wcrtomb.
25252         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25253         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
25254         renaming.
25255         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25256         * wcsmbs/tst-c16c32-1.c: New file.
25258         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25259         local variable.
25261         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25263         * elf/tst-unique3.cc: Add explicit declaration of gets.
25264         * elf/tst-unique3lib.cc: Likewise.
25265         * elf/tst-unique3lib2.cc: Likewise.
25266         * elf/tst-unique4.cc: Likewise.
25268         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25270 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
25272         [BZ #13566]
25273         * assert/assert.h (static_assert): Don't define for C++.
25274         * libio/stdio.h (gets): Do declare for C++ <= C++11.
25275         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25277 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
25279         * iconv/loop.c (single loop): Fix assertion in storing of
25280         remaining bytes.
25282         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25284 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
25286         * posix/getconf.c: Update copyright year.
25287         * nss/getent.c: Likewise.
25288         * nss/makedb.c: Likewise.
25289         * iconv/iconvconfig.c: Likewise.
25290         * iconv/iconv_prog.c: Likewise.
25291         * elf/ldconfig.c: Likewise.
25292         * elf/pldd.c: Likewise.
25293         * elf/sotruss.ksh: Likewise.
25294         * catgets/gencat.c: Likewise.
25295         * csu/version.c: Likewise.
25296         * elf/ldd.bash.in: Likewise.
25297         * elf/sprof.c (print_version): Likewise.
25298         * locale/programs/locale.c: Likewise.
25299         * locale/programs/localedef.c: Likewise.
25300         * login/programs/pt_chown.c: Likewise.
25301         * nscd/nscd.c (print_version): Likewise.
25302         * debug/xtrace.sh: Likewise.
25303         * malloc/memusage.sh: Likewise.
25304         * malloc/mtrace.pl: Likewise.
25305         * debug/catchsegv.sh: Likewise.
25307 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
25309         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25310         pure attribute.
25312 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
25314         [BZ #13533]
25315         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25316         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25317         transformations.
25318         * iconv/gconv_int.h: Likewise.
25319         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25320         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25321         from libc for GLIBC_2.16.
25322         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25323         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25324         * wcsmbs/uchar.h: Really define mbstate_t.
25325         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25326         * wcsmbs/c16rtomb.c: New file.
25327         * wcsmbs/mbrtoc16.c: New file.
25328         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25329         for C/POSIX locale.
25330         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25331         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25333         * wcsmbs/wchar.h: Add missing __restrict.
25335 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
25337         [BZ #13532]
25338         * time/Makefile (routines): Add timespec_get.
25339         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25340         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
25341         timespec for ISO C11.
25342         * time/timespec_get.c: New file.
25343         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25344         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25346         [BZ #13531]
25347         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25348         * stdlib/stdlib.h: Declare aligned_alloc.
25349         * Versions.def: Add GLIBC_2.16 for libc.
25350         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25352         [BZ 13527]
25353         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25354         ISO C11.
25356         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
25357         code.
25359         [BZ #13528]
25360         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25362         [BZ #13529]
25363         * assert/assert.h (static_assert): Define.
25365         * version.h: Update for 2.16 development version.
25367         [BZ #13526]
25368         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25369         _ISOC11_SOURCE.
25371         * version.h (RELEASE): Bump for 2.15 release.
25372         * include/features.h (__GLIBC_MINOR__): Bump to 15.
25374         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25375         Patch by Marek Polacek <mpolacek@redhat.com>.
25377         * bits/byteswap.h: Protect long long constants with __extension__.
25378         * sysdeps/i386/bits/byteswap.h: Likewise.
25379         * sysdeps/ia64/bits/byteswap.h: Likewise.
25380         * sysdeps/s390/bits/byteswap.h: Likewise.
25381         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25383 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25385         [BZ #13540]
25386         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25387         destination buffer.
25388         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25390 2011-12-23  Marek Polacek  <polacek@redhat.com>
25392         * elf/dl-addr.c (determine_info): Add inline keyword.
25393         * elf/tst-auditmod4b.c (check_avx): Likewise.
25394         * elf/tst-auditmod6b.c (check_avx): Likewise.
25395         * elf/tst-auditmod6c.c (check_avx): Likewise.
25396         * elf/tst-auditmod7b.c (check_avx): Likewise.
25398 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
25400         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25401         !__SSE_MATH__.
25403 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25405         [BZ #13540]
25406         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25407         processing for last bytes.
25409 2011-08-06  Bruno Haible  <bruno@clisp.org>
25411         [BZ #13061]
25412         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25413         U+0385, not to U+1FEE.
25415         [BZ #13062]
25416         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25417         entry for U+00A5 U+0301.
25419 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
25421         [BZ #13166]
25422         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25423         buffer for the output is too small.
25425         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25426         optimization.
25428         [BZ #13185]
25429         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25430         SSE flags if possible.
25432 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25434         [BZ #13540]
25435         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25436         processing for last bytes.
25438 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
25440         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25441         (syscall-list-default-options, syscall-list-default-condition)
25442         (syscall-list-includes): Define.
25443         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25444         list of ABIs and options and #if conditions for each ABI.  Do not
25445         handle common syscalls between ABIs specially.
25446         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25447         Remove.
25448         (syscall-list-variants, syscall-list-32bit-options)
25449         (syscall-list-32bit-condition, syscall-list-64bit-options)
25450         (syscall-list-64bit-condition): Define.
25451         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25452         (syscall-list-variants, syscall-list-32bit-options)
25453         (syscall-list-32bit-condition, syscall-list-64bit-options)
25454         (syscall-list-64bit-condition): Define.
25455         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25456         Remove.
25457         (syscall-list-variants, syscall-list-32bit-options)
25458         (syscall-list-32bit-condition, syscall-list-64bit-options)
25459         (syscall-list-64bit-condition): Define.
25460         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25461         Remove.
25462         (syscall-list-variants, syscall-list-32bit-options)
25463         (syscall-list-32bit-condition, syscall-list-64bit-options)
25464         (syscall-list-64bit-condition): Define.
25466 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
25468         * locale/iso-639.def: Add brx entry.
25470         [BZ #13328]
25471         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25472         Proposed by Mariusz_Cukr <marcukr@op.pl>.
25474         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25475         __feraiseexcept_renamed.
25477 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
25479         [BZ #13538]
25480         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25481         EPOLLET with unsigned values.
25482         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25483         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25485         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25486         to large cancellation.
25487         * math/s_cacoshf.c: Likewise.
25488         * math/s_cacoshl.c: Likewise.
25490 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
25492         [BZ #13305]
25493         [BZ #12786]
25494         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25495         * math/s_cacoshf.c: Likewise.
25496         * math/s_cacoshl.c: Likewise.
25498 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
25500         [BZ #13439]
25501         * iconv/gconv.h: Define __GCONV_SWAP.
25502         * iconvdata/unicode.c: The swap bit must be stored in __flags.
25503         * iconvdata/utf-16.c: Likewise.
25504         * iconvdata/utf-32.c: Likewise.
25506 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25508         [BZ #13524]
25509         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25510         numerator after shifting it by one limb.
25512 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
25514         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25515         under [__USE_EXTERN_INLINES].
25517 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
25519         [BZ #13446]
25520         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25522 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25524         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25525         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25526         optimized code.
25527         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25528         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25529         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25530         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25531         for strncasecmp/strncasecmp_l compilation.
25532         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25533         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25535 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
25537         [BZ #13484]
25538         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25539         of __asm__.
25541 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
25543         [BZ #13506]
25544         * time/tzfile.c (__tzfile_read): Check values from file header.
25546 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
25548         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25549         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25550         * powerpc/powerpc32/dl-start.S: Likewise.
25551         * powerpc/powerpc32/elf/start.S: Likewise.
25552         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25553         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25554         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25555         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25556         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25557         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25558         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25559         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25560         * powerpc/powerpc32/fpu/s_round.S: Likewise.
25561         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25562         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25563         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25564         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25565         * powerpc/powerpc32/memset.S: Likewise.
25566         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25567         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25568         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25569         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25570         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25571         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25572         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25573         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25574         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25575         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25576         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25577         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25578         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25580 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25582         * math/libm-test.inc: Added more nearbyint tests.
25583         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25584         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25585         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25586         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25588 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
25590         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25591         FD_CLOEXEC.
25593 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25595         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25596         Add wcscpy-ssse3 wcscpy-c.
25597         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25598         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25599         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25600         * sysdeps/x86_64/wcschr.S: New file.
25601         * sysdeps/x86_64/wcsrchr.S: New file.
25602         * string/test-strcmp.c: Remove checking of wcscmp function for
25603         wrong alignments.
25604         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25605         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25606         wcsrchr-sse2 wcsrchr-c.
25607         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25608         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25609         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25610         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25611         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25612         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25613         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25614         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25615         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25616         * wcsmbc/wcschr.c (WCSCHR): New macro.
25618 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25620         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25621         * wcsmbs/test-wcsrchr.c: New file.
25622         * string/test-strrchr.c: Add wcsrchr support.
25623         (WIDE): New macro.
25624         * wcsmbs/test-wcscpy.c: New file.
25625         * string/test-strcpy.c: Add wcscpy support.
25626         (WIDE): New macro.
25628 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
25630         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25631         the inner loop.
25633 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
25635         [BZ #13472]
25636         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25638 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
25640         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
25641         Minor optimizations.
25643         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25644         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25645         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25647 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
25649         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25650         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25651         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25652         for gcc to avoid warnings.
25653         * inet/Makefile (tests): Add tst-checks.
25654         * inet/tst-checks.c: New file.
25656         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25657         warning.
25659         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25660         __wmemcmp_sse2.
25662         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25663         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25665         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25667 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
25669         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25670         problem.
25672         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25674 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
25676         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25677         conditional on GCC version.
25678         (__arch_compare_and_exchange_val_8_acq)
25679         (__arch_compare_and_exchange_val_16_acq)
25680         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25681         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25682         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25684 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
25686         * sysdeps/sh/backtrace.c: New file.
25688 2011-12-02  Andreas Schwab  <schwab@redhat.com>
25690         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
25691         parenthesis.
25693 2011-12-01  Andreas Schwab  <schwab@redhat.com>
25695         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25696         falling back to utime.
25698 2011-11-30  Andreas Schwab  <schwab@redhat.com>
25700         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25701         expectations for float.
25703 2011-11-29  Andreas Schwab  <schwab@redhat.com>
25705         * locale/weight.h (findidx): Add parameter len.
25706         * locale/weightwc.h (findidx): Likewise.
25707         * posix/fnmatch_loop.c (FCT): Adjust caller.
25708         * posix/regcomp.c (build_equiv_class): Likewise.
25709         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25710         * posix/regexec.c (check_node_accept_bytes): Likewise.
25711         * string/strcoll_l.c (STRCOLL): Likewise.
25712         * string/strxfrm_l.c (STRXFRM): Likewise.
25714 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
25716         * Makefile.in: Remove CVSOPT handling.
25717         * configure.in: Remove use of AC_REVISION.
25718         * iconvdata/Makefile (distribute): No need to filter out CVS.
25719         * scripts/list-sources.sh: Remove CVS, subversion and monotone
25720         handling.
25722 2011-11-16  Andreas Schwab  <schwab@redhat.com>
25724         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25725         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25726         [USE_AS_STRNCASECMP_L]: Likewise.
25727         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25728         NO_TLS_DIRECT_SEG_REFS.
25729         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25730         Fix argument offsets for non-PIC.
25731         [USE_AS_STRNCASECMP_L]: Likewise.
25732         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25733         NO_TLS_DIRECT_SEG_REFS.
25735 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
25737         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
25738         O_CLOEXEC.
25739         * locale/loadlocale.c (_nl_load_locale): Likewise.
25741 2011-11-15  Andreas Schwab  <schwab@redhat.com>
25743         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25744         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25745         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25746         (SYSCALL_GETTIME): Set errno on error.
25748         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25749         count references to noai6ai_cached.
25751 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
25753         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25755         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25756         FD_CLOEXEC for /proc/self/maps.
25758         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25759         FD_CLOEXEC for /proc/meminfo.
25761         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25762         gai.conf.
25764         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
25765         FD_CLOEXEC for given file.
25767         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25769         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25770         FD_CLOEXEC for /etc/hosts.
25771         (_gethtent): Likewise.
25773         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25775         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25776         cancellation and set FD_CLOEXEC for /etc/netgroup.
25778         * nss/nss_files/files-key.c (search): Don't allow cancellation when
25779         reading /etc/publickey.
25781         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25782         allow cancellation when reading /etc/group.
25784         * nss/nss_files/files-alias.c (internal_setent): Don't allow
25785         cancellation.
25786         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
25788         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25789         when using data file.
25791         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25793         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25794         (write_nis_obj): Use "c" and "e" in fopen.
25796         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25798         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25800         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25802         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25804         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25805         locale.alias.
25807         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25809         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25811         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25813         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25814         file parsing and set FD_CLOEXEC.
25816 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
25818         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25820 2011-11-14  Andreas Schwab  <schwab@redhat.com>
25822         * malloc/arena.c (arena_get2): Don't call reused_arena when
25823         _int_new_arena failed.
25825 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
25827         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25828         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25829         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25830         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25831         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25832         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25833         to compile strcasecmp and strncasecmp.
25834         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25835         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25837         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25839 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
25841         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25842         locale-defines.sym to gen-as-const-headers.
25843         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25844         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25845         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25846         to compile strcasecmp and strncasecmp.
25847         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25848         strcasecmp_l and strncasecmp_l.
25849         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25850         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25851         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25852         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25853         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25854         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25855         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25856         * sysdeps/i386/i686/multiarch/strncase.S: New file.
25857         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25858         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25859         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25861 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
25863         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25864         result of SYSDEP_GETTIME_CPU to retval.
25865         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25866         parameter list to macro.  Remove trailing semicolon.  Adjust users.
25868         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25869         variable.
25871         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25872         mantissa words.
25873         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25875         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25876         from unused variable.
25878         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25879         DWARF definitions.
25880         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25881         for assembling.
25883         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25884         over namespaces.
25886         * sunrpc/rpc_prot.c (rejected): Fix case value.
25888         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25889         unsigned long long int to avoid warnings in shift.
25891         * posix/regex_internal.c (re_string_reconstruct): Actually use result
25892         of use of trans.
25893         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25894         variable tmp.
25896         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25897         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25898         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25900         * nis/nis_table.c (nis_list): Use variable of correct type for
25901         result of __follow_path call.
25903 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25905         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25906         of math functions ceil, trunc, floor, round, and sqrt, when
25907         avaliable on the platform.
25908         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25909         name clash.
25910         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25911         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25912         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25914 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
25916         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25917         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25919 2011-11-11  Roland McGrath  <roland@hack.frob.com>
25921         * include/unistd.h: Fix __readlink return type.
25922         Reported by Chris Metcalf <cmetcalf@tilera.com>.
25924 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
25926         * stdlib/ucontext.h: Undo last change for makecontext.
25928 2011-11-11  Andreas Schwab  <schwab@redhat.com>
25930         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25932         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25933         * setjmp/setjmp.h: Mark functions as non-leaf.
25934         * setjmp/bits/setjmp2.h: Likewise.
25935         * stdlib/ucontext.h: Likewise.
25937 2011-11-10  Andreas Schwab  <schwab@redhat.com>
25939         * malloc/arena.c (_int_new_arena): Don't increment narenas.
25940         (reused_arena): Don't check arena limit.
25941         (arena_get2): Atomically check arena limit.
25943 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
25945         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25946         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25948         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25949         instructions.
25951 2011-11-07  Andreas Schwab  <schwab@redhat.com>
25953         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25954         handler when locking.
25956         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25957         Fix size of allocated buffer.
25959 2011-11-04  Andreas Schwab  <schwab@redhat.com>
25961         [BZ #10103]
25962         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25963         declarations for long double functions.
25964         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25966         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25968 2011-11-03  Andreas Schwab  <schwab@redhat.com>
25970         * nscd/nscd.c (main): Don't start AVC thread until credentials are
25971         installed.
25973         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25974         is disabled.
25976 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25978         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25980 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25982         * include/alloca.h (stackinfo_alloca_round): Define.
25983         (extend_alloca): Use it.
25984         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25985         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25986         here.
25988         * scripts/check-local-headers.sh: Ignore libaudit.h.
25990         * nscd/Makefile (extra-objs): Make recursively expanded.
25992 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
25994         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25995         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25997         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25998         * posix/tst-rfc3484-2.c: Likewise.
25999         * posix/tst-rfc3484-3.c: Likewise.
26001         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26002         process_vm_writev.
26003         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26004         process_vm_writev.
26005         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26006         process_vm_writev from libc using GLIBC_2.15 version.
26008         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26010 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
26012         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26013         stack usage.
26015 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
26017         [BZ #13367]
26018         * nss/getent.c (initgroups_keys): Show error message in case no group
26019         names are given.
26021         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26022         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26023         __bump_nl_timestamp.
26024         * nscd/connections (nscd_init): When host database is served open
26025         netlink socket and request notification about configuration changes.
26026         (main_loop_poll): Track netlink file descriptor and bump timestamp
26027         in case data becomes available.
26028         (main_loop_epoll): Likewise.
26029         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26030         (database_pers_head): Add extra_data fileds.
26031         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26032         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26033         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26034         Adjust caller.
26035         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26036         in6ai data, call __free_in6ai.
26037         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26038         Add -DHAVE_NETLINK.
26039         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
26040         interface information.  Reuse previous data if netlink timestamp
26041         is not changed.
26042         (__bump_nl_timestamp): New function.
26043         (__free_in6ai): New function.
26045 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
26047         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26048         close_not_cancel_no_status here.
26049         (__check_pf): Reorganize code a bit to not call close twice if OOM.
26051 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
26053         [BZ #13276]
26054         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26055         return value.
26057         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26058         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26059         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26061 2011-07-03  Andreas Jaeger  <aj@suse.de>
26063         [BZ #10709]
26064         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26065         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26066         * math/libm-test.inc (sin_test): Add test case.
26068 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
26070         [BZ #13337]
26071         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26072         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26074         * elf/chroot_canon.c (chroot_canon): Cleanups.
26076         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26078         [BZ #13335]
26079         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26080         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26082         * string/test-strchr.c: Make usable for strchrnul testing.
26083         * string/test-strchrnul.c: New file.
26084         * string/Makefile (strop-tests): Add strchrnul.
26086         * po/it.po: Update from translation team.
26087         * po/es.po: Likewise.
26089 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
26091         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26092         the three constants needed as parameters.  Drop the others.
26093         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26094         __m128i_strloadu_tolower.
26095         Create and initialize variable zero and use it in all the places
26096         where _mm_setzero_si128 was used.
26098         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26099         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26100         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26101         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26102         anymore.
26103         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26104         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26105         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26106         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26107         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26108         __mpranred, __mptan.
26109         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26110         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26111         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26112         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26113         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26114         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26115         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26116         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26117         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26119 2011-10-28  Andreas Schwab  <schwab@redhat.com>
26121         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26122         redefine if SHARED.
26123         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26125         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26126         wide char related routines to wcsmbs subdir.
26128 2011-10-27  Andreas Schwab  <schwab@redhat.com>
26130         [BZ #13344]
26131         * misc/sys/cdefs.h (__THROWNL): Define.
26132         * posix/unistd.h: Use __THREADNL instead of __THREAD
26133         for memory synchronization functions.
26135 2011-10-26  Roland McGrath  <roland@hack.frob.com>
26137         [BZ #13349]
26138         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26139         doesn't exist.
26140         * manual/stdio.texi (Obstack Streams): Node removed.
26142 2011-10-26  Andreas Schwab  <schwab@redhat.com>
26144         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26145         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26146         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26148         * math/math_private.h (math_force_eval): Allow non-addressable
26149         arguments.
26150         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26152 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
26154         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26155         file is not needed.
26157         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26158         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26159         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26160         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26161         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26162         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26163         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26164         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26165         Add AVX variants.
26166         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26167         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26168         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26169         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26170         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26171         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26172         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26173         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26174         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26175         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26176         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26177         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26178         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26179         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26180         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26181         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26182         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26183         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26184         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26186         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26187         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
26189         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26190         place.  Use VEX encoding when compiling for AVX.
26192 2011-10-25  Andreas Schwab  <schwab@redhat.com>
26194         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26195         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26197         * string/test-strchr.c (do_test): Don't generate NUL bytes.
26199 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
26201         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
26202         useless if() expression.
26203         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26204         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26205         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26206         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26207         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26208         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26209         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26210         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26211         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26212         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26213         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26214         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26215         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26216         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26217         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26218         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26219         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26220         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26221         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26223         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26225 2011-10-25  Andreas Schwab  <schwab@redhat.com>
26227         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26228         condition.
26229         * elf/dl-fini.c (_dl_sort_fini): Likewise.
26231 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
26233         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26234         .text section.  Avoid duplicate constants.
26235         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26236         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26237         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26238         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26239         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26240         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26241         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26242         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26243         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26244         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26245         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26246         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26247         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26248         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26249         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26250         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26251         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26252         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26253         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26254         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26255         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26256         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26257         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26258         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26259         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26260         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26261         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26262         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26263         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26264         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26265         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26266         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26267         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26268         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26269         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26270         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26271         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26272         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26273         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26274         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26275         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26276         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26277         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26278         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26279         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26281 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
26283         * sysdeps/x86_64/dla.h: Move to ...
26284         * sysdeps/x86_64/fpu/dla.h: ...here.
26285         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26286         situations.  Use __builtin_fma only for gcc 4.6 and up.
26288         * config.make.in: Add have-mfma4 entry.
26289         * configure.in: Substitute libc_cv_cc_fma4.
26290         * math/Makefile (dbl-only-routines): Add sincostab.
26291         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26292         Use __sincostab not sincos.
26293         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26294         name is a macro.
26295         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26296         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26297         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26298         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
26299         using __copysign.
26300         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
26301         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
26302         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26303         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26304         and __inv.
26305         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26306         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26307         __copysign.
26308         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
26309         define aliases when function name is a macro.
26310         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26311         sysdeps/ieee754/dbl-64/sincos.tbl.
26312         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26313         fma4-enabled routines.
26314         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26315         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26316         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26317         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26318         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26319         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26320         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26321         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26322         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26323         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26324         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26325         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26326         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26327         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26328         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26329         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26330         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26331         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26332         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26333         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26334         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26335         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26336         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26337         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26338         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26339         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26340         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26341         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26342         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26343         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26345         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26346         rename.
26347         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26348         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26349         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26350         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26351         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26352         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26353         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26354         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26356 2011-10-24  Andreas Schwab  <schwab@redhat.com>
26358         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26360 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26362         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26364         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26365         prediction.
26366         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26368         * string/strnlen.c: Don't define STRNLEN, reverse logic.
26369         Remove unused variable magic_bits.
26370         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26372         * string/strnlen.c: Define and use STRNLEN macro.
26373         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26374         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26375         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26376         * wcsmbs/wcslen.c: Define and use WCSLEN.
26377         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26378         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26379         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26380         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26381         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26382         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26383         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26385 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26387         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26388         strnlen-sse2-no-bsf.
26389         Rename strlen-no-bsf to strlen-sse2-no-bsf.
26390         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26391         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26392         Add strnlen support.
26393         (USE_AS_STRNLEN): New macro.
26394         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26395         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26396         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26397         * sysdeps/x86_64/wcslen.S: New file.
26399 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
26401         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26402         XMM-moves are used for copying on small sizes.
26404 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26406         * wcsmbs/Makefile (strop-tests): Add wcschr.
26407         * wcsmbs/test-wcschr.c: New file.
26408         * string/test-strchr.c: Update.
26409         Add wcschr support.
26410         (WIDE): New macro.
26412 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26414         * wcsmbs/Makefile (strop-tests): Add wcslen.
26415         * wcsmbs/test-wcslen.c: New file.
26416         * string/test-strlen.c: Update.
26417         Add wcslen support.
26418         (WIDE): New macro.
26420 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26422         * po/it.po: Update from translation team.
26424 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26426         * sysdeps/x86_64/wcscmp.S: Update.
26427         Fix wrong comparison semantics.
26428         wcscmp shall use signed comparison not unsigned.
26429         Don't use substraction to avoid overflow bug.
26430         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26431         * wcsmbc/wcscmp.c: Likewise.
26432         * string/test-strcmp.c: Likewise.
26433         Add new tests to check cases with negative values.
26435 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26437         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26438         * sysdeps/x86_64/dla.h: ...here.  New file.
26439         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26440         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26441         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26442         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26443         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26444         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26445         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26446         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26447         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26449 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
26451         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26452         __ynl_finite aliases.
26454 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
26456         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26458         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26459         define DLA_FMA.
26460         [DLA_FMA] (EMULV): Use DLA_FMA.
26461         [DLA_FMA] (MUL12): Use EMULV.
26462         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26463         that are not needed.
26464         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26465         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26466         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26467         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26468         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26469         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26470         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26472 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
26474         * math/s_nan.c: Undef __nan.
26475         * math/s_nanf.c: Undef __nanf.
26476         * math/s_nanl.c: Undef __nanl.
26477         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26478         "math_private.h".
26480 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
26482         * math/s_catan.c: Add branch predictions.
26483         * math/s_catanf.c: Likewise.
26484         * math/s_catanh.c: Likewise.
26485         * math/s_catanhf.c: Likewise.
26486         * math/s_catanhl.c: Likewise.
26487         * math/s_catanl.c: Likewise.
26488         * math/s_cexp.c: Likewise.
26489         * math/s_cexpf.c: Likewise.
26490         * math/s_cexpl.c: Likewise.
26491         * math/s_clog.c: Likewise.
26492         * math/s_clog10.c: Likewise.
26493         * math/s_clog10f.c: Likewise.
26494         * math/s_clog10l.c: Likewise.
26495         * math/s_clogf.c: Likewise.
26496         * math/s_clogl.c: Likewise.
26497         * math/s_csqrt.c: Likewise.
26498         * math/s_csqrtf.c: Likewise.
26499         * math/s_csqrtl.c: Likewise.
26500         * math/s_ctanf.c: Likewise.
26501         * math/s_ctanh.c: Likewise.
26502         * math/s_ctanhf.c: Likewise.
26503         * math/s_ctanhl.c: Likewise.
26504         * math/s_ctanl.c: Likewise.
26506         * math/math_private.h: Define __nan, __nanf, __nanl.
26507         * math/s_cacosh.c: Include <math_private.h>.
26508         * math/s_cacoshl.c: Likewise.
26509         * math/s_casinh.c: Likewise.
26510         * math/s_casinhf.c: Likewise.
26511         * math/s_casinhl.c: Likewise.
26512         * math/s_ccos.c: Rely entire on ccosh.
26513         * math/s_ccosf.c: Rely entire on ccoshf.
26514         * math/s_ccosl.c: Rely entirely on ccoshl.
26515         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
26516         Remove tests for FE_INVALID.
26517         * math/s_ccoshf.c: Likewise.
26518         * math/s_ccoshl.c: Likewise.
26519         * math/s_csin.c: Likewise.
26520         * math/s_csinf.c: Likewise.
26521         * math/s_csinh.c Likewise.
26522         * math/s_csinhf.c: Likewise.
26523         * math/s_csinhl.c: Likewise.
26524         * math/s_csinl.c: Likewise.
26525         * math/s_ctan.c: Likewise.
26526         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26527         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26528         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26530 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
26532         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26533         compilation problems.
26535         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26536         __builtin_expect.
26538 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
26540         * sysdeps/i386/configure.in: Test for -mfma4 option.
26541         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26542         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26543         COMMON_CPUID_INDEX_80000001.
26544         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26545         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26546         use it if FMA3 is not supported.
26547         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26549         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26550         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26552 2011-10-20  Andreas Schwab  <schwab@redhat.com>
26554         [BZ #12892]
26555         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26556         it would create a cycle with a link time dependency.
26558 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
26560         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26561         instruction.
26562         * string/Makefile (strop-tests): Add rawmemchr.
26563         * string/test-rawmemchr.c: New file.
26565         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26566         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
26567         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
26568         when compiling str{,n}casecmp and when AVX is available.  Hook up
26569         new optimized code in initializers.
26571 2011-10-19  Andreas Schwab  <schwab@redhat.com>
26573         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26574         __feraiseexcept instead of feraiseexcept.
26576 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
26578         * math/math_private.h: Define defaults for libc_fetestexcept and
26579         libc_feupdateenv.
26580         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26581         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26582         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26583         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26584         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26585         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26586         libc_fetestexcept and libc_feupdateenv.
26588         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26589         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26590         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26591         * sysdeps/x86_64/fpu/math_private.h: Define special version of
26592         libc_feholdexcept_setround.
26594         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26595         Add s_nearbyint-c and s_nearbyintf-c.
26596         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26597         nearbyintf inlines.
26598         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26599         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26600         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26601         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26603         * math/math_private.h: Define defaults for libc_fegetround,
26604         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26605         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26606         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26607         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26608         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26609         standard functions.
26610         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26611         Remove comments and hacks for old compiler versions.
26612         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26613         libc_fegetround, libc_fesetround, libc_feholdexcept, and
26614         libc_feholdexceptl.
26616 2011-10-18  Andreas Schwab  <schwab@redhat.com>
26618         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
26619         (__feraiseexcept_renamed): Add __NTH.
26620         (feraiseexcept): Add __NTH.  Rename local variables to fix
26621         namespace violations.
26623 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
26625         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26627         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26629         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26630         recently added interfaces.
26631         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26633         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26634         about macro parameter expansion.
26636         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26637         __NO_MATH_INLINES is defined.  Cleanups.
26639         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26640         and __floorf is target has SSE4.1.
26641         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26642         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26643         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26644         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26646         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26647         name.
26648         (floorf): Likewise.
26650         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26652 2011-10-17  Andreas Schwab  <schwab@redhat.com>
26654         * misc/sys/cdefs.h: Fix last change.
26656         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26657         database lookup.
26659 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
26661         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26663         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26664         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26665         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26666         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26667         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26668         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26669         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26670         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26671         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26672         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26673         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26674         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26675         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26676         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26677         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26678         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26679         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26680         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26681         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26682         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26683         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26684         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26686         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26687         ceil, ceilf, floor, floorf.
26689         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26690         Perform IRELATIVE relocations last.
26692         * elf/do-rel.h: Add another parameter nrelative, replacing the
26693         local variable with the same name.  Change name of the function
26694         to end in Rel or Rela (uppercase).
26695         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26696         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
26697         elf_dynamic_do_##reloc function.
26699 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
26701         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26702         is sufficient, at least on modern CPUs.
26704         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26706         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26707         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26709         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26710         __expl_finite.
26711         * math/bits/math-finite.h: Add entries for exp.
26712         * math/e_expl.c: Add __*_finite alias.
26713         * sysdeps/i386/fpu/e_exp.S: Likewise.
26714         * sysdeps/i386/fpu/e_expf.S: Likewise.
26715         * sysdeps/i386/fpu/e_expl.c: Likewise.
26716         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26717         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26718         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26719         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26720         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26721         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26722         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26724         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26725         is sufficient, at least on modern CPUs.
26727         * ctype/ctype-info.c (__ctype_init): Define.
26728         * include/ctype.h (__ctype_init): Declare.
26729         (__ctype_b_loc): The variable is always initialized.
26730         (__ctype_toupper_loc): Likewise.
26731         (__ctype_tolower_loc): Likewise.
26732         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26733         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26735 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
26737         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26739         * configure.in: Also look in $cxxmachine/include for C++ system
26740         headers.
26742 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26744         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26745         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26746         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26747         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
26748         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26749         (USE_AS_WMEMCMP): New macro.
26750         Fixing indents.
26751         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26752         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26753         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26754         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26755         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26756         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26757         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26758         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26759         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26760         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26761         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26762         (USE_AS_WMEMCMP): New macro.
26763         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26764         * sysdeps/string/test-memcmp.c: Update.
26765         Fix simple_wmemcmp.
26766         Add new tests.
26767         * wcsmbs/wmemcmp.c: Update.
26768         (WMEMCMP): New macro.
26769         Fix overflow bug.
26771 2011-10-12  Andreas Jaeger  <aj@suse.de>
26773         [BZ #13268]
26774         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26776 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
26778         * libio/iofwide.c (do_length): Avoid warning.
26780         * ctype/ctype.h (__isctype_f): Add missing __THROW.
26782 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
26784         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26786         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26787         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26788         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26789         * sysdeps/i386/i686/fpu/e_log.S: New file.
26790         * sysdeps/i386/i686/fpu/e_logf.S: New file.
26791         * sysdeps/i386/i686/fpu/e_logl.S: New file.
26793         * ctype/ctype.h: Add support for inlined isXXX functions when
26794         compiling C++ code.
26796 2011-10-14  Andreas Schwab  <schwab@redhat.com>
26798         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26800         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26802 2011-10-13  Roland McGrath  <roland@hack.frob.com>
26804         [BZ #13291]
26805         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26807 2011-10-13  Andreas Schwab  <schwab@redhat.com>
26809         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26810         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26811         feraiseexcept.
26813         * sysdeps/x86_64/memrchr.S: Check for zero size.
26815         * string/stratcliff.c: Add memrchr tests.
26817 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26819         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26820         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26821         rawmemchr-sse2 rawmemchr-sse2-bsf.
26822         * sysdeps/i386/i686/multiarch/memchr.S: New file.
26823         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26824         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26825         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26826         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26827         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26828         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26829         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26830         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26831         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26832         * string/memrchr.c (MEMRCHR): New macro.
26834 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
26836         Add integration with gcc's -ffinite-math-only and optimize wrapper
26837         functions in libm.
26838         * Versions.def: Define GLIBC_2.15 version for libm.
26839         * math/Makefile (headers): Add bits/math-finite.h.
26840         * math/bits/math-finite.h: New file.
26841         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26842         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26843         * math/e_acoshl.c: Add __*_finite alias.
26844         * math/e_acosl.c: Likewise.
26845         * math/e_asinl.c: Likewise.
26846         * math/e_atan2l.c: Likewise.
26847         * math/e_atanhl.c: Likewise.
26848         * math/e_coshl.c: Likewise.
26849         * math/e_exp10.c: Likewise.
26850         * math/e_exp10f.c: Likewise.
26851         * math/e_exp10l.c: Likewise.
26852         * math/e_exp2l.c: Likewise.
26853         * math/e_fmodl.c: Likewise.
26854         * math/e_gammal_r.c: Likewise.
26855         * math/e_hypotl.c: Likewise.
26856         * math/e_j0l.c: Likewise.
26857         * math/e_j1l.c: Likewise.
26858         * math/e_jnl.c: Likewise.
26859         * math/e_lgammal_r.c: Likewise.
26860         * math/e_log10l.c: Likewise.
26861         * math/e_log2l.c: Likewise.
26862         * math/e_logl.c: Likewise.
26863         * math/e_powl.c: Likewise.
26864         * math/e_sinhl.c: Likewise.
26865         * math/e_sqrtl.c: Likewise.
26866         * math/e_scalb.c: Completely rewritten and optimized.
26867         * math/e_scalbf.c: Likewise.
26868         * math/e_scalbl.c: Likewise.
26869         * math/w_acos.c: Likewise.
26870         * math/w_acosf.c: Likewise.
26871         * math/w_acosl.c: Likewise.
26872         * math/w_acosh.c: Likewise.
26873         * math/w_acoshf.c: Likewise.
26874         * math/w_acoshl.c: Likewise.
26875         * math/w_asin.c: Likewise.
26876         * math/w_asinf.c: Likewise.
26877         * math/w_asinl.c: Likewise.
26878         * math/w_atan2.c: Likewise.
26879         * math/w_atan2f.c: Likewise.
26880         * math/w_atan2l.c: Likewise.
26881         * math/w_atanh.c: Likewise.
26882         * math/w_atanhf.c: Likewise.
26883         * math/w_atanhl.c: Likewise.
26884         * math/w_exp10.c: Likewise.
26885         * math/w_exp10f.c: Likewise.
26886         * math/w_exp10l.c: Likewise.
26887         * math/w_fmod.c: Likewise.
26888         * math/w_fmodf.c: Likewise.
26889         * math/w_fmodl.c: Likewise.
26890         * math/w_j0.c: Likewise.
26891         * math/w_j0f.c: Likewise.
26892         * math/w_j0l.c: Likewise.
26893         * math/w_j1.c: Likewise.
26894         * math/w_j1f.c: Likewise.
26895         * math/w_j1l.c: Likewise.
26896         * math/w_jn.c: Likewise.
26897         * math/w_jnf.c: Likewise.
26898         * math/w_log.c: Likewise.
26899         * math/w_logf.c: Likewise.
26900         * math/w_logl.c: Likewise.
26901         * math/w_log10.c: Likewise.
26902         * math/w_log10f.c: Likewise.
26903         * math/w_log10l.c: Likewise.
26904         * math/w_log2.c: Likewise.
26905         * math/w_log2f.c: Likewise.
26906         * math/w_log2l.c: Likewise.
26907         * math/w_pow.c: Likewise.
26908         * math/w_powf.c: Likewise.
26909         * math/w_powl.c: Likewise.
26910         * math/w_remainder.c: Likewise.
26911         * math/w_remainderf.c: Likewise.
26912         * math/w_remainderl.c: Likewise.
26913         * math/w_scalb.c: Likewise.
26914         * math/w_scalbf.c: Likewise.
26915         * math/w_scalbl.c: Likewise.
26916         * math/w_sqrt.c: Likewise.
26917         * math/w_sqrtf.c: Likewise.
26918         * math/w_sqrtl.c: Likewise.
26919         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26920         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
26921         used.
26922         * math/math_private.h: Declare __kernel_standard_f.
26923         * math/w_cosh.c: Remove cruft and optimize a bit.
26924         * math/w_coshf.c: Likewise.
26925         * math/w_coshl.c: Likewise.
26926         * math/w_exp2.c: Likewise.
26927         * math/w_exp2f.c: Likewise.
26928         * math/w_exp2l.c: Likewise.
26929         * math/w_hypot.c: Likewise.
26930         * math/w_hypotf.c: Likewise.
26931         * math/w_hypotl.c: Likewise.
26932         * math/w_lgamma.c: Likewise.
26933         * math/w_lgamma_r.c: Likewise.
26934         * math/w_lgammaf.c: Likewise.
26935         * math/w_lgammaf_r.c: Likewise.
26936         * math/w_lgammal.c: Likewise.
26937         * math/w_lgammal_r.c: Likewise.
26938         * math/w_sinh.c: Likewise.
26939         * math/w_sinhf.c: Likewise.
26940         * math/w_sinhl.c: Likewise.
26941         * math/w_tgamma.c: Likewise.
26942         * math/w_tgammaf.c: Likewise.
26943         * math/w_tgammal.c: Likewise.
26944         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26945         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26946         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26947         Minor optimizations.  Pretty printing.  Remove cruft.
26948         * sysdeps/i386/fpu/e_acosf.S: Likewise.
26949         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26950         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26951         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26952         * sysdeps/i386/fpu/e_acosl.c: Likewise.
26953         * sysdeps/i386/fpu/e_asin.S: Likewise.
26954         * sysdeps/i386/fpu/e_asinf.S: Likewise.
26955         * sysdeps/i386/fpu/e_atan2.S: Likewise.
26956         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26957         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26958         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26959         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26960         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26961         * sysdeps/i386/fpu/e_exp10.S: Likewise.
26962         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26963         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26964         * sysdeps/i386/fpu/e_exp2.S: Likewise.
26965         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26966         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26967         * sysdeps/i386/fpu/e_fmod.S: Likewise.
26968         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26969         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26970         * sysdeps/i386/fpu/e_hypot.S: Likewise.
26971         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26972         * sysdeps/i386/fpu/e_log.S: Likewise.
26973         * sysdeps/i386/fpu/e_log10.S: Likewise.
26974         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26975         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26976         * sysdeps/i386/fpu/e_log2.S: Likewise.
26977         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26978         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26979         * sysdeps/i386/fpu/e_logf.S: Likewise.
26980         * sysdeps/i386/fpu/e_logl.S: Likewise.
26981         * sysdeps/i386/fpu/e_pow.S: Likewise.
26982         * sysdeps/i386/fpu/e_powf.S: Likewise.
26983         * sysdeps/i386/fpu/e_powl.S: Likewise.
26984         * sysdeps/i386/fpu/e_remainder.S: Likewise.
26985         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26986         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26987         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26988         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26989         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26990         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26991         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26992         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26993         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26994         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26995         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26996         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26997         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26998         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26999         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27000         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27001         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27002         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27003         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27004         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27005         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27006         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27007         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27008         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27009         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27010         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27011         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27012         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27013         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27014         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27015         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27016         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27017         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27018         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27019         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27020         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27021         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27022         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27023         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27024         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27025         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27026         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27027         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27028         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27029         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27030         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27031         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27032         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27033         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27034         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27035         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27036         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27037         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27038         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27039         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27040         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27041         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27042         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27043         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27044         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27045         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27046         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27047         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27048         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27049         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27050         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27051         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27052         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27053         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27054         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27055         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27056         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27057         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27058         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27059         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27060         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27061         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27062         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27063         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27064         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27065         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27066         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27067         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27068         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27069         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27070         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27071         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27072         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27073         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27074         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27075         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27076         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27077         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27078         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27079         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27080         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27081         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27082         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27083         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27084         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27085         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27086         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27087         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27088         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27089         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27090         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27091         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27092         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27093         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27094         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27095         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27096         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27097         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27098         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27099         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27100         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27101         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27102         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27103         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
27104         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27105         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27106         (__isnanf): Likewise.
27107         (__isinf_ns): Likewise.
27108         (__isinf_nsf): Likewise.
27109         (__finite): Likewise.
27110         (__finitef): Likewise.
27111         (__ieee754_sqrt): Define as macro.
27112         (__ieee754_sqrtf): Define as macro.
27113         (__ieee754_sqrtl): Define as macro.
27114         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27115         inlined copy.
27116         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27117         __FINITE_MATH_ONLY__ consistent.
27118         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27120 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
27122         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27123         of rawmemchr.
27125         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27127 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
27129         * po/ja.po: Update from translation team.
27131 2011-10-08  Roland McGrath  <roland@hack.frob.com>
27133         * locale/programs/locarchive.c (prepare_address_space): New function.
27134         (create_archive, enlarge_archive, open_archive): Use it.
27136         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27137         inside [SHARED], where it is used.
27139         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27141         * nss/getent.c (netgroup_keys): Remove unused variable.
27142         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27144 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
27146         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27147         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27148         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27149         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27150         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27151         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27152         * math/Makefile (libm-calls): Add s_isinf_ns.
27153         * math/divtc3.c: Use __isinf_nsl instead of isinf.
27154         * math/multc3.c: Likewise.
27155         * math/s_casin.c: Likewise.
27156         * math/s_casinf.c: Likewise.
27157         * math/s_casinl.c: Likewise.
27158         * math/s_ccos.c: Likewise.
27159         * math/s_ccosf.c: Likewise.
27160         * math/s_ccosl.c: Likewise.
27161         * math/s_ctan.c: Likewise.
27162         * math/s_ctanf.c: Likewise.
27163         * math/s_ctanh.c: Likewise.
27164         * math/s_ctanhf.c: Likewise.
27165         * math/s_ctanhl.c: Likewise.
27166         * math/s_ctanl.c: Likewise.
27167         * math/w_fmod.c: Likewise.
27168         * math/w_fmodf.c: Likewise.
27169         * math/w_fmodl.c: Likewise.
27170         * math/w_remainder.c: Likewise.
27171         * math/w_remainderf.c: Likewise.
27172         * math/w_remainderl.c: Likewise.
27173         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27174         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27175         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27176         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27177         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27178         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27179         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27180         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27182         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27183         of the number.
27184         * stdio-common/printf_fphex.c: Likewise.
27185         * stdio-common/printf_size.c: Likewise.
27187         * math/e_exp10.c: Include math_private.h using <...> not "...".
27188         * math/e_exp10f.c: Likewise.
27189         * math/e_exp10l.c: Likewise.
27190         * math/e_exp2l.c: Likewise.
27191         * math/e_j0l.c: Likewise.
27192         * math/e_j1l.c: Likewise.
27193         * math/e_jnl.c: Likewise.
27194         * math/e_lgammal_r.c: Likewise.
27195         * math/e_rem_pio2l.c: Likewise.
27196         * math/e_scalb.c: Likewise.
27197         * math/e_scalbf.c: Likewise.
27198         * math/e_scalbl.c: Likewise.
27199         * math/k_cosl.c: Likewise.
27200         * math/k_sinl.c: Likewise.
27201         * math/k_tanl.c: Likewise.
27202         * math/s_cacoshf.c: Likewise.
27203         * math/s_catan.c: Likewise.
27204         * math/s_catanf.c: Likewise.
27205         * math/s_catanh.c: Likewise.
27206         * math/s_catanhf.c: Likewise.
27207         * math/s_catanhl.c: Likewise.
27208         * math/s_catanl.c: Likewise.
27209         * math/s_ccosh.c: Likewise.
27210         * math/s_ccoshf.c: Likewise.
27211         * math/s_ccoshl.c: Likewise.
27212         * math/s_cexp.c: Likewise.
27213         * math/s_cexpf.c: Likewise.
27214         * math/s_cexpl.c: Likewise.
27215         * math/s_clog.c: Likewise.
27216         * math/s_clog10.c: Likewise.
27217         * math/s_clog10f.c: Likewise.
27218         * math/s_clog10l.c: Likewise.
27219         * math/s_clogf.c: Likewise.
27220         * math/s_clogl.c: Likewise.
27221         * math/s_csin.c: Likewise.
27222         * math/s_csinf.c: Likewise.
27223         * math/s_csinh.c: Likewise.
27224         * math/s_csinhf.c: Likewise.
27225         * math/s_csinhl.c: Likewise.
27226         * math/s_csinl.c: Likewise.
27227         * math/s_csqrt.c: Likewise.
27228         * math/s_csqrtf.c: Likewise.
27229         * math/s_csqrtl.c: Likewise.
27230         * math/s_ctan.c: Likewise.
27231         * math/s_ctanf.c: Likewise.
27232         * math/s_ctanh.c: Likewise.
27233         * math/s_ctanhf.c: Likewise.
27234         * math/s_ctanhl.c: Likewise.
27235         * math/s_ctanl.c: Likewise.
27236         * math/s_ldexp.c: Likewise.
27237         * math/s_ldexpf.c: Likewise.
27238         * math/s_ldexpl.c: Likewise.
27239         * math/s_significand.c: Likewise.
27240         * math/s_significandf.c: Likewise.
27241         * math/s_significandl.c: Likewise.
27242         * math/w_acos.c: Likewise.
27243         * math/w_acosf.c: Likewise.
27244         * math/w_acosh.c: Likewise.
27245         * math/w_acoshf.c: Likewise.
27246         * math/w_acoshl.c: Likewise.
27247         * math/w_acosl.c: Likewise.
27248         * math/w_asin.c: Likewise.
27249         * math/w_asinf.c: Likewise.
27250         * math/w_asinl.c: Likewise.
27251         * math/w_atan2.c: Likewise.
27252         * math/w_atan2f.c: Likewise.
27253         * math/w_atan2l.c: Likewise.
27254         * math/w_atanh.c: Likewise.
27255         * math/w_atanhf.c: Likewise.
27256         * math/w_atanhl.c: Likewise.
27257         * math/w_cosh.c: Likewise.
27258         * math/w_coshf.c: Likewise.
27259         * math/w_coshl.c: Likewise.
27260         * math/w_dremf.c: Likewise.
27261         * math/w_exp10.c: Likewise.
27262         * math/w_exp10f.c: Likewise.
27263         * math/w_exp10l.c: Likewise.
27264         * math/w_exp2.c: Likewise.
27265         * math/w_exp2f.c: Likewise.
27266         * math/w_fmod.c: Likewise.
27267         * math/w_fmodf.c: Likewise.
27268         * math/w_fmodl.c: Likewise.
27269         * math/w_hypot.c: Likewise.
27270         * math/w_hypotf.c: Likewise.
27271         * math/w_hypotl.c: Likewise.
27272         * math/w_j0.c: Likewise.
27273         * math/w_j0f.c: Likewise.
27274         * math/w_j0l.c: Likewise.
27275         * math/w_j1.c: Likewise.
27276         * math/w_j1f.c: Likewise.
27277         * math/w_j1l.c: Likewise.
27278         * math/w_jn.c: Likewise.
27279         * math/w_jnf.c: Likewise.
27280         * math/w_jnl.c: Likewise.
27281         * math/w_lgamma.c: Likewise.
27282         * math/w_lgamma_r.c: Likewise.
27283         * math/w_lgammaf.c: Likewise.
27284         * math/w_lgammaf_r.c: Likewise.
27285         * math/w_lgammal.c: Likewise.
27286         * math/w_lgammal_r.c: Likewise.
27287         * math/w_log.c: Likewise.
27288         * math/w_log10.c: Likewise.
27289         * math/w_log10f.c: Likewise.
27290         * math/w_log10l.c: Likewise.
27291         * math/w_log2.c: Likewise.
27292         * math/w_log2f.c: Likewise.
27293         * math/w_log2l.c: Likewise.
27294         * math/w_logf.c: Likewise.
27295         * math/w_logl.c: Likewise.
27296         * math/w_pow.c: Likewise.
27297         * math/w_powf.c: Likewise.
27298         * math/w_powl.c: Likewise.
27299         * math/w_remainder.c: Likewise.
27300         * math/w_remainderf.c: Likewise.
27301         * math/w_remainderl.c: Likewise.
27302         * math/w_scalb.c: Likewise.
27303         * math/w_scalbf.c: Likewise.
27304         * math/w_scalbl.c: Likewise.
27305         * math/w_sinh.c: Likewise.
27306         * math/w_sinhf.c: Likewise.
27307         * math/w_sinhl.c: Likewise.
27308         * math/w_sqrt.c: Likewise.
27309         * math/w_sqrtf.c: Likewise.
27310         * math/w_sqrtl.c: Likewise.
27311         * math/w_tgamma.c: Likewise.
27312         * math/w_tgammaf.c: Likewise.
27313         * math/w_tgammal.c: Likewise.
27315         * po/ja.po: Update from translation team.
27317 2011-09-29  Andreas Jaeger  <aj@suse.de>
27319         [BZ #13179]
27320         * sunrpc/netname.c (netname2host): Fix logic.
27322         [BZ #6779]
27323         [BZ #6783]
27324         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27325         correctly.
27326         * math/w_remainder.c (__remainder): Likewise.
27327         * math/w_remainderf.c (__remainderf): Likewise.
27328         * math/libm-test.inc (remainder_test): Add test cases.
27330 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27332         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
27333         sdiv_qrnnd.
27335 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
27337         * string/test-memcmp.c: Avoid unncessary #defines.
27338         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27340 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27342         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27343         Use new sse2 version for core i3 - i7 as it's faster
27344         than sse42 version.
27345         (bit_Prefer_PMINUB_for_stringop): New.
27346         * sysdeps/x86_64/rawmemchr.S: Update.
27347         Replace with faster SSE2 version.
27348         * sysdeps/x86_64/memrchr.S: New file.
27349         * sysdeps/x86_64/memchr.S: Update.
27350         Replace with faster SSE2 version.
27352 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
27354         * elf/dl-load.c (lose): Add cast to avoid warning.
27356 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
27358         * po/ca.po: Update from translation team.
27360         * inet/getnetgrent_r.c: Hook up nscd.
27361         * nscd/Makefile (routines): Add nscd_netgroup.
27362         (nscd-modules): Add netgroupcache.
27363         (CFLAGS-netgroupcache.c): Define.
27364         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27365         (cache_search): Add const to second parameter.
27366         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27367         INNETGR.
27368         (dbs): Add netgrdb entry.
27369         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27370         (verify_persistent_db): Handle netgrdb.
27371         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27372         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27373         GETFDNETGR.
27374         (netgroup_response_header): Define.
27375         (innetgroup_response_header): Define.
27376         (datahead): Add netgroup_response_header and innetgroup_response_header
27377         elements.
27378         * nscd/nscd.conf: Add entries for netgroup cache.
27379         * nscd/nscd.h (dbtype): Add netgrdb.
27380         (_PATH_NSCD_NETGROUP_DB): Define.
27381         (netgroup_iov_disabled): Declare.
27382         (xmalloc, xcalloc, xrealloc): Move declarations here.
27383         (cache_search): Adjust prototype.
27384         Add netgroup-related prototypes.
27385         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27386         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27387         (__nscd_innetgr): Declare.
27388         * nscd/selinux.c (perms): Use access_vector_t as element type and
27389         add netgroup-related initializers.
27390         * nscd/netgroupcache.c: New file.
27391         * nscd/nscd_netgroup.c: New file.
27392         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27393         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27394         For four parameters use innetgr.
27395         * nss/nss_files/files-init.c: Add definition and callback for netgr.
27396         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27397         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27398         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27400         * nscd/connections.c (register_traced_file): Don't register file
27401         for disabled databases.
27403 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
27405         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27407         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27408         from tree and freeing node.
27410 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
27412         * nss/nsswitch.c (__nss_database_lookup): Handle
27413         nss_parse_service_list out of memory case.
27415 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
27417         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27418         out of memory case.
27420 2011-10-04  Andreas Schwab  <schwab@redhat.com>
27422         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27423         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27424         pass it down.
27425         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27426         elf_machine_rela, elf_machine_lazy_rel.
27427         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27428         (ELF_DYNAMIC_DO_REL): Likewise.
27429         (ELF_DYNAMIC_DO_RELA): Likewise.
27430         (ELF_DYNAMIC_RELOCATE): Likewise.
27431         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27432         to ELF_DYNAMIC_DO_REL.
27433         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27434         (dl_main): In trace mode always set __RTLD_NOIFUNC.
27435         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27436         elf_machine_rela.
27437         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27438         skip_ifunc, don't call ifunc function if non-zero.
27439         (elf_machine_rela): Likewise.
27440         (elf_machine_lazy_rel): Likewise.
27441         (elf_machine_lazy_rela): Likewise.
27442         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27443         (elf_machine_lazy_rel): Likewise.
27444         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27445         Likewise.
27446         (elf_machine_lazy_rel): Likewise.
27447         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27448         Likewise.
27449         (elf_machine_lazy_rel): Likewise.
27450         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27451         (elf_machine_lazy_rel): Likewise.
27452         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27453         (elf_machine_lazy_rel): Likewise.
27454         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27455         (elf_machine_lazy_rel): Likewise.
27456         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27457         (elf_machine_lazy_rel): Likewise.
27458         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27459         (elf_machine_lazy_rel): Likewise.
27460         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27461         (elf_machine_lazy_rel): Likewise.
27463 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
27465         * nss/nss_files/files-init.c (_nss_files_init): Use static
27466         initialization for all the *_traced_file variables.
27468 2011-09-28  Andreas Schwab  <schwab@redhat.com>
27470         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27472 2011-09-27  Roland McGrath  <roland@hack.frob.com>
27474         [BZ #13226]
27475         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27477 2011-09-27  Andreas Schwab  <schwab@redhat.com>
27479         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27480         Reread the line before reparsing it.
27482 2011-09-26  Andreas Schwab  <schwab@redhat.com>
27484         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27486 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
27487             Maxim Kuvyrkov  <maxim@codesourcery.com>
27488             Joseph Myers  <joseph@codesourcery.com>
27490         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27491         if needed for __stack_chk_guard.
27493 2011-09-19  Roland McGrath  <roland@hack.frob.com>
27495         * sysdeps/posix/spawni.c (script_execute): Always define it.
27496         It will be optimized away if unused.
27497         (maybe_script_execute): New function.
27498         (__spawni): Call it.
27500         * Makerules: Don't include tls.make.
27501         (config-tls): Always set to thread.
27502         * tls.make.c: File removed.
27504 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
27506         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27507         * config.make.in (CPPFLAGS-config): New substituted variable.
27509 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
27511         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27513         [BZ #13192]
27514         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27515         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27517 2011-09-15  Roland McGrath  <roland@hack.frob.com>
27519         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27520         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27521         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27522         (CALL_FAIL): Likewise.
27523         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27524         (CALL_FAIL): Macro removed.
27525         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27527 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
27529         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27530         for __FINITE_MATH_ONLY__ == 1.
27532 2011-09-15  Andreas Schwab  <schwab@redhat.com>
27534         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27535         __ieee754_sqrt instead of sqrt.
27536         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27537         __ieee754_sqrtf instead of sqrtf.
27538         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27539         __floorf instead of floorf.
27540         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27541         __floorf, __truncf instead of floorf, truncf.
27543 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
27545         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27547         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27548         __extern_always_inline.
27549         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27550         32-bit.
27552 2011-09-14  Andreas Schwab  <schwab@redhat.com>
27554         * elf/rtld.c (dl_main): Also relocate in dependency order when
27555         doing symbol dependency testing.
27557 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
27559         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27560         Always define `refsym'.
27562 2011-09-13  Andreas Schwab  <schwab@redhat.com>
27564         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27565         (__FD_ELT): Renamed from __FDELT.
27566         * misc/bits/select2.h (__FD_ELT): Likewise.
27567         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27568         __FD_MASK instead of __FDELT, __FDMASK.
27569         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27570         Likewise.
27571         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27572         Likewise.
27574         * elf/Makefile (gen-ldd): Fix pattern.
27576         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27577         (init_tls): Likewise.
27579 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
27581         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27583 2011-09-12  Andreas Schwab  <schwab@redhat.com>
27585         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27586         `struct cmsghdr *' instead of `void *'.
27587         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27588         Likewise.
27590 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
27592         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27593         if non-absolute.
27594         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27595         ldd_rewrite_script.
27597 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
27599         * configure.in: Remove --with-tls option.
27600         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27601         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27602         out in case it is missing.
27603         * sysdeps/ia64/elf/configure.in: Likewise.
27604         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27605         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27606         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27607         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27608         * sysdeps/sh/elf/configure.in: Likewise.
27609         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27610         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27611         * sysdeps/x86_64/elf/configure.in: Likewise.
27612         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27613         * sysdeps/mach/hurd/tls.h: Likewise.
27615         [BZ #13067]
27616         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27618         [BZ #13090]
27619         * configure.in: Fix use of AC_INIT.
27621         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27623 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
27625         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27626         __set_errno.
27627         * malloc/hooks.c: Likewise.
27629         [BZ #11929]
27630         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
27631         variables statically.
27632         (narenas): Initialize.
27633         (list_lock): Initialize.
27634         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
27635         initializtion of main_arena and list_lock.  Small cleanups.
27636         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27637         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
27638         Add initializers to main_arena and mp_.
27639         (malloc_state): Remove pagesize member.  Change all users to use
27640         GLRO(dl_pagesize).
27642         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27643         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
27644         is always initialized.
27646         * malloc/malloc.c: Removed unused configurations and dead code.
27647         * malloc/arena.c: Likewise.
27648         * malloc/hooks.c: Likewise.
27649         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
27651         * include/tls.h: Removed.  USE___THREAD must always be defined.
27652         * bits/libc-tsd.h: Don't handle !USE___THREAD.
27653         * elf/dl-libc.c: Likewise.
27654         * elf/dl-tsd.c: Likewise.
27655         * include/errno.h: Likewise.
27656         * include/netdb.h: Likewise.
27657         * include/resolv.h: Likewise.
27658         * inet/herrno-loc.c: Likewise.
27659         * inet/herrno.c: Likewise.
27660         * malloc/arena.c: Likewise.
27661         * malloc/hooks.c: Likewise.
27662         * malloc/malloc.c: Likewise.
27663         * resolv/res-state.c: Likewise.
27664         * resolv/res_libc.c: Likewise.
27665         * sysdeps/i386/dl-machine.h: Likewise.
27666         * sysdeps/ia64/dl-machine.h: Likewise.
27667         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27668         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27669         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27670         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27671         * sysdeps/sh/dl-machine.h: Likewise.
27672         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27673         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27674         * sysdeps/unix/i386/sysdep.S: Likewise.
27675         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27676         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27677         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27678         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27679         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27680         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27681         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27682         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27683         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27684         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27685         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27686         * sysdeps/x86_64/dl-machine.h: Likewise.
27687         * tls.make.c: Likewise.
27689         * configure.in: Remove --with-__thread option.  Make tests for
27690         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27691         tls_model attribute fail if no support is available.  Remove
27692         USE_IN_LIBIO.
27693         * Makeconfig: Adjust for dropped configure option.  All features are
27694         now mandatory.
27695         * Makerules: Likewise.
27696         * Versions.def: Likewise.
27697         * argp/argp-fmtstream.c: Likewise.
27698         * argp/argp-fmtstream.h: Likewise.
27699         * argp/argp-help.c: Likewise.
27700         * assert/assert.c: Likewise.
27701         * config.h.in: Likewise.
27702         * config.make.in: Likewise.
27703         * configure: Likewise.
27704         * configure.in: Likewise.
27705         * csu/Versions: Likewise.
27706         * csu/init.c: Likewise.
27707         * elf/tst-audit2.c: Likewise.
27708         * elf/tst-tls10.c: Likewise.
27709         * elf/tst-tls10.h: Likewise.
27710         * elf/tst-tls11.c: Likewise.
27711         * elf/tst-tls12.c: Likewise.
27712         * elf/tst-tls14.c: Likewise.
27713         * elf/tst-tlsmod11.c: Likewise.
27714         * elf/tst-tlsmod12.c: Likewise.
27715         * elf/tst-tlsmod13.c: Likewise.
27716         * elf/tst-tlsmod13a.c: Likewise.
27717         * elf/tst-tlsmod14a.c: Likewise.
27718         * elf/tst-tlsmod15b.c: Likewise.
27719         * elf/tst-tlsmod16a.c: Likewise.
27720         * elf/tst-tlsmod16b.c: Likewise.
27721         * elf/tst-tlsmod7.c: Likewise.
27722         * elf/tst-tlsmod8.c: Likewise.
27723         * elf/tst-tlsmod9.c: Likewise.
27724         * gmon/gmon.c: Likewise.
27725         * grp/fgetgrent_r.c: Likewise.
27726         * grp/putgrent.c: Likewise.
27727         * hurd/fopenport.c: Likewise.
27728         * include/libc-symbols.h: Likewise.
27729         * include/tls.h: Likewise.
27730         * intl/gettextP.h: Likewise.
27731         * intl/loadinfo.h: Likewise.
27732         * locale/global-locale.c: Likewise.
27733         * locale/localeinfo.h: Likewise.
27734         * mach/devstream.c: Likewise.
27735         * malloc/arena.c: Likewise.
27736         * malloc/set-freeres.c: Likewise.
27737         * misc/err.c: Likewise.
27738         * misc/getttyent.c: Likewise.
27739         * misc/mntent_r.c: Likewise.
27740         * posix/getopt.c: Likewise.
27741         * posix/wordexp.c: Likewise.
27742         * pwd/fgetpwent_r.c: Likewise.
27743         * resolv/Versions: Likewise.
27744         * resolv/res_hconf.c: Likewise.
27745         * shadow/fgetspent_r.c: Likewise.
27746         * shadow/putspent.c: Likewise.
27747         * stdio-common/printf_fphex.c: Likewise.
27748         * stdio-common/tmpfile.c: Likewise.
27749         * stdlib/abort.c: Likewise.
27750         * stdlib/fmtmsg.c: Likewise.
27751         * sunrpc/auth_unix.c: Likewise.
27752         * sunrpc/clnt_perr.c: Likewise.
27753         * sunrpc/clnt_tcp.c: Likewise.
27754         * sunrpc/clnt_udp.c: Likewise.
27755         * sunrpc/clnt_unix.c: Likewise.
27756         * sunrpc/openchild.c: Likewise.
27757         * sunrpc/svc_simple.c: Likewise.
27758         * sunrpc/svc_tcp.c: Likewise.
27759         * sunrpc/svc_udp.c: Likewise.
27760         * sunrpc/svc_unix.c: Likewise.
27761         * sunrpc/xdr.c: Likewise.
27762         * sunrpc/xdr_array.c: Likewise.
27763         * sunrpc/xdr_rec.c: Likewise.
27764         * sunrpc/xdr_ref.c: Likewise.
27765         * sunrpc/xdr_stdio.c: Likewise.
27767 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27769         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27771 2011-07-03  Andreas Jaeger  <aj@suse.de>
27773         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27774         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27775         regenerate with gen-libm-tests.pl.
27777 2010-05-12  Petr Baudis  <pasky@suse.cz>
27779         [BZ #11589]
27780         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27781         around j0() zero points by switching to j1().
27782         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27783         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27784         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27785         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27787 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27789         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27790         instead of 0.
27791         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
27792         instead of 0.
27793         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27794         Patch in part by Pavel Roskin <proski@gnu.org>.
27796         [BZ #13138]
27797         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27798         realloc.
27799         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
27800         Free memory block if necessary.
27802         [BZ #12847]
27803         * libio/genops.c (INTDEF): For string streams the _lock pointer can
27804         be NULL.  Don't lock in this case.
27806 2011-09-09  Roland McGrath  <roland@hack.frob.com>
27808         * elf/elf.h (ELFOSABI_GNU): New macro.
27809         (ELFOSABI_LINUX): Define to that.
27811 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
27813         * string/strncat.c (strncat): Undef the symbol in case it has been
27814         defined in bits/string.h.
27816 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27818         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27820         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
27821         link map.
27823 2011-08-17  Andreas Jaeger  <aj@suse.de>
27825         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27827 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27828             Ian Lance Taylor  <iant@google.com>
27830         * math/libm-test.inc (lround_test): New testcase.
27831         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27833 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
27835         * Makefile: Remove support for automatic cvs check-ins.
27836         * Makerules: Likewise.
27837         * config.make.in: Likewise.
27838         * configure.in: Likewise.
27839         * intl/Makefile: Likewise.
27840         * locale/Makefile: Likewise.
27841         * po/Makefile: Likewise.
27842         * posix/Makefile: Likewise.
27843         * sysdeps/gnu/Makefile: Likewise.
27844         * sysdeps/mach/hurd/Makefile: Likewise.
27845         * sysdeps/sparc/sparc32/Makefile: Likewise.
27847         [BZ #13118]
27848         * posix/Makefile (bug-regex32-ENV): Define.
27849         Patch by John Stanley <jpsinthemix@verizon.net>.
27851         * misc/Makefile (headers): Add bits/select2.h.
27852         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27853         * misc/bits/select2.h: New file.
27854         * include/bits/select2.h: New file.
27855         * debug/Makefile (routines): Add fdelt_chk.
27856         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27857         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27858         FD_ISSET.
27859         * debug/fdelt_chk.c: New file.
27861         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
27862         * wcsmbs/test-wmemcmp.c: Likewise.
27863         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
27864         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
27866 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27868         * string/Makefile (strop-tests): Add memcmp.
27869         * string/test-wmemcmp.c: New file.
27870         * string/test-memcmp.c: Add wmemcmp support.
27872 2011-09-08  Roland McGrath  <roland@hack.frob.com>
27874         [BZ #13153]
27875         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27876         2011-07-19 change.
27878         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27879         garbage value in a __mach_port_mod_refs call in the cases of the
27880         task-self and thread-self ports.
27882 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27884         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27886 2011-09-08  Andreas Schwab  <schwab@redhat.com>
27888         * elf/dl-load.c (lose): Check for non-null L.
27890 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
27892         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27894         * elf/dl-libc.c (dlerror_run): Pass back error code from
27895         dl_catch_error.
27897         [BZ #13123]
27898         * elf/dl-load.c (lose): Free l_origin if it is valid.
27900         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27901         names.
27902         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27903         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27904         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27905         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27906         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27907         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27909 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27911         * sysdeps/powerpc/fpu/e_hypot.c: New file.
27912         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27913         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27914         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27915         * sysdeps/powerpc/fpu/k_cosf.c: New file.
27916         * sysdeps/powerpc/fpu/k_sinf.c: New file.
27917         * sysdeps/powerpc/fpu/s_cosf.c: New file.
27918         * sysdeps/powerpc/fpu/s_sinf.c: New file.
27919         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27920         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27922 2011-08-15  Alan Modra  <amodra@gmail.com>
27924         [BZ #13092]
27925         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27926         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27927         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
27928         ppc_mcount to static-only-routines.
27929         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27930         __mcount_internal.
27931         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27932         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
27934 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
27936         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27937         for finite and infinity parameters.
27939 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
27941         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27942         and add nop instructions for throughput optimization.
27943         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27945 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
27947         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27948         aligned copy for power7 with vector-scalar instructions.
27949         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27951 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
27953         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27954         AVX check.
27956 2011-09-07  Andreas Schwab  <schwab@redhat.com>
27958         [BZ #13144]
27959         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27960         last change.
27962 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
27964         * sysdeps/unix/sysv/linux/x86_64/init-first.c
27965         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27966         syscall wrapper around clock_gettime in __vdso_clock_gettime.
27967         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27968         clock_gettime.
27970 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
27972         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27973         Forgot to demangle the pointer.
27975         * sysdeps/i386/sysdep.h: Define atom_text_section.
27976         * sysdeps/x86_64/sysdep.h: Likewise.
27977         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27978         section with atom_text_section.
27979         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27980         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27981         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27982         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27983         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27985         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27986         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27987         already be defined.  Change to take two parameters and don't assign
27988         result to variable.  Adjust all users.
27989         Define INTERNAL_GETTIME if not already defined.
27990         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27991         call.
27992         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27993         HAVE_CLOCK_GETTIME_VSYSCALL.
27994         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27996         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27997         gettimeofday vsyscall, just use time.
27999 2011-09-06  Andreas Schwab  <schwab@redhat.com>
28001         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28002         <errno.h>.
28004 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
28006         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28007         syscall on x86-64.
28008         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28009         syscall.
28010         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28011         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28012         syscall if possible.
28014 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
28016         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28017         e_ident.  Don't pass to find_mapsXX.
28018         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28020 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28022         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28023         strchr-sse2-no-bsf strrchr-sse2-no-bsf
28024         * sysdeps/x86_64/multiarch/strchr.S: Update.
28025         Check bit_slow_BSF bit.
28026         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28027         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28028         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28030 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
28032         [BZ #13134]
28033         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28034         before glibc 2.15.
28035         (tryshell): Define.
28036         (__spawni): Change last parameter to be flag.  Test
28037         SPAWN_XFLAGS_USE_PATH flag to use path or not.
28038         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28039         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28040         * posix/spawni.c: Likewise.
28041         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28042         * posix/spawnp.c: Likewise.  Change normal version to use
28043         SPAWN_XFLAGS_USE_PATH.
28044         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28045         SPAWN_XFLAGS_TRY_SHELL.
28047         [BZ #13150]
28048         * posix/glob.h: Remove gcc 1.x support.
28050         [BZ #13068]
28051         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28053 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28055         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28056         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28057         strrchr-sse2-bsf
28058         * sysdeps/i386/i686/multiarch/strchr.S: New file.
28059         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28060         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28061         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28062         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28063         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28065 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28067         * sysdeps/x86_64/wcscmp.S: New file.
28069         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28070         wcscmp-c wcscmp-sse2
28071         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28072         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28073         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28074         * wcsmbs/wcscmp.c: Allow renaming.
28076 2011-09-05  David S. Miller  <davem@davemloft.net>
28078         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28079         stack slot, rather than the struct return pointer slot.
28080         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28081         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28083         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28085 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
28087         * po/ja.po: Update from translation team.
28089         [BZ #13144]
28090         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28091         kernel in 64-bit binaries.
28093 2011-09-01  David S. Miller  <davem@davemloft.net>
28095         * elf/elf.h (HWCAP_SPARC_*): Move to..
28096         * sysdeps/sparc/sysdep.h: this new file and add new values.
28097         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28098         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28099         _DL_HWCAP_COUNT to 24.
28100         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28101         entries.
28102         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28103         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28104         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28105         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28106         instead of magic constants.
28107         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28109 2011-08-31  David S. Miller  <davem@davemloft.net>
28111         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28112         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28113         Reimplement to do errno handling inline.
28114         (SYSCALL_ERROR_HANDLER): New macro.
28115         (__SYSCALL_STRING): Do not do errno handling in asm.
28116         (__CLONE_SYSCALL_STRING): Delete.
28117         (__INTERNAL_SYSCALL_STRING): Delete.
28118         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28119         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28120         (PSEUDO): Reimplement to do errno handling inline.
28121         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28122         (SYSCALL_ERROR_HANDLER): New macro.
28123         (__SYSCALL_STRING): Do not do errno handling in asm.
28124         (__CLONE_SYSCALL_STRING): Delete.
28125         (__INTERNAL_SYSCALL_STRING): Delete.
28126         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28127         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28128         i386.
28129         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28130         (inline_syscall*): Add 'err' argument.
28131         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28132         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28133         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28134         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28136         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28137         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28139 2011-08-30  Andreas Schwab  <schwab@redhat.com>
28141         * elf/rtld.c (dl_main): Relocate objects in dependency order.
28143 2011-08-29  Jiri Olsa <jolsa@redhat.com>
28145         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28146         directive.
28148 2011-08-24  David S. Miller  <davem@davemloft.net>
28150         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28152 2011-08-24  Andreas Schwab  <schwab@redhat.com>
28154         * elf/Makefile: Add rules to build and run unload8 test.
28155         * elf/unload8.c: New file.
28156         * elf/unload8mod1.c: New file.
28157         * elf/unload8mod1x.c: New file.
28158         * elf/unload8mod2.c: New file.
28159         * elf/unload8mod3.c: New file.
28161         * elf/dl-close.c (_dl_close_worker): Reset private search list if
28162         it wasn't used.
28164 2011-08-23  David S. Miller  <davem@davemloft.net>
28166         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28167         subtract stack bias.
28168         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28169         %sp not %fp in calculations.
28170         (_JMPBUF_UNWINDS_ADJ): Likewise.
28172         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28173         (aio_suspend): Call it to force an exception region around the
28174         AIO_MISC_WAIT() invocation.
28176 2011-08-23  Andreas Schwab  <schwab@redhat.com>
28178         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28179         backslash.
28181 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
28183         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28184         protection macro.
28185         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28186         and <dl-machine.h>.
28187         (Elf64_FuncDesc): Remove.
28189 2011-08-22  David S. Miller  <davem@davemloft.net>
28191         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28192         sigaltstack check, add missing cfi directives.
28193         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28194         missing cfi directives, and sigaltstack handling.
28196 2011-08-16  Andreas Schwab  <schwab@redhat.com>
28198         [BZ #11724]
28199         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28200         object is seen twice.
28201         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28203         * elf/Makefile (distribute): Add tst-initorder2.c.
28204         (tests): Add tst-initorder2.
28205         (modules-names): Add tst-initorder2a tst-initorder2b
28206         tst-initorder2c tst-initorder2d.  Add rules to build them.
28207         ($(objpfx)tst-initorder2.out): New rule.
28208         * elf/tst-initorder2.c: New file.
28209         * elf/tst-initorder2.exp: New file.
28211 2011-08-22  Andreas Schwab  <schwab@redhat.com>
28213         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28215         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28216         dependencies back to end of function.
28218         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28219         $(elfobjdir)/ld.so.
28221 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
28223         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28224         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28225         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28226         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28227         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28228         of __vdso_gettimeofday.
28229         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28230         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
28231         attribute_hidden.
28232         (_libc_vdso_platform_setup): Remove initialization of
28233         __vdso_gettimeofday and __vdso_time.
28235 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
28237         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28238         and fgetc_unlocked.
28239         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28240         getc_unlocked.
28242         * elf/dl-open.c (add_to_global): Report additions to the global scope
28243         for LD_DEBUG=scopes.
28244         (dl_open_worker): Also print scope of newly loaded dependencies.
28245         (_dl_show_scope): Indicate if there is no scope.
28247         [BZ #13114]
28248         * stdio-common/Makefile (tests): Add bug24.
28249         * stdio-common/bug24.c: New file.
28251 2011-08-19  Andreas Jaeger  <aj@suse.de>
28253         [BZ #13114]
28254         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28255         non-existant file when using close-on-exec mode.
28257 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
28259         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28260         the very first instruction.
28262         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28263         the CFI state in the end.
28264         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28265         inclusion of dl-trampoline.h.
28266         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28268 2011-08-19  Andreas Schwab  <schwab@redhat.com>
28270         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28271         expectations for long double.
28273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28274         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28276 2011-08-14  David S. Miller  <davem@davemloft.net>
28278         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28279         artificual limit depends upon the system page size.
28281 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
28283         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28284         * resolv/Makefile: Define CFLAGS-libresolv.
28286 2011-08-17  Andreas Schwab  <schwab@redhat.com>
28288         * nss/makedb.c (compute_tables): Make variables used in nested
28289         function static.
28291 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
28293         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28294         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28295         if buffer was too small.
28297         * elf/pldd.c (main): Attach to all threads in the process.
28298         Rewrite /proc handling to use *at functions.
28300 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
28302         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28303         specifies first scope to show.
28304         (dl_open_worker): Update callers.  Move printing scope of new
28305         object to before the relocation.
28306         * elf/rtld.c (dl_main): Update _dl_show_scope call.
28307         * sysdeps/generic/ldsodefs.h: Update declaration.
28309         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28310         string for the scope number.
28312 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
28314         * nscd/servicescache.c (cache_addserv): Make sure written is always
28315         initialized.
28317 2011-08-14  Roland McGrath  <roland@hack.frob.com>
28319         * sysdeps/i386/i486/bits/atomic.h
28320         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28321         statement expression, so as to suppress "set but not used" warning.
28322         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28324         * string/strncat.c (STRNCAT): Use prototype definition.
28326         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28327         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28328         -Iprograms here.
28329         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28330         (localedef-modules): Add localedef.
28331         (locale-modules): Add locale.
28333         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28334         * elf/rtld.c (dl_main): Invert order of assignment in last change,
28335         to avoid a warning.
28337 2011-08-14  David S. Miller  <davem@davemloft.net>
28339         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28340         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28342 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
28344         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
28345         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28346         * elf/rtld.c (dl_main): Set l_name of vDSO.
28347         Call _dl_show_scope when DL_DEBUG_SCOPES.
28348         (process_dl_debug): Recognize scopes flag and also set it for all.
28349         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28350         Declare _dl_show_scope.
28352         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28353         (do_dlopen): Pass caller_dlopen to dl_open.
28354         (__libc_dlopen_mode): Initialize caller_dlopen.
28356         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28357         of libc.  Make tolower call locale-independent.  Optimize a bit by
28358         using isdigit instead of isalnum.
28359         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28361 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
28363         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28364         was a dependency or dynamically loaded.
28366 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
28368         * intl/l10nflist.c: Allow architecture-specific pop function.
28369         * sysdeps/x86_64/l10nflist.c: New file.
28371         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28372         classification.
28374 2011-08-10  Andreas Schwab  <schwab@redhat.com>
28376         * include/dirent.h: Add libc_hidden_proto for scandirat and
28377         scandirat64.  Don't declare __scandirat64.
28378         * dirent/scandirat.c: Add libc_hidden_def.
28379         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28380         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28382 2011-08-10  David S. Miller  <davem@davemloft.net>
28384         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28385         enum.
28386         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28387         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28388         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28390 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
28392         * Versions.def [libc]: Add GLIBC_2.15.
28393         * dirent/Makefile (routines): Add scandirat and scandirat64.
28394         * dirent/Versions [libc]: Export scandirat and scandirat64 for
28395         GLIBC_2.15.
28396         * dirent/dirent.h: Declare scandirat and scandirat64.
28397         * dirent/scandirat.c: New file.
28398         * dirent/scandirat64.c: New file.
28399         * sysdeps/wordsize-64/scandirat.c: New file.
28400         * sysdeps/wordsize-64/scandirat64.c: New file.
28401         * dirent/opendir.c: Define opendirat.
28402         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
28403         using scandirat.
28404         * dirent/scandir64.c: Adjust for scandir.c change.
28405         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
28406         __scandirat64, and __scandir_cancel_handler.
28407         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
28408         additional parameter and use openat instead of open (outside of ld.so).
28409         Add new __opendir as wrapper around __opendirat.
28410         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28411         here without requiring old scandirat implementation.
28413 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
28415         * dirent/scandir.c (cancel_handler): Renamed to
28416         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
28417         defined.  Adjust users.
28418         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28419         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28421 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
28423         * string/test-string.h (IMPL): Use __STRING to expand name and then
28424         stringify it.
28426         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
28427         of cleanups.
28429 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28431         * string/Makefile: Update.
28432         (strop-tests): Append strncat.
28433         * string/test-wcscmp.c: New file.
28434         New comprehensive test for wcscmp.
28435         * string/test-strcmp.c: Update.
28436         (WIDE): New define.
28438 2011-07-22  Andreas Schwab  <schwab@redhat.com>
28440         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28441         line.
28443 2011-07-26  Andreas Schwab  <schwab@redhat.com>
28445         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28446         encoding to ACE if AI_IDN.
28448 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
28450         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28451         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28453 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28455         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28456         Fix overflow bug in strncat.
28457         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28459         * string/test-strncat.c: Update.
28460         Add new tests for checking overflow bugs.
28462 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28464         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28465         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28466         * sysdeps/i386/i686/multiarch/strcat.S: New file.
28467         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28468         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28469         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28470         * sysdeps/i386/i686/multiarch/strncat.S: New file.
28471         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28472         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28474         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28475         (USE_AS_STRCAT): Define.
28476         Add strcat and strncat support.
28477         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28479 2011-07-25  Andreas Schwab  <schwab@redhat.com>
28481         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28482         __n bigger than INT_MAX+1.
28483         (__strncmp_g): Likewise.
28485 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
28487         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28488         * libio/stido.h: Likewise.
28490         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28491         (AF_NFC): Define.
28492         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28493         (AF_NFC): Define.
28495         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28496         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28497         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28498         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28499         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28501         [BZ #13021]
28502         * scripts/test-installation.pl: Don't expect libnss_test1 to be
28503         installed.
28505         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28506         typo.
28507         (_dl_x86_64_save_sse): Likewise.
28509 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
28511         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28512         OSXSAVE.
28513         (_dl_x86_64_save_sse): Likewise.
28515         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28517         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28519 2011-07-21  Andreas Schwab  <schwab@redhat.com>
28521         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28522         change.
28523         (_dl_x86_64_save_sse): Use correct AVX check.
28525 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28527         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28528         bug in strncpy/strncat.
28529         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28531 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
28533         * string/tester.c (test_strcat): Add tests for different alignments
28534         of source and destination.
28535         (test_strncat): Likewise.
28537 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
28539         [BZ #12852]
28540         * posix/glob.c (glob): Check passed in values before using them in
28541         expressions to avoid some overflows.
28542         (glob_in_dir): Likewise.
28544         [BZ #13007]
28545         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28546         check for AVX enablement so that we don't crash with old kernels and
28547         new hardware.
28548         * elf/tst-audit4.c: Add same checks here.
28549         * elf/tst-audit6.c: Likewise.
28551         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
28553 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
28555         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28557 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
28559         * po/cs.po: Update from translation team.
28560         * po/bg.po: Likewise.
28562 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
28564         * misc/sys/cdefs.h: Add support for const attribute.
28565         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28566         to gnu_dev_{major,minor,makedev} functions.
28568 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
28570         * intl/dcigettext.c (get_output_charset): Add missing bracket.
28572 2011-07-20  Andreas Schwab  <schwab@redhat.com>
28574         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28575         strlen results.
28577 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28579         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28580         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28581         register in order to avoid conflicts with the soft frame pointer
28582         being held in r11 when necessary.
28583         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28584         (INTERNAL_VSYSCALL_NCS): Likewise.
28586 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
28588         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28589         * elf/dl-fini.c (_dl_fini): Adjust caller.
28590         * elf/dl-close.c (_dl_close_worker): Likewise.
28591         * sysdeps/generic/ldsodefs.h: Adjust declaration.
28593 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
28595         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28596         "aux_cache->nlibs < 0".
28598         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28599         in the reload-count case.
28601 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28603         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28604         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28605         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28606         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28607         * sysdeps/x86_64/multiarch/strcat.S: New file.
28608         * sysdeps/x86_64/multiarch/strncat.S: New file.
28609         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28610         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28611         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28612         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28613         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28614         (USE_AS_STRCAT): Define.
28615         Add strcat and strncat support.
28616         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28617         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28618         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28619         * string/strncat.c: Update.
28620         (USE_AS_STRNCAT): Define.
28621         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28622         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28623         and i7.
28624         * sysdeps/x86_64/multiarch/init-arch.h
28625         (bit_Prefer_PMINUB_for_stringop): New.
28626         (index_Prefer_PMINUB_for_stringop): Likewise.
28627         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28628         bit_Prefer_PMINUB_for_stringop.
28630 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
28632         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28633         buffer64.
28634         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28635         of casting of buffer.
28636         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28637         buffer32 and buffer64.
28638         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28639         writes instead of casting of buffer.
28640         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28641         buffer32.
28642         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28643         casting of buffer.
28645 2011-07-19  Andreas Schwab  <schwab@redhat.com>
28647         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28649 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
28651         * nscd/nscd.c (termination_handler): Don't do anything for a database
28652         if it has not yet been initialized.
28654 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
28656         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28658 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
28660         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28662 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
28664         * po/nl.po: Update from translation team.
28665         * po/sv.po: Likewise.
28667 2011-07-16  Roland McGrath  <roland@hack.frob.com>
28669         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28670         now disallowed by GCC.
28672         * configure.in (use-default-link): Default to yes if a test -shared
28673         link meets our qualifications.
28674         * configure: Regenerated.
28676         * config.make.in (output-format): New variable.
28677         * configure.in: Check for ld --print-output-format support.
28678         * configure: Regenerated.
28679         * Makerules ($(common-objpfx)format.lds)
28680         [$(output-format) != unknown]: Just use $(output-format),
28681         instead of the linker-script munging.
28683 2011-07-14  Roland McGrath  <roland@hack.frob.com>
28685         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28686         of $(common-objpfx)shlib.lds.
28687         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28689         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28690         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28692         * configure.in (-z relro check): Adjust test code to add a large
28693         writable data section after it.
28694         * configure: Regenerated.
28696 2011-07-11  Roland McGrath  <roland@hack.frob.com>
28698         * configure.in (-z relro check): Fix test code to make the variable
28699         truly const.
28700         * configure: Regenerated.
28702 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
28704         * nscd/nscd.h (struct traced_file): Define.
28705         (struct database_dyn): Remove inotify_descr, reset_res, and filename
28706         elements.  Add traced_files.
28707         (inotify_fd): Declare.
28708         (register_traced_file): Declare.
28709         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28710         (inotify_fd): Export.
28711         (resolv_conf_descr): Remove.
28712         (nscd_init): Move inotify descriptor creation to main.
28713         Don't register files for notification here.
28714         (register_traced_file): New function.
28715         (invalidate_cache): Don't use reset_res to determine whether to call
28716         res_init, go through the list of registered files.
28717         (main_loop_poll): The inotify descriptors are now stored in the
28718         structures for the traced files.
28719         (main_loop_epoll): Likewise
28720         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
28721         to __nss_disable_nscd.
28722         * nscd/cache.c (prune_cache): There is no single inotify descriptor
28723         for a database anymore.  Check the records for all the registered
28724         files instead.
28725         * nss/Makefile (libnss_files-routines): Add files-init.
28726         (libnss_db-routines): Add db-init.
28727         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28728         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28729         * nss/nss_db/db-init.c: New file.
28730         * nss/nss_files/files-init.c: New file.
28731         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
28732         __nss_lookup_function.
28733         (__nss_lookup_function): Call nss_load_library.
28734         (nss_load_all_libraries): New function.
28735         (__nss_disable_nscd): Take parameter with callback function for files
28736         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
28737         used for the cached services.
28738         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28739         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28740         options for features to all the files in nscd.
28742         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28744 2011-07-10  Roland McGrath  <roland@hack.frob.com>
28746         * csu/elf-init.c (__libc_csu_init): Comment typo.
28748 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
28750         * po/pl.po: Update from translation team.
28751         * po/ja.po: Likewise.
28752         * po/ru.po: Likewise.
28753         * po/ko.po: Likewise.
28754         * po/fr.po: Likewise.
28756 2011-07-09  Roland McGrath  <roland@hack.frob.com>
28758         * configure.in (.ctors/.dtors header and trailer check):
28759         Use an empirical test on a built program.
28760         * configure: Regenerated.
28762         * configure.in (-z relro check): Use an empirical test on a built DSO.
28763         Detect, but do not require, on ia64.
28764         * configure: Regenerated.
28766         * configure.in (READELF): Find it with AC_CHECK_TOOL.
28767         Update tests that use readelf to use $READELF instead.
28768         * configure: Regenerated.
28770 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
28772         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28773         if the result is not used.
28775 2011-07-05  Andreas Jaeger  <aj@suse.de>
28777         [BZ#9696]
28778         * stdlib/tst-strtod.c: Add testcase.
28780 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
28782         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
28783         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
28784         The latter has a higher limit.  Take additional parameter to pass to
28785         the new function.
28786         (__pathconf): Pass file to __statfs_link_max.
28787         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28788         __statfs_link_max.
28789         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28790         __statfs_link_max.
28792         [BZ #12868]
28793         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28794         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28795         Handle Lustre.
28796         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28797         (__statfs_filesize_max): Likewise.
28798         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28800 2011-07-05  Andreas Jaeger  <aj@suse.de>
28802         * resolv/res_comp.c (dn_skipname): Remove unused variable.
28804 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
28806         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28807         `status' variable.
28808         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28809         Likewise.
28811 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
28813         * Makefile (strop-tests): Add strncat.
28814         * string/test-strncat.c: New file.
28816 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
28818         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28820 2011-06-21  Andreas Jaeger  <aj@suse.de>
28822         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28823         Copy rule from iconvdata/Makefile.
28825 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
28827         [BZ #12922]
28828         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28829         but no long options are defined, just return 'W'.
28831 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
28833         [BZ #9696]
28834         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28836 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
28838         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28839         netgroups to read.
28840         (innetgr): Likewise.
28842 2011-07-05  Roland McGrath  <roland@hack.frob.com>
28844         * config.make.in (install_root): Default to $(DESTDIR).
28846 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
28848         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28850 2011-07-02  Roland McGrath  <roland@hack.frob.com>
28852         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28854         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28855         containing directory rather than embedding absolute directory names.
28857         * scripts/check-local-headers.sh: Rewritten using awk.
28858         Match by word, not by line.  Print error messages for matches.
28859         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28861         * Makerules [shlib-lds-flags empty]:
28862         ($(common-objpfx)libc_pic.opts): New target.
28863         ($(common-objpfx)libc_pic.os.clean): New target.
28864         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28866         * config.make.in (OBJCOPY): New variable.
28867         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28868         * configure: Regenerated.
28870         * config.make.in (use-default-link): New variable.
28871         * configure.in (use_default_link): Grok --with-default-link to set it.
28872         * configure: Regenerated.
28873         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28874         (shlib-lds, shlib-lds-flags): Define to empty.
28876         * Makerules (shlib-lds): New variable.
28877         (shlib-lds-flags): New variable.
28878         (build-shlib, build-moduile, build-module-asneeded): Use it.
28879         ($(common-objpfx)libc.so): Use $(shlib-lds).
28880         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28881         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28883         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28884         DT_FLAGS/DT_FLAGS_1 with zero flags.
28886         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28887         linker script munging.
28889 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
28891         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28892         as 128-bit value.
28893         * crypt/sha512.c (sha512_process_block): Perform total addition using
28894         128-bit if possible.
28895         (__sha512_finish_ctx): Likewise.
28896         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28897         as 64-bit value.
28898         * crypt/sha256.c (SWAP64): Define.
28899         (sha256_process_block): Perform total addition using 64-bit if
28900         possible.
28901         (__sha256_finish_ctx): Likewise.
28903 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
28905         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
28906         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28907         * nscd/hstcache.c (cache_addhst): Likewise.
28908         * nscd/grpcache.c (cache_addgr): Likewise.
28909         * nscd/aicache.c (addhstaiX): Likewise
28910         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28912 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
28914         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28915         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28916         * nscd/hstcache.c (cache_addhst): Likewise.
28917         * nscd/grpcache.c (cache_addgr): Likewise.
28918         * nscd/aicache.c (addhstaiX): Likewise
28920 2011-07-01  Andreas Schwab  <schwab@redhat.com>
28922         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28923         domain only when needed.
28925 2011-06-30  Andreas Schwab  <schwab@redhat.com>
28927         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28928         is always restored.
28930 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
28932         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28933         are re-adding the entry.
28934         * nscd/servicescache.c (cache_addserv): Likewise.
28936 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
28938         * sysdeps/generic/dl-irel.h: fix protection against multiple
28939         inclusions.
28940         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28942 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
28944         [BZ #12935]
28945         * malloc/memusage.sh: Fix quoting in message.
28946         * debug/xtrace.sh: Likewise.
28948         * configure.in: Remove support for --experimental-malloc option, make
28949         it the default.
28950         * config.make.in: Likewise.
28951         * malloc/Makefile: Likewise.
28953 2011-06-27  Andreas Schwab  <schwab@redhat.com>
28955         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28956         two-byte characters.
28958 2011-06-27  Roland McGrath  <roland@hack.frob.com>
28960         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28961         AC_CACHE_CHECK invocation.
28962         * configure: Regenerated.
28964         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28966 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
28968         [BZ #12350]
28969         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
28970         bit from old_res_options.
28972         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28974         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28975         value type for setfct.
28977 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
28979         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28980         __gettimeofday instead of gettimeofday.
28982 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
28984         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28986 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28988         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28990         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28991         info.
28993 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
28995         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28996         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28997         strcpy-sse2-unaligned strncpy-sse2-unaligned
28998         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28999         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29000         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29001         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29002         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29003         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29004         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29005         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29006         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29007         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29008         (STRCPY): Support SSE2 and SSSE3 versions.
29010 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
29012         [BZ #12874]
29013         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29014         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29015         kernels which artificially limit size of requests.
29017 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
29019         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29020         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29021         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29022         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29023         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29024         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29025         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29026         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29027         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29028         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29029         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29030         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29031         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29032         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29033         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29034         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29035         Enable unaligned load optimization for Intel Core i3, i5 and i7
29036         processors.
29037         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29038         Define.
29039         (index_Fast_Unaligned_Load): Define.
29040         (HAS_FAST_UNALIGNED_LOAD): Define.
29042 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
29044         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29046 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
29048         [BZ #12907]
29049         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29050         until it is clear that the information is realy needed.
29051         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29053 2011-06-22  Andreas Schwab  <schwab@redhat.com>
29055         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29057 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
29059         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29060         /sys/devices/system/cpu/online if it is usable.
29062         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29063         reading the information from the /proc filesystem to once a second.
29065 2011-06-21  Andreas Jaeger  <aj@suse.de>
29067         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29068         NULL after inclusion of kernel headers.
29070 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
29072         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29073         calls to internal_setent.
29075         [BZ #12885]
29076         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29077         addresses using gethostbyname4_r ignore IPv4 addresses.
29079         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29080         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
29082         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29084 2011-06-20  David S. Miller  <davem@davemloft.net>
29086         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29087         inclusions.
29088         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29090         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29091         (elf_irel): Use it.
29092         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29093         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29094         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29095         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29096         * sysdeps/x86_64/dl-irel.h: Likewise.
29098         * elf/dl-runtime.c: Use elf_ifunc_invoke.
29099         * elf/dl-sym.c: Likewise.
29101 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
29103         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
29104         need to dereference resplen2.
29106 2011-06-14  Andreas Schwab  <schwab@redhat.com>
29108         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29110 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
29112         * Makeconfig: Define vardbdir and inst_vardbdir.
29113         * nss/Makefile: Add rules to install db-Makefile.
29115         * nss/nss_db/db-XXX.c: Cleanup.
29117         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29118         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29119         GLIBC_PRIVATE.
29120         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29121         * nss/makedb.c: Implement -g option to specify that value strings
29122         are generated and should not be added to table iterated over for
29123         get*ent calls.
29124         * nss/nss_db/db-initgroups.c: New file.
29126         * nss/getent.c: Add support for initgroups lookups through getgrouplist
29127         interface.
29129         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29130         (internal_getgrouplist): Adjust to name change.
29131         Update use_initgroups_entry if this is not the first call.
29132         * nss/databases.def: Add initgroups entry.
29134         * nss/makedb.c (compute_tables): Check result of multiple hash table
29135         sizes to minimize maximum chain length.
29137 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
29139         * Versions.def: Add entry for libnss_db.
29140         * shlib-versions: Likewise.
29141         * nss/Makefile: Add rules to build libnss_db.
29142         * nss/Versions: Add libnss_db information.  Organize libnss_files
29143         entries better.
29144         * nss/db-Makefile: Add gshadow support.  Change rules for the new
29145         makedb progra.  Some minor improvements to generate smaller files.
29146         * nss/nss_db/nss_db.h: Move NSS database header data structures to
29147         here from...
29148         * nss/makedb.c: ...here.
29149         Improve database format to be smaller and require less memory at
29150         runtime.
29151         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
29152         db anymore.
29153         * nss/nss_db/db-netgrp.c: Likewise.
29154         * nss/nss_db/db-open.c: Likewise.
29155         * nss/nss_files/flies-XXX.x: Adjust comments.
29156         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29157         * nss/nss_files/files-grp.c: Likewise.
29158         * nss/nss_files/files-hosts.c: Likewise.
29159         * nss/nss_files/files-network.c: Likewise.
29160         * nss/nss_files/files-proto.c: Likewise.
29161         * nss/nss_files/files-pwd.c: Likewise.
29162         * nss/nss_files/files-rpc.c: Likewise.
29163         * nss/nss_files/files-service.c: Likewise.
29164         * nss/nss_files/files-sgrp.c: Likewise.
29165         * nss/nss_files/files-spwd.c: Likewise.
29166         * nss/nss_db/db-alias.c: Removed.
29167         * nss/nss_db/dummy-db.h: Removed.
29169 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
29171         * nss/makedb.c: Rewritten to not use database library.
29172         * nss/Makefile: Update to build new makedb program.
29174 2011-06-14  Andreas Jaeger  <aj@suse.de>
29176         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29177         memset declaration.
29179 2011-06-10  Andreas Schwab  <schwab@redhat.com>
29181         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29182         tmpbuf.
29184 2011-06-10  Roland McGrath  <roland@hack.frob.com>
29186         * Makerules (shlib.lds): Fail if the linker script comes out empty.
29187         * elf/Makefile ($(objpfx)ld.so): Likewise.
29189         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29190         Don't list ld.so twice in dependencies.
29192         * posix/bug-regex31.c: Include <stdlib.h>.
29194         * nscd/hstcache.c (cache_addhst): Remove unused variable.
29196         * nis/nss_compat/compat-spwd.c
29197         (getspent_next_nss_netgr): Remove unused variable.
29198         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29200         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29201         nonmembers" output to use the right array.
29203         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29205         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29207         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29208         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29209         * catgets/gencat.c (read_input_file): Likewise.
29210         * locale/programs/locarchive.c (enlarge_archive): Likewise.
29212         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29213         variable definition inside #if's controlling its use.
29215         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29217         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29219         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29221         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29222         unreachable code.
29224         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29226         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29227         * configure: Regenerated.
29229         * Makerules: Revert last change.
29230         * elf/Makefile: Likewise.
29232 2011-06-09  Roland McGrath  <roland@hack.frob.com>
29234         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29235         * elf/Makefile ($(objpfx)librtld.os): Likewise.
29236         (reloc-link): Likewise.
29238 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
29240         * elf/Makefile: Add rules to build pldd.
29241         * elf/pldd.c: New file.
29242         * elf/pldd-xx.c: New file.
29244 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
29246         * version.h: Update for 2.15 development version.
29248 2011-06-07  David S. Miller  <davem@davemloft.net>
29250         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29251         ifuncs.
29252         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29253         elf_machine_lazy_rel): Likewise.
29254         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29255         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29256         elf_machine_lazy_rel): Likewise.
29257         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29258         dl_hwcap via passed in argument.
29259         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29260         Likewise.
29262 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29264         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
29266 2011-06-06  Roland McGrath  <roland@hack.frob.com>
29268         [BZ #12849]
29269         * manual/fdl-1.1.texi: New file, verbatim from:
29270         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29271         * manual/lgpl-2.1.texi: New file, verbatim from:
29272         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29273         * manual/Makefile (licenses): New variable, list those new file names.
29274         (texis): Use it.
29275         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29277         * manual/fdl.texi: File removed.
29278         * manual/lesser.texi: File removed.
29279         * manual/libc.texinfo (Copying, Documentation License):
29280         Use new @include file names, put @appendix directive before @include.
29282 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
29284         [BZ #12841]
29285         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29286         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29287         (mq_open): Add __NTH.
29289 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
29291         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29292         Assume Intel Core i3/i5/i7 processor if AVX is available.
29294 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
29296         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29297         typo.
29299 2011-05-31  Andreas Schwab  <schwab@redhat.com>
29301         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29302         memory.  Use alloca_account.  Fix memory leak when retrying.
29304 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
29306         * version.h (RELEASE): Bump for 2.14 release.
29307         * include/features.h (__GLIBC_MINOR__): Bump to 14.
29309         * config.make.in (RANLIB): Remove entry.
29311 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
29313         * po/Makefile (po-sed-cmd): Add ksh to extensions.
29314         (libc.pot): Work around missing support for .ksh extension in xgettext.
29316         [BZ #12684]
29317         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29318         if both request failed.
29319         (send_dg): In case of server errors clear resplen or *resplen2.
29321         [BZ #12454]
29322         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29323         when there are multiple maps.
29324         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29325         (_dl_fini): Remove test here.
29327         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29329 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
29331         [BZ #12350]
29332         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29333         bit from old_res_options.
29334         (gaih_inet): Likewise.
29336         [BZ #11099]
29337         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
29338         as signed.
29340         * resolv/res_init.c (res_setoptions): Make the code more compact.
29342         [BZ #11558]
29343         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29344         set RES_USEVC.
29346         [BZ #11634]
29347         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29349         * malloc/malloc.h: Mark malloc hook variables as deprecated.
29351         [BZ #11781]
29352         * malloc/malloc.h: Declare malloc hook variables as volatile.
29354         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29355         in last patch.
29357         [BZ #11799]
29358         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
29359         raise in the comment.
29360         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29361         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29362         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
29364 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
29366         [BZ #12811]
29367         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29368         grow the buffers more if it already has to be sufficient.
29369         (build_wcs_upper_buffer): Likewise.
29370         * posix/regexec.c (check_matching): Likewise.
29371         (clean_state_log_if_needed): Likewise.
29372         (extend_buffers): Don't enlarge buffers beyond size of the input
29373         buffer.
29374         Patches mostly by Emil Wojak <emil@wojak.eu>.
29375         * posix/bug-regex32.c: New file.
29376         * posix/Makefile (tests): Add bug-regex32.
29378         * locale/findlocale.c (_nl_find_locale): Return right away if
29379         _nl_explode_name failed.
29380         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29382         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29384         * debug/xtrace.sh: Unify messages.
29385         * malloc/memusage.sh: Likewise.
29387         [BZ #12813]
29388         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29389         time symbol from vDSO.  Substitute with vsyscall if not available.
29390         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29391         __vdso_time.
29393         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29394         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29395         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29396         Add sendmmsg and internal_sendmmsg.
29397         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29398         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29399         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29401         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29402         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29403         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29405 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
29407         [BZ #12813]
29408         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29409         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
29410         available.
29411         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29412         __vdso_getcpu.
29414         [BZ #12814]
29415         * iconvdata/Makefile (tests): Add bug-iconv9.
29416         * iconvdata/bug-iconv9.c: New file.
29418 2011-05-27  Andreas Schwab  <schwab@redhat.com>
29420         [BZ #12814]
29421         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29423 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
29425         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29426         (struct user_regs_struct): Change intcs field back to cs.
29428 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
29430         * po/ja.po: Update from translation team.
29432 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
29434         [BZ #12795]
29435         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29436         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29438 2011-05-20  Andreas Schwab  <schwab@redhat.com>
29440         * stdlib/longlong.h: Update from GCC.
29442 2011-05-23  Andreas Schwab  <schwab@redhat.com>
29444         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29445         parameter name.
29446         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29447         Add parameter name.
29448         (__sysconf): Pass it down.
29450 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
29452         [BZ #12671]
29453         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29454         some situations.
29455         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29456         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29457         add in in __libc_use_alloca calls.  Adjust callers.
29458         (glob): Use malloc in some situations.
29460         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29461         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29462         pltexit.
29464 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
29466         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29467         and CLOCK_BOOTTIME_ALARM.
29469         [BZ #12782]
29470         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29471         is returned.
29473         * string/_strerror.c (__strerror_r): Print negative errors as signed
29474         numbers.
29476         [BZ #12777]
29477         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29478         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29479         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29481         * configure.in: Fix typo in redirection and correct removal of test
29482         files in two cases.
29484         [BZ #12788]
29485         * locale/setlocale.c (new_composite_name): Fix test to check for
29486         identical name of all categories.
29488         [BZ #12792]
29489         * libio/filedoalloc.c (local_isatty): New function.
29490         (_IO_file_doallocate): Use local_isatty.
29491         * stdio-common/perror.c (perror): In case a new stream is used
29492         forward the stream error.
29493         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29494         error flag.
29496 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
29498         [BZ #11869]
29499         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29500         alloca.
29501         * include/alloca.h (extend_alloca_account): Define.
29503         [BZ #11857]
29504         * posix/regex.h: Fix comments with documentation of user-accessible
29505         fields after compilation and describe correct free'ing of pattern
29506         after re_compile_pattern.
29507         Patch by Reuben Thomas <rrt@sc3d.org>.
29509 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
29511         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29512         and -mno-altivec to prevent the compiler from using Altivec and/or
29513         VSX instructions when the corresponding registers are not available.
29515 2011-05-19  Andreas Schwab  <schwab@redhat.com>
29517         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29519 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
29521         * libio/freopen.c (freopen): Use __dup2, not dup2.
29522         * libio/freopen64.c (freopen64): Likewise.
29524 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29526         [BZ #12775]
29527         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29528         * math/Makefile (tests): Add test-powl.
29529         (CFLAGS-test-powl.c): Define.
29530         * math/test-powl.c: New file.
29532 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29534         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29536 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
29538         [BZ #11837]
29539         * iconvdata/gb18030.c: Update to GB18020-2005.
29541 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
29543         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29544         RE_SYNTAX_POSIX_AWK): Update to match recent development.
29545         Patch by Aharon Robbins <arnold@skeeve.com>.
29547         [BZ #11892]
29548         * stdlib/putenv.c (putenv): Don't always create copy of the variable
29549         on the stack.
29551         [BZ #11895]
29552         * misc/pselect.c (__pselect): Handle timeout value errors hidden
29553         through underflows.
29555         [BZ #12766]
29556         * misc/error.c (error_at_line): Ensure file_name and old_file_name
29557         point to strings before performing equality test for error_one_per_line
29558         mode.
29560         [BZ #11697]
29561         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29563         [BZ #11820]
29564         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29565         (struct user_fpregs_struct): Avoid __uint*_t types.
29567         [BZ #6420]
29568         * malloc/mtrace.c (tr_where): Add additional parameter to point to
29569         symbol info.  Use it instead of calling _dl_addr locally.
29570         (lock_and_info): New function.
29571         (tr_freehook): Call lock_and_info and pass symbol info as additional
29572         parameter to tr_where.
29573         (tr_mallochook): Likewise.
29574         (tr_reallochook): Likewise.
29575         (tr_memalignhook): Likewise.
29577         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
29578         used and couldn't be at all thread-safe.
29580 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
29582         * libio/freopen.c (freopen): Don't close old file descriptor
29583         before the new one is opened.  Instead dup the new file descriptor
29584         to the old one after the new stream is created.
29585         * libio/freopen64.c (freopen64): Likewise.
29586         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29587         * libio/fileops.c (_IO_new_file_close_it): Handle new
29588         _IO_FLAGS2_NOCLOSE flag.
29589         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29590         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29591         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29592         _IO_FLAGS2_NOCLOSE flag.
29593         * include/unistd.h: Add hidden_proto for dup3.
29594         Define __have_dup3.
29595         * io/dup3.c: Define hidden symbol.
29596         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29598         [BZ #7101]
29599         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29600         when an incomplete long option is used.
29601         * posix/tst-getopt_long1.c: New file.
29602         * posix/Makefile (tests): Add tst-getopt_long1.
29604         [BZ #10138]
29605         * scripts/config.guess: Update from autoconf-2.68.
29606         * scripts/config.sub: Likewise.
29608         [BZ #10157]
29609         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29610         tests into ...
29611         (has_cpuclock): ...this.  New function.
29612         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29613         macro here based on has_cpuclock code.
29615         [BZ #10149]
29616         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29617         First byte (not low byte) is now always NUL.
29618         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29620         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29621         Use non-cancelable interfaces.
29623         [BZ #9809]
29624         * locale/iso-639.def: Add entry for Sorani.
29626         [BZ #11901]
29627         * include/stdlib.h: Move include protection to the right place.
29628         Define abort_msg_s.  Declare __abort_msg with it.
29629         * stdlib/abort.c (__abort_msg): Adjust type.
29630         * assert/assert.c (__assert_fail_base): New function.  Majority
29631         of code from __assert_fail.  Allocate memory for __abort_msg with
29632         mmap.
29633         (__assert_fail): Now call __assert_fail_base.
29634         * assert/assert-perr.c: Remove bulk of implementation.  Use
29635         __assert_fail_base.
29636         * include/assert.hL Declare __assert_fail_base.
29637         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29638         mmap.
29639         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29641 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
29643         [BZ #11952]
29644         [BZ #12453]
29645         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29646         until all modules are registered in the DTV.
29647         * elf/Makefile: Add rules to build and run tst-tls19.
29648         * elf/tst-tls19.c: New file.
29649         * elf/tst-tls19mod1.c: New file.
29650         * elf/tst-tls19mod2.c: New file.
29651         * elf/tst-tls19mod3.c: New file.
29652         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29654         [BZ #12083]
29655         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29656         correctly.
29658         [BZ #12601]
29659         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29660         two-byte sequence errors.
29661         * iconvdata/Makefile (tests): Add bug-iconv8.
29662         * iconvdata/bug-iconv8.c: New file.
29664         [BZ #12626]
29665         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29666         buf2 definition.
29668         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29670         [BZ #12432]
29671         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29672         (dummy_getcfa): New function.
29673         (init): Get _Unwind_GetCFA address, use dummy if not found.
29674         (backtrace_helper): In recursion check, also check whether CFA changes.
29675         (__backtrace): Completely initialize arg.
29677         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
29678         storing incomplete byte sequence in state object.  Avoid testing for
29679         guaranteed too small input if we know there is enough data available.
29681 2011-05-11  Andreas Schwab  <schwab@redhat.com>
29683         * Makeconfig (+link-pie): Indent.
29684         * Rules (binaries-pie): Define if $(have-fpie) and
29685         $(build-shared).
29686         (binaries-shared): Also filter out $(binaries-pie).
29687         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29688         * nscd/Makefile (others-pie): Add nscd.
29689         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29690         ($(objpfx)nscd): Remove command override.
29691         * login/Makefile (others-pie): Add pt_chown.
29692         ($(objpfx)pt_chown): Remove command override.
29693         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29694         remove command overrides.
29696 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
29698         * libio/tst_putwc.c: Fix error messages.
29700         [BZ #12724]
29701         * libio/fileops.c (_IO_new_file_close_it): Always flush when
29702         currently writing and seek to current position when not.
29703         * libio/Makefile (tests): Add bug-fclose1.
29704         * libio/bug-fclose1.c: New file.
29706 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
29708         [BZ #12511]
29709         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29710         don't set DF_1_NODELETE here.
29711         (do_lookup_x): When entering new entry test for copy relocation
29712         and if necessary set DF_1_NODELETE flag.
29713         * elf/tst-unique4.cc: New file.
29714         * elf/tst-unique4.h: New file.
29715         * elf/tst-unique4lib.cc: New file.
29716         * elf/Makefile: Add rules to build and run tst-unique4.
29717         Patch by Piotr Bury <pbury@goahead.com>.
29719 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
29721         [BZ #12052]
29722         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29724         [BZ #12625]
29725         * misc/mntent_r.c (addmntent): Flush the stream after the output
29727         [BZ #12393]
29728         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29729         (is_trusted_path_normalize): Skip initial colon.  Append slash
29730         to empty buffer.  Duplicate is_trusted_path code but allow
29731         constructed patch to be prefix.
29732         (is_dst): Allow $ORIGIN followed by /.
29733         (_dl_dst_substitute): Correct clearing of check_for_trusted.
29734         Correct testing of result of is_trusted_path_normalize
29735         (decompose_rpath): Fix warning.
29737 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
29739         [BZ #11257]
29740         * grp/initgroups.c (internal_getgrouplist): When we found the service
29741         list through the initgroups entry in nsswitch.conf do not always
29742         continue on a successful lookup.  Don't always use the
29743         __nss_group_database value if it is set.
29744         * nss/nsswitch.conf (initgroups): Change action for successful db
29745         lookup to continue for compatibility.
29747 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
29749         [BZ #11532]
29750         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29751         and CP774 modules.
29752         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29753         and CP774 modules.
29754         * iconvdata/tst-tables.sh: Likewise.
29755         * iconvdata/cp770.c: New file.
29756         * iconvdata/cp771.c: New file.
29757         * iconvdata/cp772.c: New file.
29758         * iconvdata/cp773.c: New file.
29759         * iconvdata/cp774.c: New file.
29760         * iconvdata/testdata/CP770: New file.
29761         * iconvdata/testdata/CP770..UTF8: New file.
29762         * iconvdata/testdata/CP771: New file.
29763         * iconvdata/testdata/CP771..UTF8: New file.
29764         * iconvdata/testdata/CP772: New file.
29765         * iconvdata/testdata/CP772..UTF8: New file.
29766         * iconvdata/testdata/CP773: New file.
29767         * iconvdata/testdata/CP773..UTF8: New file.
29768         * iconvdata/testdata/CP774: New file.
29769         * iconvdata/testdata/CP774..UTF8: New file.
29771         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29772         END CHARMAP line.
29773         * iconvdata/gen-8bit-gap.sh: Likewise.
29774         * iconvdata/gen-8bit.sh: Likewise.
29776         * locale/iso-639.def: Add ary entry.
29778         [BZ #11258]
29779         * locale/C-translit.h.in: Add U20A1 transliteration.
29781         [BZ #12178]
29782         * locale/iso-639.def: Add wae entry.
29783         Patch by Kevin Bortis <bortis@translate-wae.ch>.
29785         [BZ #12545]
29786         * locale/programs/localedef.c (construct_output_path): Use ssize_t
29787         for n.
29789         [BZ #12711]
29790         * locale/C-translit.h.in: Add entry for U20B9.
29791         Patch by pravin.d.s@gmail.com.
29793 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
29795         [BZ #12713]
29796         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29797         ENAMETOOLONG use generic getcwd.
29798         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
29799         in rtld.  Use *stat64.
29800         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
29801         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
29802         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
29803         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29804         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29805         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29806         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29807         __fstatat64 macros.
29808         * include/dirent.h: Add libc_hidden_proto for rewinddir.
29809         * dirent/rewinddir.c: Add libc_hidden_def.
29810         * sysdeps/mach/hurd/rewinddir.c: Likewise.
29811         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
29813         * include/dirent.h (__alloc_dir): Add flags parameter.
29814         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29815         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29816         __alloc_dir.
29817         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
29818         from fdopendir if O_CLOEXEC is already set.
29820 2011-03-15  Alan Modra  <amodra@gmail.com>
29822         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29823         l_tls_firstbyte_offset non-zero.  Save padding offset in
29824         l_tls_firstbyte_offset for later use.
29825         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29826         freeing static tls block.
29828 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
29830         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29831         where #ifdef was intended.  The intent is to prevent ARG_MAX from
29832         being defined by the kernel headers.
29834 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
29836         [BZ #12734]
29837         * resolv/resolv.h: Define RES_NOTLDQUERY.
29838         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29839         no-tld-query and set RES_NOTLDQUERY.
29840         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29841         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29842         modern BIND to search name as TLD unless forbidden.
29844 2011-05-07  Petr Baudis  <pasky@suse.cz>
29845             Ulrich Drepper  <drepper@gmail.com>
29847         [BZ #12393]
29848         * elf/dl-load.c (fillin_rpath): Move trusted path check...
29849         (is_trusted_path): ...to here.
29850         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
29851         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
29852         using is_trusted_path_normalize() in setuid scripts.
29854 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29856         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29857         __BEGIN/__END_DECLS.
29859 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
29861         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29862         NSS_STATUS_NOTFOUND if no record was found.
29864 2011-05-05  Andreas Schwab  <schwab@redhat.com>
29866         * sunrpc/Makefile (headers): Add rpc/netdb.h.
29867         (headers-not-in-tirpc): Remove rpc/netdb.h
29868         * resolv/netdb.h: Revert last change.
29870 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29872         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29873         circular dependency between libgcc.a and libc.a.
29875 2011-05-05  Andreas Schwab  <schwab@redhat.com>
29877         * resolv/netdb.h: Don't include <rpc/netdb.h>.
29878         * nis/Makefile: Don't install rpcsvc/*.
29879         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29880         instead of <rpc/types.h>.
29881         (MAXHOSTNAMELEN): Define.
29883 2011-05-03  Andreas Schwab  <schwab@redhat.com>
29885         * elf/ldconfig.c (add_dir): Don't crash on empty path.
29887 2011-04-28  Maciej Babinski  <mbabinski@google.com>
29889         [BZ #12714]
29890         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29891         gethostbyname4_r when IPv6 results are possible.
29893 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
29895         [BZ #12723]
29896         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29897         _PC_PIPE_BUF handling.
29899 2011-04-30  Bruno Haible  <bruno@clisp.org>
29901         [BZ #12717]
29902         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29903         * resolv/netdb.h (getnameinfo): Change type of flags parameter
29904         to 'int'.
29905         * inet/getnameinfo.c (getnameinfo): Likewise.
29907 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
29909         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29910         to groups setting in database lookup.
29911         * nss/nsswitch.conf: Add initgroups entry.
29913 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
29915         [BZ #12685]
29916         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29917         mode string.
29918         Patch by Eric Blake <eblake@redhat.com>.
29920 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
29922         * sunrpc/Makefile (need-export-routines): Add svc_run.
29923         (routines): Remove svc_run.
29924         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29925         * sunrpc/clnt_perr.c (clnt_perrno): Export.
29926         * sunrpc/svc_run.c (svc_run): Likewise.
29927         * sunrpc/svc_udp.c (svcudp_create): Likewise.
29929 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
29931         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29932         problem in reallocation in last patch.
29934 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
29936         * sunrpc/Makefile: Move inclusion of Rules.
29938 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29940         * nss/nss_files/files-initgroups.c: New file.
29941         * nss/Makefile (libnss_files-routines): Add files-initgroups.
29942         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29943         _nss_files_initgroups_dyn.
29945 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
29947         * elf/elf.h (R_ARM_IRELATIVE): Define.
29949 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29951         * po/ru.po: Update from translation team.
29953 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
29955         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29956         dependencies.
29958 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
29960         [BZ #12653]
29961         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29962         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29963         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29964         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29965         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29967 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
29969         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29970         differing bytes.
29971         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29972         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29973         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29975 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
29977         [BZ #12420]
29978         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29979         storing it.
29980         * stdlib/bug-getcontext.c: New file.
29981         * stdlib/Makefile: Add rules to build and run bug-getcontext.
29983 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29985         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29986         instructions into .machine "z9-109".
29987         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29988         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29990 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29992         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29993         between environment variables and auxiliary vector.
29995 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
29997         * Makefile: Add rules to build linkobj/libc.so.
29998         * include/libc-symbols.h: Define libc_hidden_nolink.
29999         * include/rpc/auth.h: Mark functions which are to be hidden.
30000         * include/rpc/auth_des.h: Likewise.
30001         * include/rpc/auth_unix.h: Likewise.
30002         * include/rpc/clnt.h: Likewise.
30003         * include/rpc/des_crypt.h: Likewise.
30004         * include/rpc/key_prot.h: Likewise.
30005         * include/rpc/pmap_clnt.h: Likewise.
30006         * include/rpc/pmap_prot.h: Likewise.
30007         * include/rpc/pmap_rmt.h: Likewise.
30008         * include/rpc/rpc_msg.h: Likewise.
30009         * include/rpc/svc.h: Likewise.
30010         * include/rpc/svc_auth.h: Likewise.
30011         * include/rpc/xdr.h: Likewise.
30012         * nis/Makefile: Link all DSOs against linkobj/libc.so.
30013         * nss/Makefile: Likewise.
30014         * sunrpc/Makefile: Don't install headers.  Build library with normal
30015         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
30016         * sunrpc/auth_des.c: Hide exported symbols by default, export some
30017         for the compat linking library.  Remove use of INTDEF/INTUSE.
30018         * sunrpc/auth_none.c: Likewise.
30019         * sunrpc/auth_unix.c: Likewise.
30020         * sunrpc/authdes_prot.c: Likewise.
30021         * sunrpc/authuxprot.c: Likewise.
30022         * sunrpc/clnt_gen.c: Likewise.
30023         * sunrpc/clnt_perr.c: Likewise.
30024         * sunrpc/clnt_raw.c: Likewise.
30025         * sunrpc/clnt_simp.c: Likewise.
30026         * sunrpc/clnt_tcp.c: Likewise.
30027         * sunrpc/clnt_udp.c: Likewise.
30028         * sunrpc/clnt_unix.c: Likewise.
30029         * sunrpc/des_crypt.c: Likewise.
30030         * sunrpc/des_soft.c: Likewise.
30031         * sunrpc/get_myaddr.c: Likewise.
30032         * sunrpc/key_call.c: Likewise.
30033         * sunrpc/key_prot.c: Likewise.
30034         * sunrpc/netname.c: Likewise.
30035         * sunrpc/pm_getmaps.c: Likewise.
30036         * sunrpc/pm_getport.c: Likewise.
30037         * sunrpc/pmap_clnt.c: Likewise.
30038         * sunrpc/pmap_prot.c: Likewise.
30039         * sunrpc/pmap_prot2.c: Likewise.
30040         * sunrpc/pmap_rmt.c: Likewise.
30041         * sunrpc/publickey.c: Likewise.
30042         * sunrpc/rpc_cmsg.c: Likewise.
30043         * sunrpc/rpc_common.c: Likewise.
30044         * sunrpc/rpc_dtable.c: Likewise.
30045         * sunrpc/rpc_prot.c: Likewise.
30046         * sunrpc/rpc_thread.c: Likewise.
30047         * sunrpc/rtime.c: Likewise.
30048         * sunrpc/svc.c: Likewise.
30049         * sunrpc/svc_auth.c: Likewise.
30050         * sunrpc/svc_authux.c: Likewise.
30051         * sunrpc/svc_raw.c: Likewise.
30052         * sunrpc/svc_run.c: Likewise.
30053         * sunrpc/svc_simple.c: Likewise.
30054         * sunrpc/svc_tcp.c: Likewise.
30055         * sunrpc/svc_udp.c: Likewise.
30056         * sunrpc/svc_unix.c: Likewise.
30057         * sunrpc/svcauth_des.c: Likewise.
30058         * sunrpc/xcrypt.c: Likewise.
30059         * sunrpc/xdr.c: Likewise.
30060         * sunrpc/xdr_array.c: Likewise.
30061         * sunrpc/xdr_float.c: Likewise.
30062         * sunrpc/xdr_intXX_t.c: Likewise.
30063         * sunrpc/xdr_mem.c: Likewise.
30064         * sunrpc/xdr_rec.c: Likewise.
30065         * sunrpc/xdr_ref.c: Likewise.
30066         * sunrpc/xdr_sizeof.c: Likewise.
30067         * sunrpc/xdr_stdio.c: Likewise.
30069 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
30071         [BZ #12650]
30072         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30073         * sysdeps/ia64/dl-tls.h: Likewise.
30074         * sysdeps/powerpc/dl-tls.h: Likewise.
30075         * sysdeps/s390/dl-tls.h: Likewise.
30076         * sysdeps/sh/dl-tls.h: Likewise.
30077         * sysdeps/sparc/dl-tls.h: Likewise.
30078         * sysdeps/x86_64/dl-tls.h: Likewise.
30079         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30081 2011-03-14  Andreas Schwab  <schwab@redhat.com>
30083         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30084         rpath element also skip the following colon.
30085         (expand_dynamic_string_token): Add is_path parameter and pass
30086         down to DL_DST_REQUIRED and _dl_dst_substitute.
30087         (decompose_rpath): Call expand_dynamic_string_token with
30088         non-zero is_path.  Ignore empty rpaths.
30089         (_dl_map_object_from_fd): Call expand_dynamic_string_token
30090         with zero is_path.
30092 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
30094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30095         Make cancelable.
30097 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
30099         [BZ #12655]
30100         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30101         Patch by Filipe David Manana <fdmanana@apache.org>.
30103 2011-04-07  Andreas Schwab  <schwab@redhat.com>
30105         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30106         Maintain aligned stack.
30107         (CHECK_RSP): Remove unused macro.
30109 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
30111         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30112         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30114 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
30116         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30118         * include/features.h: Mention __USE_XOPEN2K8 in comment.
30120 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
30122         [BZ #12518]
30123         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30124         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30125         * sysdeps/x86_64/memmove.c: New file.
30126         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30127         (memcpy): Renamed to ...
30128         (__new_memcpy): This.
30129         (memcpy): Provide GLIBC_2_14 memcpy.
30130         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30131         (memcpy): Provide GLIBC_2_2_5 memcpy.
30133 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30135         [BZ #12631]
30136         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30138 2011-03-30  Andreas Schwab  <schwab@redhat.com>
30140         * misc/syncfs.c: New file.
30141         * misc/Makefile (routines): Add syncfs.
30142         * posix/unistd.h: Declare syncfs.
30143         * sysdeps/unix/syscalls.list: Add syncfs.
30145 2011-04-01  Andreas Schwab  <schwab@redhat.com>
30147         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30148         open_by_handle_at.
30149         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30150         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30151         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30152         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30153         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30154         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30155         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30157 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30159         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30160         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30161         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30162         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30163         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30164         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30165         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30167         * io/Makefile: Compile fallocate.c, fallocate64.c, and
30168         sync_file_range.c with -fexceptions.
30169         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30170         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30171         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30172         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30173         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30174         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30175         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30176         sync_file_range as cancellation point
30177         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
30178         now a wrapper around __call_sync_file_range with cancellation handling.
30179         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30180         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
30181         function name to __call_sync_file_range.
30182         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30183         Add call_sync_file_range.
30185 2011-04-01  Andreas Schwab  <schwab@redhat.com>
30187         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30188         bits/timex.h.
30190 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30192         * iconv/iconv.h: Fix typo in comment.
30193         * io/fcntl.h: Likewise.
30194         * libio/stdio.h: Likewise.
30195         * posix/spawn.h: Likewise.
30196         * posix/unistd.h: Likewise.
30197         * stdlib/stdlib.h: Likewise.
30198         * time/time.h: Likewise.
30199         * wcsmbs/wchar.h: Likewise.
30201         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30202         open_by_handle): Add.
30203         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30204         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
30205         Augment a few comments.
30206         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30207         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30208         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30209         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30210         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30211         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30212         open_by_handle.
30214         * io/fcntl.h (AT_EMPTY_PATH): Define.
30216 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
30218         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30219         * sysdeps/unix/sysv/linux/bits/time.h: New file.
30220         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30221         to...
30222         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
30223         * Versions.def: Add GLIBC_2.14.
30224         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30225         Export.
30227 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
30229         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30230         round counter.
30231         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30233 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
30235         [BZ #12597]
30236         * string/test-strncmp.c (do_page_test): New function.
30237         (check2): Likewise.
30238         (test_main): Call check2.
30239         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30241 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
30243         [BZ #12587]
30244         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30245         Handle cache information in CPU leaf 4.
30246         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30248 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
30250         [BZ #12583]
30251         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30252         character representation.
30253         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30255 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
30257         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30258         END(__isnan) to END(__isnanf) to match function entry point/label
30259         EALIGN(__isnanf,...).
30261 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
30263         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30265 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
30267         [BZ #12510]
30268         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30269         copy from the symbol referenced in the relocation to initialize the
30270         used variable.
30271         Patch by Piotr Bury <pbury@goahead.com>.
30272         * elf/Makefile: Add rules to build and tst-unique3.
30273         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30274         * elf/tst-unique3.cc: New file.
30275         * elf/tst-unique3.h: New file.
30276         * elf/tst-unique3lib.cc: New file.
30277         * elf/tst-unique3lib2.cc: New file.
30279         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30281 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
30283         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30284         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
30285         to _start.
30287 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
30289         * elf/dl-load.c (_dl_map_object): If we are looking for the first
30290         to-be-loaded object along a path to loader is ld.so.
30292 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
30293             Ulrich Drepper  <drepper@gmail.com>
30295         * sysdeps/x86_64/memset.S: After aligning destination, code
30296         branches to different locations depending on the value of
30297         misalignment, when multiarch is enabled. Fix this.
30299 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
30301         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30302         Set _x86_64_preferred_memory_instruction for AMD processsors.
30303         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30304         Set bit_Prefer_SSE_for_memop for AMD processors.
30306 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
30308         * libio/fmemopen.c (fmemopen): Optimize a bit.
30310 2011-03-03  Andreas Schwab  <schwab@redhat.com>
30312         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30314 2011-03-03  Roland McGrath  <roland@redhat.com>
30316         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30318 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
30320         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
30321         __bzero_ultra1 instead of __memset_ultra1.
30323 2011-02-23  Andreas Schwab  <schwab@redhat.com>
30324             Ulrich Drepper  <drepper@gmail.com>
30326         [BZ #12509]
30327         * include/link.h (struct link_map): Add l_orig_initfini.
30328         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30329         returning unsuccessfully.
30330         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30331         close of a file loaded at startup, restore the original l_initfini
30332         list.
30333         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30334         list, store the pointer.
30335         * elf/Makefile ($(objpfx)noload-mem): New rule.
30336         (noload-ENV): Define.
30337         (tests): Add $(objpfx)noload-mem.
30338         * elf/noload.c: Include <memcheck.h>.
30339         (main): Call mtrace.  Close all opened handles.
30341 2011-02-17  Andreas Schwab  <schwab@redhat.com>
30343         [BZ #12454]
30344         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30345         dependencies are missing.
30347 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30349         Fix __if_freereq crash: Unlike the generic version which uses free,
30350         Hurd needs munmap.
30351         * sysdeps/mach/hurd/ifreq.h: New file.
30353 2011-01-27  Petr Baudis  <pasky@suse.cz>
30354             Ulrich Drepper  <drepper@gmail.com>
30356         [BZ 12445]#
30357         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30358         to extend_alloca().
30359         * stdio-common/bug23.c: New file.
30360         * stdio-common/Makefile (tests): Add bug23.
30362 2010-09-28  Andreas Schwab  <schwab@redhat.com>
30363             Ulrich Drepper  <drepper@gmail.com>
30365         [BZ #12489]
30366         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30367         before performing relro protection.  At old place add assertion
30368         to make sure nothing changed.
30370 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
30371             Glauber de Oliveira Costa  <glommer@gmail.com>
30373         * elf/elf.h: Add new ARM TLS relocs.
30375 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
30377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30378         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30379         cast from r3.
30380         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
30381         'tests' variable.
30382         * sysdeps/wordsize-64/tst-writev.c: New file.
30384 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
30386         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30387         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30388         insns in _dl_start to prevent a TOC reference before relocs are
30389         resolved.
30391 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
30393         [BZ #12469]
30394         * Makeconfig: Remove RANLIB definition.
30395         * Makerules: Don't use RANLIB.
30396         * aclocal.m4: Remove ranlib test.
30397         * configure.in: No need to check for ranlib.
30398         * elf/rtld-Rules: Don't use RANLIB.
30400 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30402         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30403         protection macro.
30404         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30405         inclusion protection macro.
30407         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30408         SIGRTMIN and SIGRTMAX and print information in that case only when
30409         SIGRTMIN is defined.
30411 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
30413         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30414         arginfo fn returning -1.
30416         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30417         and thousands string is zero terminated.
30419 2011-02-03  Andreas Schwab  <schwab@redhat.com>
30421         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30422         sysdeps/unix/sysv/linux/bits/socket.h.
30424 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30426         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30427         (__CPU_COUNT): Remove old macros.
30428         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30429         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30430         (__CPU_ALLOC, __CPU_FREE): Add macros.
30431         (__sched_cpualloc, __sched_cpufree): Add declarations.
30433 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
30435         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30436         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30437         * nscd/aicache.c (addhstaiX): Return timeout of added value.
30438         (readdhstai): Return value of addhstaiX call.
30439         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30440         (addgrbyX): Return value returned by cache_addgr.
30441         (readdgrbyname): Return value returned by addgrbyX.
30442         (readdgrbygid): Likewise.
30443         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30444         (addpwbyX): Return value returned by cache_addpw.
30445         (readdpwbyname): Return value returned by addhstbyX.
30446         (readdpwbyuid): Likewise.
30447         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30448         (addservbyX): Return value returned by cache_addserv.
30449         (readdservbyname): Return value returned by addservbyX:
30450         (readdservbyport): Likewise.
30451         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30452         (addhstbyX): Return value returned by cache_addhst.
30453         (readdhstbyname): Return value returned by addhstbyX.
30454         (readdhstbyaddr): Likewise.
30455         (readdhstbynamev6): Likewise.
30456         (readdhstbyaddrv6): Likewise.
30457         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30458         (readdinitgroups): Return value returned by addinitgroupsX.
30459         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30460         (prune_cache): Keep track of timeout value of re-added entries.
30461         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30462         * nscd/nscd.h: Adjust prototypes of readd* functions.
30464 2011-02-04  Roland McGrath  <roland@redhat.com>
30466         * nis/nis_server.c (nis_servstate): Use the right name for 0.
30467         (nis_stats): Likewise.
30468         * nis/nis_modify.c (nis_modify): Likewise.
30469         * nis/nis_remove.c (nis_remove): Likewise.
30470         * nis/nis_add.c (nis_add): Likewise.
30472         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30474         * posix/fnmatch_loop.c: Add some consts.
30476         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30478 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
30480         [BZ #12460]
30481         * config.make.in (config-cflags-novzeroupper): Define.
30482         * configure.in: Substitute libc_cv_cc_novzeroupper.
30483         * elf/Makefile (AVX-CFLAGS): Define.
30484         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30485         (CFLAGS-tst-auditmod4a.c): Likewise.
30486         (CFLAGS-tst-auditmod4b.c): Likewise.
30487         (CFLAGS-tst-auditmod6b.c): Likewise.
30488         (CFLAGS-tst-auditmod6c.c): Likewise.
30489         (CFLAGS-tst-auditmod7b.c): Likewise.
30490         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30492 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
30494         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30495         function to the callback.
30496         Patch partly by Jiri Olsa <jolsa@redhat.com>.
30498 2011-02-02  Andreas Schwab  <schwab@redhat.com>
30500         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30501         of errno.
30503 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
30505         [BZ #11724]
30506         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30507         of constructors.
30508         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30509         of destructors.
30510         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30512         [BZ #11724]
30513         * elf/Makefile: Add rules to build and run new test.
30514         * elf/tst-initorder.c: New file.
30515         * elf/tst-initorder.exp: New file.
30516         * elf/tst-initordera1.c: New file.
30517         * elf/tst-initordera2.c: New file.
30518         * elf/tst-initordera3.c: New file.
30519         * elf/tst-initordera4.c: New file.
30520         * elf/tst-initorderb1.c: New file.
30521         * elf/tst-initorderb2.c: New file.
30522         * elf/tst-order-a1.c: New file.
30523         * elf/tst-order-a2.c: New file.
30524         * elf/tst-order-a3.c: New file.
30525         * elf/tst-order-a4.c: New file.
30526         * elf/tst-order-b1.c: New file.
30527         * elf/tst-order-b2.c: New file.
30528         * elf/tst-order-main.c: New file.
30529         New test case by George Gensure <werkt0@gmail.com>.
30531 2010-10-01  Andreas Schwab  <schwab@redhat.com>
30533         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30534         decoding ACE if AI_CANONIDN.
30536 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
30538         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30540 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
30542         * version.h (RELEASE): Bump for 2.13 release.
30543         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30545         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30547         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30548         MADV_NOHUGEPAGE.
30549         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30550         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30551         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30552         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30553         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30554         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30556         * posix/getconf.c: Update copyright year.
30557         * catgets/gencat.c: Likewise.
30558         * csu/version.c: Likewise.
30559         * debug/catchsegv.sh: Likewise.
30560         * debug/xtrace.sh: Likewise.
30561         * elf/ldconfig.c: Likewise.
30562         * elf/ldd.bash.in: Likewise.
30563         * elf/sprof.c (print_version): Likewise.
30564         * iconv/iconv_prog.c: Likewise.
30565         * iconv/iconvconfig.c: Likewise.
30566         * locale/programs/locale.c: Likewise.
30567         * locale/programs/localedef.c: Likewise.
30568         * malloc/memusage.sh: Likewise.
30569         * malloc/mtrace.pl: Likewise.
30570         * nscd/nscd.c (print_version): Likewise.
30571         * nss/getent.c: Likewise.
30573         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30574         PF_CAIF, and PF_ALG.
30575         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30577 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
30579         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30580         (modules-names): Use them.
30581         (ifunc-test-modules, ifunc-pie-tests): Define.
30582         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30583         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30584         (test-extras): Likewise.
30585         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30586         $(compile-command.c).
30587         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30588         (all-built-dso): Define.
30589         (check-textrel.out, check-execstack.out): Depend on it.
30591         * configure.in: Don't override --enable-multi-arch.
30593 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
30595         [BZ #6812]
30596         * nscd/hstcache.c (tryagain): Define.
30597         (cache_addhst): Return tryagain not notfound for temporary errors.
30598         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30599         failed.
30601 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
30603         [BZ #10563]
30604         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30605         to make the syscall.
30606         * sysdeps/unix/sysv/linux/setgroups.c: New file.
30608         [BZ #12378]
30609         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30610         and fall back to matching as normal character if the string ends before
30611         the matching ']' is found.  This is what POSIX requires.
30612         * posix/testfnm.c: Adjust test result.
30613         * posix/globtest.sh: Adjust test result.  Add new test.
30614         * posix/tst-fnmatch.input: Likewise.
30615         * posix/tst-fnmatch2.c: Add new test.
30617 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
30619         * elf/Makefile (check-execstack): Revert last change.  Depend on
30620         check-execstack.h.
30621         (check-execstack.h): New target.
30622         (generated): Add check-execstack.h.
30623         * elf/check-execstack.c: Include "check-execstack.h".
30624         (main): Revert last change.
30625         (handle_file): Return zero if GNU_STACK is absent and
30626         DEFAULT_STACK_PERMS doesn't include PF_X.
30628 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
30630         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30631         in child fails because the descriptor is already closed.
30632         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30633         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30634         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
30636         [BZ #12397]
30637         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30638         syscall.
30640         [BZ #10484]
30641         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30642         temporary buffer used to handle multi lookups locally.
30643         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
30645 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
30647         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30648         loader is ld.so.
30650 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
30652         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30653         alignment for SSE2.
30655 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
30657         [BZ #12394]
30658         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30659         characters.  When rounding increased number of integer digits recompute
30660         number of groups.
30661         * stdio-common/tst-grouping.c: New file.
30662         * stdio-common/Makefile: Add rules to build and run tst-grouping.
30664 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
30666         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30667         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
30669         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30670         void.
30671         * bits/select.h: Likewise.
30673 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
30675         * po/ja.po: Update from translation team.
30677 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
30679         [BZ #11155]
30680         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30681         implementation just like for lxstat, fxstatat, et al.
30683 2010-12-27  Jim Meyering  <meyering@redhat.com>
30685         [BZ #12348]
30686         * posix/regexec.c (build_trtable): Return failure indication upon
30687         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
30689 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
30691         [BZ #12201]
30692         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30693         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30694         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30695         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30697         [BZ #12207]
30698         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30700         [BZ #12204]
30701         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30702         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30704 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
30706         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30707         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30708         script has SORT_BY_INIT_PRIORITY.
30709         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30710         NO_CTORS_DTORS_SECTIONS is defined.
30711         * elf/soinit.c: Likewise.
30712         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30713         NO_CTORS_DTORS_SECTIONS is defined.
30714         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30715         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30716         * sysdeps/sh/init-first.c: Likewise.
30717         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30719 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
30721         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30722         always use the slow path.
30724 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
30726         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30727         similar rule which adds the sysdep directories to the header search in
30728         order to pick up the correct platform stackinfo.h.
30729         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30730         perform test if it is, otherwise return successfully without testing.
30731         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30732         DEFAULT_STACK_PERMS define in stackinfo.h.
30733         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30734         defined in stackinfo.h.
30735         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30736         DEFAULT_STACK_PERMS defined in stackinfo.h.
30737         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30738         * sysdeps/ia64/stackinfo.h: Likewise.
30739         * sysdeps/s390/stackinfo.h: Likewise.
30740         * sysdeps/sh/stackinfo.h: Likewise.
30741         * sysdeps/sparc/stackinfo.h: Likewise.
30742         * sysdeps/x86_64/stackinfo.h: Likewise.
30743         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30744         PF_X for powerpc64.  Retain PF_X for powerpc32.
30746 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
30748         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30749         accurately.
30750         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30751         GETDENTS_64BIT_ALIGNED.
30753 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
30755         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
30757 2010-12-10  Andreas Schwab  <schwab@redhat.com>
30759         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30760         _GNU_SOURCE.
30762         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30763         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30764         Remove __restrict.
30765         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30766         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30768 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
30770         [BZ #11655]
30771         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30772         are initialized.
30774 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
30776         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30778 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
30780         * po/it.po: Update from translation team.
30782 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
30784         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30785         unused codes.
30787 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
30789         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30791 2010-11-24  Andreas Schwab  <schwab@redhat.com>
30793         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30794         specially.
30795         (gaih_getanswer_slice): Likewise.
30797 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
30799         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30801 2010-05-31  Petr Baudis  <pasky@suse.cz>
30803         [BZ #11149]
30804         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30805         silently even in the chroot mode.
30807 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
30809         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30810         last patch a bit.  Pretty printing
30812 2010-05-31  Petr Baudis <pasky@suse.cz>
30814         [BZ #10085]
30815         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30816         initialization of skip_initgroups_dyn.
30818 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
30820         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30821         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30823 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
30825         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30827 2010-11-11  Andreas Schwab  <schwab@redhat.com>
30829         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30830         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30831         (tst-fnmatch-ENV): Set MALLOC_TRACE.
30832         ($(objpfx)tst-fnmatch-mem): New rule.
30833         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30834         * posix/tst-fnmatch.c (main): Call mtrace.
30836 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
30838         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30839         Support Intel processor model 6 and model 0x2c.
30841 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
30843         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30844           signed comparison.
30846 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
30848         [BZ #12205]
30849         * string/test-strncasecmp.c (check_result): New function.
30850         (do_one_test): Use it.
30851         (check1): New function.
30852         (test_main): Use it.
30853         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30854         Support strcasecmp and strncasecmp.
30856 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
30858         [BZ #12194]
30859         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30860         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30862 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
30864         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30865         IFUNC support.
30866         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30867         memset-x86-64.
30868         * sysdeps/x86_64/multiarch/bzero.S: New file.
30869         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30870         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30871         * sysdeps/x86_64/multiarch/memset.S: New file.
30872         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30873         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30874         Set bit_Prefer_SSE_for_memop for Intel processors.
30875         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30876         Define.
30877         (index_Prefer_SSE_for_memop): Define.
30878         (HAS_PREFER_SSE_FOR_MEMOP): Define.
30880 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
30882         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30883         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30885 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
30887         [BZ #12191]
30888         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30889         (__x86_64_raw_data_cache_size_half): Likewise.
30890         (__x86_64_raw_shared_cache_size): Likewise.
30891         (__x86_64_raw_shared_cache_size_half): Likewise.
30893         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30894         (__x86_64_raw_data_cache_size_half): Likewise.
30895         (__x86_64_raw_shared_cache_size): Likewise.
30896         (__x86_64_raw_shared_cache_size_half): Likewise.
30897         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30898         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30899         and __x86_64_raw_shared_cache_size_half.  Round
30900         __x86_64_data_cache_size_half, __x86_64_data_cache_size
30901         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30902         to multiple of 256 bytes.
30904 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
30906         [BZ #12167]
30907         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30908         of inacessible symlinks.  Verify result of symlink before returning it.
30909         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30910         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30912 2010-10-28  Erich Ritz  <erichritz@gmail.com>
30914         * math/math.h (isinf): Fix typo in comment.
30916 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
30918         * po/da.po: Update from translation team.
30920 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
30922         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30923         is added to the list.
30925 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30926             Ulrich Drepper  <drepper@gmail.com>
30928         * elf/dl-object.c (_dl_new_object): Don't append the new object to
30929         the global list here.  Move code to...
30930         (_dl_add_to_namespace_list): ...here.  New function.
30931         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30932         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30933         * elf/dl-load.c (lose): Don't remove the element from the list.
30934         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30935         (_dl_map_object): Likewise.
30937 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
30939         [BZ #12159]
30940         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30941         into all bytes of SSE register.
30942         Patch by Richard Li <richardpku@gmail.com>.
30944 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
30946         [BZ #12140]
30947         * malloc/malloc.c (_int_free): Fill correct number of bytes when
30948         perturbing.
30950 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
30952         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30953         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30954         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30955         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30957         submachine.
30958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30960 2010-10-22  Andreas Schwab  <schwab@redhat.com>
30962         * include/dlfcn.h (__RTLD_SECURE): Define.
30963         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
30964         mode & __RTLD_SECURE instead.
30965         (open_path): Rename preloaded parameter to secure.
30966         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30967         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30968         * elf/dl-deps.c (openaux): Likewise.
30969         * elf/rtld.c (struct map_args): Remove is_preloaded.
30970         (map_doit): Don't use it.
30971         (dl_main): Likewise.
30972         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30973         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30975 2010-09-09  Andreas Schwab  <schwab@redhat.com>
30977         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30978         (sysd-rules-targets): Remove duplicates.
30979         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30980         rtld-%.$o dependency.
30982 2010-10-18  Andreas Schwab  <schwab@redhat.com>
30984         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30985         _dl_map_object do it.
30987 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
30989         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30990         fast fma builtins, define the macros in the C99 standard.
30991         (FP_FAST_FMAF): Likewise.
30992         (FP_FAST_FMAL): Likewise.
30993         * sysdeps/x86_64/bits/mathdef.h: Likewise.
30995         * bits/mathdef.h: Update copyright year.
30996         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30998 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
31000         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31001         builtins, define the macros in the C99 standard.
31002         (FP_FAST_FMAF): Likewise.
31003         (FP_FAST_FMAL): Likewise.
31004         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31005         multiply/add.
31006         (FP_FAST_FMAF): Likewise.
31008 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
31010         [BZ #3268]
31011         * math/libm-test.inc (fma_test): Some new testcases.
31012         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31013         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31014         y and infinite z.  Do multiplication by C already in long double.
31015         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31016         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31017         y and infinite z.  Do bitwise or of inexact bit into u.d.
31018         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31019         * sysdeps/i386/fpu/s_fmaf.S: Removed.
31020         * sysdeps/i386/fpu/s_fma.S: Removed.
31021         * sysdeps/i386/fpu/s_fmal.S: Removed.
31023 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
31025         [BZ #3268]
31026         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31027         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31028         computation is not scheduled after fetestexcept.  Fix value
31029         of minimum denormal long double.
31031 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
31033         [BZ #3268]
31034         * math/libm-test.inc (fma_test): Add some more tests.
31035         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31036         correctly.
31038 2010-10-15  Andreas Schwab  <schwab@redhat.com>
31040         * scripts/data/localplt-s390-linux-gnu.data: New file.
31041         * scripts/data/localplt-s390x-linux-gnu.data: New file.
31043 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
31045         [BZ #3268]
31046         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31047         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31048         instead of dbl-64.
31049         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31050         inlines.
31051         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31052         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31053         if one of x and y is very large and the other is subnormal.
31054         * sysdeps/s390/fpu/s_fmaf.c: New file.
31055         * sysdeps/s390/fpu/s_fma.c: New file.
31056         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31057         * sysdeps/powerpc/fpu/s_fma.S: New file.
31058         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31059         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31060         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31062 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
31064         [BZ #3268]
31065         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31066         fma tests.
31067         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31068         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31069         * sysdeps/i386/i686/multiarch/s_fma.c: Include
31070         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31071         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31072         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31073         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31075 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
31077         [BZ #12078]
31078         * posix/regcomp.c (parse_branch): One more memory leak plugged.
31079         * posix/bug-regex31.input: Add test case.
31081 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
31083         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31084         * posix/bug-regex31.input: New file.
31086         [BZ #12078]
31087         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31088         (parse_sub_exp): Fix last change, use postorder.
31090         * posix/bug-regex31.c: New file.
31091         * posix/Makefile: Add rules to build and run bug-regex31.
31093         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31095         [BZ #12078]
31096         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31098         [BZ #12108]
31099         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31100         to have entries in sys_siglist.
31102         [BZ #12093]
31103         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31104         be NULL.
31106 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
31108         [BZ #3268]
31109         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31110         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31111         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31112         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31113         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31114         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31115         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31116         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31117         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31118         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31119         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31120         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31121         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31122         * math/ftestexcept.c (fetestexcept): Likewise.
31123         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31124         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31125         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31126         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31127         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31128         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31129         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31131 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
31133         [BZ #12107]
31134         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31135         newline.
31137 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
31139         * string/bug-strstr1.c: New file.
31140         * string/Makefile: Add rules to build and run bug-strstr1.
31142 2010-10-05  Eric Blake  <eblake@redhat.com>
31144         [BZ #12092]
31145         * string/str-two-way.h (two_way_long_needle): Always clear memory
31146         when skipping input due to the shift table.
31148 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
31150         [BZ #12005]
31151         * malloc/mcheck.c: Handle large requests.
31153         [BZ #12077]
31154         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31155         for strncmp and strncasecmp.
31156         * string/stratcliff.c: Add tests for strcmp and strncmp.
31157         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31159 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31161         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31162         __set_fpscr.
31164 2010-09-30  Andreas Jaeger  <aj@suse.de>
31166         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31167         (CGROUP_SUPER_MAGIC): Define.
31168         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31169         Handle btrfs and cgroup file systems.
31170         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31171         Likewise.
31173 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
31175         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31176         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31178 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31180         [BZ #12067]
31181         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31182         trying to locate the ELF header.
31184 2010-09-27  Andreas Schwab  <schwab@redhat.com>
31186         [BZ #11611]
31187         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31188         Mask out sign-bit copies when constructing f_fsid.
31190 2010-09-24  Petr Baudis <pasky@suse.cz>
31192         * debug/stack_chk_fail_local.c: Add missing licence exception.
31193         * debug/warning-nop.c: Likewise.
31195 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
31197         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31198         implementing getdents64 using getdents syscall, set d_type if
31199         __ASSUME_GETDENTS32_D_TYPE.
31201 2010-09-16  Andreas Schwab  <schwab@redhat.com>
31203         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31204         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31206 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
31208         [BZ #12037]
31209         * posix/unistd.h: Undo change of feature selection for ftruncate from
31210         2010-01-11.
31212 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
31214         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
31215         detection.
31217 2010-09-20  Andreas Schwab  <schwab@redhat.com>
31219         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31220         fanotify_mark.
31221         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31223 2010-09-14  Andreas Schwab  <schwab@redhat.com>
31225         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31226         variables after CHECK_SP call.
31227         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31229 2010-09-13  Andreas Schwab  <schwab@redhat.com>
31230             Ulrich Drepper  <drepper@redhat.com>
31232         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31233         re-relocationg ld.so.
31234         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31235         _dl_init_paths call.
31236         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
31237         here anymore.
31239 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
31241         * resolv/res_init.c (__res_vinit): Count the default server we added.
31243 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
31244             Ulrich Drepper  <drepper@redhat.com>
31246         [BZ #11968]
31247         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31248         (____longjmp_chk): Use %ebx for saving value across system call.
31249         Add unwind info.
31251 2010-09-06  Andreas Schwab  <schwab@redhat.com>
31253         * manual/Makefile: Don't mix pattern rules with normal rules.
31255 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31257         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31258         operation.
31259         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31260         * libio/iofopncook.c (_IO_cookie_init): Likewise.
31261         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31262         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31263         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31264         Likewise.
31266 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
31268         [BZ #11979]
31269         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31270         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31272 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
31274         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31275         * sysdeps/x86_64/addmul_1.S: Likewise.
31276         * sysdeps/x86_64/lshift.S: Likewise.
31277         * sysdeps/x86_64/mul_1.S: Likewise.
31278         * sysdeps/x86_64/rshift.S: Likewise.
31279         * sysdeps/x86_64/sub_n.S: Likewise.
31280         * sysdeps/x86_64/submul_1.S: Likewise.
31282 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31284         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31285         Define __sched_param instead of SCHED_* and sched_param when
31286         <bits/sched.h> is included with __need_schedparam defined.
31287         * bits/sched.h [__need_schedparam]
31288         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
31289         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31290         (__defined_schedparam): Define to 1.
31291         (__sched_param): New structure, identical to sched_param.
31292         (__need_schedparam): Undefine.
31294 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
31296         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31297         (epoll_create1): Declare.
31299         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31301 2010-08-31  Andreas Schwab  <schwab@redhat.com>
31303         [BZ #7066]
31304         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31305         shifting retval into place.
31307 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
31309         * nis/rpcsvc/nis.h: Update copyright notice.
31310         * nis/rpcsvc/nis.x: Likewise.
31311         * nis/rpcsvc/nis_callback.h: Likewise.
31312         * nis/rpcsvc/nis_callback.x: Likewise.
31313         * nis/rpcsvc/nis_object.x: Likewise.
31314         * nis/rpcsvc/nis_tags.h: Likewise.
31315         * nis/rpcsvc/yp.h: Likewise.
31316         * nis/rpcsvc/yp.x: Likewise.
31317         * nis/rpcsvc/ypupd.h: Likewise.
31318         * nis/yp_xdr.c: Likewise.
31319         * nis/ypupdate_xdr.c: Likewise.
31321         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
31322         mainly the body of pmap_getport.  Add parameters to specify timeouts.
31323         (pmap_getport): Use __libc_rpc_getport.
31324         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31325         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31326         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31328 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
31330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31331         fanotify_mark.
31333 2010-08-27  Roland McGrath  <roland@redhat.com>
31335         * sysdeps/i386/i686/multiarch/Makefile
31336         (CFLAGS-varshift.c): New variable.
31338 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
31340         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31341         * sysdeps/i386/i686/multiarch/varshift.c: New file.
31343         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31345         * sysdeps/x86_64/strlen.S: Minimal code improvement.
31347 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
31349         * sysdeps/x86_64/strlen.S: Unroll the loop.
31350         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31351         strlen-sse2 strlen-sse2-bsf.
31352         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31353         __strlen_no_bsf if bit_Slow_BSF is set.
31354         (__strlen_sse42): Removed.
31355         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31356         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31358 2010-08-25  Roland McGrath  <roland@redhat.com>
31360         * sysdeps/x86_64/multiarch/varshift.S: File removed.
31361         * sysdeps/x86_64/multiarch/varshift.c: New file.
31362         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31363         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31364         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31365         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31367 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31369         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31370         strlen-sse2 strlen-sse2-bsf.
31371         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31372         __strlen_sse2_bsf if bit_Slow_BSF is unset.
31373         (__strlen_sse2): Removed.
31374         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31375         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31376         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31377         bit_Slow_BSF for Atom.
31378         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31379         (index_Slow_BSF): Define.
31380         (HAS_SLOW_BSF): Define.
31382 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
31384         [BZ #10851]
31385         * resolv/res_init.c (__res_vinit): When no server address at all
31386         is given default to loopback.
31388 2010-08-24  Roland McGrath  <roland@redhat.com>
31390         * configure.in: Remove config-name.h generation.
31391         * configure: Regenerated.
31392         * config-name.in: File removed.
31393         * scripts/config-uname.sh: New file.
31394         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31395         ($(objdir)config-name.h): New target.
31397         * sunrpc/rpc_parse.h: Avoid nested comment.
31399 2010-08-24  Richard Henderson  <rth@redhat.com>
31400             Ulrich Drepper  <drepper@redhat.com>
31401             H.J. Lu  <hongjiu.lu@intel.com>
31403         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31404         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31405         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31406         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
31407         _mm_alignr_epi8 with _mm_loadu_si128.
31408         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31409         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31410         (__m128i_shift_right): Removed.
31411         * sysdeps/i386/i686/multiarch/varshift.h: New file.
31412         * sysdeps/i386/i686/multiarch/varshift.S: New file.
31413         * sysdeps/x86_64/multiarch/varshift.h: New file.
31414         * sysdeps/x86_64/multiarch/varshift.S: New file.
31416 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
31418         * configure.in: Move assembler checks to before sysdep dir checking.
31420 2010-08-20  Petr Baudis  <pasky@suse.cz>
31422         * LICENSES: Sync the sunrpc license.
31424 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
31426         * sunrpc/auth_des.c: Update copyright notice once again.
31427         * sunrpc/auth_none.c: Likewise.
31428         * sunrpc/auth_unix.c: Likewise.
31429         * sunrpc/authdes_prot.c: Likewise.
31430         * sunrpc/authuxprot.c: Likewise.
31431         * sunrpc/bindrsvprt.c: Likewise.
31432         * sunrpc/clnt_gen.c: Likewise.
31433         * sunrpc/clnt_perr.c: Likewise.
31434         * sunrpc/clnt_raw.c: Likewise.
31435         * sunrpc/clnt_simp.c: Likewise.
31436         * sunrpc/clnt_tcp.c: Likewise.
31437         * sunrpc/clnt_udp.c: Likewise.
31438         * sunrpc/clnt_unix.c: Likewise.
31439         * sunrpc/des_crypt.c: Likewise.
31440         * sunrpc/des_soft.c: Likewise.
31441         * sunrpc/get_myaddr.c: Likewise.
31442         * sunrpc/getrpcport.c: Likewise.
31443         * sunrpc/key_call.c: Likewise.
31444         * sunrpc/key_prot.c: Likewise.
31445         * sunrpc/openchild.c: Likewise.
31446         * sunrpc/pm_getmaps.c: Likewise.
31447         * sunrpc/pm_getport.c: Likewise.
31448         * sunrpc/pmap_clnt.c: Likewise.
31449         * sunrpc/pmap_prot.c: Likewise.
31450         * sunrpc/pmap_prot2.c: Likewise.
31451         * sunrpc/pmap_rmt.c: Likewise.
31452         * sunrpc/rpc/auth.h: Likewise.
31453         * sunrpc/rpc/auth_unix.h: Likewise.
31454         * sunrpc/rpc/clnt.h: Likewise.
31455         * sunrpc/rpc/des_crypt.h: Likewise.
31456         * sunrpc/rpc/key_prot.h: Likewise.
31457         * sunrpc/rpc/netdb.h: Likewise.
31458         * sunrpc/rpc/pmap_clnt.h: Likewise.
31459         * sunrpc/rpc/pmap_prot.h: Likewise.
31460         * sunrpc/rpc/pmap_rmt.h: Likewise.
31461         * sunrpc/rpc/rpc.h: Likewise.
31462         * sunrpc/rpc/rpc_des.h: Likewise.
31463         * sunrpc/rpc/rpc_msg.h: Likewise.
31464         * sunrpc/rpc/svc.h: Likewise.
31465         * sunrpc/rpc/svc_auth.h: Likewise.
31466         * sunrpc/rpc/types.h: Likewise.
31467         * sunrpc/rpc/xdr.h: Likewise.
31468         * sunrpc/rpc_clntout.c: Likewise.
31469         * sunrpc/rpc_cmsg.c: Likewise.
31470         * sunrpc/rpc_common.c: Likewise.
31471         * sunrpc/rpc_cout.c: Likewise.
31472         * sunrpc/rpc_dtable.c: Likewise.
31473         * sunrpc/rpc_hout.c: Likewise.
31474         * sunrpc/rpc_main.c: Likewise.
31475         * sunrpc/rpc_parse.c: Likewise.
31476         * sunrpc/rpc_parse.h: Likewise.
31477         * sunrpc/rpc_prot.c: Likewise.
31478         * sunrpc/rpc_sample.c: Likewise.
31479         * sunrpc/rpc_scan.c: Likewise.
31480         * sunrpc/rpc_scan.h: Likewise.
31481         * sunrpc/rpc_svcout.c: Likewise.
31482         * sunrpc/rpc_tblout.c: Likewise.
31483         * sunrpc/rpc_util.c: Likewise.
31484         * sunrpc/rpc_util.h: Likewise.
31485         * sunrpc/rpcinfo.c: Likewise.
31486         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31487         * sunrpc/rpcsvc/key_prot.x: Likewise.
31488         * sunrpc/rpcsvc/klm_prot.x: Likewise.
31489         * sunrpc/rpcsvc/mount.x: Likewise.
31490         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31491         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31492         * sunrpc/rpcsvc/rex.x: Likewise.
31493         * sunrpc/rpcsvc/rstat.x: Likewise.
31494         * sunrpc/rpcsvc/rusers.x: Likewise.
31495         * sunrpc/rpcsvc/sm_inter.x: Likewise.
31496         * sunrpc/rpcsvc/spray.x: Likewise.
31497         * sunrpc/rpcsvc/yppasswd.x: Likewise.
31498         * sunrpc/rtime.c: Likewise.
31499         * sunrpc/svc.c: Likewise.
31500         * sunrpc/svc_auth.c: Likewise.
31501         * sunrpc/svc_authux.c: Likewise.
31502         * sunrpc/svc_raw.c: Likewise.
31503         * sunrpc/svc_run.c: Likewise.
31504         * sunrpc/svc_simple.c: Likewise.
31505         * sunrpc/svc_tcp.c: Likewise.
31506         * sunrpc/svc_udp.c: Likewise.
31507         * sunrpc/svc_unix.c: Likewise.
31508         * sunrpc/svcauth_des.c: Likewise.
31509         * sunrpc/xcrypt.c: Likewise.
31510         * sunrpc/xdr.c: Likewise.
31511         * sunrpc/xdr_array.c: Likewise.
31512         * sunrpc/xdr_float.c: Likewise.
31513         * sunrpc/xdr_mem.c: Likewise.
31514         * sunrpc/xdr_rec.c: Likewise.
31515         * sunrpc/xdr_ref.c: Likewise.
31516         * sunrpc/xdr_sizeof.c: Likewise.
31517         * sunrpc/xdr_stdio.c: Likewise.
31519         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31520         handling.
31522 2010-08-19  Andreas Schwab  <schwab@redhat.com>
31524         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31526 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
31528         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31529         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31530         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31531         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31532         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31533         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31534         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31535         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31536         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31537         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31538         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31539         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31540         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31541         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31543 2010-07-26  Anton Blanchard  <anton@samba.org>
31545         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31546         * malloc/arena.c (heap_trim): Likewise.
31548 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
31550         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31551         here.  Not...
31552         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31553         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31555 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31557         * sysdeps/i386/elf/Makefile: New file.
31559 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
31561         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31562         from fanotify_init.
31563         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31564         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31566 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
31568         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31569         of strncasecmp_l.
31570         * sysdeps/multiarch/strcmp.S: Likewise.
31572 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
31574         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31575         strncase_l-nonascii.
31576         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31577         Add strncase_l-ssse3.
31578         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31579         * sysdeps/x86_64/strcmp.S: Likewise.
31580         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31581         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31582         * sysdeps/x86_64/strncase.S: New file.
31583         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31584         * sysdeps/x86_64/strncase_l.S: New file.
31585         * string/Makefile (strop-tests): Add strncasecmp.
31586         * string/test-strncasecmp.c: New file.
31588         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31589         warning.
31591         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31592         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31594 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
31596         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31598 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
31600         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31601         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31602         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31604 2010-05-01  Alan Modra  <amodra@gmail.com>
31606         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31607         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31608         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31609         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31610         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31611         tidying.  Don't tail-call __sigjmp_save for static lib.
31612         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31613         save location.
31614         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31615         (CALL_MCOUNT): Add eh info, and nop after bl.
31616         (TAIL_CALL_SYSCALL_ERROR): New macro.
31617         (PSEUDO_RET): Use it.
31618         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31619         Correct save location of integer regs and cr.
31620         (_dl_profile_resolve): Correct cr save location.  Delete nops
31621         after bl when SHARED.  Reduce cfi size a little by better
31622         placement of cfi directives.
31623         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31624         make a stack frame.  Instead use parm save area as a temp.
31625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31626         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
31627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31628         Don't make a stack frame for parent, use parm save area.
31629         Increase child stack frame to 112 bytes.  Don't save unused reg,
31630         and adjust reg usage.  Set up cfi on error recovery and
31631         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31633         (__makecontext): Add dummy nop after jump to exit.
31634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31635         Use correct parm save area and cr save, reduce stack frame.
31636         Correct cfi for possible PSEUDO_RET frame setup.
31637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31638         Branch to local label emitted by PSEUDO_RET rather than
31639         __syscall_error.
31641 2010-08-12  Andreas Schwab  <schwab@redhat.com>
31643         [BZ #11904]
31644         * locale/programs/locale.c (print_assignment): New function.
31645         (show_locale_vars): Use it.
31647 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
31649         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31650         field.
31651         (struct statfs64): Likewise.
31652         (_STATFS_F_FLAGS): Define.
31653         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31654         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31655         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31656         (ST_VALID): Define locally.
31657         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31658         __statvfs_getflags, use the provided value.
31659         * sysdeps/unix/sysv/linux/kernel-features.h: Define
31660         __ASSUME_STATFS_F_FLAGS.
31662         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31664         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31665         Add sys/fanotify.h.
31666         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31667         fanotify_mask for GLIBC_2.13.
31668         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31669         fanotify_init and fanotify_mark.
31670         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31671         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31673         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31674         Add prlimit.
31675         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31676         prlimit64 for GLIBC_2.13.
31677         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31678         prlimit64.
31679         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31680         syscall.
31681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31682         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31683         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31684         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31685         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
31686         add prlimit alias.
31687         * sysdeps/unix/sysv/linux/prlimit.c: New file.
31689         [BZ #11903]
31690         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31691         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31693         * nss/Makefile: Add rules to build and run tst-nss-test1.
31694         * shlib-versions: Add entry for libnss_test1.
31695         * nss/nss_test1.c: New file.
31696         * nss/tst-nss-test1.c: New file.
31698         * nss/nsswitch.c (__nss_database_custom): Define new variable.
31699         (__nss_configure_lookup): Set appropriate entry in
31700         __nss_configure_lookup to true.
31701         * nss/nsswitch.h: Define enum with indeces of databases in
31702         databases and __nss_database_custom arrays.  Declare
31703         __nss_database_custom.
31704         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31705         to avoid using nscd when custom rules are installed.
31706         * nss/getXXbyYY_r.c: Likewise.
31707         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31709         * nss/nss_files/files-parse.c: Whitespace fixes.
31711 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
31713         [BZ #11883]
31714         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31715         * posix/fnmatch_loop.c: Likewise.
31717 2010-07-17  Andi Kleen  <ak@linux.intel.com>
31719         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31720         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31721         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31722         * Versions.def [GLIBC_2.13]: Add.
31724 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
31726         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31727         Also fail if tpwd after pwuid call is NULL.
31729 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31731         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31732         when converting to ms.
31734 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31736         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31737         EOPNOTSUPP errors with ENOTTY.
31738         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31739         EOPNOTSUPP errors with ENOTTY.
31741 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
31743         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31744         Add strcasecmp_l-ssse3.
31745         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31746         strcasecmp.
31747         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31748         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31749         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31751 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
31753         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31755         * string/Makefile (strop-tests): Add strcasecmp.
31756         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31757         strcasecmp_l-nonascii.
31758         (gen-as-const-headers): Add locale-defines.sym.
31759         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31760         * sysdeps/x86_64/strcasecmp.S: New file.
31761         * sysdeps/x86_64/strcasecmp_l.S: New file.
31762         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31763         * sysdeps/x86_64/locale-defines.sym: New file.
31764         * string/test-strcasecmp.c: New file.
31766         * string/test-strcasestr.c: Test both ends of the range of characters.
31767         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31769 2010-07-29  Roland McGrath  <roland@redhat.com>
31771         [BZ #11856]
31772         * manual/locale.texi (Yes-or-No Questions): Fix example code.
31774 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
31776         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31777         for ld.so.
31779 2010-07-27  Andreas Schwab  <schwab@redhat.com>
31781         * manual/memory.texi (Malloc Tunable Parameters): Document
31782         M_PERTURB.
31784 2010-07-26  Roland McGrath  <roland@redhat.com>
31786         [BZ #11840]
31787         * configure.in (-fgnu89-inline check): Set and substitute
31788         gnu89_inline, not libc_cv_gnu89_inline.
31789         * configure: Regenerated.
31790         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31792 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
31794         * string/test-strnlen.c: New file.
31795         * string/Makefile (strop-tests): Add strnlen.
31796         * string/tester.c (test_strnlen): Add a few more test cases.
31797         * string/tst-strlen.c: Better error reporting.
31799         * sysdeps/x86_64/strnlen.S: New file.
31801 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
31803         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31804         lower-latency instructions.
31806 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
31808         * string/test-strcasestr.c: New file.
31809         * string/test-strstr.c: New file.
31810         * string/Makefile (strop-tests): Add strstr and strcasestr.
31811         * string/str-two-way.h: Don't undefine MAX.
31812         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31814 2010-07-21  Andreas Schwab  <schwab@redhat.com>
31816         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31817         strcasestr-nonascii.
31818         (CFLAGS-strcasestr-nonascii.c): Define.
31819         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31820         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31821         Remove unused attribute.
31823 2010-07-20  Roland McGrath  <roland@redhat.com>
31825         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31826         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
31827         ld.so.cache was broken.  With it, there is no way to disable dsocaps
31828         like LD_HWCAP_MASK can disable hwcaps.
31830 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
31832         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31834 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
31836         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31837         call in strcasestr.
31838         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31839         __strcasestr_sse42_nonascii.
31840         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31841         strcasestr-nonascii.c.
31842         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31844 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
31846         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31847         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31848         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31849         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31851 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
31853         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31854         fcntl.
31856 2010-07-06  Andreas Schwab  <schwab@redhat.com>
31858         [BZ #11577]
31859         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31860         dl_signal_cerror.
31862 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
31864         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31865         _PC_PIPE_BUF using F_GETPIPE_SZ.
31867 2010-07-05  Roland McGrath  <roland@redhat.com>
31869         * manual/arith.texi (Rounding Functions): Fix rint description
31870         implicit in round description.
31872 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
31874         * elf/Makefile: Fix linking for a few tests to make recent linker
31875         happy.
31877 2010-06-30  Andreas Schwab  <schwab@redhat.com>
31879         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31880         $(common-objpfx)libc_nonshared.a.
31882 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
31884         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31885         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31886         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31887         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31888         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31889         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31890         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31891         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31906         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31907         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31908         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31909         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31910         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31911         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31912         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31913         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31914         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31915         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31916         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31917         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31933 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
31935         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31936         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
31937         * string/memmove.c (memmove): Renamed to ...
31938         (MEMMOVE): ...this.  Default to memmove.
31939         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31940         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31941         (END_CHK): Define.
31942         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31943         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31944         mempcpy-ssse3-back memmove-ssse3-back.
31945         * sysdeps/x86_64/multiarch/bcopy.S: New file .
31946         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31947         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31948         * sysdeps/x86_64/multiarch/memcpy.S: New file.
31949         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31950         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31951         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31952         * sysdeps/x86_64/multiarch/memmove.c: New file.
31953         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31954         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31955         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31956         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31957         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31958         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31959         Define.
31960         (index_Fast_Copy_Backward): Define.
31961         (HAS_ARCH_FEATURE): Define.
31962         (HAS_FAST_REP_STRING): Define.
31963         (HAS_FAST_COPY_BACKWARD): Define.
31965 2010-06-21  Andreas Schwab  <schwab@redhat.com>
31967         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31968         Restore proper fallback handling.
31970 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
31972         [BZ #11701]
31973         * posix/group_member.c (__group_member): Correct checking loop.
31975         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31976         OOM in getpwuid_r correctly.  Return error number when the caller
31977         should return, otherwise -1.
31978         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31979         call returning > 0 value.
31980         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31982 2010-06-07  Andreas Schwab  <schwab@redhat.com>
31984         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31985         libc_nonshared.a from targets in modules-names.
31987 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
31989         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31990         requires it.
31992 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
31994         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31995         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31996         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31997         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31999 2010-06-02  Andreas Schwab  <schwab@redhat.com>
32001         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32003 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
32005         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32006         and F_GETPIPE_SZ.
32007         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32008         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32009         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32010         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32011         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32012         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32014 2010-06-14  Roland McGrath  <roland@redhat.com>
32016         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32018 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
32020         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32021         __REDIRECT followed by __THROW.
32022         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32023         * posix/getopt.h (getopt): Likewise.
32025 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
32027         * hurd/lookup-at.c (__file_name_lookup_at): Accept
32028         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
32029         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32030         in AT_FLAGS.
32031         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32032         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32034 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
32036         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32038 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
32040         [BZ #11640]
32041         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32042         Properly check family and model.
32044 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
32046         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32048 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
32050         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32052 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
32054         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32055         symbol reference.
32057 2010-05-19  Andreas Schwab  <schwab@redhat.com>
32059         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32060         symbol reference.
32062 2010-05-21  Andreas Schwab  <schwab@redhat.com>
32064         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32065         and internal_recvmmsg.
32066         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32067         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32068         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32069         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32071         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32072         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32073         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32075 2010-05-20  Andreas Schwab  <schwab@redhat.com>
32077         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32079 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
32081         POWER7 optimizations.
32082         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32083         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32085 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
32087         * version.h: Update for 2.13 development version.
32089 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
32091         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32092         exceptions.  Return 0.
32094 2010-05-07  Roland McGrath  <roland@redhat.com>
32096         * elf/ldconfig.c (main): Add a const.
32098 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
32100         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32101         (args_options): Add no-idn option.
32102         (ahosts_keys_int): Add idn_flags to ai_flags.
32103         (parse_option): Handle 'i' option to clear idn_flags.
32105         * malloc/malloc.c (_int_free): Possible race in the most recently
32106         added check.  Only act on the data if no current modification
32107         happened.
32109 See ChangeLog.17 for earlier changes.