Include generic symbol-hacks.h for x32
[glibc.git] / ChangeLog
blob15ce0b6aa237165c58d0c934c12a9b7ec96a0759
1 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
3         [BZ #15605]
4         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6 2014-01-04  Maxim Kuvyrkov  <maxim@kugelworks.com>
7             Ondřej Bílka  <neleai@seznam.cz>
9         [BZ #15073]
10         * malloc/malloc.c (_int_free): Perform sanity check only if we
11         have_lock.
13 2013-11-11  David S. Miller  <davem@davemloft.net>
15         [BZ #16150]
16         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17         symbol in the non-vis3 case in static builds.
18         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23 2013-11-06  David S. Miller  <davem@davemloft.net>
25         [BZ #15985]
26         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
29 2013-09-06  David S. Miller  <davem@davemloft.net>
31         * po/zh_TW.po: Update Chinese (traditional) translation from
32         translation project.
34 2013-08-22  David S. Miller  <davem@davemloft.net>
36         * po/ca.po: Update Catalan translation from translation project.
37         * po/uk.po: Add Ukrainian translations from translation project.
39 2013-08-03  David S. Miller  <davem@davemloft.net>
41         * po/ko.po: Update Korean translation from translation project.
43 2013-08-01  David S. Miller  <davem@davemloft.net>
45         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
46         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
47         Bilka.
49 2013-07-30  David S. Miller  <davem@davemloft.net>
51         * po/fr.po: Update French translation from translation project.
53 2013-07-28  David S. Miller  <davem@davemloft.net>
55         * po/cs.po: Update Czech translation from translation project.
57         * po/sv.po: Update Swedish translation from translation project.
59 2013-07-27  David S. Miller  <davem@davemloft.net>
61         * po/eo.po: Update Esperanto translation from translation project.
63         * po/vi.po: Update Vietnamese translation from translation project.
65         * po/de.po: Update German translation from translation project.
67 2013-07-26  David S. Miller  <davem@davemloft.net>
69         * po/bg.po: Update Bulgarian translation from translation project.
71         * po/nl.po: Update Dutch translation from translation project.
72         * po/pl.po: Update Polish translation from translation project.
73         * po/ru.po: Update Russian translation from translation project.
75 2013-07-24  David S. Miller  <davem@davemloft.net>
77         * po/libc.pot: Update.
79 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
82         variable page size.
83         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
84         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
85         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
87 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
91 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
92             Andreas Schwab  <schwab@suse.de>
93             Roland McGrath  <roland@hack.frob.com>
94             Joseph Myers  <joseph@codesourcery.com>
95             Carlos O'Donell  <carlos@redhat.com>
97         [BZ #15755]
98         * config.h.in: Define HAVE_PT_CHOWN.
99         * config.make.in (build-pt-chown): New variable.
100         * configure.in (--enable-pt_chown): New configure option.
101         * configure: Regenerate.
102         * login/Makefile: Include Makeconfig.  Build pt_chown only if
103         build-pt-chown is enabled.
104         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
105         pt_chown to fix pty ownership.
106         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
107         CLOSE_ALL_FDS.
108         * manual/install.texi (Configuring and compiling): Mention
109         --enable-pt_chown. Add @findex for grantpt.
110         * INSTALL: Regenerate.
112 2013-07-20  David S. Miller  <davem@davemloft.net>
114         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
115         difference between 32-bit and 64-bit.
117 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
119         [BZ #15711]
120         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
121         Avoid system header dependency with -ffreestanding.
122         ($(objpfx)bits/syscall%d): Likewise.
124 2013-07-13  David S. Miller  <davem@davemloft.net>
126         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
127         underflows from atanl/atan2l due to bug 15319.
128         (casinh_test_data): Likewise.
130 2013-07-07  David S. Miller  <davem@davemloft.net>
132         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
134 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
136         * sysdeps/i386/fpu/libm-test-ulps: Update.
137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
139 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
141         * configure.in (--enable-lock-elision): Fix message text.
142         * INSTALL: Regenerate.
143         * configure: Regenerate.
145 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
149 2013-07-03  Andreas Jaeger  <aj@suse.de>
151         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
152         define.
153         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
154         (ptrace_peeksiginfo_args): Add.
155         (__ptrace_peeksiginfo_flags): Add.
156         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
157         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
158         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
160 2013-07-03  Allan McRae  <allan@archlinux.org>
162         * sysdeps/i386/fpu/libm-test-ulps: Update.
164 2013-07-02  David S. Miller  <davem@davemloft.net>
166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
168 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
170         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
172 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
174         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
177 2013-07-02  Andi Kleen <ak@linux.intel.com>
179         * config.h.in (ENABLE_LOCK_ELISION): Add.
180         * configure.in (--enable-lock-elision): Add option.
181         * manual/install.texi: Document --enable lock elision.
182         * configure: Regenerate
183         * INSTALL: Regenerate.
185 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
187         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
188         SSE4.2 strcasecmp for libc.a.
189         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
191 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
193         [BZ #13304]
194         * soft-fp/op-common.h (_FP_FMA): New macro.
195         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
196         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
197         (_FP_MUL_MEAT_1_imm): ... here.
198         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
199         (_FP_MUL_MEAT_1_wide): ... here.
200         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
201         (_FP_MUL_MEAT_1_hard): ... here.
202         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
203         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
204         (_FP_MUL_MEAT_2_wide): ... here.
205         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
206         (_FP_MUL_MEAT_2_wide_3mul): ... here.
207         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
208         (_FP_MUL_MEAT_2_gmp): ... here.
209         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
210         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
211         (_FP_MUL_MEAT_4_wide): ... here.
212         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
213         (_FP_MUL_MEAT_4_gmp): ... here.
214         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
215         (_FP_WFRACBITS_DW_S): Likewise.
216         (_FP_WFRACXBITS_DW_S): Likewise.
217         (_FP_HIGHBIT_DW_S): Likewise.
218         (FP_FMA_S): Likewise.
219         (_FP_FRAC_HIGH_DW_S): Likewise.
220         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
221         (_FP_WFRACBITS_DW_D): Likewise.
222         (_FP_WFRACXBITS_DW_D): Likewise.
223         (_FP_HIGHBIT_DW_D): Likewise.
224         (FP_FMA_D): Likewise.
225         (_FP_FRAC_HIGH_DW_D): Likewise.
226         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
227         (_FP_WFRACBITS_DW_E): Likewise.
228         (_FP_WFRACXBITS_DW_E): Likewise.
229         (_FP_HIGHBIT_DW_E): Likewise.
230         (FP_FMA_E): Likewise.
231         (_FP_FRAC_HIGH_DW_E): Likewise.
232         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
233         (_FP_WFRACBITS_DW_Q): Likewise.
234         (_FP_WFRACXBITS_DW_Q): Likewise.
235         (_FP_HIGHBIT_DW_Q): Likewise.
236         (FP_FMA_Q): Likewise.
237         (_FP_FRAC_HIGH_DW_Q): Likewise.
238         * soft-fp/fmasf4.c: New file.
239         * soft-fp/fmadf4.c: Likewise.
240         * soft-fp/fmatf4.c: Likewise.
242 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
244         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
245         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
246         Silvermont.
247         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
248         macro.
249         (index_Slow_SSE4_2): Likewise.
250         (index_Prefer_PMINUB_for_stringop): Likewise.
251         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
252         bit_Slow_SSE4_2 is set.
253         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
254         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
256 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
258         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
259         rtld_global._dl_hwcap2.
260         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
261         POWER8.
262         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
263         POWER8 feature descriptions defined in _dl_hwcap2.
264         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
265         string handling for POWER8 feature bits.
266         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
267         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
268         _dl_powerpc_cap_flags.
269         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
270         * sysdeps/powerpc/rtld-global-offsets.sym
271         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
272         _dl_hwcap2 in the rtld_global_ro structure.
274 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
276         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
277         hardware capabilities in support of AT_HWCAP2.
278         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
279         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
280         GLRO(dl_hwcap2).
281         (_dl_show_auxv): Add support for calling _dl_procinfo to display
282         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
283         explicitly the unknown a_type display mechanism is used.
284         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
285         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
286         struct member.
287         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
288         to macro prototype for AT_HWCAP2 support.
289         * sysdeps/i386/dl-procinfo.h: Likewise.
290         * sysdeps/s390/dl-procinfo.h: Likewise.
291         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
292         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
293         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
294         return -1 for unknown a_type display fallback.
295         * sysdeps/sparc/dl-procinfo.h: Likewise.
296         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
297         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
299 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
301         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
302         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
304 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
306         [BZ #12492]
307         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
308         mprotect making __stack_prot writable.
310 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
311             Joseph Myers  <joseph@codesourcery.com>
313         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
314         as being properly aligned.
316 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
318         * dlfcn/modstatic5.c: New file.
319         * dlfcn/tststatic5.c: New file.
320         * dlfcn/Makefile (tests): Add tststatic5.
321         (tests-static): Likewise.
322         (modules-names): Add modstatic5.
323         (tststatic5-ENV): New variable.
324         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
326         [BZ #15022]
327         * elf/dl-support.c (_dl_main_map): New variable.
328         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
329         (_dl_nns, _dl_load_adds): Set to 1.
330         (_dl_initial_searchlist): Refer to _dl_main_map.
331         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
332         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
333         call to _dl_get_origin.
334         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
335         around call_map.
336         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
337         * dlfcn/modstatic3.c: New file.
338         * dlfcn/tststatic3.c: New file.
339         * dlfcn/tststatic4.c: New file.
340         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
341         (tests-static): Likewise.
342         (modules-names): Add modstatic3.
343         (tststatic3-ENV, tststatic4-ENV): New variables.
344         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
345         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
347 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
349         * configure.in (CC): Require GCC version 4.4 or later.
350         * configure: Regenerated.
351         * manual/install.texi (Tools for Compilation): Update GCC version
352         requirement.
353         * INSTALL: Regenerated.
355 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
357         [BZ #15674]
358         * string/test-memcmp.c (check2): New.
359         (main): Call check2.
361         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
363 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
365         [BZ #15022]
366         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
367         over to...
368         (dl_open_worker) [!SHARED]: ... here.
370 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
372         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
374 2013-06-25  Richard Henderson  <rth@redhat.com>
376         * locale/programs/locarchive.c: Include <libc-internal.h>
378 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
380         * manual/texinfo.tex: Update to version 2013-06-21.17, with
381         trailing whitespace removed.
383 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
385         [BZ #10283]
386         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
387         * locale/programs/locarchive.c: Include libc-mmap.h.
388         (prepare_address_space): Take two new outputs (the mmap base and len).
389         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
390         values.
391         (create_archive): Declare new mmap base and len values for
392         prepare_address_space, and store the result in ah.
393         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
394         (enlarge_archive): If ah->mmap_base is not NULL, use that and
395         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
396         Declare new mmap base and len values for
397         prepare_address_space, and store the result in new_ah.
398         (open_archive): Declare new mmap base and len values for
399         prepare_address_space, and store the result in ah.
400         (close_archive): If ah->mmap_base is not NULL, use that and
401         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
402         * sysdeps/generic/libc-mmap.h: New file.
404 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
406         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
407         (ALIGN_UP): Likewise.
408         (PTR_ALIGN_DOWN): Likewise.
409         (PTR_ALIGN_UP): Likewise.
411 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
413         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
414         entry mapped to PPC_PLATFORM_POWER8.
415         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
416         POWER8.
417         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
418         (_dl_string_platform): Add case for exporting platform position for
419         POWER8.
420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
421         search path to sysdeps/powerpc/powerpc32/power8 directory.
422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
423         search path to sysdeps/powerpc/powerpc64/power8 directory.
424         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
425         power7 directories.
426         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
427         power7 directories.
429 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
431         * INSTALL: Regenerate.
433         * nscd/connections.c (nscd_init): Fix comment.
435 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
437         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
439         [BZ #15667]
440         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
441         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
443 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
445         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
446         DL_DST_REQ_STATIC.
447         (DL_DST_REQ_STATIC): Remove macro.
449 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
451         [BZ #7006]
452         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
453         with a shift of 0 bits.
455 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
457         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
458         $(tststatic-ENV).
460 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
462         [BZ #15655]
463         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
465 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
467         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
468         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
469         accepts -fno-tree-loop-distribute-patterns.
470         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
471         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
472         recursive call.
473         * string/memset.c (memset): Likewise.
474         * string/test-memmove.c (simple_memmove): Disable loop transformation
475         to library calls.
476         * string/test-memset.c (simple_memset): Likewise.
477         * benchtests/bench-memmove.c (simple_memmove): Likewise.
478         * benchtests/bench-memset.c (simple_memset): Likewise.
479         * configure: Regenerated.
481 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
483         * math/test-misc.c (main): Ignore fesetround failure when failures
484         of subsequent rounding tests would be ignored.
486         [BZ #15654]
487         * math/fedisblxcpt.c (fedisableexcept): Return 0.
488         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
489         * math/fegetenv.c (__fegetenv): Return 0.
490         * math/fegetexcept.c (fegetexcept): Return 0.
491         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
492         FE_TONEAREST.
493         * math/feholdexcpt.c (feholdexcept): Return 0.
494         * math/fesetenv.c (__fesetenv): Return 0.
495         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
496         argument FE_TONEAREST.
497         * math/feupdateenv.c (__feupdateenv): Return 0.
498         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
500 2013-06-18  Roland McGrath  <roland@hack.frob.com>
502         * elf/rtld-Rules (rtld-compile-command.S): New variable.
503         (rtld-compile-command.s, rtld-compile-command.c): New variables.
504         ($(objpfx)rtld-%.os rules): Use them.
506 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
508         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
509         fields.
511 2013-06-17  Roland McGrath  <roland@hack.frob.com>
513         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
514         length of target pattern, then descending length of dependency pattern.
515         * configure.in (AWK): Require gawk 3.1.2 or newer.
516         * manual/install.texi (Tools for Compilation): Say that we do.
517         * configure: Regenerated.
519         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
520         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
521         * scripts/sysd-rules.awk: ... this new script.
522         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
523         than a glob-style pattern.
525 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
527         * math/test-misc.c (main): Do not treat incorrectly rounded
528         conversions as failure unless ROUNDING_TESTS passes.
530 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
532         [BZ #15631]
533         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
534         restore exception state around main square root computation, then
535         check for inexactness explicitly.
537         * math/libm-test.inc (fma_test_data): Add another test.
539 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
541         * manual/threads.texi (Non-POSIX Extensions): New document
542         node.  Document pthread_getattr_default_np and
543         pthread_setattr_default_np.
545         * Versions.def (libpthread): Add GLIBC_2.18.
546         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
548         Likewise.
549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
550         Likewise.
551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
552         Likewise.
553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
554         Likewise.
555         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
556         Likewise.
557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
558         Likewise.
559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
560         Likewise.
561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
562         Likewise.
563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
564         Likewise.
566 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
568         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
569         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
571 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
572             H.J. Lu  <hjl.tools@gmail.com>
574         [BZ #15627]
575         * sysdeps/x86_64/rtld-memset.c: Remove file.
576         * sysdeps/x86_64/rtld-memset.S: New file.
578 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
580         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
581         (test_in_one_mode): Take arguments for whether the rounding mode
582         is supported for each floating-point type.
583         (do_test): Pass new arguments to test_in_one_mode using
584         ROUNDING_TESTS.
586 2013-06-13  Roland McGrath  <roland@hack.frob.com>
588         * posix/tst-waitid.c (do_test): Distinguish different instances of
589         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
590         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
591         before entering the kernel for waitpid.
593 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
595         * NEWS: Fix note on clock function precision.  Text by Roland
596         McGrath.
598 2013-06-13  Roland McGrath  <roland@hack.frob.com>
600         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
601         it into place only when and if the sanity check passes.
603 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
605         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
606         output for whether conversion result is exact.  Take argument
607         indicating whether type is IBM long double.
608         (round_for_all): Change need_exact field to ibm_ld.
609         * stdlib/tst-strtod-round.c (struct exactness): New type.
610         (struct test): Change bool ld_ok field to struct exactness exact.
611         (TEST): Update all definitions for change to field.
612         (tests): Regenerate array contents.
613         (test_in_one_mode): Take pointer to new field instead of old ld_ok
614         field value.  Check for IBM long double here.
615         (do_test): Update calls to test_in_one_mode.
617 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
619         [BZ #12515]
620         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
621         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
623 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
625         [BZ #15605]
626         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
627         generated by the compiler on loop optimizations.
628         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
629         general definitions.
631 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
633         * math/bug-nextafter.c: Include <math-tests.h>.
634         (main): Only test for exceptions if EXCEPTION_TESTS is true for
635         the relevant type.
636         * math/bug-nexttoward.c: Include <math-tests.h>.
637         (main): Only test for exceptions if EXCEPTION_TESTS is true for
638         the relevant type.
639         * math/test-misc.c: Include <math-tests.h>.
640         (main): Only test for exceptions if EXCEPTION_TESTS is true for
641         the relevant type.
643 2013-06-12  Andreas Jaeger  <aj@suse.de>
645         * po/ia.po: Update Interlingua translation from translation
646         project.
648 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
650         * include/fenv.h: Include stdbool.h.
651         (struct rm_ctx): New structure.
652         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
653         Define macro.
654         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
655         (SET_RESTORE_ROUNDF): Likewise.
656         (SET_RESTORE_ROUNDL): Likewise.
657         (SET_RESTORE_ROUND_NOEX): Likewise.
658         (SET_RESTORE_ROUND_NOEXF): Likewise.
659         (SET_RESTORE_ROUND_NOEXL): Likewise.
660         (SET_RESTORE_ROUND_53BIT): Likewise.
661         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
662         (libc_feresetround_noexf_ctx): Likewise.
663         (libc_feresetround_noexl_ctx): Likewise.
664         (libc_feholdsetround_53bit_ctx): Likewise.
665         (libc_feresetround_53bit_ctx): Likewise.
666         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
667         (libc_feholdexcept_setround_sse_ctx): New function.
668         (libc_fesetenv_sse_ctx): Likewise.
669         (libc_feupdateenv_sse_ctx): Likewise.
670         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
671         (libc_feholdexcept_setround_387_ctx): Likewise.
672         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
673         (libc_feholdsetround_387_prec_ctx): Likewise.
674         (libc_feholdsetround_387_ctx): Likewise.
675         (libc_feholdsetround_387_53bit_ctx): Likewise.
676         (libc_feholdsetround_sse_ctx): Likewise.
677         (libc_feresetround_sse_ctx): Likewise.
678         (libc_feresetround_387_ctx): Likewise.
679         (libc_feupdateenv_387_ctx): Likewise.
680         (libc_feholdexcept_setroundf_ctx): Define macro.
681         (libc_fesetenvf_ctx): Likewise.
682         (libc_feupdateenvf_ctx): Likewise.
683         (libc_feholdsetroundf_ctx): Likewise.
684         (libc_feresetroundf_ctx): Likewise.
685         (libc_feholdexcept_setround_ctx): Likewise.
686         (libc_fesetenv_ctx): Likewise.
687         (libc_feupdateenv_ctx): Likewise.
688         (libc_feholdsetround_ctx): Likewise.
689         (libc_feresetround_ctx): Likewise.
690         (libc_feholdexcept_setroundl_ctx): Likewise.
691         (libc_feupdateenvl_ctx): Likewise.
692         (libc_feholdsetroundl_ctx): Likewise.
693         (libc_feresetroundl_ctx): Likewise.
694         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
695         (libc_feresetround_53bit_ctx): Likewise.
697 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
699         * locale/iso-639.def: Convert to UTF-8.
701 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
703         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
704         (EXCEPTION_TESTS_double): Likewise.
705         (EXCEPTION_TESTS_long_double): Likewise.
706         (EXCEPTION_TESTS): Likewise.
707         * math/libm-test.inc (test_exceptions): Only test exceptions if
708         EXCEPTION_TESTS (FLOAT).
710 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
712         * benchtests/Makefile (string-bench): Add strcpy_chk and
713         stpcpy_chk.
714         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
715         * benchtests/bench-stpcpy_chk.c: New file.
716         * benchtests/bench-strcpy_chk-ifunc.c: New file.
717         * benchtests/bench-strcpy_chk.c: New file.
718         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
719         code.
720         (do_test): Likewise.
722 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
724         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
725         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
726         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
727         with tabs where appropriate.
728         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
729         dl-procinfo.h.
730         [PPC_PLATFORM_PPC440]: Likewise.
731         [PPC_PLATFORM_PPC464]: Likewise.
732         [PPC_PLATFORM_PPC476]: Likewise.
733         (_dl_string_platform): Add support for detecting ppc405, ppc440,
734         ppc464, and ppc476 platform strings merging from ports/
735         dl-procinfo.h.
737 2013-06-11  Andreas Schwab  <schwab@suse.de>
739         [BZ #14991]
740         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
741         (from_ucs4_idx): Regenerate.
742         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
743         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
744         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
745         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
746         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
747         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
748         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
749         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
750         from FROM_LOOP and TO_LOOP specific macros.
751         (BODY): Handle combining characters.
752         * iconvdata/BIG5HKSCS.irreversible: Update.
753         * iconvdata/BIG5HKSCS.precomposed: New file.
754         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
755         characters.
756         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
758 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
760         * include/sys/time.h: Fix indentation and add copyright header.
762         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
763         (do_test): Likewise.
764         * string/test-memchr.c (do_one_test): Likewise.
765         (do_test): Likewise.
766         * string/test-memcmp.c (do_one_test): Likewise.
767         (do_test): Likewise.
768         * string/test-memcpy.c (do_one_test): Likewise.
769         (do_test): Likewise.
770         * string/test-memmem.c (do_one_test): Likewise.
771         (do_test): Likewise.
772         (do_random_tests): Likewise.
773         * string/test-memmove.c (do_one_test): Likewise.
774         (do_test): Likewise.
775         * string/test-memset.c (do_one_test): Likewise.
776         (do_test): Likewise.
777         * string/test-rawmemchr.c (do_one_test): Likewise.
778         (do_test): Likewise.
779         * string/test-strcasecmp.c (do_one_test): Likewise.
780         (do_test): Likewise.
781         * string/test-strcasestr.c (do_one_test): Likewise.
782         (do_test): Likewise.
783         * string/test-strcat.c (do_one_test): Likewise.
784         (do_test): Likewise.
785         * string/test-strchr.c (do_one_test): Likewise.
786         (do_test): Likewise.
787         * string/test-strcmp.c (do_one_test): Likewise.
788         (do_test): Likewise.
789         * string/test-strcpy.c (do_one_test): Likewise.
790         (do_test): Likewise.
791         * string/test-string.h: Likewise.
792         (test_init): Likewise.
793         * string/test-strlen.c (do_one_test): Likewise.
794         (do_test): Likewise.
795         * string/test-strncasecmp.c (do_one_test): Likewise.
796         (do_test): Likewise.
797         * string/test-strncat.c (do_one_test): Likewise.
798         (do_test): Likewise.
799         * string/test-strncmp.c (do_one_test): Likewise.
800         (do_test_limit): Likewise.
801         (do_test): Likewise.
802         * string/test-strncpy.c (do_one_test): Likewise.
803         (do_test): Likewise.
804         * string/test-strnlen.c (do_one_test): Likewise.
805         (do_test): Likewise.
806         * string/test-strpbrk.c (do_one_test): Likewise.
807         (do_test): Likewise.
808         * string/test-strrchr.c (do_one_test): Likewise.
809         (do_test): Likewise.
810         * string/test-strspn.c (do_one_test): Likewise.
811         (do_test): Likewise.
812         * string/test-strstr.c (do_one_test): Likewise.
813         (do_test): Likewise.
815         * benchtests/Makefile (string-bench): Add string benchmarks.
816         * benchtests/bench-bcopy-ifunc.c: New file.
817         * benchtests/bench-bcopy.c: New file.
818         * benchtests/bench-bzero-ifunc.c: New file.
819         * benchtests/bench-bzero.c: New file.
820         * benchtests/bench-memccpy-ifunc.c: New file.
821         * benchtests/bench-memccpy.c: New file.
822         * benchtests/bench-memchr-ifunc.c: New file.
823         * benchtests/bench-memchr.c: New file.
824         * benchtests/bench-memcmp-ifunc.c: New file.
825         * benchtests/bench-memcmp.c: New file.
826         * benchtests/bench-memmem-ifunc.c: New file.
827         * benchtests/bench-memmem.c: New file.
828         * benchtests/bench-memmove-ifunc.c: New file.
829         * benchtests/bench-memmove.c: New file.
830         * benchtests/bench-mempcpy-ifunc.c: New file.
831         * benchtests/bench-mempcpy.c: New file.
832         * benchtests/bench-memset-ifunc.c: New file.
833         * benchtests/bench-memset.c: New file.
834         * benchtests/bench-rawmemchr-ifunc.c: New file.
835         * benchtests/bench-rawmemchr.c: New file.
836         * benchtests/bench-stpcpy-ifunc.c: New file.
837         * benchtests/bench-stpcpy.c: New file.
838         * benchtests/bench-stpncpy-ifunc.c: New file.
839         * benchtests/bench-stpncpy.c: New file.
840         * benchtests/bench-strcasecmp-ifunc.c: New file.
841         * benchtests/bench-strcasecmp.c: New file.
842         * benchtests/bench-strcasestr-ifunc.c: New file.
843         * benchtests/bench-strcasestr.c: New file.
844         * benchtests/bench-strcat-ifunc.c: New file.
845         * benchtests/bench-strcat.c: New file.
846         * benchtests/bench-strchr-ifunc.c: New file.
847         * benchtests/bench-strchr.c: New file.
848         * benchtests/bench-strchrnul-ifunc.c: New file.
849         * benchtests/bench-strchrnul.c: New file.
850         * benchtests/bench-strcmp-ifunc.c: New file.
851         * benchtests/bench-strcmp.c: New file.
852         * benchtests/bench-strcpy-ifunc.c: New file.
853         * benchtests/bench-strcpy.c: New file.
854         * benchtests/bench-strcspn-ifunc.c: New file.
855         * benchtests/bench-strcspn.c: New file.
856         * benchtests/bench-strlen-ifunc.c: New file.
857         * benchtests/bench-strlen.c: New file.
858         * benchtests/bench-strncasecmp-ifunc.c: New file.
859         * benchtests/bench-strncasecmp.c: New file.
860         * benchtests/bench-strncat-ifunc.c: New file.
861         * benchtests/bench-strncat.c: New file.
862         * benchtests/bench-strncmp-ifunc.c: New file.
863         * benchtests/bench-strncmp.c: New file.
864         * benchtests/bench-strncpy-ifunc.c: New file.
865         * benchtests/bench-strncpy.c: New file.
866         * benchtests/bench-strnlen-ifunc.c: New file.
867         * benchtests/bench-strnlen.c: New file.
868         * benchtests/bench-strpbrk-ifunc.c: New file.
869         * benchtests/bench-strpbrk.c: New file.
870         * benchtests/bench-strrchr-ifunc.c: New file.
871         * benchtests/bench-strrchr.c: New file.
872         * benchtests/bench-strspn-ifunc.c: New file.
873         * benchtests/bench-strspn.c: New file.
874         * benchtests/bench-strstr-ifunc.c: New file.
875         * benchtests/bench-strstr.c: New file.
877         * benchtests/Makefile: Disable parallel execution of targets.
878         (string-bench): Add memcpy.
879         (benchset): New variable to store a list of benchmark sets.
880         (bench-func): Renamed from bench.
881         (bench-set): New target.
882         (bench): Depend on bench-func and bench-set.
883         * benchtests/README: Add section on benchmark sets.
884         * benchtests/bench-memcpy-ifunc.c: New file.
885         * benchtests/bench-memcpy.c: New file.
886         * benchtests/bench-string.h: New file.
888 2013-06-11  Andreas Schwab  <schwab@suse.de>
890         [BZ #15577]
891         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
892         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
893         values in the triple.
894         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
895         terminator in the group key.
897 2013-06-11  Andreas Jaeger  <aj@suse.de>
899         * po/zh_TW.po: Update Chinese (traditional) translation from
900         translation project.
902 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
904         * include/time.h (__clock_gettime): Add libc_hidden_proto.
905         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
906         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
907         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
908         (clock_getcpuclockid): Likewise.
909         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
910         Add weak_alias and libc_hidden_def.
911         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
912         * rt/clock_gettime.c (clock_gettime): Rename to
913         __clock_gettime.  Add weak_alias and libc_hidden_def.
914         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
915         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
916         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
917         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
918         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
919         Likewise.
920         * rt/clock_settime.c (clock_settime): Rename to
921         __clock_settime.  Add weak_alias and libc_hidden_def.
922         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
924 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
926         * mach/err_boot.sub: Remove trailing whitespace.
927         * mach/err_ipc.sub: Likewise.
928         * mach/err_mach.sub: Likewise.
930         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
931         (ROUNDING_TESTS_double): Likewise.
932         (ROUNDING_TESTS_long_double): Likewise.
933         (ROUNDING_TESTS): Likewise.
934         * math/libm-test.inc: Include <math-tests.h>.
935         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
936         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
937         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
938         (IF_ROUND_INIT_FE_UPWARD): Likewise.
940 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
942         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
943         of assigning.
945 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
947         * sysdeps/gnu/errlist.awk: Do not generate space at end of
948         otherwise empty TRANS lines.
949         * sysdeps/gnu/errlist.c: Regenerated.
951         * catgets/gencat.c (error_print): Use (void) in function
952         definition.
953         * crypt/crypt_util.c (__init_des): Likewise.
954         * crypt/speeds.c (Stop): Likewise.
955         (main): Likewise.
956         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
957         * inet/ruserpass.c (token): Likewise.
958         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
959         * intl/localealias.c (extend_alias_table): Likewise.
960         * intl/plural-exp.c (init_germanic_plural): Likewise.
961         * libio/fcloseall.c (__fcloseall): Likewise.
962         * libio/genops.c (_IO_flush_all): Likewise.
963         (_IO_flush_all_linebuffered): Likewise.
964         (_IO_cleanup): Likewise.
965         (_IO_iter_begin): Likewise.
966         (_IO_iter_end): Likewise.
967         (_IO_list_lock): Likewise.
968         (_IO_list_unlock): Likewise.
969         (_IO_list_resetlock): Likewise.
970         * libio/getchar.c (getchar): Likewise.
971         * libio/getchar_u.c (getchar_unlocked): Likewise.
972         * libio/getwchar.c (getwchar): Likewise.
973         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
974         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
975         * login/getpt.c (__getpt): Likewise.
976         * login/tst-utmp.c (main): Likewise.
977         * malloc/hooks.c (__malloc_check_init): Likewise.
978         * malloc/malloc.c (__malloc_stats): Likewise.
979         * malloc/mtrace.c (tr_break): Likewise.
980         (mtrace): Likewise.
981         (muntrace): Likewise.
982         * misc/fstab.c (endfsent): Likewise.
983         * misc/getclktck.c (__getclktck): Likewise.
984         * misc/getdtsz.c (__getdtablesize): Likewise.
985         * misc/gethostid.c (gethostid): Likewise.
986         * misc/getpagesize.c (__getpagesize): Likewise.
987         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
988         (__get_nprocs): Likewise.
989         (__get_phys_pages): Likewise.
990         (__get_avphys_pages): Likewise.
991         * misc/getttyent.c (getttyent): Likewise.
992         (setttyent): Likewise.
993         (endttyent): Likewise.
994         * misc/getusershell.c (getusershell): Likewise.
995         (endusershell): Likewise.
996         (setusershell): Likewise.
997         (initshells): Likewise.
998         * misc/hsearch.c (__hdestroy): Likewise.
999         * misc/sync.c (sync): Likewise.
1000         * misc/syslog.c (closelog_internal): Likewise.
1001         (closelog): Likewise.
1002         * misc/ttyslot.c (ttyslot): Likewise.
1003         * misc/vhangup.c (vhangup): Likewise.
1004         * posix/fork.c (__fork): Likewise.
1005         * posix/getegid.c (__getegid): Likewise.
1006         * posix/geteuid.c (__geteuid): Likewise.
1007         * posix/getgid.c (__getgid): Likewise.
1008         * posix/getpid.c (__getpid): Likewise.
1009         * posix/getppid.c (__getppid): Likewise.
1010         * posix/getuid.c (__getuid): Likewise.
1011         * posix/pause.c (pause): Likewise.
1012         * posix/setpgrp.c (setpgrp): Likewise.
1013         * posix/setsid.c (__setsid): Likewise.
1014         * posix/test-vfork.c (noop): Likewise.
1015         * resolv/gethnamaddr.c (_endhtent): Likewise.
1016         (_gethtent): Likewise.
1017         (ht_endhostent): Likewise.
1018         (gethostent): Likewise.
1019         (dns_service): Likewise.
1020         * stdlib/drand48.c (drand48): Likewise.
1021         * stdlib/lrand48.c (lrand48): Likewise.
1022         * stdlib/mrand48.c (mrand48): Likewise.
1023         * stdlib/rand.c (rand): Likewise.
1024         * stdlib/random.c (__random): Likewise.
1025         * stdlib/setenv.c (clearenv): Likewise.
1026         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1027         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1028         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1029         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1030         (__get_nprocs): Likewise.
1031         (__get_phys_pages): Likewise.
1032         (__get_avphys_pages): Likewise.
1033         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1034         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1035         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1036         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1037         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1038         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1039         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1040         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1041         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1042         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1043         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1044         * sysdeps/mach/hurd/sync.c (sync): Likewise.
1045         * sysdeps/posix/clock.c (clock): Likewise.
1046         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1047         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1048         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1049         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1050         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1051         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1052         (__get_nprocs_conf): Likewise.
1053         (__get_phys_pages): Likewise.
1054         (__get_avphys_pages): Likewise.
1055         * time/clock.c (clock): Likewise.
1056         * time/tzset.c (__tzname_max): Likewise.
1058 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
1060         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1061         (__bswap_32): Do not use "register".
1062         * crypt/crypt.c (_ufc_doit_r): Likewise.
1063         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1064         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1065         * gmon/gmon.c (__monstartup): Likewise.
1066         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1067         * hurd/hurdmalloc.c (more_memory): Likewise.
1068         (malloc): Likewise.
1069         (free): Likewise.
1070         (realloc): Likewise.
1071         (malloc_fork_prepare): Likewise.
1072         (malloc_fork_parent): Likewise.
1073         (malloc_fork_child): Likewise.
1074         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1075         (_svcauth_des): Likewise.
1076         * inet/inet_lnaof.c (inet_lnaof): Likewise.
1077         * inet/inet_net.c (inet_network): Likewise.
1078         * inet/inet_netof.c (inet_netof): Likewise.
1079         * inet/rcmd.c (__validuser2_sa): Likewise.
1080         * io/fts.c (fts_open): Likewise.
1081         (fts_load): Likewise.
1082         (fts_close): Likewise.
1083         (fts_read): Likewise.
1084         (fts_children): Likewise.
1085         (fts_build): Likewise.
1086         (fts_stat): Likewise.
1087         (fts_sort): Likewise.
1088         (fts_alloc): Likewise.
1089         (fts_lfree): Likewise.
1090         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1091         (_IO_file_xsgetn): Likewise.
1092         (_IO_file_xsgetn_mmap): Likewise.
1093         * libio/iofopncook.c (_IO_cookie_read): Likewise.
1094         (_IO_cookie_write): Likewise.
1095         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1096         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1097         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1098         * malloc/obstack.c (_obstack_begin): Likewise.
1099         (_obstack_begin_1): Likewise.
1100         (_obstack_newchunk): Likewise.
1101         (_obstack_allocated_p): Likewise.
1102         (obstack_free): Likewise.
1103         (_obstack_memory_used): Likewise.
1104         * misc/getttyent.c (getttynam): Likewise.
1105         (getttyent): Likewise.
1106         (skip): Likewise.
1107         (value): Likewise.
1108         * misc/getusershell.c (initshells): Likewise.
1109         * misc/syslog.c (__vsyslog_chk): Likewise.
1110         * misc/ttyslot.c (ttyslot): Likewise.
1111         * nis/nis_hash.c (__nis_hash): Likewise.
1112         * posix/fnmatch_loop.c (FCT): Likewise.
1113         * posix/getconf.c (print_all): Likewise.
1114         (main): Likewise.
1115         * posix/getopt.c (exchange): Likewise.
1116         * posix/glob.c (globfree): Likewise.
1117         (prefix_array): Likewise.
1118         (__glob_pattern_type): Likewise.
1119         * resolv/arpa/nameser.h (NS_GET16): Likewise.
1120         (NS_GET32): Likewise.
1121         (NS_PUT16): Likewise.
1122         (NS_PUT32): Likewise.
1123         * resolv/gethnamaddr.c (getanswer): Likewise.
1124         (gethostbyname2): Likewise.
1125         (gethostbyaddr): Likewise.
1126         (_gethtent): Likewise.
1127         (_gethtbyname2): Likewise.
1128         (_gethtbyaddr): Likewise.
1129         * resolv/ns_print.c (dst_s_get_int16): Likewise.
1130         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1131         * resolv/res_init.c (__res_vinit): Likewise.
1132         (net_mask): Likewise.
1133         * resolv/res_mkquery.c (outchar): Likewise.
1134         (PRINT): Likewise.
1135         * stdio-common/printf_fp.c (outchar): Likewise.
1136         (PRINT): Likewise.
1137         * stdio-common/printf_fphex.c (outchar): Likewise.
1138         (PRINT): Likewise.
1139         * stdio-common/printf_size.c (outchar): Likewise.
1140         (PRINT): Likewise.
1141         * stdio-common/test_rdwr.c (main): Likewise.
1142         * stdio-common/tfformat.c (matches): Likewise.
1143         * stdio-common/vfprintf.c (outchar): Likewise.
1144         (printf_unknown): Likewise.
1145         (buffered_vfprintf): Likewise.
1146         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1147         * stdio-common/xbug.c (AppendToBuffer): Likewise.
1148         (ReadFile): Likewise.
1149         * stdlib/qsort.c (SWAP): Likewise.
1150         (_quicksort): Likewise.
1151         * stdlib/setenv.c (__add_to_environ): Likewise.
1152         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1153         * stdlib/strtol_l.c (__strtol_l): Likewise.
1154         * stdlib/tst-strtod.c (main): Likewise.
1155         * stdlib/tst-strtol.c (main): Likewise.
1156         * stdlib/tst-strtoll.c (main): Likewise.
1157         * string/bits/string2.h (__strcmp_cc): Likewise.
1158         (__strcmp_cg): Likewise.
1159         (__strcspn_c1): Likewise.
1160         (__strcspn_c2): Likewise.
1161         (__strcspn_c3): Likewise.
1162         (__strspn_c1): Likewise.
1163         (__strspn_c2): Likewise.
1164         (__strspn_c3): Likewise.
1165         (__strsep_1c): Likewise.
1166         (__strsep_2c): Likewise.
1167         (__strsep_3c): Likewise.
1168         * string/memccpy.c (__memccpy): Likewise.
1169         * string/stpcpy.c (__stpcpy): Likewise.
1170         * string/strcmp.c (strcmp): Likewise.
1171         * string/strrchr.c (strrchr): Likewise.
1172         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1173         Likewise.
1174         * sysdeps/mach/hurd/getcwd.c
1175         (_hurd_canonicalize_directory_name_internal): Likewise.
1176         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1177         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1178         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1179         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1180         Likewise, in both definitions.
1181         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1182         definitions.
1183         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1184         64] (__bswap_64): Likewise.
1185         * time/test_time.c (main): Likewise.
1186         * time/tzfile.c (__tzfile_read): Likewise.
1187         (__tzfile_compute): Likewise.
1188         * time/tzset.c (__tzset_parse_tz): Likewise.
1189         (tzset_internal): Likewise.
1190         (compute_change): Likewise.
1191         * wcsmbs/wcscat.c (__wcscat): Likewise.
1192         * wcsmbs/wcschr.c (wcschr): Likewise.
1193         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1194         * wcsmbs/wcscspn.c (wcscspn): Likewise.
1195         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1196         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1197         * wcsmbs/wcsspn.c (wcsspn): Likewise.
1198         * wcsmbs/wcsstr.c (wcsstr): Likewise.
1199         * wcsmbs/wmemchr.c (wmemchr): Likewise.
1200         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1201         * wcsmbs/wmemset.c (wmemset): Likewise.
1203 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
1205         * scripts/config.guess: Update to version 2013-05-16.
1206         * scripts/config.sub: Update to version 2013-04-24.
1207         * scripts/install-sh: Update to version 2011-11-20.07.
1208         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1209         * scripts/move-if-change: Update to version 2012-01-06 07:23.
1211 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
1213         * debug/fgetws_u_chk.c: Fix leading whitespaces.
1214         * elf/sln.c: Likewise.
1215         * hurd/hurd/ioctl.h: Likewise.
1216         * hurd/hurdmalloc.c: Likewise.
1217         * hurd/xattr.c: Likewise.
1218         * include/shlib-compat.h: Likewise.
1219         * inet/ruserpass.c: Likewise.
1220         * libio/iofgets_u.c: Likewise.
1221         * libio/iofgetws_u.c: Likewise.
1222         * locale/programs/ld-identification.c: Likewise.
1223         * locale/programs/ld-time.c: Likewise.
1224         * mach/msg-destroy.c: Likewise.
1225         * nss/nss_files/files-netgrp.c: Likewise.
1226         * resolv/res_data.c: Likewise.
1227         * soft-fp/op-1.h: Likewise.
1228         * soft-fp/op-2.h: Likewise.
1229         * soft-fp/op-4.h: Likewise.
1230         * soft-fp/op-common.h: Likewise.
1231         * stdio-common/printf_fphex.c: Likewise.
1232         * stdlib/strtod_l.c: Likewise.
1233         * sunrpc/rpc/clnt.h: Likewise.
1234         * sysdeps/generic/framestate.c: Likewise.
1235         * sysdeps/i386/bsd-_setjmp.S: Likewise.
1236         * sysdeps/i386/bsd-setjmp.S: Likewise.
1237         * sysdeps/i386/__longjmp.S: Likewise.
1238         * sysdeps/i386/setjmp.S: Likewise.
1239         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1240         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1241         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1242         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1243         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1244         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1245         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1246         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1247         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1248         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1249         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1250         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1251         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1252         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1253         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1254         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1255         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1256         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1257         * sysdeps/ieee754/support.c: Likewise.
1258         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1259         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1260         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1261         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1262         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1263         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1264         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1265         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1266         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1267         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1268         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1269         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1270         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1271         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1272         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1273         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1274         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1277 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
1279         * posix/transbug.c: Remove executable mode.
1281 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
1283         * crypt/speeds.c: Remove trailing whitespace.
1284         * dlfcn/default.c: Likewise.
1285         * elf/ifuncdep2.c: Likewise.
1286         * elf/ifuncmain1.c: Likewise.
1287         * elf/ifuncmain1vis.c: Likewise.
1288         * elf/testobj.h: Likewise.
1289         * elf/tst-stackguard1.c: Likewise.
1290         * gmon/sys/gmon.h: Likewise.
1291         * hurd/hurdmsg.c: Likewise.
1292         * hurd/new-fd.c: Likewise.
1293         * hurd/ports-get.c: Likewise.
1294         * iconvdata/ibm1008_420.c: Likewise.
1295         * inet/tst-getni1.c: Likewise.
1296         * inet/tst-getni2.c: Likewise.
1297         * libio/ioungetc.c: Likewise.
1298         * libio/wfiledoalloc.c: Likewise.
1299         * manual/libm-err-tab.pl: Likewise.
1300         * math/w_dremf.c: Likewise.
1301         * misc/ftruncate.c: Likewise.
1302         * posix/bug-glob2.c: Likewise.
1303         * posix/tst-pcre.c: Likewise.
1304         * posix/wait4.c: Likewise.
1305         * resolv/README: Likewise.
1306         * resolv/res_debug.h: Likewise.
1307         * resolv/tst-inet_ntop.c: Likewise.
1308         * setjmp/bug269-setjmp.c: Likewise.
1309         * soft-fp/extended.h: Likewise.
1310         * soft-fp/op-1.h: Likewise.
1311         * soft-fp/op-2.h: Likewise.
1312         * soft-fp/op-4.h: Likewise.
1313         * soft-fp/op-8.h: Likewise.
1314         * soft-fp/testit.c: Likewise.
1315         * stdio-common/bug16.c: Likewise.
1316         * stdlib/random.c: Likewise.
1317         * sunrpc/rpcsvc/rquota.x: Likewise.
1318         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1319         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1320         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1321         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1322         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1323         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1324         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1325         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1326         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1327         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1328         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1329         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1330         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1331         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1332         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1333         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1334         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1335         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1336         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1337         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1338         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1339         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1340         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1341         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1342         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1343         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1344         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1345         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1346         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1347         * sysdeps/ieee754/s_lib_version.c: Likewise.
1348         * sysdeps/mach/hurd/check_fds.c: Likewise.
1349         * sysdeps/mach/hurd/getsockname.c: Likewise.
1350         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1351         * sysdeps/mach/hurd/recvfrom.c: Likewise.
1352         * sysdeps/powerpc/bits/link.h: Likewise.
1353         * sysdeps/powerpc/dl-procinfo.c: Likewise.
1354         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1355         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1356         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1357         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1358         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1359         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1360         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1361         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1362         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1363         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1364         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1365         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1366         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1367         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1368         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1369         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1370         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1371         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1372         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1373         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1374         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1375         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1376         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1377         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1378         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1379         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1380         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1381         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1382         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1383         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1384         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1385         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1386         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1387         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1388         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1389         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1390         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1391         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1392         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1393         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1394         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1395         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1396         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1397         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1398         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1399         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1400         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1401         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1402         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1403         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1404         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1405         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1406         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1407         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1408         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1409         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1410         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1411         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1412         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1413         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1414         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1415         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1416         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1417         * sysdeps/powerpc/sysdep.h: Likewise.
1418         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1419         * sysdeps/s390/s390-64/sub_n.S: Likewise.
1420         * sysdeps/sh/dl-trampoline.S: Likewise.
1421         * sysdeps/sh/memset.S: Likewise.
1422         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1423         * sysdeps/sh/strlen.S: Likewise.
1424         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1425         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1426         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1427         * sysdeps/sparc/sparc32/rem.S: Likewise.
1428         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1429         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1430         * sysdeps/sparc/sparc32/strchr.S: Likewise.
1431         * sysdeps/sparc/sparc32/udiv.S: Likewise.
1432         * sysdeps/sparc/sparc32/urem.S: Likewise.
1433         * sysdeps/sparc/sparc64/add_n.S: Likewise.
1434         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1435         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1436         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1437         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1438         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1439         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1440         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1441         * sysdeps/unix/bsd/times.c: Likewise.
1442         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1443         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1447         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1448         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1449         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1450         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1451         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1452         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1453         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1454         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1455         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1456         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1457         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1458         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1459         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1460         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1461         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1462         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1463         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1464         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1465         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1466         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1467         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1468         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1469         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1470         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1471         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1472         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1473         * sysdeps/x86_64/strcspn.S: Likewise.
1475 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1477         * locale/C-translit.h: Revert #include <stdint.h> because this is a
1478         generated file.  Regenerate properly from gen-translit.pl.
1479         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
1480         locale/C-translit.h.
1482 2013-06-05  Andreas Schwab  <schwab@suse.de>
1484         [BZ #15100]
1485         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1486         week as 6 instead of -1.
1487         * time/tst-strptime.c (day_tests): Add test case.
1489 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1491         * sysdeps/generic/math_private.h
1492         (libc_feholdexcept_setround_53bit): Replace with
1493         libc_feholdsetround_53bit.
1494         (libc_feupdateenv_53bit): Replace with
1495         libc_feresetround_53bit.
1496         (SET_RESTORE_ROUND_53BIT): Adjust.
1498 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1500         * string/test-strchrnul.c: Add copyright header.
1502         * posix/tst-getaddrinfo4.c: Increase test timeout.
1504 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
1506         [BZ #15536]
1507         * math/libm-test.inc (MAX_EXP): Remove
1508         (MIN_EXP): Define.
1509         (ulp): Use MIN_EXP - MANT_DIG.
1510         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1512 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
1514         * po/be.po: Revert last change.
1515         * po/zh_CN.po: Likewise.
1516         * po/header.pot: Likewise.
1518 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
1520         * Makefile ($(common-objpfx)linkobj/libc.so): Define
1521         link-libc-deps to empty as target-specific variable.
1522         * Makerules (link-libc-args): New variable.
1523         (libc-for-link): Likewise.
1524         (link-libc-deps): Likewise.
1525         (lib%.so): Depend on $(link-libc-deps).  Link with
1526         $(link-libc-args).
1527         (build-module): Link with $(link-libc-args).
1528         (build-module-asneeded): Likewise.
1529         (build-module-helper-objlist): Filter out $(link-libc-deps) from
1530         list of objects.
1531         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1532         target-specific variable.
1533         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1534         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1535         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1536         libc.
1537         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1538         libc and ld.so.
1539         ($(objpfx)libpcprofile.so): Likewise.
1540         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1541         libc_nonshared.a.
1542         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1543         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1544         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1545         $(link-libc-deps).
1546         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1547         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1548         * login/Makefile ($(objpfx)libutil.so): Likewise.
1549         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1550         * math/Makefile ($(objpfx)libm.so): Likewise.
1551         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1552         $(objpfx)libnsl.so): Define libc-for-link as target-specific
1553         variable instead of depending directly on libc.
1554         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1555         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1556         $(link-libc-deps).
1557         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1558         libc.
1559         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1560         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1561         ($(objpfx)libanl.so): Likewise.
1562         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1563         ld.so.
1564         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1565         $(link-libc-deps).
1566         * sysdeps/i386/fpu/Makefile: Remove file.
1567         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1568         ($(objpfx)libm.so): Remove dependency on ld.so.
1570 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
1572         [BZ # 15553]
1573         * nis/yp_xdr.c (XDRMAXNAME): Define.
1574         (XDRMAXRECORD): Define.
1575         (xdr_domainname): Use XDRMAXNAME.
1576         (xdr_mapname): Likewise.
1577         (xdr_peername): Likewise.
1578         (xdr_keydat): Use XDRMAXRECORD.
1579         (xdr_valdat): Likewise.
1581 2013-05-30  Jeff Law  <law@redhat.com>
1583         [BZ #14256]
1584         * manual/errno.texi (ESTALE): Update to account for more than
1585         just NFS file systems.
1586         * sysdeps/gnu/errlist.c: Regenerated.
1588 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1590         [BZ #15465]
1591         * elf/Makefile (tests): Add tst-null-argv.
1592         (modules-names):  Add tst-null-argv-lib.
1593         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1594         (tst-null-argv-ENV): Set environment for tst-null-argv.
1595         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1596         (RTLD_PROGNAME): New macro.
1597         * elf/tst-null-argv.c: New test case.
1598         * elf/tst-null-argv-lib.c: Library for test case.
1599         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1600         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1601         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1602         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1603         * elf/dl-init.c (call_init): Likewise.
1604         (_dl_init): Likewise.
1605         * elf/dl-load.c (print_search_path): Likewise.
1606         (_dl_map_object): Likewise.
1607         * elf/dl-lookup.c (do_lookup_x): Likewise.
1608         (add_dependency): Likewise.
1609         (_dl_lookup_symbol_x): Likewise.
1610         (_dl_debug_bindings): Likewise.
1611         * elf/dl-open.c (_dl_show_scope): Likewise.
1612         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1613         * elf/dl-version.c (match_symbol): Likewise.
1614         (_dl_check_map_versions): Likewise.
1615         * elf/rtld.c (dl_main): Likewise.
1616         (print_unresolved): Use RTLD_PROGNAME.
1617         (print_missing_version): Likewise.
1618         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1619         (elf_machine_rela): Likewise.
1620         * sysdeps/powerpc/powerpc32/dl-machine.c
1621         (__process_machine_rela): Likewise.
1622         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1623         Likewise.
1624         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1625         Likewise.
1626         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1627         Likewise.
1628         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1629         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1630         Likewise.
1631         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1632         Likewise.
1633         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1635 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
1637         * po/be.po: Add descriptive title.
1638         * po/zh_CN.po: Likewise.
1639         * po/header.pot: Likewise.
1641 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
1643         * locale/programs/locarchive.c (create_archive): Inlucde fname in
1644         error message.
1645         (enlarge_archive): Likewise.
1647 2013-05-28  Ben North  <ben@redfrontdoor.org>
1649         * manual/arith.texi (frexp): It is the magnitude of the return
1650         value which lies in [0.5, 1), not the return value itself.
1652 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1656 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
1658         * stdio-common/bug26.c (main): Correct fscanf template.
1660         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1661         declare _dl_skip_args.
1663         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1664         Don't declare.
1666         * manual/platform.texi: Add missing @end deftypefun.
1668 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
1670         [BZ #15529]
1671         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1672         bit of mantissa of 2^16382.
1673         * math/libm-test.inc (hypot_test_data): Add more tests.
1675         * math/libm-test.inc: Add drem and pow10 to list of tested
1676         functions.
1677         (pow10_test): New function.
1678         (drem_test): Likewise.
1679         (drem_test_tonearest): Likewise.
1680         (drem_test_towardzero): Likewise.
1681         (drem_test_downward): Likewise.
1682         (drem_test_upward): Likewise.
1683         (main): Call the new functions.
1685         * math/libm-test.inc (finite_test_data): Remove.
1686         (finite_test): Run tests from isfinite_test_data.
1687         (gamma_test_data): Remove.
1688         (gamma_test): Run tests from lgamma_test_data.
1689         * sysdeps/i386/fpu/libm-test-ulps: Update.
1690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1692 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1694         * manual/platform.texi: Add PowerPC PPR function set documentation.
1695         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1696         implementation.
1698 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
1700         * math/libm-test.inc (MAX_EXP): Define.
1701         (ULPDIFF): Define.
1702         (ulp): New function.
1703         (check_float_internal): Use ULPDIFF.
1704         (cpow_test): Disable failing test.
1705         (check_ulp): Test ulp() implemetnation.
1706         (main): Call check_ulp before starting tests.
1708 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
1710         * math/gen-libm-test.pl (generate_testfile): Do not handle
1711         START_DATA and END_DATA.
1712         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1713         END_DATA.
1714         (acos_tonearest_test_data): Likewise.
1715         (acos_towardzero_test_data): Likewise.
1716         (acos_downward_test_data): Likewise.
1717         (acos_upward_test_data): Likewise.
1718         (acosh_test_data): Likewise.
1719         (asin_test_data): Likewise.
1720         (asin_tonearest_test_data): Likewise.
1721         (asin_towardzero_test_data): Likewise.
1722         (asin_downward_test_data): Likewise.
1723         (asin_upward_test_data): Likewise.
1724         (asinh_test_data): Likewise.
1725         (atan_test_data): Likewise.
1726         (atanh_test_data): Likewise.
1727         (atan2_test_data): Likewise.
1728         (cabs_test_data): Likewise.
1729         (cacos_test_data): Likewise.
1730         (cacosh_test_data): Likewise.
1731         (carg_test_data): Likewise.
1732         (casin_test_data): Likewise.
1733         (casinh_test_data): Likewise.
1734         (catan_test_data): Likewise.
1735         (catanh_test_data): Likewise.
1736         (cbrt_test_data): Likewise.
1737         (ccos_test_data): Likewise.
1738         (ccosh_test_data): Likewise.
1739         (ceil_test_data): Likewise.
1740         (cexp_test_data): Likewise.
1741         (cimag_test_data): Likewise.
1742         (clog_test_data): Likewise.
1743         (clog10_test_data): Likewise.
1744         (conj_test_data): Likewise.
1745         (copysign_test_data): Likewise.
1746         (cos_test_data): Likewise.
1747         (cos_tonearest_test_data): Likewise.
1748         (cos_towardzero_test_data): Likewise.
1749         (cos_downward_test_data): Likewise.
1750         (cos_upward_test_data): Likewise.
1751         (cosh_test_data): Likewise.
1752         (cosh_tonearest_test_data): Likewise.
1753         (cosh_towardzero_test_data): Likewise.
1754         (cosh_downward_test_data): Likewise.
1755         (cosh_upward_test_data): Likewise.
1756         (cpow_test_data): Likewise.
1757         (cproj_test_data): Likewise.
1758         (creal_test_data): Likewise.
1759         (csin_test_data): Likewise.
1760         (csinh_test_data): Likewise.
1761         (csqrt_test_data): Likewise.
1762         (ctan_test_data): Likewise.
1763         (ctan_tonearest_test_data): Likewise.
1764         (ctan_towardzero_test_data): Likewise.
1765         (ctan_downward_test_data): Likewise.
1766         (ctan_upward_test_data): Likewise.
1767         (ctanh_test_data): Likewise.
1768         (ctanh_tonearest_test_data): Likewise.
1769         (ctanh_towardzero_test_data): Likewise.
1770         (ctanh_downward_test_data): Likewise.
1771         (ctanh_upward_test_data): Likewise.
1772         (erf_test_data): Likewise.
1773         (erfc_test_data): Likewise.
1774         (exp_test_data): Likewise.
1775         (exp_tonearest_test_data): Likewise.
1776         (exp_towardzero_test_data): Likewise.
1777         (exp_downward_test_data): Likewise.
1778         (exp_upward_test_data): Likewise.
1779         (exp10_test_data): Likewise.
1780         (exp2_test_data): Likewise.
1781         (expm1_test_data): Likewise.
1782         (fabs_test_data): Likewise.
1783         (fdim_test_data): Likewise.
1784         (finite_test_data): Likewise.
1785         (floor_test_data): Likewise.
1786         (fma_test_data): Likewise.
1787         (fma_towardzero_test_data): Likewise.
1788         (fma_downward_test_data): Likewise.
1789         (fma_upward_test_data): Likewise.
1790         (fmax_test_data): Likewise.
1791         (fmin_test_data): Likewise.
1792         (fmod_test_data): Likewise.
1793         (fpclassify_test_data): Likewise.
1794         (frexp_test_data): Likewise.
1795         (gamma_test_data): Likewise.
1796         (hypot_test_data): Likewise.
1797         (ilogb_test_data): Likewise.
1798         (isfinite_test_data): Likewise.
1799         (isgreater_test_data): Likewise.
1800         (isgreaterequal_test_data): Likewise.
1801         (isinf_test_data): Likewise.
1802         (isless_test_data): Likewise.
1803         (islessequal_test_data): Likewise.
1804         (islessgreater_test_data): Likewise.
1805         (isnan_test_data): Likewise.
1806         (isnormal_test_data): Likewise.
1807         (issignaling_test_data): Likewise.
1808         (isunordered_test_data): Likewise.
1809         (j0_test_data): Likewise.
1810         (j1_test_data): Likewise.
1811         (jn_test_data): Likewise.
1812         (ldexp_test_data): Likewise.
1813         (lgamma_test_data): Likewise.
1814         (lrint_test_data): Likewise.
1815         (lrint_tonearest_test_data): Likewise.
1816         (lrint_towardzero_test_data): Likewise.
1817         (lrint_downward_test_data): Likewise.
1818         (lrint_upward_test_data): Likewise.
1819         (llrint_test_data): Likewise.
1820         (llrint_tonearest_test_data): Likewise.
1821         (llrint_towardzero_test_data): Likewise.
1822         (llrint_downward_test_data): Likewise.
1823         (llrint_upward_test_data): Likewise.
1824         (log_test_data): Likewise.
1825         (log10_test_data): Likewise.
1826         (log1p_test_data): Likewise.
1827         (log2_test_data): Likewise.
1828         (logb_test_data): Likewise.
1829         (logb_downward_test_data): Likewise.
1830         (lround_test_data): Likewise.
1831         (llround_test_data): Likewise.
1832         (modf_test_data): Likewise.
1833         (nearbyint_test_data): Likewise.
1834         (nextafter_test_data): Likewise.
1835         (nexttoward_test_data): Likewise.
1836         (pow_test_data): Likewise.
1837         (pow_tonearest_test_data): Likewise.
1838         (pow_towardzero_test_data): Likewise.
1839         (pow_downward_test_data): Likewise.
1840         (pow_upward_test_data): Likewise.
1841         (remainder_test_data): Likewise.
1842         (remainder_tonearest_test_data): Likewise.
1843         (remainder_towardzero_test_data): Likewise.
1844         (remainder_downward_test_data): Likewise.
1845         (remainder_upward_test_data): Likewise.
1846         (remquo_test_data): Likewise.
1847         (rint_test_data): Likewise.
1848         (rint_tonearest_test_data): Likewise.
1849         (rint_towardzero_test_data): Likewise.
1850         (rint_downward_test_data): Likewise.
1851         (rint_upward_test_data): Likewise.
1852         (round_test_data): Likewise.
1853         (scalb_test_data): Likewise.
1854         (scalbn_test_data): Likewise.
1855         (scalbln_test_data): Likewise.
1856         (signbit_test_data): Likewise.
1857         (sin_test_data): Likewise.
1858         (sin_tonearest_test_data): Likewise.
1859         (sin_towardzero_test_data): Likewise.
1860         (sin_downward_test_data): Likewise.
1861         (sin_upward_test_data): Likewise.
1862         (sincos_test_data): Likewise.
1863         (sinh_test_data): Likewise.
1864         (sinh_tonearest_test_data): Likewise.
1865         (sinh_towardzero_test_data): Likewise.
1866         (sinh_downward_test_data): Likewise.
1867         (sinh_upward_test_data): Likewise.
1868         (sqrt_test_data): Likewise.
1869         (tan_test_data): Likewise.
1870         (tan_tonearest_test_data): Likewise.
1871         (tan_towardzero_test_data): Likewise.
1872         (tan_downward_test_data): Likewise.
1873         (tan_upward_test_data): Likewise.
1874         (tanh_test_data): Likewise.
1875         (tgamma_test_data): Likewise.
1876         (trunc_test_data): Likewise.
1877         (y0_test_data): Likewise.
1878         (y1_test_data): Likewise.
1879         (yn_test_data): Likewise.
1880         (significand_test_data): Likewise.
1882         * math/gen-libm-test.pl (@functions): Remove variable.
1883         (generate_testfile): Don't handle START and END lines.
1884         * math/libm-test.inc (START): New macro.
1885         (END): Likewise.
1886         (END_COMPLEX): Likewise.
1887         (acos_test): Use END macro without arguments.
1888         (acos_test_tonearest): Likewise.
1889         (acos_test_towardzero): Likewise.
1890         (acos_test_downward): Likewise.
1891         (acos_test_upward): Likewise.
1892         (acosh_test): Likewise.
1893         (asin_test): Likewise.
1894         (asin_test_tonearest): Likewise.
1895         (asin_test_towardzero): Likewise.
1896         (asin_test_downward): Likewise.
1897         (asin_test_upward): Likewise.
1898         (asinh_test): Likewise.
1899         (atan_test): Likewise.
1900         (atanh_test): Likewise.
1901         (atan2_test): Likewise.
1902         (cabs_test): Likewise.
1903         (cacos_test): Use END_COMPLEX macro without arguments.
1904         (cacosh_test): Likewise.
1905         (carg_test): Use END macro without arguments.
1906         (casin_test): Use END_COMPLEX macro without arguments.
1907         (casinh_test): Likewise.
1908         (catan_test): Likewise.
1909         (catanh_test): Likewise.
1910         (cbrt_test): Use END macro without arguments.
1911         (ccos_test): Use END_COMPLEX macro without arguments.
1912         (ccosh_test): Likewise.
1913         (ceil_test): Use END macro without arguments.
1914         (cexp_test): Use END_COMPLEX macro without arguments.
1915         (cimag_test): Use END macro without arguments.
1916         (clog_test): Use END_COMPLEX macro without arguments.
1917         (clog10_test): Likewise.
1918         (conj_test): Likewise.
1919         (copysign_test): Use END macro without arguments.
1920         (cos_test): Likewise.
1921         (cos_test_tonearest): Likewise.
1922         (cos_test_towardzero): Likewise.
1923         (cos_test_downward): Likewise.
1924         (cos_test_upward): Likewise.
1925         (cosh_test): Likewise.
1926         (cosh_test_tonearest): Likewise.
1927         (cosh_test_towardzero): Likewise.
1928         (cosh_test_downward): Likewise.
1929         (cosh_test_upward): Likewise.
1930         (cpow_test): Use END_COMPLEX macro without arguments.
1931         (cproj_test): Likewise.
1932         (creal_test): Use END macro without arguments.
1933         (csin_test): Use END_COMPLEX macro without arguments.
1934         (csinh_test): Likewise.
1935         (csqrt_test): Likewise.
1936         (ctan_test): Likewise.
1937         (ctan_test_tonearest): Likewise.
1938         (ctan_test_towardzero): Likewise.
1939         (ctan_test_downward): Likewise.
1940         (ctan_test_upward): Likewise.
1941         (ctanh_test): Likewise.
1942         (ctanh_test_tonearest): Likewise.
1943         (ctanh_test_towardzero): Likewise.
1944         (ctanh_test_downward): Likewise.
1945         (ctanh_test_upward): Likewise.
1946         (erf_test): Use END macro without arguments.
1947         (erfc_test): Likewise.
1948         (exp_test): Likewise.
1949         (exp_test_tonearest): Likewise.
1950         (exp_test_towardzero): Likewise.
1951         (exp_test_downward): Likewise.
1952         (exp_test_upward): Likewise.
1953         (exp10_test): Likewise.
1954         (exp2_test): Likewise.
1955         (expm1_test): Likewise.
1956         (fabs_test): Likewise.
1957         (fdim_test): Likewise.
1958         (finite_test): Likewise.
1959         (floor_test): Likewise.
1960         (fma_test): Likewise.
1961         (fma_test_towardzero): Likewise.
1962         (fma_test_downward): Likewise.
1963         (fma_test_upward): Likewise.
1964         (fmax_test): Likewise.
1965         (fmin_test): Likewise.
1966         (fmod_test): Likewise.
1967         (fpclassify_test): Likewise.
1968         (frexp_test): Likewise.
1969         (gamma_test): Likewise.
1970         (hypot_test): Likewise.
1971         (ilogb_test): Likewise.
1972         (isfinite_test): Likewise.
1973         (isgreater_test): Likewise.
1974         (isgreaterequal_test): Likewise.
1975         (isinf_test): Likewise.
1976         (isless_test): Likewise.
1977         (islessequal_test): Likewise.
1978         (islessgreater_test): Likewise.
1979         (isnan_test): Likewise.
1980         (isnormal_test): Likewise.
1981         (issignaling_test): Likewise.
1982         (isunordered_test): Likewise.
1983         (j0_test): Likewise.
1984         (j1_test): Likewise.
1985         (jn_test): Likewise.
1986         (ldexp_test): Likewise.
1987         (lgamma_test): Likewise.
1988         (lrint_test): Likewise.
1989         (lrint_test_tonearest): Likewise.
1990         (lrint_test_towardzero): Likewise.
1991         (lrint_test_downward): Likewise.
1992         (lrint_test_upward): Likewise.
1993         (llrint_test): Likewise.
1994         (llrint_test_tonearest): Likewise.
1995         (llrint_test_towardzero): Likewise.
1996         (llrint_test_downward): Likewise.
1997         (llrint_test_upward): Likewise.
1998         (log_test): Likewise.
1999         (log10_test): Likewise.
2000         (log1p_test): Likewise.
2001         (log2_test): Likewise.
2002         (logb_test): Likewise.
2003         (logb_test_downward): Likewise.
2004         (lround_test): Likewise.
2005         (llround_test): Likewise.
2006         (modf_test): Likewise.
2007         (nearbyint_test): Likewise.
2008         (nextafter_test): Likewise.
2009         (nexttoward_test): Likewise.
2010         (pow_test): Likewise.
2011         (pow_test_tonearest): Likewise.
2012         (pow_test_towardzero): Likewise.
2013         (pow_test_downward): Likewise.
2014         (pow_test_upward): Likewise.
2015         (remainder_test): Likewise.
2016         (remainder_test_tonearest): Likewise.
2017         (remainder_test_towardzero): Likewise.
2018         (remainder_test_downward): Likewise.
2019         (remainder_test_upward): Likewise.
2020         (remquo_test): Likewise.
2021         (rint_test): Likewise.
2022         (rint_test_tonearest): Likewise.
2023         (rint_test_towardzero): Likewise.
2024         (rint_test_downward): Likewise.
2025         (rint_test_upward): Likewise.
2026         (round_test): Likewise.
2027         (scalb_test): Likewise.
2028         (scalbn_test): Likewise.
2029         (scalbln_test): Likewise.
2030         (signbit_test): Likewise.
2031         (sin_test): Likewise.
2032         (sin_test_tonearest): Likewise.
2033         (sin_test_towardzero): Likewise.
2034         (sin_test_downward): Likewise.
2035         (sin_test_upward): Likewise.
2036         (sincos_test): Likewise.
2037         (sinh_test): Likewise.
2038         (sinh_test_tonearest): Likewise.
2039         (sinh_test_towardzero): Likewise.
2040         (sinh_test_downward): Likewise.
2041         (sinh_test_upward): Likewise.
2042         (sqrt_test): Likewise.
2043         (tan_test): Likewise.
2044         (tan_test_tonearest): Likewise.
2045         (tan_test_towardzero): Likewise.
2046         (tan_test_downward): Likewise.
2047         (tan_test_upward): Likewise.
2048         (tanh_test): Likewise.
2049         (tgamma_test): Likewise.
2050         (trunc_test): Likewise.
2051         (y0_test): Likewise.
2052         (y1_test): Likewise.
2053         (yn_test): Likewise.
2054         (significand_test): Likewise.
2056 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
2058         [BZ #15381]
2059         * libio/genops.c (_IO_no_init): Initialize wide struct info.
2061 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2063         [BZ #14894]
2064         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2065         __ppc_mdoio and __ppc_mdoom.
2066         * manual/platform.texi: Document new functions __ppc_yield,
2067         __ppc_mdoio and __ppc_mdoom.
2069 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
2071         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2072         (main): Mention "tls" pseudo-hwcap is legacy.
2073         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2075 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
2077         * math/gen-libm-test.pl (parse_args): Output only string of
2078         arguments as text for test name, not full call or descriptions of
2079         tests for extra outputs.
2080         (generate_testfile): Do not pass function name to parse_args.
2081         Generate this_func variable from START.
2082         * math/libm-test.inc (struct test_f_f_data): Rename test_name
2083         field to arg_str.
2084         (struct test_ff_f_data): Likewise.
2085         (test_ff_f_data_nexttoward): Likewise.
2086         (struct test_fi_f_data): Likewise.
2087         (struct test_fl_f_data): Likewise.
2088         (struct test_if_f_data): Likewise.
2089         (struct test_fff_f_data): Likewise.
2090         (struct test_c_f_data): Likewise.
2091         (struct test_f_f1_data): Likewise.  Remove field extra_name.
2092         (struct test_fF_f1_data): Likewise.
2093         (struct test_ffI_f1_data): Likewise.
2094         (struct test_c_c_data): Rename test_name field to arg_str.
2095         (struct test_cc_c_data): Likewise.
2096         (struct test_f_i_data): Likewise.
2097         (struct test_ff_i_data): Likewise.
2098         (struct test_f_l_data): Likewise.
2099         (struct test_f_L_data): Likewise.
2100         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
2101         and extra2_name.
2102         (COMMON_TEST_SETUP): New macro.
2103         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2104         (COMMON_TEST_CLEANUP): Likewise.
2105         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2106         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
2107         macros.
2108         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2109         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
2110         macros.
2111         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2112         (RUN_TEST_fff_f): Take argument string.  Call new setup and
2113         cleanup macros.
2114         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2115         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
2116         macros.
2117         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2118         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
2119         macros.
2120         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2121         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
2122         cleanup macros.
2123         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2124         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
2125         cleanup macros.
2126         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2127         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
2128         cleanup macros.
2129         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2130         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
2131         macros.
2132         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2133         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
2134         macros.
2135         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2136         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
2137         macros.
2138         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2139         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
2140         cleanup macros.
2141         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2142         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
2143         cleanup macros.
2144         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2145         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
2146         macros.
2147         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2148         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
2149         cleanup macros.
2150         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2151         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
2152         macros.
2153         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2154         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
2155         macros.
2156         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2157         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
2158         cleanup macros.
2159         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2161 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
2163         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2164         to _sifields.sigfault.
2165         (si_addr_lsb): Define new macro.
2166         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2167         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2168         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2170 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
2172         [BZ #15441]
2173         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2174         returns -1.
2175         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2176         null return -1.
2177         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2178         loading the domain.
2180 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
2182         * math/gen-libm-test.pl (parse_args): Do not include expected
2183         result in test name.
2184         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2185         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2186         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2187         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2188         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2191 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2193         * benchtests/Makefile: Sort function entries.
2195         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2196         tanh, asinh, acosh, atanh.
2197         * benchtests/acos-inputs: New file.
2198         * benchtests/acosh-inputs: New file.
2199         * benchtests/asin-inputs: New file.
2200         * benchtests/asinh-inputs: New file.
2201         * benchtests/atanh-inputs: New file.
2202         * benchtests/cosh-inputs: New file.
2203         * benchtests/log-inputs: New file.
2204         * benchtests/sinh-inputs: New file.
2205         * benchtests/tanh-inputs: New file.
2207 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
2209         [BZ #15339]
2210         * posix/tst-getaddrinfo4.c: New test.
2211         * posix/Makefile (tests): Add it.
2213 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2215         [BZ #15339]
2216         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2217         when no services were used.
2218         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2219         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2221 2013-05-21  Andreas Schwab  <schwab@suse.de>
2223         [BZ #15014]
2224         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2225         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2226         successful.
2227         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2228         redundant variable declarations and reallocation of buffer when
2229         parsing as IPv6 address.  Always set NSS status when called from
2230         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
2231         buffer too small.  Correct computation of needed size.
2232         * nss/Makefile (tests): Add test-digits-dots.
2233         * nss/test-digits-dots.c: New test.
2235 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2237         * benchtests/Makefile: Remove instructions for adding
2238         benchmark tests.
2239         * benchtests/README: New file to explain how to execute and
2240         enhance the benchmark tests.
2242 2013-05-21  Andreas Schwab  <schwab@suse.de>
2244         [BZ #15493]
2245         * setjmp/Makefile (tests): Add tst-sigsetjmp.
2246         * setjmp/tst-sigsetjmp.c: New test.
2248 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
2250         * sysdeps/x86_64/memset.S (memset): New implementation.
2251         (__bzero): Likewise.
2252         (__memset_tail): New function.
2254 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
2256         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2257         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2258         __memcpy_sse2_unaligned ifunc selection.
2259         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2260         Add memcpy-sse2-unaligned.S.
2261         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2262         Add: __memcpy_sse2_unaligned.
2264 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
2266         [BZ #15490]
2267         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2268         math_force_eval before restoring floating-point envrionment.
2269         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2270         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2271         Likewise.
2272         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2273         <math_private.h>.
2274         (__nearbyintl): Use math_force_eval before restoring
2275         floating-point environment.
2276         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2278         * math/gen-libm-test.pl (special_functions): Remove.
2279         (parse_args): Don't handle TEST_extra.  Handle functions with no
2280         return value.
2281         * math/libm-test.inc (struct test_sincos_data): Replace with
2282         struct test_fFF_11_data.
2283         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2284         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2285         (sincos_test_data): Change element type to struct
2286         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
2287         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2288         RUN_TEST_LOOP_sincos.
2289         * math/README.libm-test: Don't mention special handling of
2290         individual functions.
2291         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2292         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2293         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2294         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2295         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2298         * math/gen-libm-test.pl (get_variable): Remove function.
2299         (parse_args): Don't show pointer parameters to call in test
2300         names.  Use "extra output N" in test names for extra outputs
2301         rather than naming variables.
2303 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
2305         [BZ #15488]
2306         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2307         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2308         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2309         double tests.
2310         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2311         disable.
2312         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2313         check_long_double.
2315         * math/gen-libm-test.pl (@tests): Remove variable.
2316         ($count): Likewise.
2317         (new_test): Remove function.
2318         (show_exceptions): New function.
2319         (special_functions): Use show_exceptions instead of new_test.
2320         (parse_args): Likewise.
2321         (generate_testfile): Pass only function name in generated call to
2322         print_max_error or print_complex_max_error.
2323         (get_ulps): Do not handle complex tests specially.
2324         (output_test): Rename to ...
2325         (get_all_ulps_for_test): ... this.  Return a string rather than
2326         printing to a file.  Require ulps to be present.
2327         (output_ulps): Generate arrays rather than #defines.
2328         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2329         (struct ulp_data): New type.
2330         (BUILD_COMPLEX_ULP): Remove macro.
2331         (compare_ulp_data): New function.
2332         (find_ulps): Likewise.
2333         (find_test_ulps): Likewise.
2334         (find_function_ulps): Likewise.
2335         (find_complex_function_ulps): Likewise.
2336         (print_max_error): Determine allowed ulps using
2337         find_function_ulps.
2338         (print_complex_max_error): Determine allowed ulps using
2339         find_complex_function_ulps.
2340         (check_float_internal): Determine max ulps using find_test_ulps.
2341         (check_float): Do not take max_ulp parameter.  Update call to
2342         check_float_internal.
2343         (check_complex): Likewise.
2344         (check_int): Do not take max_ulp parameter.
2345         (check_long): Likewise.
2346         (check_bool): Likewise.
2347         (check_longlong): Likewise.
2348         (struct test_f_f_data): Remove max_ulp field.
2349         (struct test_ff_f_data): Likewise.
2350         (struct test_ff_f_data_nexttoward): Likewise.
2351         (struct test_fi_f_data): Likewise.
2352         (struct test_fl_f_data): Likewise.
2353         (struct test_if_f_data): Likewise.
2354         (struct test_fff_f_data): Likewise.
2355         (struct test_c_f_data): Likewise.
2356         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2357         (struct test_fF_f1_data): Likewise.
2358         (struct test_ffI_f1_data): Likewise.
2359         (struct test_c_c_data): Remove max_ulp field.
2360         (struct test_cc_c_data): Likewise.
2361         (struct test_f_i_data): Likewise.
2362         (struct test_ff_i_data): Likewise.
2363         (struct test_f_l_data): Likewise.
2364         (struct test_f_L_data): Likewise.
2365         (struct test_sincos_data): Likewise.
2366         (RUN_TEST_f_f): Do not handle ulps.
2367         (RUN_TEST_LOOP_f_f): Likewise.
2368         (RUN_TEST_2_f): Likewise.
2369         (RUN_TEST_LOOP_2_f): Likewise.
2370         (RUN_TEST_fff_f): Likewise.
2371         (RUN_TEST_LOOP_fff_f): Likewise.
2372         (RUN_TEST_c_f): Likewise.
2373         (RUN_TEST_LOOP_c_f): Likewise.
2374         (RUN_TEST_f_f1): Likewise.
2375         (RUN_TEST_LOOP_f_f1): Likewise.
2376         (RUN_TEST_fF_f1): Likewise.
2377         (RUN_TEST_LOOP_fF_f1): Likewise.
2378         (RUN_TEST_fI_f1): Likewise.
2379         (RUN_TEST_LOOP_fI_f1): Likewise.
2380         (RUN_TEST_ffI_f1): Likewise.
2381         (RUN_TEST_LOOP_ffI_f1): Likewise.
2382         (RUN_TEST_c_c): Likewise.
2383         (RUN_TEST_LOOP_c_c): Likewise.
2384         (RUN_TEST_cc_c): Likewise.
2385         (RUN_TEST_LOOP_cc_c): Likewise.
2386         (RUN_TEST_f_i): Likewise.
2387         (RUN_TEST_LOOP_f_i): Likewise.
2388         (RUN_TEST_f_i_tg): Likewise.
2389         (RUN_TEST_LOOP_f_i_tg): Likewise.
2390         (RUN_TEST_ff_i_tg): Likewise.
2391         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2392         (RUN_TEST_f_b): Likewise.
2393         (RUN_TEST_LOOP_f_b): Likewise.
2394         (RUN_TEST_f_b_tg): Likewise.
2395         (RUN_TEST_LOOP_f_b_tg): Likewise.
2396         (RUN_TEST_f_l): Likewise.
2397         (RUN_TEST_LOOP_f_l): Likewise.
2398         (RUN_TEST_f_L): Likewise.
2399         (RUN_TEST_LOOP_f_L): Likewise.
2400         (RUN_TEST_sincos): Likewise.
2401         (RUN_TEST_LOOP_sincos): Likewise.
2403 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
2405         [BZ #15480]
2406         [BZ #15485]
2407         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2408         main case of finite arguments, set rounding mode to FE_TONEAREST
2409         and discard exceptions.
2410         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2411         exceptions.
2412         (remainder_tonearest_test_data): New variable.
2413         (remainder_test_tonearest): New function.
2414         (remainder_towardzero_test_data): New variable.
2415         (remainder_test_towardzero): New function.
2416         (remainder_downward_test_data): New variable.
2417         (remainder_test_downward): New function.
2418         (remainder_upward_test_data): New variable.
2419         (remainder_test_upward): New function.
2420         (main): Call the new test functions.
2422         * math/libm-test.inc (struct test_f_f1_data): Remove field
2423         extra_init.
2424         (struct test_fF_f1_data): Likewise.
2425         (struct test_ffI_f1_data): Likewise.
2426         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
2427         based on value of EXTRA_EXPECTED.
2428         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2429         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
2430         EXTRA_VAR based on value of EXTRA_EXPECTED.
2431         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2432         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
2433         EXTRA_VAR based on value of EXTRA_EXPECTED.
2434         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2435         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
2436         EXTRA_VAR based on value of EXTRA_EXPECTED.
2437         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2438         * math/gen-libm-test.pl (parse_args): Don't output initializers
2439         for extra output values.
2441         * math/libm-test.inc (check_int): Expect result to be exactly
2442         equal to expected value and do not handle ulps.
2443         (check_long): Likewise.
2444         (check_longlong): Likewise.
2446         * math/libm-test.inc (ceil_test_data): Test for "inexact"
2447         exceptions.
2448         (cimag_test_data): Likewise.
2449         (conj_test_data): Likewise.
2450         (copysign_test_data): Likewise.
2451         (cproj_test_data): Likewise.
2452         (creal_test_data): Likewise.
2453         (fabs_test_data): Likewise.
2454         (fdim_test_data): Likewise.
2455         (finite_test_data): Likewise.
2456         (floor_test_data): Likewise.
2457         (fmax_test_data): Likewise.
2458         (fmin_test_data): Likewise.
2459         (fmod_test_data): Likewise.
2460         (fpclassify_test_data): Likewise.
2461         (frexp_test_data): Likewise.
2462         (ilogb_test_data): Likewise.
2463         (isfinite_test_data): Likewise.
2464         (isgreater_test_data): Likewise.
2465         (isgreaterequal_test_data): Likewise.
2466         (isinf_test_data): Likewise.
2467         (isless_test_data): Likewise.
2468         (islessequal_test_data): Likewise.
2469         (islessgreater_test_data): Likewise.
2470         (isnan_test_data): Likewise.
2471         (isnormal_test_data): Likewise.
2472         (issignaling_test_data): Likewise.
2473         (isunordered_test_data): Likewise.
2474         (ldexp_test_data): Likewise.
2475         (lrint_test_data): Likewise.
2476         (lrint_test_data) [TEST_FLOAT]: Disable one test.
2477         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2478         (lrint_tonearest_test_data): Test for "inexact" exceptions.
2479         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2480         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2481         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2482         test input.
2483         (lrint_towardzero_test_data): Test for "inexact" exceptions.
2484         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2485         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2486         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2487         that test input.
2488         (lrint_downward_test_data): Test for "inexact" exceptions.
2489         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2490         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2491         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2492         test input.
2493         (lrint_upward_test_data): Test for "inexact" exceptions.
2494         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2495         test input.
2496         (llrint_test_data): Test for "inexact" exceptions.
2497         (llrint_test_data) [TEST_FLOAT]: Disable one test.
2498         (llrint_tonearest_test_data): Test for "inexact" exceptions.
2499         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2500         (llrint_towardzero_test_data): Test for "inexact" exceptions.
2501         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2502         (llrint_downward_test_data): Test for "inexact" exceptions.
2503         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2504         (llrint_upward_test_data): Test for "inexact" exceptions.
2505         (logb_test_data): Likewise.
2506         (logb_downward_test_data): Likewise.
2507         (nextafter_test_data): Likewise.
2508         (nexttoward_test_data): Likewise.
2509         (remainder_test_data): Likewise.
2510         (remquo_test_data): Likewise.
2511         (scalbn_test_data): Likewise.
2512         (scalbln_test_data): Likewise.
2513         (signbit_test_data): Likewise.
2514         (sqrt_test_data): Likewise.
2515         (significand_test_data): Likewise.
2517 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2519         [BZ #15424]
2520         * benchtests/bench-modf.c (struct args): Mark arg0 as
2521         volatile.
2522         * scripts/bench.pl: Mark members of struct args as volatile.
2524 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2526         [BZ # 15497]
2527         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2528         negative infinity on POWER6 or lower.
2529         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2531 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
2533         [BZ #15442]
2534         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2535         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2536         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2537         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2538         (_FP_SETQNAN): New macro.
2539         (_FP_SETQNAN_SEMIRAW): Likewise.
2540         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2541         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2542         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2543         (FP_EXTEND): Use _FP_FRAC_SNANP.
2544         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2545         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2546         into account.
2547         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2548         New macro.
2549         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2550         Likewise.
2552 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2554         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2555         with DIVIDE_BY_ZERO_EXCEPTION.
2556         (gamma_test_data): Likewise.
2557         (lgamma_test_data): Likewise.
2558         (log_test_data): Likewise.
2559         (log10_test_data): Likewise.
2560         (log2_test_data): Likewise.
2561         (tgamma_test_data): Likewise.
2563         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2564         (acos_test_tonearest): Likewise.
2565         (acos_test_towardzero): Likewise.
2566         (acos_test_downward): Likewise.
2567         (acos_test_upward): Likewise.
2568         (acosh_test): Likewise.
2569         (asin_test): Likewise.
2570         (asin_test_tonearest): Likewise.
2571         (asin_test_towardzero): Likewise.
2572         (asin_test_downward): Likewise.
2573         (asin_test_upward): Likewise.
2574         (asinh_test): Likewise.
2575         (atan_test): Likewise.
2576         (atanh_test): Likewise.
2577         (atan2_test): Likewise.
2578         (cabs_test): Likewise.
2579         (cacos_test): Likewise.
2580         (cacosh_test): Likewise.
2581         (casin_test): Likewise.
2582         (casinh_test): Likewise.
2583         (catan_test): Likewise.
2584         (catanh_test): Likewise.
2585         (cbrt_test): Likewise.
2586         (ccos_test): Likewise.
2587         (ccosh_test): Likewise.
2588         (cexp_test): Likewise.
2589         (clog_test): Likewise.
2590         (clog10_test): Likewise.
2591         (cos_test): Likewise.
2592         (cos_test_tonearest): Likewise.
2593         (cos_test_towardzero): Likewise.
2594         (cos_test_downward): Likewise.
2595         (cos_test_upward): Likewise.
2596         (cosh_test): Likewise.
2597         (cosh_test_tonearest): Likewise.
2598         (cosh_test_towardzero): Likewise.
2599         (cosh_test_downward): Likewise.
2600         (cosh_test_upward): Likewise.
2601         (cpow_test): Likewise.
2602         (csin_test): Likewise.
2603         (csinh_test): Likewise.
2604         (csqrt_test): Likewise.
2605         (ctan_test): Likewise.
2606         (ctan_test_tonearest): Likewise.
2607         (ctan_test_towardzero): Likewise.
2608         (ctan_test_downward): Likewise.
2609         (ctan_test_upward): Likewise.
2610         (ctanh_test): Likewise.
2611         (ctanh_test_tonearest): Likewise.
2612         (ctanh_test_towardzero): Likewise.
2613         (ctanh_test_downward): Likewise.
2614         (ctanh_test_upward): Likewise.
2615         (erf_test): Likewise.
2616         (erfc_test): Likewise.
2617         (exp_test): Likewise.
2618         (exp_test_tonearest): Likewise.
2619         (exp_test_towardzero): Likewise.
2620         (exp_test_downward): Likewise.
2621         (exp_test_upward): Likewise.
2622         (exp10_test): Likewise.
2623         (exp2_test): Likewise.
2624         (expm1_test): Likewise.
2625         (fmod_test): Likewise.
2626         (gamma_test): Likewise.
2627         (hypot_test): Likewise.
2628         (j0_test): Likewise.
2629         (j1_test): Likewise.
2630         (jn_test): Likewise.
2631         (lgamma_test): Likewise.
2632         (log_test): Likewise.
2633         (log10_test): Likewise.
2634         (log1p_test): Likewise.
2635         (log2_test): Likewise.
2636         (logb_test_downward): Likewise.
2637         (pow_test): Likewise.
2638         (pow_test_tonearest): Likewise.
2639         (pow_test_towardzero): Likewise.
2640         (pow_test_downward): Likewise.
2641         (pow_test_upward): Likewise.
2642         (remainder_test): Likewise.
2643         (remquo_test): Likewise.
2644         (sin_test): Likewise.
2645         (sin_test_tonearest): Likewise.
2646         (sin_test_towardzero): Likewise.
2647         (sin_test_downward): Likewise.
2648         (sin_test_upward): Likewise.
2649         (sincos_test): Likewise.
2650         (sinh_test): Likewise.
2651         (sinh_test_tonearest): Likewise.
2652         (sinh_test_towardzero): Likewise.
2653         (sinh_test_downward): Likewise.
2654         (sinh_test_upward): Likewise.
2655         (sqrt_test): Likewise.
2656         (tan_test): Likewise.
2657         (tan_test_tonearest): Likewise.
2658         (tan_test_towardzero): Likewise.
2659         (tan_test_downward): Likewise.
2660         (tan_test_upward): Likewise.
2661         (tanh_test): Likewise.
2662         (tgamma_test): Likewise.
2663         (y0_test): Likewise.
2664         (y1_test): Likewise.
2665         (yn_test): Likewise.
2667         * math/gen-libm-test.pl (adjust_arg): Remove function.
2668         (special_function): Remove argument $in_func.  Only handle
2669         generating output for tables of tests, not inside functions.
2670         (parse_args): Likewise.
2671         (generate_testfile): Remove variable $in_func.  Update call to
2672         parse_args.
2673         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2674         (MINUS_ZERO_INIT): Rename macro to minus_zero.
2675         (PLUS_INFTY_INIT): Rename macro to plus_infty.
2676         (MINUS_INFTY_INIT): Rename macro to minus_infty.
2677         (QNAN_VALUE_INIT): Rename macro to qnan_value.
2678         (MAX_VALUE_INIT): Rename macro to max_value.
2679         (MIN_VALUE_INIT): Rename macro to min_value.
2680         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2681         (plus_zero): Remove variable.
2682         (minus_zero): Likewise.
2683         (plus_infty): Likewise.
2684         (minus_infty): Likewise.
2685         (qnan_value): Likewise.
2686         (max_value): Likewise.
2687         (min_value): Likewise.
2688         (min_subnorm_value): Likewise.
2690 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2692         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2693         uint64_t or uint32_t usage.
2694         * crypt/sha256-block.c: Likewise.
2695         * crypt/sha256-crypt.c: Likewise.
2696         * crypt/sha256.c: Likewise.
2697         * crypt/sha512-block.c: Likewise.
2698         * crypt/sha512-crypt.c: Likewise.
2699         * crypt/sha512.c: Likewise.
2700         * debug/backtrace-tst.c: Likewise.
2701         * debug/pcprofiledump.c: Likewise.
2702         * elf/cache.c: Likewise.
2703         * elf/dl-cache.c: Likewise.
2704         * elf/dl-misc.c: Likewise.
2705         * elf/dl-profile.c: Likewise.
2706         * elf/dl-support.c: Likewise.
2707         * elf/ldconfig.c: Likewise.
2708         * elf/sprof.c: Likewise.
2709         * iconv/dummy-repertoire.c: Likewise.
2710         * iconv/iconv_charmap.c: Likewise.
2711         * iconv/skeleton.c: Likewise.
2712         * iconvdata/8bit-generic.c: Likewise.
2713         * iconvdata/cp737.h: Likewise.
2714         * iconvdata/cp775.h: Likewise.
2715         * iconvdata/ibm1008.h: Likewise.
2716         * iconvdata/ibm1025.h: Likewise.
2717         * iconvdata/ibm1046.h: Likewise.
2718         * iconvdata/ibm1097.h: Likewise.
2719         * iconvdata/ibm1112.h: Likewise.
2720         * iconvdata/ibm1122.h: Likewise.
2721         * iconvdata/ibm1123.h: Likewise.
2722         * iconvdata/ibm1124.h: Likewise.
2723         * iconvdata/ibm1129.h: Likewise.
2724         * iconvdata/ibm1130.h: Likewise.
2725         * iconvdata/ibm1132.h: Likewise.
2726         * iconvdata/ibm1133.h: Likewise.
2727         * iconvdata/ibm1137.h: Likewise.
2728         * iconvdata/ibm1140.h: Likewise.
2729         * iconvdata/ibm1141.h: Likewise.
2730         * iconvdata/ibm1142.h: Likewise.
2731         * iconvdata/ibm1143.h: Likewise.
2732         * iconvdata/ibm1144.h: Likewise.
2733         * iconvdata/ibm1145.h: Likewise.
2734         * iconvdata/ibm1146.h: Likewise.
2735         * iconvdata/ibm1147.h: Likewise.
2736         * iconvdata/ibm1148.h: Likewise.
2737         * iconvdata/ibm1149.h: Likewise.
2738         * iconvdata/ibm1153.h: Likewise.
2739         * iconvdata/ibm1154.h: Likewise.
2740         * iconvdata/ibm1155.h: Likewise.
2741         * iconvdata/ibm1156.h: Likewise.
2742         * iconvdata/ibm1157.h: Likewise.
2743         * iconvdata/ibm1158.h: Likewise.
2744         * iconvdata/ibm1160.h: Likewise.
2745         * iconvdata/ibm1161.h: Likewise.
2746         * iconvdata/ibm1162.h: Likewise.
2747         * iconvdata/ibm1163.h: Likewise.
2748         * iconvdata/ibm1164.h: Likewise.
2749         * iconvdata/ibm1166.h: Likewise.
2750         * iconvdata/ibm1167.h: Likewise.
2751         * iconvdata/ibm12712.h: Likewise.
2752         * iconvdata/ibm1390.h: Likewise.
2753         * iconvdata/ibm1399.h: Likewise.
2754         * iconvdata/ibm16804.h: Likewise.
2755         * iconvdata/ibm4517.h: Likewise.
2756         * iconvdata/ibm4899.h: Likewise.
2757         * iconvdata/ibm4909.h: Likewise.
2758         * iconvdata/ibm4971.h: Likewise.
2759         * iconvdata/ibm5347.h: Likewise.
2760         * iconvdata/ibm803.h: Likewise.
2761         * iconvdata/ibm856.h: Likewise.
2762         * iconvdata/ibm901.h: Likewise.
2763         * iconvdata/ibm902.h: Likewise.
2764         * iconvdata/ibm9030.h: Likewise.
2765         * iconvdata/ibm9066.h: Likewise.
2766         * iconvdata/ibm921.h: Likewise.
2767         * iconvdata/ibm922.h: Likewise.
2768         * iconvdata/ibm9448.h: Likewise.
2769         * iconvdata/isiri-3342.h: Likewise.
2770         * iconvdata/jis0201.h: Likewise.
2771         * include/link.h: Likewise.
2772         * include/netdb.h: Likewise.
2773         * inet/check_native.c: Likewise.
2774         * inet/check_pf.c: Likewise.
2775         * inet/getipv4sourcefilter.c: Likewise.
2776         * inet/getnameinfo.c: Likewise.
2777         * inet/getsourcefilter.c: Likewise.
2778         * inet/htonl.c: Likewise.
2779         * inet/setipv4sourcefilter.c: Likewise.
2780         * inet/setsourcefilter.c: Likewise.
2781         * inet/test-inet6_opt.c: Likewise.
2782         * inet/tst-network.c: Likewise.
2783         * locale/C-collate.c: Likewise.
2784         * locale/C-ctype.c: Likewise.
2785         * locale/C-time.c: Likewise.
2786         * locale/C-translit.h: Likewise.
2787         * locale/loadarchive.c: Likewise.
2788         * locale/programs/3level.h: Likewise.
2789         * locale/programs/charmap.c: Likewise.
2790         * locale/programs/charmap.h: Likewise.
2791         * locale/programs/ld-address.c: Likewise.
2792         * locale/programs/ld-collate.c: Likewise.
2793         * locale/programs/ld-ctype.c: Likewise.
2794         * locale/programs/ld-identification.c: Likewise.
2795         * locale/programs/ld-measurement.c: Likewise.
2796         * locale/programs/ld-messages.c: Likewise.
2797         * locale/programs/ld-monetary.c: Likewise.
2798         * locale/programs/ld-name.c: Likewise.
2799         * locale/programs/ld-numeric.c: Likewise.
2800         * locale/programs/ld-paper.c: Likewise.
2801         * locale/programs/ld-telephone.c: Likewise.
2802         * locale/programs/ld-time.c: Likewise.
2803         * locale/programs/linereader.c: Likewise.
2804         * locale/programs/locale.c: Likewise.
2805         * locale/programs/locarchive.c: Likewise.
2806         * locale/programs/locfile.h: Likewise.
2807         * locale/programs/repertoire.c: Likewise.
2808         * locale/programs/simple-hash.c: Likewise.
2809         * locale/programs/simple-hash.h: Likewise.
2810         * malloc/memusage.c: Likewise.
2811         * malloc/memusagestat.c: Likewise.
2812         * nis/nis_defaults.c: Likewise.
2813         * nis/nis_hash.c: Likewise.
2814         * nis/nis_print.c: Likewise.
2815         * nis/nis_xdr.c: Likewise.
2816         * nscd/connections.c: Likewise.
2817         * nscd/hstcache.c: Likewise.
2818         * nscd/nscd_gethst_r.c: Likewise.
2819         * nscd/nscd_getserv_r.c: Likewise.
2820         * nscd/nscd_helper.c: Likewise.
2821         * nscd/servicescache.c: Likewise.
2822         * nss/makedb.c: Likewise.
2823         * nss/nss_db/db-XXX.c: Likewise.
2824         * nss/nss_db/db-initgroups.c: Likewise.
2825         * nss/nss_db/db-netgrp.c: Likewise.
2826         * nss/nss_files/files-network.c: Likewise.
2827         * nss/nss_files/files-parse.c: Likewise.
2828         * posix/bug-regex5.c: Likewise.
2829         * posix/fnmatch_loop.c: Likewise.
2830         * posix/regcomp.c: Likewise.
2831         * posix/regexec.c: Likewise.
2832         * posix/tst-rfc3484-2.c: Likewise.
2833         * posix/tst-rfc3484-3.c: Likewise.
2834         * posix/tst-rfc3484.c: Likewise.
2835         * resolv/nss_dns/dns-canon.c: Likewise.
2836         * resolv/nss_dns/dns-network.c: Likewise.
2837         * resolv/res_init.c: Likewise.
2838         * resolv/res_mkquery.c: Likewise.
2839         * resolv/tst-aton.c: Likewise.
2840         * stdlib/cxa_atexit.c: Likewise.
2841         * stdlib/cxa_finalize.c: Likewise.
2842         * stdlib/gen-fpioconst.c: Likewise.
2843         * stdlib/strtol_l.c: Likewise.
2844         * string/tst-endian.c: Likewise.
2845         * sunrpc/auth_des.c: Likewise.
2846         * sunrpc/clnt_udp.c: Likewise.
2847         * sunrpc/rtime.c: Likewise.
2848         * sunrpc/svcauth_des.c: Likewise.
2849         * sunrpc/xdr.c: Likewise.
2850         * sunrpc/xdr_intXX_t.c: Likewise.
2851         * sunrpc/xdr_rec.c: Likewise.
2852         * sysdeps/generic/ldconfig.h: Likewise.
2853         * sysdeps/generic/ldsodefs.h: Likewise.
2854         * sysdeps/generic/memusage.h: Likewise.
2855         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2856         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2857         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2858         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2859         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2860         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2861         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2862         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2863         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2864         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2865         * sysdeps/posix/getaddrinfo.c: Likewise.
2866         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2867         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2868         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2869         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2870         * sysdeps/powerpc/test-gettimebase.c: Likewise.
2871         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2872         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2873         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2874         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2875         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2876         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2877         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2878         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2879         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2880         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2881         * sysdeps/x86_64/dl-tls.h: Likewise.
2882         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2883         * time/alt_digit.c: Likewise.
2884         * time/era.c: Likewise.
2885         * wcsmbs/tst-c16c32-1.c: Likewise.
2887 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2889         * math/libm-test.inc (struct test_sincos_data): New type.
2890         (RUN_TEST_LOOP_sincos): New macro.
2891         (sincos_test_data): New variable.
2892         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2894 2013-05-16  Richard Henderson  <rth@redhat.com>
2896         * math/atest-exp2.c (LIMB64): New macro.
2897         (CONSTSZ): New macro.
2898         (mp_exp1, mp_exp_m1, mp_log2): New variables.
2899         (hexdig): Move ...
2900         (print_mpn_fp): ... to function scope.
2901         (read_mpn_hex): Remove.
2902         (get_log2): Remove.
2903         (exp2_mpn): Use mp_log2.
2904         (main): Use mp_exp1.
2906 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2908         * math/libm-test.inc: Remove comment about not testing "inexact"
2909         exceptions.
2910         (INEXACT_EXCEPTION): New macro.
2911         (NO_INEXACT_EXCEPTION): Likewise.
2912         (INVALID_EXCEPTION_OK): Update value.
2913         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2914         (OVERFLOW_EXCEPTION_OK): Likewise.
2915         (UNDERFLOW_EXCEPTION_OK): Likewise.
2916         (IGNORE_ZERO_INF_SIGN): Likewise.
2917         (ERRNO_UNCHANGED): Likewise.
2918         (ERRNO_EDOM): Likewise.
2919         (ERRNO_ERANGE): Likewise.
2920         (test_exceptions): Handle testing "inexact" exceptions.
2921         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2922         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2923         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2924         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2925         INEXACT_EXCEPTION.
2926         (rint_towardzero_test_data): Likewise.
2927         (rint_downward_test_data): Likewise.
2928         (rint_upward_test_data): Likewise.
2930         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2931         with OVERFLOW_EXCEPTION.
2932         (exp10_test_data): Likewise.
2933         (exp2_test_data): Likewise.
2934         (expm1_test_data): Likewise.
2935         (lgamma_test_data): Likewise.
2936         (pow_test_data): Likewise.
2937         (tgamma_test_data): Likewise.
2938         (yn_test_data): Remove duplicate test of overflow.
2940         * math/libm-test.inc (struct test_cc_c_data): New type.
2941         (RUN_TEST_LOOP_cc_c): New macro.
2942         (cpow_test_data): New variable.
2943         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2945         * math/libm-test.inc (struct test_f_L_data): New type.
2946         (RUN_TEST_LOOP_f_L): New macro.
2947         (llrint_test_data): New variable.
2948         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2949         (llrint_tonearest_test_data): New variable.
2950         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2951         (llrint_towardzero_test_data): New variable.
2952         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2953         (llrint_downward_test_data): New variable.
2954         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2955         (llrint_upward_test_data): New variable.
2956         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2957         (llround_test_data): New variable.
2958         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2960 2013-05-13  Peter Collingbourne  <pcc@google.com>
2962         * math/atest-exp2.c (get_log2): Remove const attribute.
2964 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
2966         * math/libm-test.inc (struct test_f_l_data): New type.
2967         (RUN_TEST_LOOP_f_l): New macro.
2968         (lrint_test_data): New variable.
2969         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2970         (lrint_tonearest_test_data): New variable.
2971         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2972         (lrint_towardzero_test_data): New variable.
2973         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2974         (lrint_downward_test_data): New variable.
2975         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2976         (lrint_upward_test_data): New variable.
2977         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2978         (lround_test_data): New variable.
2979         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2981 2013-05-15  Peter Collingbourne  <pcc@google.com>
2983         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2984         (EXTRACT_WORDS64) Use where appropriate.
2985         (INSERT_WORDS64) Likewise.
2987         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2988         constraints with x constraints.
2989         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2991         * malloc/obstack.c (_obstack_compat): Add initializer.
2993 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2995         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2996         si_trapno and add si_addr_lsb to _sifields.sigfault.
2997         (si_trapno): Remove macro.
2998         (si_addr_lsb): Define new macro.
2999         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3001 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
3003         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3004         instead of TEST_f_l.
3005         (llrint_test_tonearest): Likewise.
3006         (llrint_test_towardzero): Likewise.
3007         (llrint_test_downward): Likewise.
3008         (llrint_test_upward): Likewise.
3009         (llround_test): Likewise.
3011         * math/libm-test.inc (struct test_f_i_data): Add comment.
3012         (RUN_TEST_LOOP_f_b): New macro.
3013         (RUN_TEST_LOOP_f_b_tg): Likewise.
3014         (finite_test_data): New variable.
3015         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3016         (isfinite_test_data): New variable.
3017         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3018         (isinf_test_data): New variable.
3019         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3020         (isnan_test_data): New variable.
3021         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3022         (isnormal_test_data): New variable.
3023         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3024         (issignaling_test_data): New variable.
3025         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3026         (signbit_test_data): New variable.
3027         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3029         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3030         with INVALID_EXCEPTION.
3031         (acosh_test_data): Likewise.
3032         (asin_test_data): Likewise.
3033         (atanh_test_data): Likewise.
3034         (fmod_test_data): Likewise.
3035         (log_test_data): Likewise.
3036         (log10_test_data): Likewise.
3037         (log2_test_data): Likewise.
3038         (pow_test_data): Likewise.
3039         (sqrt_test_data): Likewise.
3040         (y0_test_data): Likewise.
3041         (y1_test_data): Likewise.
3042         (yn_test_data): Likewise.
3044         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3045         function contents.
3047         * math/libm-test.inc (struct test_ff_i_data): New type.
3048         (RUN_TEST_LOOP_ff_i_tg): New macro.
3049         (isgreater_test_data): New variable.
3050         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3051         (isgreaterequal_test_data): New variable.
3052         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3053         (isless_test_data): New variable.
3054         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3055         (islessequal_test_data): New variable.
3056         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3057         (islessgreater_test_data): New variable.
3058         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3059         (isunordered_test_data): New variable.
3060         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3062 2013-05-14  David S. Miller  <davem@davemloft.net>
3064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3066 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
3068         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3070         * math/libm-test.inc (struct test_fF_f1_data): Change type of
3071         extra_test to int.
3072         (struct test_f_i_data): Change type of max_ulp to int.
3074         * math/libm-test.inc (test_ffI_f1_data): New type.
3075         (RUN_TEST_LOOP_ffI_f1): New macro.
3076         (remquo_test_data): New variable.
3077         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3079         * setjmp/tst-setjmp-fp.c: New file.
3080         * setjmp/Makefile (tests): Add tst-setjmp-fp.
3081         (link-libm): New variable.
3082         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3084         * math/libm-test.inc (struct test_f_i_data): New type.
3085         (RUN_TEST_LOOP_f_i): New macro.
3086         (RUN_TEST_LOOP_f_i_tg): Likewise.
3087         (fpclassify_test_data): New variable.
3088         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3089         (ilogb_test_data): New variable.
3090         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3092         * math/libm-test.inc (scalbln_test): Correct function name in END
3093         call.
3095         * math/libm-test.inc (struct test_f_f1_data): Add comment.
3096         (RUN_TEST_LOOP_fI_f1): New macro.
3097         (frexp_test_data): New variable.
3098         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3100         * math/libm-test.inc (struct test_fF_f1_data): New type.
3101         (RUN_TEST_LOOP_fF_f1): New macro.
3102         (modf_test_data): New variable.
3103         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3105         * math/libm-test.inc (struct test_f_f1_data): New type.
3106         (RUN_TEST_LOOP_f_f1): New macro.
3107         (gamma_test_data): New variable.
3108         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3109         (lgamma_test_data): New variable.
3110         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3112 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
3114         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3115         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3116         (main): Comment "tls" pseudo-hwcap.
3118 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
3120         * math/libm-test.inc (struct test_fl_f_data): New type.
3121         (RUN_TEST_LOOP_fl_f): New variable.
3122         (scalbln_test_data): New variable.
3123         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3125         * math/libm-test.inc (struct test_fi_f_data): New type.
3126         (RUN_TEST_LOOP_fi_f): New macro.
3127         (ldexp_test_data): New variable.
3128         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3129         (scalbn_test_data): New variable.
3130         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3132         * math/libm-test.inc (struct test_c_f_data): New type.
3133         (RUN_TEST_LOOP_c_f): New macro.
3134         (cabs_test_data): New variable.
3135         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3136         (carg_test_data): New variable.
3137         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3138         (cimag_test_data): New variable.
3139         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3140         (creal_test_data): New variable.
3141         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3143         * math/libm-test.inc (struct test_if_f_data): New type.
3144         (RUN_TEST_LOOP_if_f): New macro.
3145         (jn_test_data): New variable.
3146         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3147         (yn_test_data): New variable.
3148         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3150         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3152 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3154         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3155         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3157 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3159         * benchtests/Makefile (CPPFLAGS-nonlib): Add
3160         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3161         (bench-deps): Add bench-timing.h.
3162         * benchtests-bench-skeleton.c: Include bench-timing.h.
3163         (main): Use TIMING_* macros instead of clock_gettime.
3164         * benchtests/bench-timing.h: New file.
3166         [BZ #14582]
3167         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3168         Renamed from _LIB_VERSION.
3169         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3171 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
3173         * math/libm-test.inc (struct test_fff_f_data): New type.
3174         (RUN_TEST_LOOP_fff_f): New macro.
3175         (fma_test_data): New variable.
3176         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3177         (fma_towardzero_test_data): New variable.
3178         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3179         (fma_downward_test_data): New variable.
3180         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3181         (fma_upward_test_data): New variable.
3182         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3184         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3185         (struct test_c_c_data): New type.
3186         (RUN_TEST_LOOP_c_c): New macro.
3187         (cacos_test_data): New variable.
3188         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3189         (cacosh_test_data): New variable.
3190         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3191         (casin_test_data): New variable.
3192         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3193         (casinh_test_data): New variable.
3194         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3195         (catan_test_data): New variable.
3196         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3197         (catanh_test_data): New variable.
3198         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3199         (ccos_test_data): New variable.
3200         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3201         (ccosh_test_data): New variable.
3202         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3203         (cexp_test_data): New variable.
3204         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3205         (clog_test_data): New variable.
3206         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3207         (clog10_test_data): New variable.
3208         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3209         (conj_test_data): New variable.
3210         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3211         (cproj_test_data): New variable.
3212         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3213         (csin_test_data): New variable.
3214         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3215         (csinh_test_data): New variable.
3216         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3217         (csqrt_test_data): New variable.
3218         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3219         (ctan_test_data): New variable.
3220         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3221         (ctan_tonearest_test_data): New variable.
3222         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3223         (ctan_towardzero_test_data): New variable.
3224         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3225         (ctan_downward_test_data): New variable.
3226         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3227         (ctan_upward_test_data): New variable.
3228         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3229         (ctanh_test_data): New variable.
3230         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3231         (ctanh_tonearest_test_data): New variable.
3232         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3233         (ctanh_towardzero_test_data): New variable.
3234         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3235         (ctanh_downward_test_data): New variable.
3236         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3237         (ctanh_upward_test_data): New variable.
3238         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3239         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3240         of BUILD_COMPLEX.
3242         * math/libm-test.inc (struct test_ff_f_data): New type.
3243         (struct test_ff_f_data_nexttoward): Likewise.
3244         (RUN_TEST_LOOP_2_f): New macro.
3245         (RUN_TEST_LOOP_ff_f): Likewise.
3246         (atan2_test_data): New variable.
3247         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3248         (copysign_test_data): New variable.
3249         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3250         (fdim_test_data): New variable.
3251         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3252         (fmax_test_data): New variable.
3253         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3254         (fmin_test_data): New variable.
3255         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3256         (fmod_test_data): New variable.
3257         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3258         (hypot_test_data): New variable.
3259         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3260         (nextafter_test_data): New variable.
3261         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3262         (nexttoward_test_data): New variable.
3263         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3264         (pow_test_data): New variable.
3265         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3266         (pow_tonearest_test_data): New variable.
3267         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3268         (pow_towardzero_test_data): New variable.
3269         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3270         (pow_downward_test_data): New variable.
3271         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3272         (pow_upward_test_data): New variable.
3273         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3274         (remainder_test_data): New variable.
3275         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3276         (scalb_test_data): New variable.
3277         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3278         * sysdeps/i386/fpu/libm-test-ulps: Update.
3280 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
3282         * math/libm-test.inc (fma_test): Use max_value instead of local
3283         variable fltmax.
3284         (nextafter_test): Likewise.
3286         * math/libm-test.inc (acos_towardzero_test_data): New variable.
3287         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3288         (acos_downward_test_data): New variable.
3289         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3290         (acos_upward_test_data): New variable.
3291         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3292         (acosh_test_data): New variable.
3293         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3294         (asin_test_data): New variable.
3295         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3296         (asin_tonearest_test_data): New variable.
3297         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3298         (asin_towardzero_test_data): New variable.
3299         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3300         (asin_downward_test_data): New variable.
3301         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3302         (asin_upward_test_data): New variable.
3303         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3304         (asinh_test_data): New variable.
3305         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3306         (atan_test_data): New variable.
3307         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3308         (atanh_test_data): New variable.
3309         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3310         (cbrt_test_data): New variable.
3311         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3312         (ceil_test_data): New variable.
3313         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3314         (cos_test_data): New variable.
3315         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3316         (cos_tonearest_test_data): New variable.
3317         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3318         (cos_towardzero_test_data): New variable.
3319         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3320         (cos_downward_test_data): New variable.
3321         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3322         (cos_upward_test_data): New variable.
3323         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3324         (cosh_test_data): New variable.
3325         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3326         (cosh_tonearest_test_data): New variable.
3327         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3328         (cosh_towardzero_test_data): New variable.
3329         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3330         (cosh_downward_test_data): New variable.
3331         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3332         (cosh_upward_test_data): New variable.
3333         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3334         (erf_test_data): New variable.
3335         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3336         (erfc_test_data): New variable.
3337         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3338         (exp_test_data): New variable.
3339         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3340         (exp_tonearest_test_data): New variable.
3341         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3342         (exp_towardzero_test_data): New variable.
3343         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3344         (exp_downward_test_data): New variable.
3345         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3346         (exp_upward_test_data): New variable.
3347         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3348         (exp10_test_data): New variable.
3349         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3350         (exp2_test_data): New variable.
3351         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3352         (expm1_test_data): New variable.
3353         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3354         (fabs_test_data): New variable.
3355         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3356         (floor_test_data): New variable.
3357         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3358         (j0_test_data): New variable.
3359         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3360         (j1_test_data): New variable.
3361         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3362         (log_test_data): New variable.
3363         (log_test): Run tests with RUN_TEST_LOOP_f_f.
3364         (log10_test_data): New variable.
3365         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3366         (log1p_test_data): New variable.
3367         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3368         (log2_test_data): New variable.
3369         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3370         (logb_test_data): New variable.
3371         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3372         (logb_downward_test_data): New variable.
3373         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3374         (nearbyint_test_data): New variable.
3375         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3376         (rint_test_data): New variable.
3377         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3378         (rint_tonearest_test_data): New variable.
3379         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3380         (rint_towardzero_test_data): New variable.
3381         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3382         (rint_downward_test_data): New variable.
3383         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3384         (rint_upward_test_data): New variable.
3385         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3386         (round_test_data): New variable.
3387         (round_test): Run tests with RUN_TEST_LOOP_f_f.
3388         (sin_test_data): New variable.
3389         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3390         (sin_tonearest_test_data): New variable.
3391         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3392         (sin_towardzero_test_data): New variable.
3393         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3394         (sin_downward_test_data): New variable.
3395         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3396         (sin_upward_test_data): New variable.
3397         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3398         (sinh_test_data): New variable.
3399         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3400         (sinh_tonearest_test_data): New variable.
3401         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3402         (sinh_towardzero_test_data): New variable.
3403         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3404         (sinh_downward_test_data): New variable.
3405         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3406         (sinh_upward_test_data): New variable.
3407         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3408         (sqrt_test_data): New variable.
3409         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3410         (tan_test_data): New variable.
3411         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3412         (tan_tonearest_test_data): New variable.
3413         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3414         (tan_towardzero_test_data): New variable.
3415         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3416         (tan_downward_test_data): New variable.
3417         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3418         (tan_upward_test_data): New variable.
3419         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3420         (tanh_test_data): New variable.
3421         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3422         (tgamma_test_data): New variable.
3423         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3424         (trunc_test_data): New variable.
3425         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3426         (y0_test_data): New variable.
3427         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3428         (y1_test_data): New variable.
3429         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3430         (significand_test_data): New variable.
3431         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3433 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
3435         [BZ #12387]
3436         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3438 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3440         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3442 2013-05-10  Andreas Jaeger  <aj@suse.de>
3444         [BZ #15448]
3445         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3446         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3448 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
3450         * math/gen-libm-test.pl (adjust_arg): New function.
3451         (special_functions): Handle generating output in both functions
3452         and arrays.
3453         (parse_args): Likewise.
3454         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
3455         $in_func argument to parse_args.
3456         * math/libm-test.inc (struct test_f_f_data): New type.
3457         (IF_ROUND_INIT_): New macro.
3458         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3459         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3460         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3461         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3462         (ROUND_RESTORE_): Likewise.
3463         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3464         (ROUND_RESTORE_FE_TONEAREST): Likewise.
3465         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3466         (ROUND_RESTORE_FE_UPWARD): Likewise.
3467         (RUN_TEST_LOOP_f_f): New macro.
3468         (acos_test_data): New variable.
3469         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3470         (acos_tonearest_test_data): New variable.
3471         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3473 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3475         * benchtests/bench-skeleton.c (startup): Fix coding style.
3477 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
3479         [BZ #6809]
3480         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3481         negative infinity argument.
3482         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3483         negative infinity argument.
3484         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3485         negative infinity argument.
3486         * math/libm-test.inc (tgamma_test): Expect errno to be set for
3487         domain errors.
3489 2013-05-10  Florian Weimer  <fweimer@redhat.com>
3491         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3492         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3493         * iconv/iconv_prog.c (main): Likewise.
3494         * locale/programs/charmap-dir.c (charmap_readdir)
3495         (fopen_uncompressed): Likewise.
3496         * locale/programs/locfile.c (siblings_uncached)
3497         (write_locale_data): Use lstat64 instead of lstat.
3498         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3499         stat.
3501 2013-05-10  Andreas Jaeger  <aj@suse.de>
3503         [BZ #15395]
3504         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3505         localization.
3506         Include <locale.h>.
3508 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
3510         * elf/dl-close.c (_dl_close_worker): Add comments.
3512 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
3514         [BZ #15359]
3515         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3516         high part of pi/2.
3517         (__ieee754_rem_pio2l): Update comments.
3519         [BZ #15429]
3520         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3521         high part of pi/2.
3522         (__ieee754_rem_pio2l): Update comments.
3524         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3525         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3527         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3528         M_PI_4l.
3530         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3531         (M_PI_34_LOG10El): Likewise.
3532         (M_PI2_LOG10El): Likewise.
3533         (M_PI4_LOG10El): Likewise.
3534         (M_PI_LOG10El): Likewise.
3536 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3540 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
3542         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3543         (MINUS_ZERO_INIT): Likewise.
3544         (PLUS_INFTY_INIT): Likewise.
3545         (MINUS_INFTY_INIT): Likewise.
3546         (QNAN_VALUE_INIT): Likewise.
3547         (MAX_VALUE_INIT): Likewise.
3548         (MIN_VALUE_INIT): Likewise.
3549         (MIN_SUBNORM_VALUE_INIT): Likewise.
3550         (plus_zero): Initialize with PLUS_ZERO_INIT.
3551         (minus_zero): Initialize with MINUS_ZERO_INIT.
3552         (plus_infty): Initialize with PLUS_INFTY_INIT.
3553         (minus_infty): Initialize with MINUS_INFTY_INIT.
3554         (qnan_value): Initialize with QNAN_VALUE_INIT.
3555         (max_value): Initialize with MAX_VALUE_INIT.
3556         (min_value): Initialize with MIN_VALUE_INIT.
3557         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3559         * math/libm-test.inc (RUN_TEST_if_f): New macro.
3560         (jn_test): Use TEST_if_f instead of TEST_ff_f.
3561         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3562         (yn_test): Use TEST_if_f instead of TEST_ff_f.
3564         * math/libm-test.inc (RUN_TEST_f_f): New macro.
3565         (RUN_TEST_2_f): Likewise.
3566         (RUN_TEST_ff_f): Likewise.
3567         (RUN_TEST_fi_f): Likewise.
3568         (RUN_TEST_fl_f): Likewise.
3569         (RUN_TEST_fff_f): Likewise.
3570         (RUN_TEST_c_f): Likewise.
3571         (RUN_TEST_f_f1): Likewise.
3572         (RUN_TEST_fF_f1): Likewise.
3573         (RUN_TEST_fI_f1): Likewise.
3574         (RUN_TEST_ffI_f1): Likewise.
3575         (RUN_TEST_c_c): Likewise.
3576         (RUN_TEST_cc_c): Likewise.
3577         (RUN_TEST_f_i): Likewise.
3578         (RUN_TEST_f_i_tg): Likewise.
3579         (RUN_TEST_ff_i_tg): Likewise.
3580         (RUN_TEST_f_b): Likewise.
3581         (RUN_TEST_f_b_tg): Likewise.
3582         (RUN_TEST_f_l): Likewise.
3583         (RUN_TEST_f_L): Likewise.
3584         (RUN_TEST_sincos): Likewise.
3585         * math/gen-libm-test.pl (new_test): Take new argument to indicate
3586         whether to show exceptions.  Do not include ");\n" in return
3587         value.
3588         (special_functions): Output call to RUN_TEST_sincos instead of
3589         check_float calls.  Update calls to new_test.
3590         (parse_args): Output call to single RUN_TEST_* macro instead of
3591         check_* calls and other assignments.  Update calls to new_test.
3593         [BZ #2546]
3594         [BZ #2560]
3595         [BZ #5159]
3596         [BZ #15426]
3597         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3598         input to result for tgamma overflow.
3599         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3600         (gamma_coeff): New variable.
3601         (NCOEFF): New macro.
3602         (gamma_positive): New function.
3603         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3604         underflow here.  Use gamma_positive instead of exp (lgamma) for
3605         other arguments.
3606         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3607         (gamma_coeff): New variable.
3608         (NCOEFF): New macro.
3609         (gammaf_positive): New function.
3610         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3611         underflow here.  Use gamma_positive instead of exp (lgamma) for
3612         other arguments.
3613         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3614         (gamma_coeff): New variable.
3615         (NCOEFF): New macro.
3616         (gammal_positive): New function.
3617         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3618         underflow here.  Use gamma_positive instead of exp (lgamma) for
3619         other arguments.
3620         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3621         (gamma_coeff): New variable.
3622         (NCOEFF): New macro.
3623         (gammal_positive): New function.
3624         (__ieee754_gammal_r): Handle positive infinity, overflow and
3625         underflow here.  Handle NaN the same as positive infinity.  Remove
3626         check x < 0xffffffff for negative integers.  Use gamma_positive
3627         instead of exp (lgamma) for other arguments.
3628         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3629         (gamma_coeff): New variable.
3630         (NCOEFF): New macro.
3631         (gammal_positive): New function.
3632         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3633         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3634         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3635         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3636         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3637         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3638         * sysdeps/generic/math_private.h (__gamma_productf): New
3639         prototype.
3640         (__gamma_product): Likewise.
3641         (__gamma_productl): Likewise.
3642         * math/Makefile (libm-calls): Add gamma_product.
3643         * math/libm-test.inc (tgamma_test): Add more tests.
3644         * sysdeps/i386/fpu/libm-test-ulps: Update.
3645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3647 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
3649         * benchtests/bench-skeleton.c (main): Preheat CPU.
3651 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
3653         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3655 2013-05-07  Roland McGrath  <roland@hack.frob.com>
3657         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3658         and _dl_skip_args_internal.
3660 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
3662         * manual/message.texi (Message Translation): Talk about users.
3663         Message to key mapping impacts design.
3665 2013-05-06  Roland McGrath  <roland@hack.frob.com>
3667         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3669         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3671         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3672         * sysdeps/wordsize-64/glob64.c: ... here.
3674         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3675         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3676         New macros.
3678         * debug/getlogin_r_chk.c: Moved to ...
3679         * login/getlogin_r_chk.c: ... here.
3680         * debug/Makefile (routines): Move getlogin_r_chk to ...
3681         * login/Makefile (routines): ... here.
3682         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3683         * login/Versions (libc: GLIBC_2.4): ... here.
3685         * io/poll.c (__poll): Renamed from poll.
3686         Add libc_hidden_def.
3687         (poll): Define as weak alias.
3689         * debug/ptsname_r_chk.c: Moved to ...
3690         * login/ptsname_r_chk.c: ... here.
3691         * debug/Makefile (routines): Move ptsname_r_chk to ...
3692         * login/Makefile (routines): ... here.
3693         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3694         * login/Versions (libc: GLIBC_2.4): ... here.
3696         * posix/getlogin.c: Moved to ...
3697         * login/getlogin.c: ... here.
3698         * posix/getlogin_r.c: Moved to ...
3699         * login/getlogin_r.c: ... here.
3700         * posix/getlogin_r.c: Moved to ...
3701         * login/getlogin_r.c: ... here.
3702         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3703         * login/Makefile (routines): ... here.
3704         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3705         * login/Versions (libc: GLIBC_2.0): ... here.
3707         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3708         (setrlimit): Define as weak alias.
3710         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3711         Call __ names for open, ftruncate, and close.
3712         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3713         (truncate): Define as weak alias.
3715 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
3717         * math/gen-libm-test.pl (parse_args): Initialize x before each
3718         test of frexp, modf and remquo.
3720         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3721         test signgam value.
3723 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3725         [BZ #15418]
3726         [BZ #15419]
3727         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3728         internal tests.
3729         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3731 2013-05-06  Roland McGrath  <roland@hack.frob.com>
3733         * elf/dl-writev.h: New file.
3734         * elf/dl-misc.c: Include it.
3735         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3736         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3738 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
3740         * math/libm-test.inc (noXFails): Remove variable.
3741         (noXPasses): Likewise.
3742         (BUILD_COMPLEX_INT): Remove macro.
3743         (print_screen): Remove xfail argument.
3744         (print_screen_max_error): Likewise.
3745         (update_stats): Likewise.
3746         (print_max_error): Likewise.  Update calls to other affected
3747         functions.
3748         (print_complex_max_error): Likewise.
3749         (test_single_exception): Update calls to print_screen.
3750         (test_single_errno): Likewise.
3751         (check_float_internal): Remove xfail argument.  Update calls to
3752         other affected functions.
3753         (check_float): Likewise.
3754         (check_complex): Likewise.
3755         (check_int): Likewise.
3756         (check_long): Likewise.
3757         (check_bool): Likewise.
3758         (check_longlong): Likewise.
3759         (main): Don't print noXFails and noXPasses.
3760         * math/gen-libm-test.pl (top level): Don't mention expected
3761         failure handling in comment.
3762         (new_test): Don't handle expected failures.
3763         (parse_args): Don't mention expected failure handling in comment.
3764         (generate_testfile): Don't handle expected failures.
3765         (parse_ulps): Likewise.
3766         (print_ulps_file): Likewise.
3767         (get_failure): Remove function.
3768         (output_test): Don't handle expected failures.
3769         * make/README.libm-test: Don't mention expected failure handling.
3771         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
3772         (minus_zero): Likewise.
3773         (plus_infty): Likewise.
3774         (minus_infty): Likewise.
3775         (qnan_value): Likewise.
3776         (max_value): Likewise.
3777         (min_value): Likewise.
3778         (min_subnorm_value): Likewise.
3779         (initialize): Do not initialize those variables dynamically.
3781 2013-05-03  Roland McGrath  <roland@hack.frob.com>
3783         * io/open.c (__open_2): Moved to ...
3784         * io/open_2.c: ... this new file.
3785         * io/open64.c (__open64_2): Moved to ...
3786         * io/open64_2.c: ... this new file.
3787         * io/openat.c (__openat_2): Moved to ...
3788         * io/openat_2.c: ... this new file.
3789         * io/openat64.c (__openat64_2): Moved to ...
3790         * io/openat64_2.c: ... this new file.
3791         * io/Makefile (routines): Add them.
3792         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3793         * sysdeps/unix/sysv/linux/open_2.c: File removed.
3794         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3795         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3796         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3797         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3798         (__openat64): Add hidden_ver.
3799         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3800         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3802         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3803         Separately conditionalize setting of GLRO(dl_sysinfo) so
3804         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3805         as well, but the actual setting is only under [NEED_DL_SYSINFO].
3807 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3809         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3810         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3811         definition.
3812         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3813         * sysdeps/unix/sysv/linux/powerpc/init-first.c
3814         (_libc_vdso_platform_setup): Add __vdso_time initialization.
3815         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3816         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3818 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
3820         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3821         test signgam value.
3823         * math/libm-test.inc (hypot_test): Do not use
3824         IGNORE_ZERO_INF_SIGN.
3826 2013-05-03  Andreas Jaeger  <aj@suse.de>
3828         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3829         Linux 3.9.
3830         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3831         (PF_MAX): Adjust for VSOCK change.
3833 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3837 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
3839         [BZ #15264]
3840         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3841         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3842         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3844 2013-05-02  David S. Miller  <davem@davemloft.net>
3846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3848 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
3850         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3852 2013-05-01  Roland McGrath  <roland@hack.frob.com>
3854         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3856 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
3858         [BZ #14952]
3859         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3860         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3861         Use __attribute__ ((__gnu_inline__)).
3862         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3863         Don't use __attribute__ ((__gnu_inline__)).
3865 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
3867         [BZ #15423]
3868         * math/s_catan.c (__catan): Handle small real or imaginary part of
3869         input specially to avoid spurious underflow.
3870         * math/s_catanf.c (__catanf): Likewise.
3871         * math/s_catanh.c (__catanh): Likewise.
3872         * math/s_catanhf.c (__catanhf): Likewise.
3873         * math/s_catanhl.c (__catanhl): Likewise.
3874         * math/s_catanl.c (__catanl): Likewise.
3875         * math/libm-test.inc (catan_test): Add more tests.
3876         (catanh_test): Likewise.
3877         * sysdeps/i386/fpu/libm-test-ulps: Update.
3878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3880 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3884 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
3886         [BZ #15416]
3887         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3888         accurately for denominator in atan2.
3889         * math/s_catanf.c (__catanf): Likewise.
3890         * math/s_catanh.c (__catanh): Likewise.
3891         * math/s_catanhf.c (__catanhf): Likewise.
3892         * math/s_catanhl.c (__catanhl): Likewise.
3893         * math/s_catanl.c (__catanl): Likewise.
3894         * math/libm-test.inc (catan_test): Add more tests.
3895         (catanh_test): Likewise.
3896         * sysdeps/i386/fpu/libm-test-ulps: Update.
3897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3899 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3901         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3903         * benchtests/Makefile (bench): Remove slow benchmarks.
3904         * benchtests/atan-inputs: Add slow benchmark inputs.
3905         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3906         (BENCH_FUNC): Accept variant offset.
3907         (VARIANT): Define.
3908         * benchtests/bench-skeleton.c (main): Run benchmark for each
3909         variant.
3910         * benchtests/cos-inputs: Add slow benchmark inputs.
3911         * benchtests/exp-inputs: Likewise.
3912         * benchtests/pow-inputs: Likewise.
3913         * benchtests/sin-inputs: Likewise.
3914         * benchtests/slowatan-inputs: Remove.
3915         * benchtests/slowatan.c: Remove.
3916         * benchtests/slowcos-inputs: Remove.
3917         * benchtests/slowcos.c: Remove.
3918         * benchtests/slowexp-inputs: Remove.
3919         * benchtests/slowexp.c: Remove.
3920         * benchtests/slowpow-inputs: Remove.
3921         * benchtests/slowpow.c: Remove.
3922         * benchtests/slowsin-inputs: Remove.
3923         * benchtests/slowsin.c: Remove.
3924         * benchtests/slowtan-inputs: Remove.
3925         * benchtests/slowtan.c: Remove.
3926         * benchtests/tan-inputs: Add slow benchmark inputs.
3927         * scripts/bench.pl: Parse comments and directives.
3929         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
3930         in CPPFLAGS.
3931         ($(objpfx)bench-%.c): Remove *-ITER.
3932         * benchtests/bench-modf.c: Remove definition of ITER.
3933         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3934         (main): Loop for DURATION seconds instead of fixed number of
3935         iterations.
3936         * scripts/bench.pl: Don't expect iterations in parameters.
3938 2013-04-29  Roland McGrath  <roland@hack.frob.com>
3940         * io/fchdir.c (__fchdir): Renamed from fchdir.
3941         (fchdir): Define as weak alias.
3943 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
3945         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3946         (ERRNO_EDOM): Likewise.
3947         (ERRNO_ERANGE): Likewise.
3948         (noErrnoTests): New variable.
3949         (init_max_error): Set errno to 0.
3950         (test_single_errno): New function.
3951         (test_errno): Likewise.
3952         (check_float_internal): Call test_errno.  Set errno to 0.
3953         (check_complex): Refer to errno tests in comment.
3954         (check_int): Call test_errno.  Set errno to 0.
3955         (check_long): Likewise.
3956         (check_bool): Likewise.
3957         (check_longlong): Likewise.
3958         (cos_test): Use ERRNO_* flags for errno tests instead of
3959         check_int.
3960         (expm1_test): Likewise.
3961         (fmod_test): Likewise.
3962         (ilogb_test): Likewise.
3963         (lgamma_test): Likewise.
3964         (pow_test): Likewise.
3965         (remainder_test): Likewise.
3966         (sin_test): Likewise.
3967         (tan_test): Likewise.
3968         (yn_test): Likewise.
3969         (initialize): Set errno to 0.
3970         (main): Print number of errno tests.
3971         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3973 2013-04-29  Andreas Jaeger  <aj@suse.de>
3975         [BZ #15084]
3976         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3977         and RES_USEVC.
3979         [BZ #15085]
3980         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3981         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3982         unimplemented.
3984         [BZ #15380]
3985         * stdlib/random.c (__initstate): Return NULL if
3986         __initstate fails.
3988         [BZ #15086]
3989         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3990         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3991         RES_SNGLKUPREOP.
3993 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3997 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
3999         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4000         of individual tests.
4001         (casin_test): Likewise.
4002         (casinh_test): Likewise.
4004 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
4006         [BZ #15409]
4007         * math/s_catan.c (__catan): Handle arguments with large real or
4008         imaginary part separately without squaring.
4009         * math/s_catanf.c (__catanf): Likewise.
4010         * math/s_catanh.c (__catanh): Likewise.
4011         * math/s_catanhf.c (__catanhf): Likewise.
4012         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4013         and redefine.
4014         (__catanhl): Handle arguments with large real or imaginary part
4015         separately without squaring.
4016         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4017         and redefine.
4018         (__catanl): Handle arguments with large real or imaginary part
4019         separately without squaring.
4020         * math/libm-test.inc (catan_test): Add more tests.
4021         (catanh_test): Likewise.
4022         * sysdeps/i386/fpu/libm-test-ulps: Update.
4023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4025 2013-04-27  Andreas Jaeger  <aj@suse.de>
4027         [BZ #15007]
4028         * stdlib/stdlib.h: Update guards for qecvt.
4029         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4030         <stdlib.h>.
4032 2013-04-27  Allan McRae  <allan@archlinux.org>
4034         * sysdeps/i386/fpu/libm-test-ulps: Update.
4036 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
4038         [BZ #15406]
4039         * math/s_catan.c: Include <float.h>.
4040         (__catan): Ensure underflow exception occurs for underflowed
4041         result.
4042         * math/s_catanf.c: Include <float.h>.
4043         (__catanf): Ensure underflow exception occurs for underflowed
4044         result.
4045         * math/s_catanh.c: Include <float.h>.
4046         (__catanh): Ensure underflow exception occurs for underflowed
4047         result.
4048         * math/s_catanhf.c: Include <float.h>.
4049         (__catanhf): Ensure underflow exception occurs for underflowed
4050         result.
4051         * math/s_catanhl.c: Include <float.h>.
4052         (__catanhl): Ensure underflow exception occurs for underflowed
4053         result.
4054         * math/s_catanl.c: Include <float.h>.
4055         (__catanl): Ensure underflow exception occurs for underflowed
4056         result.
4057         * math/libm-test.inc (catan_test): Add more tests.
4058         (catanh_test): Likewise.
4060         [BZ #15405]
4061         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4062         underflowed result.
4063         * math/s_ccoshf.c (__ccoshf): Likewise.
4064         * math/s_ccoshl.c (__ccoshl): Likewise.
4065         * math/s_csin.c (__csin): Likewise.
4066         * math/s_csinf.c (__csinf): Likewise.
4067         * math/s_csinh.c (__csinh): Likewise.
4068         * math/s_csinhf.c (__csinhf): Likewise.
4069         * math/s_csinhl.c (__csinhl): Likewise.
4070         * math/s_csinl.c (__csinl): Likewise.
4071         * math/libm-test.inc (ccos_test): Add more tests.
4072         (ccosh_test): Likewise.
4073         (csin_test): Likewise.
4074         (csinh_test): Likewise.
4076 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4078         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4079         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4080         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4081         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4082         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4083         powerpc/power5+/fpu folders.
4084         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4087 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
4089         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4091 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
4093         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4094         additions to variable.
4095         [$(config-machine) = x86_64] (modules-names): Likewise.
4096         ($(objpfx)tst-audit3): Remove dependency.
4097         ($(objpfx)tst-audit3.out): Likewise.
4098         ($(objpfx)tst-audit4): Likewise.
4099         ($(objpfx)tst-audit4.out): Likewise.
4100         ($(objpfx)tst-audit5): Likewise.
4101         ($(objpfx)tst-audit5.out): Likewise.
4102         ($(objpfx)tst-audit6): Likewise.
4103         ($(objpfx)tst-audit6.out): Likewise.
4104         ($(objpfx)tst-audit7): Likewise.
4105         ($(objpfx)tst-audit7.out): Likewise.
4106         (tst-audit3-ENV): Remove variable.
4107         (tst-audit4-ENV): Likewise.
4108         (tst-audit5-ENV): Likewise.
4109         (tst-audit6-ENV): Likewise.
4110         (tst-audit7-ENV): Likewise.
4111         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4112         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4113         addition to variable.
4114         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4115         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4116         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4117         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4118         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4119         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4120         tst-audit3, tst-audit4 and tst-audit5.
4121         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4122         tst-audit6 and tst-audit7.
4123         [$(subdir) = elf] (modules-names): Add audit modules for those
4124         tests.
4125         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4126         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4127         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4128         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4129         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4130         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4131         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4132         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4133         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4134         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4135         [$(subdir) = elf] (tst-audit3-ENV): New variable.
4136         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4137         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4138         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4139         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4140         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4141         Likewise.
4142         [$(subdir) = elf && $(config-cflags-avx) = yes]
4143         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4144         [$(subdir) = elf && $(config-cflags-avx) = yes]
4145         (CFLAGS-tst-auditmod4a.c): Likewise.
4146         [$(subdir) = elf && $(config-cflags-avx) = yes]
4147         (CFLAGS-tst-auditmod4b.c): Likewise.
4148         [$(subdir) = elf && $(config-cflags-avx) = yes]
4149         (CFLAGS-tst-auditmod6b.c): Likewise.
4150         [$(subdir) = elf && $(config-cflags-avx) = yes]
4151         (CFLAGS-tst-auditmod6c.c): Likewise.
4152         [$(subdir) = elf && $(config-cflags-avx) = yes]
4153         (CFLAGS-tst-auditmod7b.c): Likewise.
4154         * elf/tst-audit3.c: Move to ...
4155         * sysdeps/x86_64/tst-audit3.c: ... here.
4156         * elf/tst-audit4.c: Move to ...
4157         * sysdeps/x86_64/tst-audit4.c: ... here.
4158         * elf/tst-audit5.c: Move to ...
4159         * sysdeps/x86_64/tst-audit5.c: ... here.
4160         * elf/tst-audit6.c: Move to ...
4161         * sysdeps/x86_64/tst-audit6.c: ... here.
4162         * elf/tst-audit7.c: Move to ...
4163         * sysdeps/x86_64/tst-audit7.c: ... here.
4164         * elf/tst-auditmod3a.c: Move to ...
4165         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4166         * elf/tst-auditmod3b.c: Move to ...
4167         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4168         * elf/tst-auditmod4a.c: Move to ...
4169         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4170         * elf/tst-auditmod4b.c: Move to ...
4171         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4172         * elf/tst-auditmod5a.c: Move to ...
4173         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4174         * elf/tst-auditmod5b.c: Move to ...
4175         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4176         * elf/tst-auditmod6a.c: Move to ...
4177         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4178         * elf/tst-auditmod6b.c: Move to ...
4179         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4180         * elf/tst-auditmod6c.c: Move to ...
4181         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4182         * elf/tst-auditmod7a.c: Move to ...
4183         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4184         * elf/tst-auditmod7b.c: Move to ...
4185         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4187 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
4189         [BZ #15366]
4190         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4191         define unconditionally.
4192         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4193         define unconditionally.
4194         (INT8_C, INT16_C, etc.): Likewise.
4196 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
4198         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4199         __ehdr_start with hidden visibility.
4201         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4203 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
4205         * math/libm-test.inc (cos_test): Use accurate hex constants.
4206         (sincost_test): Likewise.
4208 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
4210         * math/libm-test.inc (catan_test): Add more tests.
4211         (catanh_test): Likewise.
4213         * math/s_catanf.c (__catanf): Use suffixed floating-point
4214         constants.
4215         * math/s_catanhf.c (__catanhf): Likewise.
4216         * math/s_catanhl.c (__catanhl): Likewise.
4217         * math/s_catanl.c (__catanl): Likewise.
4219         [BZ #15394]
4220         * math/s_catan.c (__catan): Calculate imaginary part of result
4221         with log1p not log unless computing log of number close to 0.
4222         * math/s_catanf.c (__catanf): Likewise.
4223         * math/s_catanl.c (__catanl): Likewise.
4224         * math/s_catanh.c (__catanh): Calculate real part of result with
4225         log1p not log unless computing log of number close to 0.
4226         * math/s_catanhf.c (__catanhf): Likewise.
4227         * math/s_catanhl.c (__catanhl): Likewise.
4228         * math/libm-test.inc (catan_test): Add more tests.
4229         (catanh_test): Likewise.
4230         * sysdeps/i386/fpu/libm-test-ulps: Update.
4231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4233 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4235         * benchtests/Makefile: Mention files in which fast and slow
4236         paths of math functions are implemented.
4238 2013-04-23  Roland McGrath  <roland@hack.frob.com>
4240         * sysdeps/posix/timespec_get.c: New file.
4242 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4244         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4245         POWER.
4246         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4247         for POWER.
4248         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4249         powerpc/power5/fpu folders.
4250         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4251         * benchtests/Makefile: Add modf testcase.
4252         * benchtests/bench-modf.c: New file: Benchmark test for mo
4254 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4256         [BZ #14888]
4257         * time/Makefile (tests): Add tst-strptime-whitespace.
4258         * time/strptime_l.c (get_number): Use ISSPACE.
4259         (__strptime_internal): Likewise.
4260         * time/tst-strptime-whitespace.c: New test case.
4262 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
4264         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4265         member.
4266         (_nss_files_init): Set it here.
4268 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
4270         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4271         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4272         unsigned.
4274 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
4276         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4278 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4280         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4281         size just once.
4283 2013-04-21  David S. Miller  <davem@davemloft.net>
4285         * po/ru.po: Update Russion translation from translation project.
4287 2013-04-17  Adam Conrad  <adconrad@0c3.net>
4289         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4290         and setfsgid.
4292 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
4294         * configure.in: Remove i386 configure warning. Remove i386 case.
4295         * configure: Regenerate.
4296         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
4297         Add example to error message.
4298         * sysdeps/i386/configure: Regenerate.
4300 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4302         * benchtests/Makefile (bench): Add cos, tan, slowcos and
4303         slowtan.
4304         * benchtests/cos-inputs: New file.
4305         * benchtests/slowcos-inputs: New file.
4306         * benchtests/slowcos.c: New file.
4307         * benchtests/slowtan-inputs: New file.
4308         * benchtests/slowtan.c: New file.
4309         * benchtests/tan-inputs: New file.
4311 2013-04-16  Roland McGrath  <roland@hack.frob.com>
4313         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4314         considered kosher.
4316 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4318         * benchtests/Makefile: Include cppflags-iterator.mk to add
4319         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4321         * Makefile.in (bench-clean): New target.
4322         * benchtests/Makefile (bench-clean): Likewise.
4324 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
4326         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4328 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
4330         * stdio-common/tstdiomisc.c: Fix coding-style violation.
4332 2013-04-15  Andreas Schwab  <schwab@suse.de>
4334         * nscd/grpcache.c (cache_addgr): Properly check for short write.
4335         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4336         * nscd/pwdcache.c (cache_addpw): Likewise.
4337         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
4338         more than recsize.
4340 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4342         * benchtests/Makefile (bench): Write all output to
4343         bench-out.tmp together.
4345 2013-04-15  Andreas Schwab  <schwab@suse.de>
4347         * nscd/nscd.c (main): Don't fork again after closing files.
4349 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4351         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4353         * benchtests/Rules (bench-deps): Collect dependencies into a
4354         single variable.  Add Makefile to dependencies.
4355         ($(objpfx)bench-%.c): Depend on bench-deps.
4357 2013-04-12  Roland McGrath  <roland@hack.frob.com>
4358             Xavier Roche  <roche+kml2@exalead.com>
4360         [BZ #15361]
4361         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4362         just that it's a file descriptor.
4363         * manual/llio.texi (Synchronizing AIO Operations): Update description
4364         for EBADF error from aio_fsync.
4366 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4368         * Rules (bench): Move target definition...
4369         * benchtests/Makefile: ... here.
4371 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
4373         * math/libm-test.inc (cos_test): Fix PI/2 test.
4374         (sincos_test): Likewise.
4375         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4376         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4378 2013-04-11  Andreas Schwab  <schwab@suse.de>
4380         [BZ #13988]
4381         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4382         accept exponent character only when digits were seen.
4383         * stdio-common/Makefile (tests): Add bug26.
4384         * stdio-common/bug26.c: New file.
4386         [BZ #14293]
4387         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4388         non-freeable.
4390 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4392         * Makeconfig (rtld-prefix): Define built linker prefix.
4393         * Rules (run-bench): Use it.
4394         * math/Makefile (run-regen-ulps): Likewise.
4396         * Rules (bench): Remove eval.
4398 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4399             Roland McGrath  <roland@hack.frob.com>
4400             Ondrej Bilka  <neleai@seznam.cz>
4402         [BZ #15346]
4403         * time/getdate.c: Include ctype.h and alloca.h.
4404         (__getdate_r): Trim leading and trailing spaces of input.
4405         * time/tst-getdate.c (tests): Add tests with leading and
4406         trailing spaces.
4408 2013-04-08  Roland McGrath  <roland@hack.frob.com>
4410         [BZ #14280]
4411         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4412         when computing value.
4414 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4416         * math/README.libm-test (How can I generate "libm-test-ulps"?):
4417         Use testrun.sh to run libm tests.
4419         [BZ #15309]
4420         * elf/dl-open.c (dl_open_worker): memset all of seen array.
4422 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
4424         [BZ #15264]
4425         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4427 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4429         * Makefile.in (regen-ulps): New target.
4430         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4431         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4432         [ifneq (no,$(PERL)] (regen-ulps): New target.
4433         [ifeq (no,$(PERL)] (regen-ulps): New target.
4434         * math/libm-test.inc (ulps_file_name): Define.
4435         (output_dir): New variable.
4436         (options): Add "output-dir" option.
4437         (parse_opt): Handle 'o' case.
4438         (main): If output_dir is non-NULL use it as a prefix
4439         otherwise use "".
4440         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4442 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4444         [BZ #10060, #10062]
4445         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4446         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4447         fail configure if __sync_val_compare_and_swap is not inlined.
4448         * sysdeps/i386/configure: Regenerate.
4449         * configure.in: Build for i686 when configured for i386.
4450         * configure: Regenerate.
4451         * README: Remove i386 reference.
4453 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4455         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4456         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4458 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
4460         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4461         (lmsnanval): New variables.
4462         (F): Add conversion tests.
4463         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4464         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4466         * stdio-common/tstdiomisc.c (F): Properly collect individual
4467         tests' results.
4469         [BZ #14686, #15336]
4470         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4471         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4472         Instead, use input NaN values or generate a qNaN by arithmetic
4473         operation.  Also fix bugs to comply with the standard.
4474         * math/libm-test.inc (remainder_test): Add more tests.
4476         [BZ #15335, #15342]
4477         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4478         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4479         input NaN values or generate a qNaN by arithmetic operation.
4481         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4482         unreachable code.
4484         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4485         definitions.
4487 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
4489         [BZ #14478]
4490         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4491         underflowed result.
4492         * math/s_cexpf.c (__cexpf): Likewise.
4493         * math/s_cexpl.c (__cexpl): Likewise.
4494         * math/libm-test.inc (cexp_test): Add more tests.
4496 2013-04-03  Andreas Schwab  <schwab@suse.de>
4498         [BZ #15330]
4499         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4500         order arrays from heap if bigger than alloca cutoff.
4502 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
4504         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4505         (SNAN_TESTS_double): Refer to GCC PR56831.
4506         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4507         GCC PR56828.
4509 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4511         * Rules (bench): Move bench.out after the run is complete.
4513         * Rules (bench): Echo currently running benchmark.
4515         * benchtests/Makefile (bench): Add atan and slowatan.
4516         * benchtests/atan-inputs: New file.
4517         * benchtests/slowatan-inputs: New file.
4518         * benchtests/slowatan.c: New file.
4520         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4521         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4522         its value.
4524         [BZ #15305]
4525         * sysdeps/unix/sysv/linux/kernel-features.h
4526         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4527         __ASSUME_XFS_RESTRICTED_CHOWN.
4528         * sysdeps/unix/sysv/linux/pathconf.c
4529         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4530         Save and restore errno.
4532 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
4534         [BZ #15327]
4535         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4536         arguments using __kernel_casinh.
4537         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4538         arguments using __kernel_casinhf.
4539         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4540         arguments using __kernel_casinhl.
4541         * math/libm-test.inc (cacosh_test): Add more tests.
4542         * sysdeps/i386/fpu/libm-test-ulps: Update.
4543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4545 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4547         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4548         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4550         * bench/Makefile (bench): Add sin and slowsin.
4551         * benchtests/sin-inputs: New file.
4552         * benchtests/slowsin-inputs: New file.
4553         * benchtests/slowsin.c: New file.
4555         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4556         (bench): Add slowexp and slowpow.
4557         (exp-ITER): Increase iterations.
4558         (pow-ITER): Likewise.
4559         * benchtests/exp-inputs: Change input.
4560         * benchtests/pow-inputs: Likewise.
4561         * benchtests/slowexp-inputs: New file.
4562         * benchtests/slowexp.c: New file.
4563         * benchtests/slowpow-inputs: New file.
4564         * benchtests/slowpow.c: New file.
4566 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4568         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4569         instructions.
4570         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4571         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4572         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4573         * benchtests/Makefile: Add rint benchtest.
4574         * benchtests/rint-inputs: Input for rint benchtest.
4576 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
4578         * Versions.def (libm): Add GLIBC_2.18.
4579         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4580         hidden libm prototypes.
4581         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4582         * math/Makefile (libm-calls): Add s_issignaling.
4583         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4584         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
4585         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4586         declaration.
4587         * math/math.h [__USE_GNU] (issignaling): New macro.
4588         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4589         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4590         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4591         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4592         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4593         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4594         * manual/arith.texi (issignaling): New section.
4595         * manual/libm-err-tab.pl (@all_functions): Update comment.
4596         * math/gen-libm-test.pl (parse_args): Apply special handling for
4597         issignaling.
4598         * math/libm-test.inc (print_float, issignaling_test): New
4599         functions.
4600         (check_float_internal): Add issignaling checks.
4601         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4602         default definition.
4603         * sysdeps/powerpc/math-tests.h: New file.
4604         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4605         tests.
4606         * math/test-snan.c (TEST_FUNC): Likewise.
4608 2013-03-30  David S. Miller  <davem@davemloft.net>
4610         * po/de.po: Update from translation team.
4612 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
4614         [BZ #10357]
4615         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4616         imaginary part less than 1.0 and real part less than 0.5
4617         specially.
4618         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4619         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4620         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4621         (cacos_test): Add more tests.
4622         (casin_test): Likewise.
4623         (casinh_test): Likewise.
4624         * sysdeps/i386/fpu/libm-test-ulps: Update.
4625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4627 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4629         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4630         ONE with its value.
4632         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4633         (__pow_mp): Replace ONE and MONE with their values.
4634         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4635         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4636         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4637         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4638         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4639         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4641         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4643         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4644         (__pow_mp): Replace ZERO and MZERO with their values.
4645         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4646         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4647         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4648         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4649         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4650         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4651         (__sqr): Likewise.
4653         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4655         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4657 2013-03-28  Roland McGrath  <roland@hack.frob.com>
4659         * include/stdlib.h [!SHARED] (__call_tls_dtors):
4660         Declare with __attribute__ ((weak)).
4661         * stdlib/exit.c (__libc_atexit) [!SHARED]:
4662         Call __call_tls_dtors only if it's not NULL.
4664 2013-03-28  Roland McGrath  <roland@hack.frob.com>
4666         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4667         didn't do it already, then set _dl_phdr and _dl_phnum based on the
4668         magic __ehdr_start linker symbol if it's defined.
4669         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4670         them up here if it was already done.
4672         * elf/dl-support.c (_dl_phdr): Make pointer to const.
4673         (_dl_aux_init): Use const in cast when setting it.
4674         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4675         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4676         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4678         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4679         Declare them here.
4680         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4681         * csu/libc-tls.c: Nor here.
4682         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4684         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4685         (__libc_message): Never call vsyslog.
4687 2013-03-28  Alan Modra  <amodra@gmail.com>
4689         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4690         Define as empty.
4691         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4692         Likewise.
4694 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4696         [BZ #15214]
4697         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4698         underflow.
4699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4701 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4703         [BZ #15304]
4704         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4705         Don't add gid passed as argument.
4707         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4709 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
4711         [BZ #15307]
4712         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4713         imaginary part between 1.0 and 1.5 and real part less than 0.5
4714         specially.
4715         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4716         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4717         * math/libm-test.inc (cacos_test): Add more tests.
4718         (casin_test): Likewise.
4719         (casinh_test): Likewise.
4720         * sysdeps/i386/fpu/libm-test-ulps: Update.
4721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4723 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4725         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4726         constants.
4727         (norm): Likewise.
4728         (denorm): Likewise.
4729         (__dbl_mp): Likewise.
4730         (add_magnitudes): Likewise.
4731         (sub_magnitudes): Likewise.
4732         (__add): Likewise.
4733         (__sub): Likewise.
4734         (__mul): Likewise.
4735         (__sqr): Likewise.
4736         (__inv): Likewise.
4737         (__dvd): Likewise.
4739         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4740         commented code.
4741         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4742         (__dubcos): Likewise.
4743         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4744         (__ieee754_acos): Likewise.
4745         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4746         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4747         (__exp1): Likewise.
4748         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4749         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4750         (log1): Likewise.
4751         (my_log2): Likewise.
4752         (checkint): Likewise.
4753         * sysdeps/ieee754/dbl-64/e_remainder.c
4754         (__ieee754_remainder): Likewise.
4755         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4756         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4757         (bsloww): Likewise.
4758         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4760         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4761         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4762         MANTISSA_STORE_T to store computations on mantissa.  Use
4763         macros for rounding and division.
4764         (denorm): Likewise.
4765         (__dbl_mp): Likewise.
4766         (add_magnitudes): Likewise.
4767         (sub_magnitudes): Likewise.
4768         (__mul): Likewise.
4769         (__sqr): Likewise.
4770         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
4771         powers of two in terms of TWOPOW macro.
4772         (mp_no): Make type of mantissa as MANTISSA_T.
4773         [!RADIXI]: Define RADIXI.
4774         [!TWO52]: Define TWO52.
4775         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4777 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4779         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4780         llroundl symbol when building for PPC32.
4782 2013-03-24  Mark H Weaver  <mhw@netris.org>
4784         * manual/arith.texi (Normalization Functions): Fix prototypes for
4785         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4787 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4789         [BZ #13889]
4790         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4791         high value to check if expl overflow.
4792         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4793         to check for underflow and overflow.
4794         * math/libm-test.inc: Add exp test.
4796 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
4798         [BZ #11120]
4799         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4800         with NOT_IN_libc.
4802 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4804         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4805         symbol.
4807 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
4809         * math/gen-libm-test.pl (parse_args, special_functions): Properly
4810         wrap blocks consisting of several statements.
4812         * sysdeps/generic/math-tests.h: New file.
4813         * sysdeps/i386/fpu/math-tests.h: Likewise.
4814         * math/test-snan.c: Include it.
4815         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4817 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
4819         [BZ #15285]
4820         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4821         (__ieee754_j0l): Do not improve calculations using cos of twice
4822         input for inputs above LDBL_MAX / 2.0L.
4823         (__ieee754_y0l): Likewise.
4824         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4825         (__ieee754_j1l): Do not improve calculations using cos of twice
4826         input for inputs above LDBL_MAX / 2.0L.
4827         (__ieee754_y1l): Likewise.
4828         * math/libm-test.inc (j0_test): Add another test.
4829         (j1_test): Likewise.
4830         (y0_test): Likewise.
4831         (y1_test): Likewise.
4832         * sysdeps/i386/fpu/libm-test-ulps: Update.
4834 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4836         * Rules ($(objpfx)bench-%.c): Include code from a C source
4837         file.
4839 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
4841         [BZ #15287]
4842         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4843         imaginary part 1.0 and real part less than 0.5 specially.
4844         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4845         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4846         * math/libm-test.inc (cacos_test): Add more tests.
4847         (casin_test): Likewise.
4848         (casinh_test): Likewise.
4849         * sysdeps/i386/fpu/libm-test-ulps: Update.
4850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4852 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4854         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4855         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4857 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
4859         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4860         * config.make.in (config-cflags-sse4): Remove variable.
4861         (config-cflags-avx): Likewise.
4862         (config-cflags-sse2avx): Likewise.
4863         (config-cflags-novzeroupper): Likewise.
4864         (config-asflags-i686): Likewise.
4865         (have-mfma4): Likewise.
4866         (have-as-vis3): Likewise.
4867         (MIG): Likewise.
4868         * configure.in (MIG): Do not AC_SUBST.
4869         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4870         (libc_cv_cc_sse4): Do not AC_SUBST.
4871         (libc_cv_cc_avx): Likewise.
4872         (libc_cv_cc_sse2avx): Likewise.
4873         (libc_cv_cc_novzeroupper): Likewise.
4874         (libc_cv_cc_fma4): Likewise.
4875         (libc_cv_as_i686): Likewise.
4876         (libc_cv_sparc_as_vis3): Likewise.
4877         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4878         LIBC_CONFIG_VAR.
4879         (config-asflags-i686): Likewise.
4880         (config-cflags-avx): Likewise.
4881         (config-cflags-sse2avx): Likewise.
4882         (have-mfma4): Likewise.
4883         (config-cflags-novzeroupper): Likewise.
4884         * sysdeps/mach/configure.in (MIG): Likewise.
4885         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4886         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4887         LIBC_CONFIG_VAR.
4888         (config-cflags-avx): Likewise.
4889         (config-cflags-sse2avx): Likewise.
4890         (have-mfma4): Likewise.
4891         (config-cflags-novzeroupper): Likewise.
4892         * configure: Regenerated.
4893         * sysdeps/i386/configure: Likewise.
4894         * sysdeps/mach/configure: Likewise.
4895         * sysdeps/sparc/configure: Likewise.
4896         * sysdeps/x86_64/configure: Likewise.
4898 2013-03-20  Roland McGrath  <roland@hack.frob.com>
4900         [BZ #14812]
4901         * locale/programs/localedef.c (options): Put N_ translation marker
4902         on argument names, not just descriptions.
4904 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4906         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4908 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
4910         [BZ #14176]
4911         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4913 2013-03-19  Roland McGrath  <roland@hack.frob.com>
4915         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4916         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4917         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4918         [!BEFORE_ABORT] (before_abort): New function.
4919         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4920         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4921         (writev_for_fatal): New function.
4922         (WRITEV_FOR_FATAL): New macro; call that.
4923         (backtrace_and_maps): New function.
4924         (BEFORE_ABORT): New macro; call that.
4925         (struct str_list): Type removed.
4926         (__libc_message, __libc_fatal): Functions removed.
4927         Include <sysdeps/posix/libc_fatal.c> instead.
4929 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
4931         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4932         constants.
4933         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4934         double constants.
4936 2013-03-19  Andreas Schwab  <schwab@suse.de>
4938         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4939         * sysdeps/gnu/configure: Regenerate.
4941         * configure.in: Substitute libc_cv_rtlddir.
4942         * configure: Regenerate.
4943         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4944         * Makeconfig (rtlddir, inst_rtlddir): New variables.
4945         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4946         * elf/Makefile (install-others, CFLAGS-interp.c)
4947         (ldso_install, common-ldd-rewrite): Likewise.
4948         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4949         $(inst_slibdir)/$(rtld-installed-name).
4950         * scripts/rellns-sh: Add -p option.
4951         * Makerules (make-shlib-link): Use rellns-sh to get relative name
4952         for source.
4954 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4956         * manual/nptl.texi: Renamed to ...
4957         * manual/threads.texi: ... this.
4958         * manual/Makefile (chapters): Update.
4960 2013-03-18  Roland McGrath  <roland@hack.frob.com>
4962         [BZ #14812]
4963         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4964         on argument names, not just descriptions.
4965         * malloc/memusagestat.c (options): Likewise.
4966         * nss/getent.c (options): Likewise.
4968 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
4970         [BZ #14812]
4971         * iconv/iconv_prog.c (options): Put N_ translation marker
4972         on argument names, not just descriptions.
4973         * iconv/iconvconfig.c (options): Likewise.
4975 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
4977         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4978         implementation which is faster on all x86_64 architectures.
4979         Tested on AMD, Intel Nehalem, SNB, IVB.
4980         * sysdeps/x86_64/strnlen.S: Likewise.
4982         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4983         Remove all multiarch strlen and strnlen versions.
4984         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4985         Remove strlen and strnlen related parts.
4987         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4988         Inline strlen part.
4989         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4991         * sysdeps/x86_64/multiarch/strlen.S: Remove.
4992         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4993         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4994         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4995         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4996         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4998 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
5000         * manual/memory.texi (Malloc Tunable Parameters):
5001         Sort parameters alphabetically. Add comments for missing entries.
5003 2013-03-17  David S. Miller  <davem@davemloft.net>
5005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5007 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
5009         [BZ #15283]
5010         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5011         for arguments at most half maximum finite value.
5012         * math/libm-test.inc (j0_test): Add more tests.
5013         (j1_test): Likewise.
5014         (y0_test): Likewise.
5015         (y1_test): Likewise.
5016         * sysdeps/i386/fpu/libm-test-ulps: Update.
5017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5019         [BZ #14155]
5020         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5021         1 / x and functions P and Q for arguments above 0x1p256L.
5022         (__ieee754_y0l): Likewise.
5023         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5024         (__ieee754_y1l): Likewise.
5025         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5026         (j1_test): Likewise.
5027         (y0_test): Likewise.
5028         (y1_test): Likewise.
5030 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
5032         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5033         variable.
5035 2013-03-15  Roland McGrath  <roland@hack.frob.com>
5037         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5038         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5039         zero since it's initialized to EXEC_PAGESIZE.
5041         * sysdeps/unix/sysv/linux/ldsodefs.h
5042         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5043         * sysdeps/generic/ldsodefs.h: ... here.
5045 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
5047         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5049         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5050         math/test-snan.c.
5051         * math/test-snan.c: Renamed from
5052         sysdeps/powerpc/fpu/test-powerpc-snan.c.
5053         * math/Makefile (tests): Add test-snan.
5054         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5055         test-powerpc-snan.
5057         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5058         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
5059         functions.
5060         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
5061         __builtin_nan family of functions.
5062         * math/libm-test.inc (initialize): Initialize qnan_value with
5063         __builtin_nan family of functions.
5064         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5065         Remove variables.
5066         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5067         Remove functions.
5068         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
5069         storage class.  Initialize qNaN_var and sNaN_var with
5070         __builtin_nan and __builtin_nans families of functions,
5071         respectively.
5073         * math/libm-test.inc (acosh_test): Also test with qNaN input.
5074         (sqrt_test): Remove duplicate test with qNaN input.
5075         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5076         (round_test, signbit_test, significand_test): Note missing +/-Inf
5077         as well as qNaN tests.
5079         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5080         qNaN_var.  Fix a few strings, too.
5081         * math/libm-test.inc (nan_value): Rename to qnan_value.
5082         * math/gen-libm-test.pl (%beautify): Adjust to that.
5083         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5084         * math/test-misc.c (main): Likewise.
5085         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5086         to __qnan_bytes, and __qnan_union, respectively.
5087         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5088         Likewise.
5089         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5090         and lqnanval, respectively.
5091         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5092         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5093         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5094         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5096         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5097         * math/test-misc.c (main) [__x86_64__]: Enable test for long
5098         doubles.
5100         * math/test-misc.c (main): Fix copy'n'pastos.
5101         * misc/tst-efgcvt.c (special): Likewise.
5103         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5104         Remove declarations.
5106 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5108         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5109         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5110         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5111         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5113 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5115         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5116         macro to return vdso values correctly in IFUNC implementations.
5117         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5118         Optimization by using IFUNC.
5120 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5121             Richard Henderson  <rth@redhat.com>
5122             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5124         * Makefile.in (bench): New target.
5125         * NEWS: Mention the benchmark framework.
5126         * Rules (bench): Likewise.
5127         (binaries-bench): Generate binaries for functions to
5128         benchmark.
5129         * benchtests/Makefile: New makefile for benchmark tests.
5130         * benchtests/bench-skeleton.c: New skeleton file for benchmark
5131         programs.
5132         * benchtests/exp-inputs: New input file for EXP function.
5133         * benchtests/pow-inputs: New input file for POW function.
5134         * scripts/bench.pl: New script to generate source files for
5135         benchmark programs.
5137 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5139         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5140         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5141         computations on mantissa.  Use macros for rounding and
5142         division.
5143         (denorm): Likewise.
5144         (__dbl_mp): Likewise.
5145         (add_magnitudes): Likewise.
5146         (sub_magnitudes): Likewise.
5147         (__mul): Likewise.
5148         (__sqr): Likewise.
5149         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
5150         powers of two in terms of TWOPOW macro.
5151         (mp_no): Make type of mantissa as MANTISSA_T.
5152         [!RADIXI]: Define RADIXI.
5153         [!TWO52]: Define TWO52.
5154         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5156         * manual/nptl.texi (cindex): Modify threads to pthreads.
5158 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
5160         * sysdeps/x86_64/preconfigure: Regenerated.
5162 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
5164         [BZ #14155]
5165         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5166         0x1p28 and above.
5167         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5168         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5169         0x1p28 and above.
5170         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5171         * math/libm-test.inc (j0_test): Do not allow one spurious
5172         underflow exception.
5173         (y1_test): Likewise.
5175 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5177         * manual/Makefile (chapters): Add nptl.
5178         * manual/debug.texi (Debugging Support): Add link to Threads
5179         chapter.
5180         * manual/nptl.texi: New file.
5182         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5184 2013-03-14  Petr Baudis  <pasky@ucw.cz>
5186         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5187         for non-NULL pointer before the memory validity test. Pointed
5188         out by Holger Brunck <holger.brunck@keymile.com>.
5190 2013-03-13  Andreas Schwab  <schwab@suse.de>
5192         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5193         instead of .os.
5195 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
5197         * timezone/zic.c: Update from tzcode 2013b.
5199 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
5201         * manual/install.texi (Configuring and compiling):
5202         Mention i686 and i586.
5203         * INSTALL: Regenerate.
5205 2013-03-12  Roland McGrath  <roland@hack.frob.com>
5207         * sysdeps/init_array/elf-init.c: New file.
5208         * csu/elf-init.c
5209         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5210         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5212         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5213         __gmon_start__ as global, but as static with a .preinit_array pointer.
5214         * sysdeps/init_array/gmon-start.c: New file.  Use that.
5215         * sysdeps/init_array/crti.S: New file, empty except for comments.
5216         * sysdeps/init_array/crtn.S: Likewise.
5218 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
5220         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5221         definining bcopy.
5222         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5223         Remove Prefer_SSE_for_memop.
5224         * sysdeps/x86_64/multiarch/init-arch.h: Remove
5225         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5226         HAS_PREFER_SSE_FOR_MEMOP.
5227         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5228         memset-x86-64.
5229         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5230         Remove bzero, memset ifunc support.
5231         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5232         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5233         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5234         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5236 2013-03-11  Andreas Schwab  <schwab@suse.de>
5238         [BZ #15234]
5239         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5240         by SHLIB_COMPAT.
5241         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5242         (GLIBC_2.16): Remove pthread_atfork.
5244 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5246         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5247         (ptestcases.h): Likewise.
5249 2013-03-08  Roland McGrath  <roland@hack.frob.com>
5251         * Makeconfig ($(common-objpfx)config.status): Depend on
5252         sysdeps/*/preconfigure{,.in} too.
5254 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
5256         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5257         (__free_hook): Use void * instead of __malloc_ptr_t.
5258         (__malloc_hook): Likewise.
5259         (__realloc_hook): Likewise.
5260         (__memalign_hook): Likewise.
5261         (__after_morecore_hook): Likewise.
5262         * malloc/arena.c (save_malloc_hook): Likewise.
5263         (save_free_hook): Likewise.
5264         * malloc/hooks.c (malloc_hook_ini): Likewise.
5265         (realloc_hook_ini): Likewise.
5266         (memalign_hook_ini): Likewise.
5267         * malloc/malloc.c (malloc_hook_ini): Likewise.
5268         (realloc_hook_ini): Likewise.
5269         (memalign_hook_ini): Likewise.
5270         (__free_hook): Likewise.
5271         (__malloc_hook): Likewise.
5272         (__realloc_hook): Likewise.
5273         (__memalign_hook): Likewise.
5274         (__libc_malloc): Likewise.
5275         (__libc_free): Likewise.
5276         (__libc_realloc): Likewise.
5277         (__libc_memalign): Likewise.
5278         (__libc_valloc): Likewise.
5279         (__libc_pvalloc): Likewise.
5280         (__libc_calloc): Likewise.
5281         (__posix_memalign): Likewise.
5282         * malloc/morecore.c (__sbrk): Likewise.
5283         (__default_morecore): Likewise.
5285         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5287         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5288         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5289         __malloc_ptrdiff_t.
5291         * malloc/malloc.h (__malloc_size_t): Remove macro.
5292         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5293         __malloc_size_t.
5294         (old_memalign_hook): Likewise.
5295         (old_realloc_hook): Likewise.
5296         (struct hdr): Likewise.
5297         (flood): Likewise.
5298         (mallochook): Likewise.
5299         (memalignhook): Likewise.
5300         (reallochook): Likewise.
5301         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5302         (tr_old_realloc_hook): Likewise.
5303         (tr_old_memalign_hook): Likewise.
5304         (tr_mallochook): Likewise.
5305         (tr_reallochook): Likewise.
5306         (tr_memalignhook): Likewise.
5308 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5310         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5311         default_ldbl_pack and using as default implementation.
5312         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5313         implementation.
5314         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5315         redundant definition.
5316         (ldbl_insert_mantissa): Likewise.
5317         (ldbl_canonicalize): Likewise.
5318         (ldbl_nearbyint): Likewise.
5319         (ldbl_pack): Rename to ldbl_pack_ppc.
5320         (ldbl_unpack): Rename to ldbl_unpack_ppc.
5321         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5322         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5324 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5326         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5327         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5328         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5329         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5331         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5332         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5333         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5335 2013-03-07  Andreas Jaeger  <aj@suse.de>
5337         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5338         bits/mman-linux.h.
5340 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5342         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5343         Include mpa.h and declare __MPEXP.
5344         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5345         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5346         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5347         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5348         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5349         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5350         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5352         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5353         (__slowpow): Use long double EXPL and LOGL functions to
5354         compute POW.
5355         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5356         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5357         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5358         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5359         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5360         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5362         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5363         intermediate variable to calculate exponent.
5364         (__sqr): Likewise.
5365         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5366         Likewise.
5367         (__sqr): Likewise.
5369         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5370         [!NO__SQR]: Define __sqr.
5371         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5372         and NO__SQR.  Remove all code except __mul and __sqr.  Include
5373         sysdeps/ieee754/dbl-64/mpa.c.
5374         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5376         [BZ #12723]
5377         * posix/Makefile (tests): Add tst-pathconf.
5378         * posix/tst-pathconf.c: New test case.
5379         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5380         _PC_PIPE_BUF.
5381         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5383 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
5385         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5387 2013-03-06  Andreas Jaeger  <aj@suse.de>
5389         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5390         definition via __MAP_ANONYMOUS.
5392         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5393         it's not part of Linux headers.
5395         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5396         (MAP_HUGE_MASK): Define.
5398         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5399         Define.
5400         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5401         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5402         Define.
5403         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5404         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5405         Define.
5406         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5407         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5408         Define.
5409         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5411         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5412         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5413         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5414         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5415         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5416         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5418         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5419         Handle f2fs.
5421         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5422         Handle f2fs and efivarfs.
5424         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5425         f2fs.
5427         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5428         (EFIVARFS_MAGIC): Add.
5429         (F2FS_LINK_MAX): Add.
5431 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5433         * stdio-common/vfprintf.c: Replace __builtin_expect with
5434         __glibc_unlikely.
5436 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
5438         [BZ #13550]
5439         * sysdeps/generic/bp-sym.h: Remove file.
5440         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5441         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5442         <bp-sym.h> and <bp-asm.h>.
5443         (__longjmp): Don't use BP_SYM.
5444         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5445         and <bp-asm.h>.
5446         (memcpy): Don't use BP_SYM.
5447         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5448         <bp-sym.h> and <bp-asm.h>.
5449         (memcpy): Don't use BP_SYM.
5450         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5451         <bp-asm.h>.
5452         (memcpy): Don't use BP_SYM.
5453         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5454         <bp-asm.h>.
5455         (memset): Don't use BP_SYM.
5456         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5457         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5458         (__bzero): Don't use BP_SYM.
5459         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5460         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5461         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5462         <bp-sym.h> and <bp-asm.h>.
5463         (memcmp): Don't use BP_SYM.  Remove comment about bounded
5464         pointers.
5465         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5466         <bp-sym.h> and <bp-asm.h>.
5467         (memcpy): Don't use BP_SYM.
5468         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5469         <bp-sym.h> and <bp-asm.h>.
5470         (memset): Don't use BP_SYM.
5471         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5472         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5473         (__bzero): Don't use BP_SYM.
5474         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5475         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5476         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5477         <bp-sym.h> and <bp-asm.h>.
5478         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5479         pointers.
5480         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5481         <bp-sym.h> and <bp-asm.h>.
5482         (memcpy): Don't use BP_SYM.
5483         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5484         <bp-sym.h> and <bp-asm.h>.
5485         (memset): Don't use BP_SYM.
5486         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5487         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5488         (__bzero): Don't use BP_SYM.
5489         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5490         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5491         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5492         <bp-sym.h> and <bp-asm.h>.
5493         (__memchr): Don't use BP_SYM.
5494         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5495         <bp-sym.h> and <bp-asm.h>.
5496         (memcmp): Don't use BP_SYM.  Remove comment about bounded
5497         pointers.
5498         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5499         <bp-sym.h> and <bp-asm.h>.
5500         (memcpy): Don't use BP_SYM.
5501         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5502         <bp-sym.h> and <bp-asm.h>.
5503         (__mempcpy): Don't use BP_SYM.
5504         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5505         <bp-sym.h> and <bp-asm.h>.
5506         (__memrchr): Don't use BP_SYM.
5507         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5508         <bp-sym.h> and <bp-asm.h>.
5509         (memset): Don't use BP_SYM.
5510         (__bzero): Likewise.
5511         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5512         <bp-sym.h> and <bp-asm.h>.
5513         (__rawmemchr): Don't use BP_SYM.
5514         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5515         <bp-sym.h> and <bp-asm.h>.
5516         (__STRCMP): Don't use BP_SYM.
5517         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5518         <bp-sym.h> and <bp-asm.h>.
5519         (strchr): Don't use BP_SYM.
5520         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5521         <bp-sym.h> and <bp-asm.h>.
5522         (__strchrnul): Don't use BP_SYM.
5523         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5524         <bp-sym.h> and <bp-asm.h>.
5525         (strlen): Don't use BP_SYM.
5526         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5527         <bp-sym.h> and <bp-asm.h>.
5528         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5529         pointers.
5530         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5531         <bp-sym.h> and <bp-asm.h>.
5532         (__strnlen): Don't use BP_SYM.
5533         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5534         <bp-sym.h> and <bp-asm.h>.
5535         (__GI__setjmp): Don't use BP_SYM.
5536         (_setjmp): Likewise.
5537         (__sigsetjmp): Likewise.
5538         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5539         (L(start_addresses)): Don't use BP_SYM.
5540         (_start): Likewise.
5541         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5542         <bp-asm.h>.
5543         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5544         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5545         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5546         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5547         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5548         <bp-asm.h>.
5549         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5550         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
5551         about bounded pointers.
5552         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5553         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5554         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5555         <bp-asm.h>.
5556         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
5557         about bounded pointers.  Remove GKM FIXME comments.
5558         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5559         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5560         <bp-asm.h>.
5561         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5562         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
5563         Remove GKM FIXME comments.
5564         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5565         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5566         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5567         <bp-asm.h>.
5568         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
5569         about bounded pointers.  Remove GKM FIXME comment.
5570         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5571         and <bp-asm.h>.
5572         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5573         pointers.
5574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5575         <bp-sym.h> and <bp-asm.h>.
5576         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5578         <bp-sym.h> and <bp-asm.h>.
5579         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
5580         comment.
5582 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5584         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5585         call free(NULL).
5587 2013-03-05  David S. Miller  <davem@davemloft.net>
5589         * po/es.po: Update from translation team.
5591 2013-03-05  Andreas Jaeger  <aj@suse.de>
5593         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5594         <bits/mman-linux.h>.
5595         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5596         is fine.
5597         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5598         <bits/mman-linux.h> to end of file.
5599         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5600         is fine.
5601         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5602         <bits/mman-linux.h> to end of file.
5603         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5604         is fine.
5605         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5606         <bits/mman-linux.h> to end of file.
5608         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5609         (MCL_CURRENT, MCL_FUTURE): Define here.
5611 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5613         [BZ #15232]
5614         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5615         attribute_hidden.
5616         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5618 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5620         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5621         fourth parameter needed for rt_sigprocmask syscall.
5622         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5623         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5624         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5625         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5626         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5627         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5629 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
5631         [BZ #13550]
5632         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5633         comment about bounded pointers.
5634         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5635         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5637 2013-03-04  Andreas Jaeger  <aj@suse.de>
5639         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5640         common definitions.
5642         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5643         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5644         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5645         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5646         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5647         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5649 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5651         [BZ #15055]
5652         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5653         __ieee754_sqrl instead of __sqrl.
5655 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
5657         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5658         * sysdeps/powerpc/fpu_control.h: ... here.
5659         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5660         * sysdeps/powerpc/bits/fenvinline.h: ... here.
5661         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5662         * sysdeps/powerpc/bits/mathinline.h: ... here.
5664 2013-03-01  Roland McGrath  <roland@hack.frob.com>
5666         * elf/dl-hwcaps.c (_dl_important_hwcaps):
5667         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5668         to just [NEED_DL_SYSINFO_DSO].
5669         * elf/dl-support.c: Likewise.
5670         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5671         * elf/rtld.c (dl_main): Likewise.
5672         * elf/setup-vdso.h (setup_vdso): Likewise.
5673         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5674         * sysdeps/unix/sysv/linux/dl-sysdep.c
5675         (_dl_discover_osversion): Likewise.
5677 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
5679         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5680         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5682 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5684         * NEWS: Mention libm performance improvements and non-x86 PI
5685         futex support.
5687         * csu/libc-start.c (__pthread_initialize_minimal): Change
5688         function arguments.
5689         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5691 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
5693         [BZ #13550]
5694         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5695         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5696         <bp-sym.h> and <bp-asm.h>.
5697         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5698         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5699         and <bp-asm.h>.
5700         (memcpy): Don't use BP_SYM.
5701         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5702         <bp-asm.h>.
5703         (__mpn_add_n): Don't use BP_SYM.
5704         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5705         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5706         and <bp-asm.h>.
5707         (__mpn_addmul_1): Don't use BP_SYM.
5708         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5709         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5710         <bp-sym.h>.
5711         (_setjmp): Don't use BP_SYM.
5712         (__novmx_setjmp): Likewise.
5713         (__GI__setjmp): Likewise.
5714         (__vmx_setjmp): Likewise.
5715         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5716         <bp-sym.h>.
5717         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5718         (__bzero): Don't use BP_SYM.
5719         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5720         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5721         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5722         <bp-sym.h> and <bp-asm.h>.
5723         (memcpy): Don't use BP_SYM.
5724         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5725         <bp-sym.h> and <bp-asm.h>.
5726         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5727         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5728         <bp-sym.h> and <bp-asm.h>.
5729         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5730         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5731         <bp-asm.h>.
5732         (__mpn_lshift): Don't use BP_SYM.
5733         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5734         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5735         <bp-asm.h>.
5736         (memset): Don't use BP_SYM.
5737         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5738         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5739         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5740         <bp-asm.h>.
5741         (__mpn_mul_1): Don't use BP_SYM.
5742         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5743         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5744         <bp-sym.h> and <bp-asm.h>.
5745         (memcmp): Don't use BP_SYM.
5746         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5747         <bp-sym.h> and <bp-asm.h>.
5748         (memcpy): Don't use BP_SYM.
5749         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5750         <bp-sym.h> and <bp-asm.h>.
5751         (memset): Don't use BP_SYM.
5752         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5753         <bp-sym.h> and <bp-asm.h>.
5754         (strncmp): Don't use BP_SYM.
5755         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5756         <bp-sym.h> and <bp-asm.h>.
5757         (memcpy): Don't use BP_SYM.
5758         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5759         <bp-sym.h> and <bp-asm.h>.
5760         (memset): Don't use BP_SYM.
5761         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5762         <bp-sym.h> and <bp-asm.h>.
5763         (__memchr): Don't use BP_SYM.
5764         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5765         <bp-sym.h> and <bp-asm.h>.
5766         (memcmp): Don't use BP_SYM.
5767         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5768         <bp-sym.h> and <bp-asm.h>.
5769         (memcpy): Don't use BP_SYM.
5770         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5771         <bp-sym.h> and <bp-asm.h>.
5772         (__mempcpy): Don't use BP_SYM.
5773         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5774         <bp-sym.h> and <bp-asm.h>.
5775         (__memrchr): Don't use BP_SYM.
5776         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5777         <bp-sym.h> and <bp-asm.h>.
5778         (memset): Don't use BP_SYM.
5779         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5780         <bp-sym.h> and <bp-asm.h>.
5781         (__rawmemchr): Don't use BP_SYM.
5782         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5783         <bp-sym.h> and <bp-asm.h>.
5784         (__STRCMP): Don't use BP_SYM.
5785         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5786         <bp-sym.h> and <bp-asm.h>.
5787         (strchr): Don't use BP_SYM.
5788         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5789         <bp-sym.h> and <bp-asm.h>.
5790         (__strchrnul): Don't use BP_SYM.
5791         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5792         <bp-sym.h> and <bp-asm.h>.
5793         (strlen): Don't use BP_SYM.
5794         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5795         <bp-sym.h> and <bp-asm.h>.
5796         (strncmp): Don't use BP_SYM.
5797         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5798         <bp-sym.h> and <bp-asm.h>.
5799         (__strnlen): Don't use BP_SYM.
5800         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5801         <bp-asm.h>.
5802         (__mpn_rshift): Don't use BP_SYM.
5803         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5804         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5805         <bp-sym.h> and <bp-asm.h>.
5806         (__sigsetjmp): Don't use BP_SYM.
5807         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5808         (L(start_addresses)): Don't use BP_SYM.
5809         (_start): Likewise.
5810         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5811         <bp-asm.h>.
5812         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5813         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5814         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5815         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5816         <bp-asm.h>.
5817         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5818         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5819         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5820         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5821         <bp-asm.h>.
5822         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
5823         comments.
5824         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5825         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5826         <bp-asm.h>.
5827         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
5828         FIXME comments.
5829         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5830         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5831         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5832         <bp-asm.h>.
5833         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
5834         comment.
5835         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5836         and <bp-asm.h>.
5837         (strncmp): Don't use BP_SYM,
5838         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5839         <bp-asm.h>.
5840         (__mpn_sub_n): Don't use BP_SYM.
5841         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5842         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5843         and <bp-asm.h>.
5844         (__mpn_submul_1): Don't use BP_SYM.
5845         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5847         <bp-sym.h> and <bp-asm.h>.
5848         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5850         <bp-sym.h> and <bp-asm.h>.
5851         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
5852         comment.
5854 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5856         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5857         Use ZK to minimize writes to Z.
5858         (sub_magnitudes): Simplify code a bit.
5859         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5860         Use ZK to minimize writes to Z.
5861         (sub_magnitudes): Simplify code a bit.
5863 2013-02-27  Roland McGrath  <roland@hack.frob.com>
5865         * csu/gmon-start.c: Add special exception to license text.
5867 2013-02-27  Richard Henderson  <rth@redhat.com>
5869         * scripts/config.guess: Update from config.git.
5870         * scripts/config.sub: Likewise.
5872 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5874         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5876         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5878         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5880         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5882         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5884 2013-02-26  Roland McGrath  <roland@hack.frob.com>
5886         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5887         [$(build-shared = yes].
5889 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5891         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5892         (__mul): Reduce iterations for calculating mantissa.
5894         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5895         MPTWO.
5896         (__mpranred): Likewise.
5898         [BZ #15160]
5899         * malloc/memusagestat.c (main): Draw graphs for heap and stack
5900         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5902 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
5904         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5905         Define __attribute__.
5907 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5909         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5910         unused.
5911         * posix/regex_internal.h (__attribute): Remove.
5912         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5913         (re_string_context_at): Likewise.
5914         (bitset_not): Use __attribute__ and mark function as possibly
5915         unused.
5916         (bitset_merge): Likewise.
5917         (bitset_mask): Likewise.
5918         (re_string_char_size_at): Likewise.
5919         (re_string_wchar_at): Likewise.
5920         (re_string_elem_size_at): Likewise.
5922 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5924         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5925         code.
5926         (cc32): Likewise.
5928         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5929         (__acr): Likewise.
5930         (__cpy): Likewise.
5931         (norm): Likewise.
5932         (denorm): Likewise.
5933         (__dbl_mp): Likewise.
5934         (add_magnitudes): Likewise.
5935         (sub_magnitudes): Likewise.
5936         (__mul): Likewise.
5937         (__inv): Likewise.
5939         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5940         style.
5942         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5943         style.
5945         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5946         code.
5948         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5949         up changes with default code.
5950         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5951         Likewise.
5953 2013-02-24  Allan McRae  <allan@archlinux.org>
5955         * manual/socket.texi (The Internet Namespace): Order menu items
5956         to match that in the file.
5958         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5959         node listing of the info page menu.
5961 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
5963         [BZ #13550]
5964         * sysdeps/i386/bp-asm.h: Remove file.
5965         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5966         (PARMS): Do not use macros from bp-asm.h.
5967         (S1): Likewise.
5968         (S2): Likewise.
5969         (SIZE): Likewise.
5970         (__mpn_add_n): Do not use BP_SYM
5971         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5972         "bp-asm.h".
5973         (PARMS): Do not use macros from bp-asm.h.
5974         (S1): Likewise.
5975         (SIZE): Likewise.
5976         (__mpn_addmul_1): Do not use BP_SYM
5977         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5978         "bp-asm.h".
5979         (PARMS): Do not use macros from bp-asm.h.
5980         (SIGMSK): Likewise.
5981         (_setjmp): Likewise.  Do not use BP_SYM.
5982         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5983         "bp-asm.h".
5984         (PARMS): Do not use macros from bp-asm.h.
5985         (SIGMSK): Likewise.
5986         (setjmp): Likewise.  Do not use BP_SYM.
5987         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5988         "bp-asm.h".
5989         (PARMS): Do not use macros from bp-asm.h.
5990         (__frexp): Do not use BP_SYM.
5991         (frexp): Likewise.
5992         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5993         "bp-asm.h".
5994         (PARMS): Do not use macros from bp-asm.h.
5995         (__frexpf): Do not use BP_SYM.
5996         (frexpf): Likewise.
5997         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5998         "bp-asm.h".
5999         (PARMS): Do not use macros from bp-asm.h.
6000         (__frexpl): Do not use BP_SYM.
6001         (frexpl): Likewise.
6002         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6003         "bp-asm.h".
6004         (PARMS): Do not use macros from bp-asm.h.
6005         (__remquo): Do not use BP_SYM.
6006         (remquo): Likewise.
6007         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6008         "bp-asm.h".
6009         (PARMS): Do not use macros from bp-asm.h.
6010         (__remquof): Do not use BP_SYM.
6011         (remquof): Likewise.
6012         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6013         "bp-asm.h".
6014         (PARMS): Do not use macros from bp-asm.h.
6015         (__remquol): Do not use BP_SYM.
6016         (remquol): Likewise.
6017         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6018         "bp-asm.h".
6019         (PARMS): Do not use macros from bp-asm.h.
6020         (DEST): Likewise.
6021         (SRC): Likewise.
6022         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
6023         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6024         "bp-asm.h".
6025         (PARMS): Do not use macros from bp-asm.h.
6026         (strlen): Do not use BP_SYM.
6027         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6028         "bp-asm.h".
6029         (PARMS): Do not use macros from bp-asm.h.
6030         (S1): Likewise.
6031         (S2): Likewise.
6032         (SIZE): Likewise.
6033         (__mpn_add_n): Do not use BP_SYM.
6034         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6035         "bp-asm.h".
6036         (PARMS): Do not use macros from bp-asm.h.
6037         (S1): Likewise.
6038         (SIZE): Likewise.
6039         (__mpn_addmul_1): Do not use BP_SYM.
6040         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6041         weak_alias.
6042         (bzero): Likewise.
6043         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6044         "bp-asm.h".
6045         (PARMS): Do not use macros from bp-asm.h.
6046         (S): Likewise.
6047         (SIZE): Likewise.
6048         (__mpn_lshift): Do not use BP_SYM.
6049         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6050         "bp-asm.h".
6051         (PARMS): Do not use macros from bp-asm.h.
6052         (DEST): Likewise.
6053         (SRC): Likewise.
6054         (LEN): Likewise.
6055         (memcpy): Likewise.  Do not use BP_SYM.
6056         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6057         libc_hidden_def and weak_alias.
6058         (mempcpy): Do not use BP_SYM in weak_alias.
6059         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6060         "bp-asm.h".
6061         (PARMS): Do not use macros from bp-asm.h.
6062         (DEST): Likewise.
6063         (LEN): Likewise.
6064         [!BZERO_P] (CHR): Likewise.
6065         (memset): Likewise.  Do not use BP_SYM.
6066         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6067         "bp-asm.h".
6068         (PARMS): Do not use macros from bp-asm.h.
6069         (S1): Likewise.
6070         (SIZE): Likewise.
6071         (__mpn_mul_1): Do not use BP_SYM.
6072         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6073         "bp-asm.h".
6074         (PARMS): Do not use macros from bp-asm.h.
6075         (S): Likewise.
6076         (SIZE): Likewise.
6077         (__mpn_rshift): Do not use BP_SYM.
6078         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6079         "bp-asm.h".
6080         (PARMS): Do not use macros from bp-asm.h.
6081         (STR): Likewise.
6082         (CHR): Likewise.
6083         (strchr): Likewise.  Do not use BP_SYM.
6084         (index): Do not use BP_SYM in weak_alias.
6085         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6086         "bp-asm.h".
6087         (PARMS): Do not use macros from bp-asm.h.
6088         (DEST): Likewise.
6089         (SRC): Likewise.
6090         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
6091         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6092         "bp-asm.h".
6093         (PARMS): Do not use macros from bp-asm.h.
6094         (strlen): Do not use BP_SYM.
6095         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6096         "bp-asm.h".
6097         (PARMS): Do not use macros from bp-asm.h.
6098         (S1): Likewise.
6099         (S2): Likewise.
6100         (SIZE): Likewise.
6101         (__mpn_sub_n): Do not use BP_SYM.
6102         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6103         "bp-asm.h".
6104         (PARMS): Do not use macros from bp-asm.h.
6105         (S1): Likewise.
6106         (SIZE): Likewise.
6107         (__mpn_submul_1): Do not use BP_SYM.
6108         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6109         "bp-asm.h".
6110         (PARMS): Do not use macros from bp-asm.h.
6111         (S1): Likewise.
6112         (S2): Likewise.
6113         (SIZE): Likewise.
6114         (__mpn_add_n): Do not use BP_SYM.
6115         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6116         weak_alias.
6117         (bzero): Likewise.
6118         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6119         "bp-asm.h".
6120         (PARMS): Do not use macros from bp-asm.h.
6121         (BLK2): Likewise.
6122         (LEN): Likewise.
6123         (memcmp): Do not use BP_SYM.
6124         (bcmp): Do not use BP_SYM in weak_alias.
6125         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6126         "bp-asm.h".
6127         (PARMS): Do not use macros from bp-asm.h.
6128         (DEST): Likewise.
6129         (SRC): Likewise.
6130         (LEN): Likewise.
6131         (memcpy): Likewise.  Do not use BP_SYM.
6132         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6133         "bp-asm.h".
6134         (PARMS): Do not use macros from bp-asm.h.
6135         (DEST): Likewise.
6136         (SRC): Likewise.
6137         (LEN): Likewise.
6138         (memmove): Likewise.  Do not use BP_SYM.
6139         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6140         "bp-asm.h".
6141         (PARMS): Do not use macros from bp-asm.h.
6142         (DEST): Likewise.
6143         (SRC): Likewise.
6144         (LEN): Likewise.
6145         (__mempcpy): Likewise.  Do not use BP_SYM.
6146         (mempcpy): Do not use BP_SYM in weak_alias.
6147         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6148         "bp-asm.h".
6149         (PARMS): Do not use macros from bp-asm.h.
6150         (DEST): Likewise.
6151         (LEN): Likewise.
6152         [!BZERO_P] (CHR): Likewise.
6153         (memset): Likewise.  Do not use BP_SYM.
6154         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6155         "bp-asm.h".
6156         (PARMS): Do not use macros from bp-asm.h.
6157         (STR2): Likewise.
6158         (strcmp): Do not use BP_SYM.
6159         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6160         "bp-asm.h".
6161         (PARMS): Do not use macros from bp-asm.h.
6162         (STR): Likewise.
6163         (DELIM): Likewise.
6164         [USE_AS_STRTOK_R] (SAVE): Likewise.
6165         (FUNCTION): Likewise.  Do not use BP_SYM.
6166         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6167         aliases.
6168         (strtok_r): Likewise.
6169         (__GI___strtok_r): Likewise.
6170         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6171         (PARMS): Do not use macros from bp-asm.h.
6172         (S): Likewise.
6173         (SIZE): Likewise.
6174         (__mpn_lshift): Do not use BP_SYM.
6175         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6176         (PARMS): Do not use macros from bp-asm.h.
6177         (STR): Likewise.
6178         (CHR): Likewise.
6179         (__memchr): Do not use BP_SYM.
6180         (memchr): Do not use BP_SYM in weak_alias.
6181         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6182         (PARMS): Do not use macros from bp-asm.h.
6183         (BLK2): Likewise.
6184         (LEN): Likewise.
6185         (memcmp): Do not use BP_SYM.
6186         (bcmp): Do not use BP_SYM in weak_alias.
6187         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6188         (PARMS): Do not use macros from bp-asm.h.
6189         (S1): Likewise.
6190         (SIZE): Likewise.
6191         (__mpn_mul_1): Do not use BP_SYM.
6192         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6193         "bp-asm.h".
6194         (PARMS): Do not use macros from bp-asm.h.
6195         (STR): Likewise.
6196         (CHR): Likewise.
6197         (__rawmemchr): Do not use BP_SYM.
6198         (rawmemchr): Do not use BP_SYM in weak_alias.
6199         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6200         (PARMS): Do not use macros from bp-asm.h.
6201         (S): Likewise.
6202         (SIZE): Likewise.
6203         (__mpn_rshift): Do not use BP_SYM.
6204         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6205         (PARMS): Do not use macros from bp-asm.h.
6206         (SIGMSK): Likewise.
6207         (__sigsetjmp): Likewise.  Do not use BP_SYM.
6208         * sysdeps/i386/start.S: Do not include "bp-sym.h".
6209         (_start): Do not use BP_SYM.
6210         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6211         (PARMS): Do not use macros from bp-asm.h.
6212         (DEST): Likewise.
6213         (SRC): Likewise.
6214         (__stpcpy): Likewise.  Do not use BP_SYM.
6215         (stpcpy): Do not use BP_SYM in weak_alias.
6216         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6217         "bp-asm.h".
6218         (PARMS): Do not use macros from bp-asm.h.
6219         (DEST): Likewise.
6220         (SRC): Likewise.
6221         (LEN): Likewise.
6222         (__stpncpy): Likewise.  Do not use BP_SYM.
6223         (stpncpy): Do not use BP_SYM in weak_alias.
6224         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6225         (PARMS): Do not use macros from bp-asm.h.
6226         (STR): Likewise.
6227         (CHR): Likewise.
6228         (strchr): Likewise.  Do not use BP_SYM.
6229         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6230         "bp-asm.h".
6231         (PARMS): Do not use macros from bp-asm.h.
6232         (STR): Likewise.
6233         (CHR): Likewise.
6234         (__strchrnul): Likewise.  Do not use BP_SYM.
6235         (strchrnul): Do not use BP_SYM in weak_alias.
6236         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6237         "bp-asm.h".
6238         (PARMS): Do not use macros from bp-asm.h.
6239         (STOP): Likewise.
6240         (strcspn): Do not use BP_SYM.
6241         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6242         "bp-asm.h".
6243         (PARMS): Do not use macros from bp-asm.h.
6244         (STR): Likewise.
6245         (STOP): Likewise.
6246         (strpbrk): Likewise.  Do not use BP_SYM.
6247         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6248         "bp-asm.h".
6249         (PARMS): Do not use macros from bp-asm.h.
6250         (STR): Likewise.
6251         (CHR): Likewise.
6252         (strrchr): Likewise.  Do not use BP_SYM.
6253         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6254         (PARMS): Do not use macros from bp-asm.h.
6255         (SKIP): Likewise.
6256         (strspn): Do not use BP_SYM.
6257         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6258         (PARMS): Do not use macros from bp-asm.h.
6259         (STR): Likewise.
6260         (DELIM): Likewise.
6261         (SAVE): Likewise.
6262         (FUNCTION): Likewise.  Do not use BP_SYM.
6263         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6264         aliases.
6265         (strtok_r): Likewise.
6266         (__GI___strtok_r): Likewise.
6267         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6268         (PARMS): Do not use macros from bp-asm.h.
6269         (S1): Likewise.
6270         (S2): Likewise.
6271         (SIZE): Likewise.
6272         (__mpn_sub_n): Do not use BP_SYM.
6273         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6274         "bp-asm.h".
6275         (PARMS): Do not use macros from bp-asm.h.
6276         (S1): Likewise.
6277         (SIZE): Likewise.
6278         (__mpn_submul_1): Do not use BP_SYM.
6279         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6280         <bp-sym.h>.
6281         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6282         and <bp-asm.h>.
6283         (PARMS): Do not use macros from bp-asm.h.
6284         (FLAGS): Likewise.
6285         (PTID): Likewise.
6286         (TLS): Likewise.
6287         (CTID): Likewise.
6288         (__clone): Do not use BP_SYM.
6289         (clone): Do not use BP_SYM in weak_alias.
6290         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6291         and <bp-asm.h>.
6292         (PARMS): Do not use macros from bp-asm.h.
6293         (LEN): Likewise.
6294         (__mmap64): Do not use BP_SYM.
6295         (mmap64): Do not use BP_SYM in weak_alias.
6296         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6297         <bp-sym.h> and <bp-asm.h>.
6298         (PARMS): Do not use macros from bp-asm.h.
6299         (__posix_fadvise64_l64): Do not use BP_SYM.
6300         * sysdeps/unix/sysv/linux/i386/semtimedop.S
6301         (PARMS): Do not use macros from bp-asm.h.
6302         (NSOPS): Likewise.
6303         (semtimedop): Do not use BP_SYM.
6304         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6305         and <bp-asm.h>.
6307 2013-02-21  Allan McRae  <allan@archlinux.org>
6309         * manual/message.texi (Charset conversion in gettext):
6310         Move @end statement to beginning of line.
6312 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6314         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6315         static.
6316         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6317         Likewise.
6319         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6320         (denorm): Likewise.
6321         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6322         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6324 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6326         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6327         tail-call to the resolved function if pltexit isn't needed.
6329 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6331         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6332         or Y being zero as being unlikely.
6333         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6334         Likewise.
6336 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
6338         * manual/nss.texi (System Databases and Name Service Switch):
6339         Remove frobnicate @pxref.
6341 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
6343         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6344         __attribute__ ((unused)) to __attribute__ ((__unused__)).
6346 2013-02-20  Petr Machata  <pmachata@redhat.com>
6348         * elf/elf.h (R_ARM_TARGET1): New macro.
6349         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6350         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6351         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6352         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6353         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6354         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6355         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6356         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6357         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6358         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6359         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6360         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6361         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6362         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6363         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6364         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6365         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6366         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6367         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6368         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6369         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6370         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6371         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6372         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6373         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6374         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6375         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6376         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6377         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6378         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6379         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6380         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6381         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6382         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6383         (R_ARM_THM_GOT_BREL12): Likewise.
6384         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6385         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6386         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6387         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6388         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6389         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6390         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6391         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6392         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6394 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
6396         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6397         __attribute_used__ to __attribute__ ((unused)).
6399 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6401         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6402         powerpc mpa.c.
6403         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6404         comment formatting.
6405         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6407 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
6409         [BZ #13550]
6410         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6411         Remove macro.
6412         (ENTER): Remove both macro definitions.
6413         (LEAVE): Likewise.
6414         (CHECK_BOUNDS_LOW): Likewise.
6415         (CHECK_BOUNDS_HIGH): Likewise.
6416         (CHECK_BOUNDS_BOTH): Likewise.
6417         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6418         (RETURN_BOUNDED_POINTER): Likewise.
6419         (RETURN_NULL_BOUNDED_POINTER): Likewise.
6420         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6421         (POP_ERRNO_LOCATION_RETURN): Likewise.
6422         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6423         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6424         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6425         macros.
6426         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6427         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6428         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6429         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6430         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6431         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6432         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6433         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6434         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6435         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6436         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6437         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6438         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6439         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6440         removed macros.
6441         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6442         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6443         macros.
6444         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6445         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6446         * sysdeps/i386/i586/memset.S (memset): Likewise.
6447         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6448         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6449         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6450         macros.
6451         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6452         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6453         Change uses of L(2) to L(out).
6454         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6455         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6456         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6457         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6458         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6459         removed macros.
6460         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6461         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6462         macros.
6463         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6464         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6465         (RETURN): Do not use macro LEAVE.
6466         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6467         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6468         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6469         * sysdeps/i386/i686/memset.S (memset): Likewise.
6470         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6471         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6472         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6473         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6474         Likewise.
6475         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6476         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
6477         L(1_2) and L(1_3) into L(1).
6478         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6479         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6480         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6481         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6482         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6483         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6484         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6485         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6486         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6487         macros.
6488         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6489         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6490         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6491         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6492         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6493         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6494         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6495         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6496         * sysdeps/i386/strcspn.S (strcspn): Likewise.
6497         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6498         * sysdeps/i386/strrchr.S (strrchr): Likewise.
6499         * sysdeps/i386/strspn.S (strspn): Likewise.
6500         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6501         conditional code.
6502         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6503         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6504         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6505         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
6506         L(1_3) into L(1_1).
6507         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6508         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6509         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6510         macros.
6511         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6513 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
6515         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6516         macro.
6518 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6520         * math/atest-exp.c (exp_mpn): Remove ROUND.
6521         * math/atest-exp2.c (exp_mpn): Likewise.
6522         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6524         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6525         * stdlib/tst-tls-atexit-lib.c: Likewise.
6526         * stdlib/tst-tls-atexit.c: Likewise.
6528 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6530         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6531         and __attribute_alloc_size__.
6533 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6535         * include/programs/xmalloc.h: Change __attribute_alloc_size to
6536         __attribute_alloc_size__.
6537         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6538         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6540 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6542         * include/programs/xmalloc.h: New file.
6543         * catgets/gencat.c: Include it.
6544         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6545         * elf/pldd.c: Likewise.
6546         * iconv/iconv_charmap.c: Likewise.
6547         * iconv/iconvconfig.c: Likewise.
6548         * iconv/strtab.c: Likewise.
6549         * locale/programs/locale.c: Likewise.
6550         * locale/programs/localedef.h: Likewise.
6551         * locale/programs/simple-hash.c: Likewise.
6552         * nscd/nscd.h: Likewise.
6553         * nss/makedb.c: Likewise.
6554         * sysdeps/generic/ldconfig.h: Likewise.
6556 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6558         * Versions.def: Add GLIBC_2.18.
6559         * include/link.h (struct link_map): New member l_tls_dtor_count.
6560         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6561         (__call_tls_dtors): Likewise.
6562         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6563         __cxa_thread_atexit_impl.
6564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6565         Likewise.
6566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6567         Likewise.
6568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6569         Likewise.
6570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6571         Likewise.
6572         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6573         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6574         Likewise.
6575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6576         Likewise.
6577         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6578         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6579         Likewise.
6580         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6581         (tests): Add test case tst-tls-atexit.
6582         (modules-names): Add shared library for tst-tls-atexit.
6583         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
6584         (GLIBC_PRIVATE): Add __call_tls_dtors.
6585         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6586         for libstdc++.
6587         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6588         * stdlib/tst-tls-atexit.c: New test case.
6589         * stdlib/tst-tls-atexit-lib.c: New test case.
6591         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
6593         * elf/Versions (ld): Add _dl_find_dso_for_object.
6594         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6595         * elf/dl-open.c (_dl_find_dso_for_object): New function.
6596         (dl_open_worker): Use _dl_find_dso_for_object.
6597         * elf/dl-sym.c (do_sym): Likewise.
6598         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6600 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6602         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6603         Syntactic changes only.
6604         (_dl_runtime_profile): Do a tail-call to the resolved function.
6606 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
6608         [BZ #13550]
6609         * sysdeps/x86_64/bp-asm.h: Remove file.
6610         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6611         <bp-sym.h> and <bp-asm.h>.
6612         (__clone): Do not use BP_SYM.
6613         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6614         <bp-sym.h> and <bp-asm.h>.
6615         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6616         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6617         "bp-asm.h".
6618         (_setjmp): Do not use BP_SYM.
6619         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6620         "bp-asm.h".
6621         (setjmp): Do not use BP_SYM.
6622         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6623         libc_hidden_def.
6624         (mempcpy): Do not use BP_SYM in weak_alias.
6625         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6626         "bp-asm.h".
6627         (strchr): Do not use BP_SYM.
6628         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6629         "bp-asm.h".
6630         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6631         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6632         (_start): Do not use BP_SYM.
6633         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6634         "bp-asm.h".
6635         (strcat): Do not use BP_SYM.
6636         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6637         "bp-asm.h".
6638         (STRCMP): Do not use BP_SYM.
6639         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6640         "bp-asm.h".
6641         (STRCPY): Do not use BP_SYM.
6642         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6643         "bp-asm.h".
6644         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6645         "bp-asm.h".
6646         (FUNCTION): Do not use BP_SYM.
6647         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6648         weak_alias.
6649         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6651 2013-02-17  Andreas Jaeger  <aj@suse.de>
6653         * time/Versions: Sort entries.
6654         * string/Versions: Likewise.
6655         * resolv/Versions: Likewise.
6656         * posix/Versions: Likewise.
6657         * iconv/Versions: Likewise.
6658         * elf/Versions: Likewise.
6659         * wcsmbs/Versions: Likewise.
6661 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6663         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6664         loop termination condition.
6666         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6667         variable to calculate EZ.
6668         (__sqr): Likewise.
6670         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6671         the lower precision input.
6673 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
6675         [BZ #13550]
6676         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6677         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6678         (run-via-rtld-prefix): Do not handle %-bp tests.
6679         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6680         (all-object-suffixes): Remove .ob.
6681         (bppfx): Remove variable.
6682         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6683         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6684         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6685         [$(build-bounded) = yes] (libtype.ob): Likewise.
6686         * Makerules (elide-routines.ob): Remove variable.
6687         (do-tests-clean): Do not handle *-bp.out.
6688         (common-mostlyclean): Do not handle *-bp and *-bp.out.
6689         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6690         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6691         (tests): Do not include $(tests-bp.out).
6692         (xtests): Do not include $(xtests-bp.out).
6693         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6694         [$(build-bounded) = yes] ($(addprefix
6695         $(objpfx),$(binaries-bounded))): Remove rule.
6696         ($(objpfx)%-bp.out): Remove rule.
6697         * config.make.in (build-bounded): Remove variable.
6698         * crypt/Makefile [$(build-bounded) = yes]
6699         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6700         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6701         append to variable.
6702         [$(build-bounded) = yes] (install-lib): Likewise.
6703         [$(build-bounded) = yes] (generated): Likewise.
6704         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6705         Remove rule.
6706         * intl/Makefile [$(build-bounded) = yes]
6707         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6708         * math/Makefile [$(build-bounded) = yes]
6709         ($(tests:%=$(objpfx)%-bp): Likewise.
6710         * misc/Makefile [$(build-bounded) = yes]
6711         ($(objpfx)tst-tsearch-bp): Likewise.
6712         * nptl/Makeconfig (bounded-thread-library): Remove variable.
6713         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6714         Remove dependency.
6715         * string/Makefile (o-objects.ob): Remove variable.
6716         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6717         (CFLAGS-.ob): Remove variable.
6718         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6719         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6720         both definitions of variable.
6721         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6722         (ASFLAGS-.ob): Remove variable.
6724 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
6726         [BZ #13550]
6727         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6728         Remove __BOUNDED_POINTERS__ from condition.
6729         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6730         * string/bits/string2.h [!__NO_STRING_INLINES &&
6731         !__BOUNDED_POINTERS__]: Likewise.
6732         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6733         Likewise.
6734         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6735         Remove conditional code.
6736         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6737         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6738         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6739         condition.
6741         [BZ #13550]
6742         * csu/libc-start.c: Do not include <bp-sym.h>.
6743         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6744         * elf/dl-open.c: Do not include <bp-sym.h>.
6745         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6746         * math/fegetenv.c: Do not include <bp-sym.h>.
6747         (fegetenv): Do not use BP_SYM in versioned symbols.
6748         * nptl/sysdeps/pthread/bits/libc-lockP.h
6749         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6750         <bp-sym.h>.
6751         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6752         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6753         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6754         (__pthread_mutex_destroy): Likewise.
6755         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6756         (__pthread_mutex_lock): Likewise.
6757         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6758         (__pthread_mutex_trylock): Likewise.
6759         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6760         (__pthread_mutex_unlock): Likewise.
6761         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6762         (__pthread_mutexattr_init): Likewise.
6763         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6764         (__pthread_mutexattr_destroy): Likewise.
6765         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6766         (__pthread_mutexattr_settype): Likewise.
6767         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6768         (__pthread_rwlock_init): Likewise.
6769         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6770         (__pthread_rwlock_destroy): Likewise.
6771         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6772         (__pthread_rwlock_rdlock): Likewise.
6773         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6774         (__pthread_rwlock_tryrdlock): Likewise.
6775         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6776         (__pthread_rwlock_wrlock): Likewise.
6777         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6778         (__pthread_rwlock_trywrlock): Likewise.
6779         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6780         (__pthread_rwlock_unlock): Likewise.
6781         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6782         (__pthread_key_create): Likewise.
6783         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6784         (__pthread_setspecific): Likewise.
6785         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6786         (__pthread_getspecific): Likewise.
6787         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6788         Likewise.
6789         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6790         (_pthread_cleanup_push_defer): Likewise.
6791         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6792         (_pthread_cleanup_pop_restore): Likewise.
6793         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6794         (pthread_setcancelstate): Likewise.
6795         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6796         <bp-sym.h>.
6797         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6798         (memchr): Do not use BP_SYM in weak_alias.
6799         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6800         (fegetenv): Do not use BP_SYM in versioned symbols.
6801         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6802         (fesetenv): Do not use BP_SYM in versioned symbols.
6803         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6804         (feupdateenv): Do not use BP_SYM in versioned symbols.
6805         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6806         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6807         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6808         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6809         (open64): Do not use BP_SYM in weak_alias.
6810         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6811         (fegetenv): Do not use BP_SYM in versioned symbols.
6812         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6813         (fesetenv): Do not use BP_SYM in versioned symbols.
6814         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6815         (feupdateenv): Do not use BP_SYM in versioned symbols.
6816         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6817         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6818         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6819         (feraiseexcept): Do not use BP_SYM in versioned symbols.
6820         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6821         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6822         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6823         <bp-sym.h>.
6824         (__libc_start_main): Do not use BP_SYM.
6826 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6828         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6829         redundant return line.
6830         (norm): Likewise.
6831         (denorm): Likewise.
6832         (dbl_mp): Likewise.
6833         (sub_magnitudes): Likewise.
6834         (__add): Likewise.
6835         (__sub): Likewise.
6836         (__mul): Likewise.
6837         (__inv): Likewise.
6838         (__dvd): Likewise.
6839         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6840         (norm): Likewise.
6841         (denorm): Likewise.
6842         (dbl_mp): Likewise.
6843         (sub_magnitudes): Likewise.
6844         (__add): Likewise.
6845         (__sub): Likewise.
6846         (__mul): Likewise.
6847         (__inv): Likewise.
6848         (__dvd): Likewise.
6850         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6851         instead of __mul.
6852         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6853         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6854         (cc32): Likewise.
6856         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6857         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6858         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6859         of __mul for squares.
6860         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6861         function
6862         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6863         Likewise.
6864         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6865         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6867 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
6869         [BZ #13550]
6870         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6871         code.
6872         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6873         prototype or function definition.  Rename ubp_* variables and
6874         parameters.  Remove argv definitions conditional on
6875         [__BOUNDED_POINTERS__].
6876         * debug/backtrace.c (__backtrace): Do not use __unbounded.
6877         * elf/dl-runtime.c (_dl_fixup): Likewise.
6878         * include/set-hooks.h (RUN_HOOK): Likewise.
6879         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6880         definition.
6881         * string/strcpy.c (strcpy): Do not use __unbounded.
6882         * sysdeps/generic/frame.h (struct layout): Likewise.
6883         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6884         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6885         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6886         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6887         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6888         (__backtrace): Likewise.
6889         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6890         use __ptrvalue.
6891         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6892         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6893         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6894         Likewise.
6895         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6896         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6897         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6898         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6899         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6900         Do not use __unbounded.
6901         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6902         Rename __unboundedrlimits parameter to rlimits in prototype.
6903         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6904         Do not use __unbounded.
6905         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6906         not use __ptrvalue.
6907         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6908         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6909         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6910         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6911         __ptrvalue or __unbounded.
6912         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6913         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6914         use __unbounded.
6915         (__new_msgctl): Do not use __ptrvalue.
6916         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6917         __unbounded.
6918         (__libc_msgrcv): Do not use __ptrvalue.
6919         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6920         startup_info): Do not use __unbounded.
6921         (__libc_start_main): Likewise.  Rename ubp_* variables and
6922         parameters.  Remove argv definitions conditional on
6923         [__BOUNDED_POINTERS__].
6924         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6925         __ptrvalue.
6926         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6927         use __unbounded.
6928         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6929         or __ptrvalue.
6930         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6931         use __unbounded.
6932         (__new_shmctl): Do not use __ptrvalue.
6933         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6934         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6935         Likewise.
6936         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6937         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6938         (__libc_sigaction): Likewise.
6939         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6940         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6941         Likewise.
6942         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6944 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
6946         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
6948         * string/mempcpy.c: Implement by calling memcpy.
6950 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6952         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6954         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6955         evaluation.
6957         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6958         values in the mantissa.
6960         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6961         minimize writes to Z.
6962         (sub_magnitudes): Simplify code a bit.
6964 2013-02-12  Roland McGrath  <roland@hack.frob.com>
6966         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6967         from the message.  The linker prefixes all warnings with that already.
6969 2013-02-12  Andreas Schwab  <schwab@suse.de>
6971         [BZ #15078]
6972         * posix/regexec.c (extend_buffers): Add parameter min_len.
6973         (check_matching): Pass minimum needed length.
6974         (clean_state_log_if_needed): Likewise.
6975         (get_subexp): Likewise.
6976         * posix/Makefile (tests): Add bug-regex34.
6977         (bug-regex34-ENV): Define.
6978         * posix/bug-regex34.c: New file.
6980         [BZ #11561]
6981         * posix/regcomp.c (parse_bracket_exp): When looking up collating
6982         elements compare against the byte sequence of it, not its name.
6983         * posix/Makefile (tests): Add bug-regex35.
6984         (bug-regex35-ENV): Define.
6985         * posix/bug-regex35.c: New file.
6987 2013-02-11  Tom de Vries  <tom@codesourcery.com>
6989         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
6990         comment.
6991         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6992         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6993         (CHECK_EOL): Add undef.
6995 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
6997         * bits/stdlib-bsearch.h: New file.
6998         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
6999         * stdlib/stdlib.h: Likewise.
7001 2013-02-11  Roland McGrath  <roland@hack.frob.com>
7003         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7004         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7005         declaration.
7006         * manual/search.texi (Array Search Function): Add missing const in
7007         lfind prototype.
7008         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7009         declaration to use rlim_t.
7010         (Basic Scheduling Functions): Remove erroneous const from
7011         sched_getparam prototype.  Remove erroneous * from
7012         sched_get_priority_max and sched_get_priority_min prototypes.
7013         (Resource Usage): Fix summary @comment on vtimes to refer to
7014         sys/vtimes.h rather than vtimes.h.
7015         Add missing *s in vtimes prototype.
7016         (Limits on Resources): Fix ulimit prototype to return long int.
7017         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7018         prototypes to use long int rather than double.
7019         (BSD Random): Fix initstate and setstate to use char *, not void *.
7020         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7021         prototype to make second argument 'struct aiocb64 *const[]'.
7022         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7023         (Status of AIO Operations): Remove erroneous const in aio_return and
7024         aio_return64 prototypes.
7025         (Synchronizing I/O): Fix sync prototype to return void.
7026         * manual/startup.texi (Suboptions): Remove an erroneous const in
7027         getsubopt prototype.
7028         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7029         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7030         use size_t rather than int.
7031         (Scanning All Users): Likewise for getpwent_r.
7032         (Setting Groups): Add missing const to setgroups prototype.
7033         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7034         * manual/socket.texi (Host Names): Fix gethostbyaddr and
7035         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7036         'const void *' rather than 'const char *'.
7037         (Host Address Functions): Likewise for inet_ntop.
7038         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7039         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7040         ssize_t for return value.
7041         (Sending Data): Likewise for send, sendto, sendmsg.
7042         (Socket Option Functions): Add a missing const in setsockopt prototype.
7043         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7044         use wchar_t for the argument.
7045         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7046         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7047         take no arguments.
7048         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7049         double/float/long double for second argument.
7050         Fix return types of significand, significandf, significandl.
7051         * manual/filesys.texi (Setting Permissions): Use mode_t for second
7052         argument in fchmod prototype.
7053         (File Owner): Use uid_t and gid_t in fchown prototype.
7054         (File Times): Add const to utimes, futimes, and lutimes prototypes.
7055         (Making Special Files): Use mode_t and dev_t in mknod prototype.
7056         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7057         use 'const struct dirent **' as argument types to CMP function pointer
7058         argument.
7059         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7060         (File Times): Fix summary magic @comment for struct utimbuf and utime
7061         to refer to utime.h, not time.h.
7062         * manual/string.texi (Argz Functions): Add missing const in
7063         argz_extract and argz_next prototypes.
7064         (Finding Tokens in a String): Likewise for basename.
7065         (String/Array Comparison): Fix typo in wcscasecmp prototype.
7066         (Copying and Concatenation): Fix typo in wmemmove prototype.
7067         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7068         (Signal Stack): Remove erroneous const in sigstack prototype.
7069         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7070         prototype.
7071         (Simple Calendar Time): Likewise for stime.
7072         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7073         prototype.
7074         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7075         say sys/sysctl.h instead.
7076         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7077         and vsyslog prototypes.
7079 2013-02-11  Tom de Vries  <tom@codesourcery.com>
7081         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7082         Remove.
7084 2013-02-11  Roland McGrath  <roland@hack.frob.com>
7086         * misc/sys/mman.h: Fix typo in mremap comment.
7088 2013-02-08  Roland McGrath  <roland@hack.frob.com>
7090         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7091         the '\0' terminator.
7093 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
7095         [BZ #13550]
7096         * debug/segfault.c: Don't include <bp-checks.h>.
7097         * sysdeps/generic/bp-checks.h: Remove file.
7098         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7099         (__GETDENTS): Don't use CHECK_N.
7100         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7101         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7102         (__getgroups): Don't use CHECK_N.
7103         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7104         (setgroups): Don't use CHECK_N.
7105         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7106         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7107         (__libc_msgrcv): Don't use CHECK_N.
7108         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7109         (__libc_msgsnd): Don't use CHECK_N.
7110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7111         <bp-checks.h>.
7112         (__libc_pread): Don't use CHECK_N.
7113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7114         include <bp-checks.h>.
7115         (__libc_pread64): Don't use CHECK_N.
7116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7117         include <bp-checks.h>.
7118         (__libc_pwrite): Don't use CHECK_N.
7119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7120         include <bp-checks.h>.
7121         (__libc_pwrite64): Don't use CHECK_N.
7122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7123         <bp-checks.h>.
7124         (__libc_pread): Don't use CHECK_N.
7125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7126         include <bp-checks.h>.
7127         (__libc_pread64): Don't use CHECK_N.
7128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7129         include <bp-checks.h>.
7130         (__libc_pwrite): Don't use CHECK_N.
7131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7132         include <bp-checks.h>.
7133         (__libc_pwrite64): Don't use CHECK_N.
7134         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7135         (do_pread): Don't use CHECK_N.
7136         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7137         (do_pread64): Don't use CHECK_N.
7138         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7139         (do_pwrite): Don't use CHECK_N.
7140         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7141         (do_pwrite64): Don't use CHECK_N.
7142         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7143         (__libc_readv): Don't use CHECK_N.
7144         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7145         (semop): Don't use CHECK_N.
7146         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7147         <bp-checks.h>.
7148         (semtimedop): Don't use CHECK_N.
7149         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7150         (__libc_pread): Don't use CHECK_N.
7151         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7152         <bp-checks.h>.
7153         (__libc_pread64): Don't use CHECK_N.
7154         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7155         <bp-checks.h>.
7156         (__libc_pwrite): Don't use CHECK_N.
7157         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7158         <bp-checks.h>.
7159         (__libc_pwrite64): Don't use CHECK_N.
7160         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7161         <bp-checks.h>.
7162         (__libc_msgrcv): Don't use CHECK_N.
7163         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7164         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
7165         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7166         (__libc_writev): Don't use CHECK_N.
7168 2013-02-08  Roland McGrath  <roland@hack.frob.com>
7170         * string/strcpy.c: Removed unused variable.
7172         * Makeconfig (+sysdep-includes): Define with := rather than =.
7173         Use an existing include/ subdir of each sysdeps dir before it.
7175 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7177         * nscd/connection.c (register_traced_file): Comment function.
7178         [HAVE_INOTIFY] (union __inev): Define.
7179         [HAVE_INOTIFY] (inotify_check_files): New function.
7180         [HAVE_INOTIFY] (clear_db_cache): Likewise.
7181         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7182         clear_db_cache.
7183         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7185 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7187         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7188         loaded if not already and that a failure is permanent.
7190 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
7192         [BZ #15006]
7193         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7194         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7196 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
7198         [BZ #13550]
7199         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7200         (CHECK_1_NULL_OK): Likewise.
7201         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7202         (__fxstat): Do not use CHECK_1.
7203         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7204         <bp-checks.h>.
7205         (___fxstat64): Do not use CHECK_1.
7206         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7207         <bp-checks.h>.
7208         (__fxstatat): Do not use CHECK_1.
7209         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7210         <bp-checks.h>.
7211         (__fxstatat64): Do not use CHECK_1.
7212         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7213         <bp-checks.h>.
7214         (__fxstat): Do not use CHECK_1.
7215         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7216         <bp-checks.h>.
7217         (__fxstatat): Do not use CHECK_1.
7218         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7219         <bp-checks.h>.
7220         (__getresgid): Do not use CHECK_1.
7221         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7222         <bp-checks.h>.
7223         (__getresuid): Do not use CHECK_1.
7224         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7225         <bp-checks.h>.
7226         (__lxstat): Do not use CHECK_1.
7227         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7228         <bp-checks.h>.
7229         (__old_msgctl): Do not use CHECK_1.
7230         (__new_msgctl): Likewise.
7231         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7232         <bp-checks.h>.
7233         (__new_setrlimit): Do not use CHECK_1.
7234         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7235         <bp-checks.h>.
7236         (__old_shmctl): Do not use CHECK_1.
7237         (__new_shmctl): Likewise.
7238         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7239         <bp-checks.h>.
7240         (__xstat): Do not use CHECK_1.
7241         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7242         (__lxstat): Do not use CHECK_1.
7243         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7244         <bp-checks.h>.
7245         (___lxstat64): Do not use CHECK_1.
7246         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7247         (__old_msgctl): Do not use CHECK_1.
7248         (__new_msgctl): Likewise.
7249         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7250         <bp-checks.h>.
7251         (__gettimeofday): Do not use CHECK_1.
7252         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7253         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7254         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7255         <bp-checks.h>.
7256         (__gettimeofday): Do not use CHECK_1.
7257         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7258         (__old_shmctl): Do not use CHECK_1_NULL_OK.
7259         (__new_shmctl): Do not use CHECK_1.
7260         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7261         <bp-checks.h>.
7262         (do_sigtimedwait): Do not use CHECK_1.
7263         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7264         <bp-checks.h>.
7265         (do_sigwaitinfo): Do not use CHECK_1.
7266         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7267         <bp-checks.h>.
7268         (msgctl): Do not use CHECK_1.
7269         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7270         <bp-checks.h>.
7271         (shmctl): Do not use CHECK_1.
7272         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7273         (ustat): Do not use CHECK_1.
7274         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7275         <bp-checks.h>.
7276         (__fxstat): Do not use CHECK_1.
7277         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7278         <bp-checks.h>.
7279         (__fxstatat): Do not use CHECK_1.
7280         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7281         <bp-checks.h>.
7282         (__lxstat): Do not use CHECK_1.
7283         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7284         <bp-checks.h>.
7285         (__xstat): Do not use CHECK_1.
7286         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7287         (__xstat): Do not use CHECK_1.
7288         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7289         (___xstat64): Do not use CHECK_1.
7291         [BZ #13550]
7292         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7293         definitions.
7294         (CHECK_BOUNDS_HIGH): Likewise.
7295         * string/strcpy.c: Do not include <bp-checks.h>.
7296         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7298 2013-02-07  Roland McGrath  <roland@hack.frob.com>
7300         * nscd/nscd-client.h (__nscd_drop_map_ref):
7301         Add __attribute__ ((unused)).
7302         * nis/nss-nisplus.h (niserr2nss): Likewise.
7304         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7305         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7307         * csu/libc-tls.c (init_static_tls, init_slotinfo):
7308         Remove inline keyword.
7309         * include/rounding-mode.h (round_away): Likewise.
7310         * libio/wfileops.c (adjust_wide_data): Likewise.
7311         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7312         (__m128i_strloadu_tolower): Likewise.
7313         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7314         (__m128i_strloadu_tolower): Likewise.
7315         * time/mktime.c (ydhms_diff): Likewise.
7316         * locale/elem-hash.h (elem_hash): Likewise.
7317         * locale/setlocale.c (setdata): Likewise.
7318         * posix/regex_internal.h (re_string_char_size_at): Likewise.
7319         (re_string_wchar_at): Likewise.
7320         (bitset_not, bitset_merge, bitset_mask): Likewise.
7321         [!(__GNUC__ > 3)] (inline): Remove macro.
7322         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7323         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7324         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7325         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7326         * string/memcmp.c (memcmp_bytes): Likewise.
7327         * locale/programs/locarchive.c (compute_hashval): Likewise.
7328         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7329         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7330         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7331         * nss/getent.c (print_rpc, print_protocols): Likewise.
7332         (print_passwd, print_group, print_aliases): Likewise.
7333         * nis/nss-nisplus.h (niserr2nss): Likewise.
7334         * nscd/connections.c (restart_p): Likewise.
7335         Change return type to bool.
7337 2013-02-05  Roland McGrath  <roland@hack.frob.com>
7339         * Makeconfig (all-Depend-files): Add existing
7340         $(sorted-subdirs:=/Depend) files.
7341         (all-subdirs): Remove nss.
7342         * sysdeps/unix/inet/Subdirs: Add it here instead.
7343         * hesiod/Depend: New file.
7345         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7346         instead of calling alloca.
7348         * io/lseek.c (__lseek): Rename to __libc_lseek.
7349         Define __lseek as an alias.
7351         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7353 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
7355         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7356         else clause and remove check for non-standard endianness.
7358 2013-02-04  David S. Miller  <davem@davemloft.net>
7360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7362 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
7364         [BZ #13550]
7365         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7366         (__ubp_memchr): Remove prototype.
7367         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7368         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7369         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7370         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7371         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7372         Remove alias.
7373         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7374         (__ubp_memchr): Likewise.
7375         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7376         (__ubp_memchr): Likewise.
7377         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7378         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7379         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7380         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7381         CHECK_STRING.
7382         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7383         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7384         (__getcwd): Do not use CHECK_STRING.
7385         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7386         <bp-checks.h>.
7387         (__real_chown): Do not use CHECK_STRING.
7388         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7389         <bp-checks.h>.
7390         (fchownat): Do not use CHECK_STRING.
7391         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7392         CHECK_STRING.
7393         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7394         <bp-checks.h>.
7395         (__lchown): Do not use CHECK_STRING.
7396         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7397         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7398         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7399         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7401         include <bp-checks.h>.
7402         (truncate64): Do not use CHECK_STRING.
7403         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7404         <bp-checks.h>.
7405         (__real_chown): Do not use CHECK_STRING.
7406         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7407         <bp-checks.h>.
7408         (__lchown): Do not use CHECK_STRING.
7409         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7410         <bp-checks.h>.
7411         (__chown): Do not use CHECK_STRING.
7412         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7413         <bp-checks.h>.
7414         (truncate64): Do not use CHECK_STRING.
7415         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7416         Likewise.
7417         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7418         (__xmknod): Do not use CHECK_STRING.
7419         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7420         <bp-checks.h>.
7421         (__xmknodat): Do not use CHECK_STRING.
7422         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7423         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7425 2013-02-04  Andreas Schwab  <schwab@suse.de>
7427         [BZ #14142]
7428         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7429         * include/netdb.h: Likewise for h_errno.
7430         * elf/tst-stackguard1.c: Include <tls.h>.
7432 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
7434         * elf/link.h (struct link_map): Extend the l_addr comment.
7435         * include/link.h (struct link_map): Likewise.
7437 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
7439         [BZ #13550]
7440         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7441         (BOUNDED_1): Remove macro.
7442         * debug/backtrace.c: Don't include <bp-checks.h>.
7443         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7444         (__backtrace): Likewise.
7445         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7446         <bp-checks.h>.
7447         (__backtrace): Don't use BOUNDED_1.
7448         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7449         <bp-checks.h>.
7450         (__backtrace): Don't use BOUNDED_1.
7451         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7452         (__backtrace): Don't use BOUNDED_1.
7453         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7454         (shmat): Don't use BOUNDED_N.
7456 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
7458         [BZ #13550]
7459         * sysdeps/generic/bp-start.h: Remove file.
7460         * csu/libc-start.c: Don't include <bp-start.h>.
7461         (LIBC_START_MAIN): Set up __environ directly instead of using
7462         INIT_ARGV_and_ENVIRON.
7463         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7464         <bp-start.h>.
7466         [BZ #13550]
7467         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7468         definitions.
7469         (CHECK_FCNTL): Likewise.
7470         (CHECK_N_PAGES): Likewise.
7472         [BZ #13550]
7473         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7474         definitions.
7475         (CHECK_SIGSET_NULL_OK): Likewise.
7476         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7477         <bp-checks.h>.
7478         (sigpending): Don't use CHECK_SIGSET.
7479         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7480         <bp-checks.h>.
7481         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7482         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7483         <bp-checks.h>.
7484         (do_sigsuspend): Don't use CHECK_SIGSET.
7485         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7486         use CHECK_SIGSET.
7487         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7488         (do_sigwait): Don't use CHECK_SIGSET.
7489         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7490         use CHECK_SIGSET.
7491         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7492         include <bp-checks.h>.
7493         (sigpending): Don't use CHECK_SIGSET.
7494         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7495         include <bp-checks.h>.
7496         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7497         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7498         <bp-checks.h>.
7499         (sigpending): Don't use CHECK_SIGSET.
7500         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7501         <bp-checks.h>.
7502         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7504         [BZ #13550]
7505         * sysdeps/generic/bp-semctl.h: Remove file.
7506         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7507         <bp-checks.h> and <bp-semctl.h>.
7508         (__old_semctl): Don't use CHECK_SEMCTL.
7509         (__new_semctl): Likewise.
7510         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7511         and <bp-semctl.h>.
7512         (__old_semctl): Don't use CHECK_SEMCTL.
7513         (__new_semctl): Likewise.
7514         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7515         <bp-checks.h> and <bp-semctl.h>.
7516         (__old_semctl): Don't use CHECK_SEMCTL.
7517         (__new_semctl): Likewise.
7518         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7519         <bp-checks.h> and <bp-semctl.h>.
7520         (semctl): Don't use CHECK_SEMCTL.
7522         [BZ #13550]
7523         * Makerules (elide-bp-thunks): Remove variable.
7524         (elide-routines.oS): Don't use $(elide-bp-thunks).
7525         (elide-routines.os): Likewise.
7526         (elide-routines.o): Likewise.
7527         (elide-routines.op): Likewise.
7528         (elide-routines.og): Likewise.
7529         (objects): Don't use $(bp-thunks).
7530         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7531         include.
7532         (common-generated): Do not add s-proto-bp.d.
7533         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7534         (int): Likewise.
7535         (typ): Likewise.
7536         Do not generate makefile rules for bounded-pointer thunks.
7537         * sysdeps/generic/bp-thunks.h: Remove file.
7538         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7539         * sysdeps/unix/s-proto-bp.S: Likewise.
7541         [BZ #15062]
7542         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7543         parts of result separately when argument is not close to line from
7544         -i to i and one part of argument is small.
7545         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7546         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7547         * math/libm-test.inc (cacos_test): Add more tests.
7548         (casin_test): Likewise.
7549         (casinh_test): Likewise.
7550         * sysdeps/i386/fpu/libm-test-ulps: Update.
7551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7553 2013-01-31  David S. Miller  <davem@davemloft.net>
7555         * po/de.po: Update from translation team.
7557 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
7559         * time/tzfile.c: Include stdint.h for SIZE_MAX.
7561 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
7563         * configure.in (_AC_PROG_CC_C89): New definition.
7564         * configure: Regenerate.
7566         * configure.in (AC_PROG_CPP): New definition.
7567         * configure: Regenerate.
7569 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
7571         * debug/tst-backtrace.h: New file.
7572         * debug/tst-backtrace2.c: Include tst-backtrace.h.
7573         (ret): Remove variable.
7574         (x): Likewise.
7575         (FAIL): Remove macro.
7576         (NO_INLINE): Likewise.
7577         (fn1): Use match function instead of strstr.
7578         * debug/tst-backtrace3.c: Include tst-backtrace.h.
7579         (ret): Remove variable.
7580         (x): Likewise.
7581         (FAIL): Remove macro.
7582         (NO_INLINE): Likewise.
7583         (fn): Use match function instead of strstr.
7584         * debug/tst-backtrace4.c: Include tst-backtrace.h.
7585         (ret): Remove variable.
7586         (x): Likewise.
7587         (FAIL): Remove macro.
7588         (NO_INLINE): Likewise.
7589         (handle_signal): Use match function instead of strstr.
7590         * debug/tst-backtrace5.c: Include tst-backtrace.h.
7591         (ret): Remove variable.
7592         (x): Likewise.
7593         (FAIL): Remove macro.
7594         (NO_INLINE): Likewise.
7595         (handle_signal): Use match function instead of strstr.
7597 2013-01-23  Roland McGrath  <roland@hack.frob.com>
7599         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7601 2013-01-23  David S. Miller  <davem@davemloft.net>
7603         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7604         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7605         argument of CAS if possible.
7606         * sysdeps/sparc/sparc64/bits/atomic.h
7607         (__arch_compare_and_exchange_val_32_acq): Likewise.
7608         (__arch_compare_and_exchange_val_64_acq): Likewise.
7610 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
7612         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7613         * sysdeps/posix/ulimit.c: ... this.
7614         Include <limits.h>.
7615         * sysdeps/unix/bsd/ulimit.c: Remove file.
7617 2013-01-23  Adam Conrad  <adconrad@0c3.net>
7619         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7620         (LDFLAGS-tst-array5): Likewise.
7622 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
7624         [BZ #15036]
7625         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7626         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7627         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7628         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7630 2013-01-21  David S. Miller  <davem@davemloft.net>
7632         * sysdeps/sparc/backtrace.c: New file.
7633         * sysdeps/sparc/sparc32/backtrace.h: New file.
7634         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7635         * sysdeps/sparc/sparc64/backtrace.h: New file.
7636         * sysdeps/sparc/sparc64/backtrace.c: Delete.
7637         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7638         -funwind-tables.
7640 2013-01-21  Andreas Schwab  <schwab@suse.de>
7642         [BZ #15020]
7643         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7644         closed its stdout.
7646 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
7648         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7649         "mpa2.h".
7650         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7652 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
7653             Mark Mitchell  <mark@codesourcery.com>
7654             Tom de Vries  <tom@codesourcery.com>
7655             Paul Pluzhnikov  <ppluzhnikov@google.com>
7657         * debug/tst-backtrace2.c: New file.
7658         * debug/tst-backtrace3.c: Likewise.
7659         * debug/tst-backtrace4.c: Likewise.
7660         * debug/tst-backtrace5.c: Likewise.
7661         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7662         (CFLAGS-tst-backtrace3.c): Likewise.
7663         (CFLAGS-tst-backtrace4.c): Likewise.
7664         (CFLAGS-tst-backtrace5.c): Likewise.
7665         (LDFLAGS-tst-backtrace2): Likewise.
7666         (LDFLAGS-tst-backtrace3): Likewise.
7667         (LDFLAGS-tst-backtrace4): Likewise.
7668         (LDFLAGS-tst-backtrace5): Likewise.
7669         (tests): Add new tests tst-backtrace2, tst-backtrace3,
7670         tst-backtrace4 and tst-backtrace5.
7672 2013-01-18  Anton Blanchard  <anton@samba.org>
7673             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7675         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7676         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7677         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7678         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7680         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7681         "+r" and remove output regs list as redundant.  Add explicit inline
7682         asm to specify register of return val to work around compiler codegen
7683         bug.  Remove (int) cast on return value.  Add return type parameter to
7684         use in macro so that this macro does not truncate return value for
7685         64-bit values.
7686         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7687         pass to INTERNAL_VSYSCALL_NCS.
7688         (INLINE_VSYSCALL): Add 'long int' as return type to
7689         INTERNAL_VSYSCALL_NCS macro invocation.
7690         (INTERNAL_VSYSCALL): Add 'long int' as return type to
7691         INTERNAL_VSYSCALL_NCS macro invocation.
7692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7694 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7696         [BZ #14496]
7697         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7698         Fix application of SIMD FP exception mask.
7700         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7701         mp_no from a power of two.
7702         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7703         __mpexp_twomm1.  Use __pow_mp.
7705         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7706         multiplication.
7708 2013-01-17  David S. Miller  <davem@davemloft.net>
7710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7712 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
7714         [BZ #15023]
7715         * include/complex.h: Condition contents on [!_COMPLEX_H].
7716         (__kernel_casinhf): New prototype.
7717         (__kernel_casinh): Likewise.
7718         (__kernel_casinhl): Likewise.
7719         * math/Makefile (libm_calls): Add k_casinh.
7720         * math/k_casinh.c: New file.
7721         * math/k_casinhf.c: Likewise.
7722         * math/k_casinhl.c: Likewise.
7723         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7724         finite nonzero arguments.
7725         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7726         finite nonzero arguments.
7727         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7728         finite nonzero arguments.
7729         * math/s_casinh.c: Do not include <float.h>.
7730         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7731         * math/s_casinhf.c: Do not include <float.h>.
7732         (__casinhf): Move code for finite nonzero arguments to
7733         k_casinhf.c.
7734         * math/s_casinhl.c: Do not include <float.h>.
7735         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7736         redefine.
7737         (__casinhl): Move code for finite nonzero arguments to
7738         k_casinhl.c.
7739         * math/libm-test.inc (cacos_test): Add more tests.
7740         * sysdeps/i386/fpu/libm-test-ulps: Update.
7741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7743 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
7745         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7746         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7747         [!HAVE_MREMAP]: Remove [defined linux] case.
7748         * malloc/arena.c: Do not include <malloc-sysdep.h>.
7750 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7752         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7754 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
7756         * elf/elf.h (R_386_SIZE32): New relocation.
7757         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7758         R_386_SIZE32.
7759         (elf_machine_rela): Likewise.
7760         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7761         R_X86_64_SIZE64 and R_X86_64_SIZE32.
7763 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
7765         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7766         (FP_FAST_FMA): Do not define.
7767         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7768         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7769         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7770         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7771         !_SOFT_FLOAT]: Likewise.
7772         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7773         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7774         value.
7775         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7776         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7777         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7778         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7779         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7780         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7781         file.
7783 2013-01-16  Andreas Schwab  <schwab@suse.de>
7785         [BZ #14327]
7786         * include/stdlib.h (__mktemp): Add declaration.
7787         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7788         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7790 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7792         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7793         definitions.
7794         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7795         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7796         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7797         definitions here.
7798         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7799         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7800         definitions.
7801         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7802         and ONE.
7803         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7804         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7805         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7806         definitions.
7807         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7808         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7809         definitions.
7810         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7812         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7814 2013-01-15  David S. Miller  <davem@davemloft.net>
7816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7817         trunc{,f} to libm-sysdep_routes.
7818         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7820         file.
7821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7823         file.
7824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7825         file.
7826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7828         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7829         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7830         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7831         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7832         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7833         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7836         nearbyint{,f} to libm-sysdep_routes.
7837         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7839         New file.
7840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7841         file.
7842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7843         New file.
7844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7845         file.
7846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7848         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7849         file.
7850         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7851         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7852         file.
7853         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7854         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7855         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7857         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7858         libc_feholdexcept and libc_fesetenv.
7860 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
7862         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7864 2013-01-14  David S. Miller  <davem@davemloft.net>
7866         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7867         (SPARC_ASM_VIS2_IFUNC): Likewise.
7868         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7870         use of 'siam' instruction.
7871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7872         Likewise.
7873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7874         Likewise.
7875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7876         Likewise.
7877         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7878         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7879         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7880         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7882         file.
7883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7884         file.
7885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7886         file.
7887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7888         file.
7889         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7890         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7891         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7892         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7894         new VIS2 routines.
7895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7898         Likewise.
7899         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7900         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7901         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7902         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7904         routines to libm-sysdep_routines.
7905         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7908         fdim/fdimf to libm-sysdep_routines.
7909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7910         file.
7911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7913         file.
7914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7917         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7918         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7919         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7920         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7922 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7924         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7925         to optimize copies.
7927         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7928         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7929         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7931         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7932         local variable MPTWO.
7933         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7934         Likewise.
7936 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7938         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7939         GLOB_NOESCAPE.
7941 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7943         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7945 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7947         * manual/pattern.texi (glob_t): Document gl_flags.
7948         (glob64_t): Likewise.
7950 2013-01-11  David S. Miller  <davem@davemloft.net>
7952         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7953         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7954         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
7955         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7956         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7957         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7958         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7959         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7960         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7961         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7962         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7963         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7964         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7966         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7967         sparc V9 rather than using V8 code.
7968         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7969         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7971         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7972         Move to...
7973         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7974         Here.
7976 2013-01-11  Roland McGrath  <roland@hack.frob.com>
7978         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7979         not in the main loop.
7980         * configure: Regenerated.
7982 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
7984         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7985         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7986         to just #else.
7987         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
7988         [!__GLIBC_HAVE_LONG_LONG] case.
7989         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7990         condition to just #else.
7991         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7992         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7993         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7994         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7995         unconditional.
7996         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7997         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7998         #elif condition to just #else.
7999         * sysdeps/unix/sysv/linux/sys/sysmacros.h
8000         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8001         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8002         #elif condition to just #else.
8004 2013-01-11  Steve Ellcey  <sellcey@mips.com>
8006         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8007         (EF_MIPS_ARCH_64): Fix value.
8008         (EF_MIPS_ARCH_32R2): New.
8009         (EF_MIPS_ARCH_64R2): New.
8011 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
8013         * Makeconfig (+link-pie-before-libc): New.
8014         (+link-pie-after-libc): Likewise.
8015         (+link-pie-tests): Likewise.
8016         (+link-pie): Rewritten.
8017         (link-before-libc): Remove $(config-LDFLAGS).
8018         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8019         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8020         (config-LDFLAGS): Renamed to ...
8021         (rtld-LDFLAGS): This.
8022         (rtld-tests-LDFLAGS): New macro.
8023         (link-libc-rpath-link): Likewise.
8024         (link-libc-tests-rpath-link): Likewise.
8025         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8026         (link-libc): Prepand $(link-libc-rpath-link).
8027         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8028         (test-program-prefix): New macro.
8029         (test-via-rtld-prefix): Likewise.
8030         (test-program-cmd): Likewise.
8031         (host-test-program-cmd): Likewise.
8032         * Makefile ($(common-objpfx)testrun.sh): Replace
8033         $(run-program-prefix) with $(test-program-prefix).
8034         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8035         $(rtld-LDFLAGS).
8036         ($(common-objpfx)shlib.lds): Likewise.
8037         (build-module-helper): Likewise.
8038         ($(common-objpfx)format.lds): Likewise.
8039         * Rules (binaries-pie-tests): New.
8040         (binaries-pie-notests): Likewise.
8041         (binaries-pie): Rewritten.
8042         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8043         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8044         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8045         (make-test-out): Replace $(host-built-program-cmd) with
8046         $(host-test-program-cmd).
8047         * config.make.in (build-hardcoded-path-in-tests): New variable.
8048         * configure.in (--enable-hardcoded-path-in-tests): New configure
8049         option.
8050         (hardcoded_path_in_tests): New AC_SUBST.
8051         * configure: Regenerated.
8052         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8053         $(built-program-cmd) with $(test-program-cmd).
8054         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8055         (test_program_cmd): This.
8056         * elf/Makefile ($(objpfx)order.out): Run test with
8057         $(test-program-prefix).
8058         ($(objpfx)order2.out): Likewise.
8059         ($(objpfx)tst-initorder.out): Likewise.
8060         ($(objpfx)tst-initorder2.out): Likewise.
8061         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8062         $(test-program-cmd).
8063         ($(objpfx)tst-array1-static.out): Likewise.
8064         ($(objpfx)tst-array2.out): Likewise.
8065         ($(objpfx)tst-array3.out): Likewise.
8066         ($(objpfx)tst-array4.out): Likewise.
8067         ($(objpfx)tst-array5.out): Likewise.
8068         ($(objpfx)tst-array5-static.out): Likewise.
8069         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8070         $(test-program-cmd).
8071         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8072         $(run-program-prefix) with $(test-program-prefix).
8073         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8074         (test_program_prefix): This.
8075         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8076         $(run-program-prefix) with $(test-program-prefix).
8077         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8078         (test_program_prefix): This.
8079         * iconvdata/tst-tables.sh: Likewise.
8080         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8081         $(run-program-prefix) with $(test-program-prefix).
8082         ($(objpfx)tst-translit.out): Likewise.
8083         ($(objpfx)tst-gettext2.out): Likewise.
8084         ($(objpfx)tst-gettext4.out): Likewise.
8085         ($(objpfx)tst-gettext6.out): Likewise.
8086         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8087         (test_program_prefix): This.
8088         * intl/tst-gettext2.sh: Likewise.
8089         * intl/tst-gettext4.sh  Likewise.
8090         * intl/tst-gettext6.sh: Likewise.
8091         * intl/tst-translit.sh: Likewise.
8092         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8093         with $(test-program-cmd).
8094         * libio/Makefile ($(objpfx)test-freopen.out): Replace
8095         $(run-program-prefix) with $(test-program-prefix).
8096         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8097         (test_program_prefix): This.
8098         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8099         $(run-program-prefix) with $(test-program-prefix).
8100         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8101         (test_program_prefix): This.
8102         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8103         * posix/Makefile ($(objpfx)globtest.out): Replace
8104         $(run-via-rtld-prefix) and $(test-wrapper) with
8105         $(test-program-prefix) and $(test-via-rtld-prefix).
8106         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8107         $(test-program-prefix).
8108         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8109         $(host-test-program-cmd).
8110         (tst-spawn-ARGS): Likewise.
8111         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8112         $(test-program-prefix).
8113         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8114         (test_via_rtld_prefix): This.
8115         (test_wrapper): Renamed to ...
8116         (test_program_prefix): This.
8117         (run_program_prefix): Replaced by test_program_prefix.
8118         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8119         (test_program_prefix): This.
8120         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8121         with $(host-test-program-cmd).
8122         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8123         $(run-program-prefix) with $(test-program-prefix).
8124         ($(objpfx)tst-printf.out): Likewise.
8125         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8126         $(test-program-cmd).
8127         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8128         (test_program_prefix): This.
8129         * stdio-common/tst-unbputc.sh: Likewise.
8130         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8131         $(run-program-prefix) with $(test-program-prefix).
8132         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8133         (test_program_prefix): This.
8134         * string/Makefile ($(objpfx)tst-svc.out):  Replace
8135         $(built-program-cmd) with $(test-program-cmd).
8137 2013-01-11  Andreas Jaeger  <aj@suse.de>
8139         [BZ #15003]
8140         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8141         value. Sync with Linux 3.7.
8143 2013-01-10  David S. Miller  <davem@davemloft.net>
8145         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8146         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8147         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8149 2013-01-10  Roland McGrath  <roland@hack.frob.com>
8151         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8152         never set.
8153         * configure: Regenerated.
8155 2013-01-10  David S. Miller  <davem@davemloft.net>
8157         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8158         sparc V9 rather than using V8 code.
8159         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8160         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8162 2013-01-10  Roland McGrath  <roland@hack.frob.com>
8164         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8165         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8166         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8167         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8168         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8169         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8170         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8171         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8172         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8173         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8174         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8175         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8176         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8177         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8178         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8179         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8180         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8181         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8182         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8183         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8184         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8185         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8186         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8187         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8188         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8189         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8190         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8192 2013-01-10  David S. Miller  <davem@davemloft.net>
8194         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8196 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
8198         * posix/Makefile (tests-static): New variable.
8199         (tests): Add $(tests-static).
8200         (tst-exec-static-ARGS): New variable.
8201         (tst-spawn-static-ARGS): Likewise.
8202         * posix/tst-exec-static.c: New file.
8203         * posix/tst-spawn-static.c: Likewise.
8204         * posix/tst-exec.c: Support run directly.
8205         * posix/tst-spawn.c: Likewise.
8207 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
8209         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8210         long.
8211         * math/bits/mathcalls.h (llrint): Likewise.
8212         (llround): Likewise.
8213         * stdlib/stdlib.h (struct drand48_data): Likewise.
8214         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8215         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8216         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8217         Likewise.
8218         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8219         Likewise.
8220         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8221         (elf_greg_t): Likewise.
8222         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8223         (__jmp_buf): Likewise.
8224         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8225         definitions.
8226         (llrint): Likewise, for all definitions.
8227         (llrintl): Likewise.
8229         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8230         Remove [__GNUC__] condition.
8231         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8232         condition to just [__USE_ISOC99].
8233         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8235 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
8237         [BZ #14200]
8238         * sysdeps/unix/sysv/linux/x86/bits/environments.h
8239         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8240         defined.
8241         (_POSIX_V6_ILP32_OFF32): Likewise.
8242         (_XBS5_ILP32_OFF32): Likewise.
8243         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8244         (__ILP32_OFFBIG_LDFLAGS): Likewise.
8246 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8248         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8250         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8251         doubles __mpexp_twomm1.  Adjust usage.
8252         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8253         Remove.
8255 2013-01-10  Andreas Schwab  <schwab@suse.de>
8257         [BZ #14964]
8258         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8259         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8261 2013-01-09  David S. Miller  <davem@davemloft.net>
8263         [BZ #15003]
8264         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8265         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8266         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8267         TCP_FASTOPEN): Define.
8268         (tcp_repair_opt): New structure.
8269         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8270         enum values.
8271         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8272         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8273         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8274         (tcp_cookie_transactions): New structure.
8276 2013-01-09  Anton Blanchard  <anton@samba.org>
8278         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8279         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8280         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8281         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8283 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
8285         * include/features.h (__USE_ANSI): Remove.
8287 2013-01-09  Roland McGrath  <roland@hack.frob.com>
8289         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8291         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8293 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
8295         * sysdeps/s390/fpu/libm-test-ulps: Update.
8297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8299         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8300         (__acr): Likewise.
8301         (__cpy): Likewise.
8302         (norm): Likewise.
8303         (denorm): Likewise.
8304         (__mp_dbl): Likewise.
8305         (__dbl_mp): Likewise.
8306         (add_magnitudes): Likewise.
8307         (sub_magnitudes): Likewise.
8308         (__add): Likewise.
8309         (__sub): Likewise.
8310         (__mul): Likewise.
8311         (__inv): Likewise.
8312         (__dvd): Likewise.
8313         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8314         (__acr): Likewise.
8315         (__cpy): Likewise.
8316         (norm): Likewise.
8317         (denorm): Likewise.
8318         (__mp_dbl): Likewise.
8319         (__dbl_mp): Likewise.
8320         (add_magnitudes): Likewise.
8321         (sub_magnitudes): Likewise.
8322         (__add): Likewise.
8323         (__sub): Likewise.
8324         (__mul): Likewise.
8325         (__inv): Likewise.
8326         (__dvd): Likewise.
8327         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8328         (__acr): Likewise.
8329         (__cpy): Likewise.
8330         (norm): Likewise.
8331         (denorm): Likewise.
8332         (__mp_dbl): Likewise.
8333         (__dbl_mp): Likewise.
8334         (add_magnitudes): Likewise.
8335         (sub_magnitudes): Likewise.
8336         (__add): Likewise.
8337         (__sub): Likewise.
8338         (__mul): Likewise.
8339         (__inv): Likewise.
8340         (__dvd): Likewise.
8342 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
8344         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8345         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8346         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8347         2 && __USE_EXTERN_INLINES]: Likewise.
8349 2013-01-08  Andreas Jaeger  <aj@suse.de>
8351         [BZ# 14985]
8352         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8353         Remove.
8354         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8355         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8357 2013-01-07  Anton Blanchard  <anton@samba.org>
8359         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8360         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8361         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8362         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8363         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8364         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8365         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8366         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8367         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8368         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8369         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8370         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8371         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8372         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8373         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8374         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8375         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8376         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8377         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8378         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8379         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8380         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8381         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8382         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8383         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8384         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8385         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8386         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8387         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8388         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8389         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8390         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8391         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8392         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8393         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8394         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8395         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8396         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8397         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8398         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8399         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8400         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8401         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8403 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
8405         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8406         (__MALLOC_PMT): Likewise.
8407         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8408         [__GNUC__], only on [_LIBC].
8409         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8410         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8411         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8412         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8413         forward declaration.
8414         (realloc_hook_ini): Likewise.
8415         (memalign_hook_ini): Likewise.
8416         (__libc_memalign): Do not use __MALLOC_PMT in variable
8417         declaration.
8418         (__libc_valloc): Likewise.
8419         (__libc_pvalloc): Likewise.
8420         (__libc_calloc): Likewise.
8421         (__posix_memalign): Likewise.
8423         [BZ #14996]
8424         * math/s_casinh.c: Include <float.h>.
8425         (__casinh): Do not do computation with squaring and square root
8426         for large arguments.
8427         * math/s_casinhf.c: Include <float.h>.
8428         (__casinhf): Do not do computation with squaring and square root
8429         for large arguments.
8430         * math/s_casinhl.c: Include <float.h>.
8431         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8432         (__casinhl): Do not do computation with squaring and square root
8433         for large arguments.
8434         * math/libm-test.inc (casin_test): Add more tests.
8435         (casinh_test): Likewise.
8436         * sysdeps/i386/fpu/libm-test-ulps: Update.
8437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8439 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
8441         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8442         (__x86_64_raw_data_cache_size): Likewise.
8443         (__x86_64_data_cache_size_half): Likewise.
8444         (__x86_64_raw_data_cache_size_half): Likewise.
8445         (__x86_64_shared_cache_size): Likewise.
8446         (__x86_64_raw_shared_cache_size): Likewise.
8447         (__x86_64_shared_cache_size_half): Likewise.
8448         (__x86_64_raw_shared_cache_size_half): Likewise.
8449         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8450         to ...
8451         (__x86_data_cache_size): This.
8452         (__x86_64_raw_data_cache_size): Renamed to ...
8453         (__x86_raw_data_cache_size): This.
8454         (__x86_64_data_cache_size_half): Renamed to ...
8455         (__x86_data_cache_size_half): This.
8456         (__x86_64_raw_data_cache_size_half): Renamed to ...
8457         (__x86_raw_data_cache_size_half): This.
8458         (__x86_64_shared_cache_size): Renamed to ...
8459         (__x86_shared_cache_size): This.
8460         (__x86_64_raw_shared_cache_size): Renamed to ...
8461         (__x86_raw_shared_cache_size): This.
8462         (__x86_64_shared_cache_size_half): Renamed to ...
8463         (__x86_shared_cache_size_half): This.
8464         (__x86_64_raw_shared_cache_size_half): Renamed to ...
8465         (__x86_raw_shared_cache_size_half): This.
8466         * sysdeps/x86_64/memcpy.S: Updated.
8467         * sysdeps/x86_64/memset.S: Likewise.
8468         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8469         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8470         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8472 2013-01-04  David S. Miller  <davem@davemloft.net>
8474         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8476 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
8478         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8479         1 to avoid redefinition warning.
8480         (__USE_GNU): Don't define.
8481         (init_signaling_nan): Protoize.
8483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8485 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8487         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8488         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8489         (__cpymn): Likewise.
8490         (norm): Remove commented code.
8491         (denorm): Likewise.
8492         (__mp_dbl): Likewise.
8493         (__inv): Likewise.
8494         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8495         (__cpymn): Likewise.
8496         (norm): Remove commented code.
8497         (denorm): Likewise.
8498         (__mp_dbl): Likewise.
8499         (__inv): Likewise.
8501         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8502         mp_no value for 1.0 and 2.0.
8503         (norm): Use RADIXI instead of radixi.d.
8504         (denorm): Likewise.
8505         (__mul): Use 0.0 instead of zero.d.
8506         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8507         mp_no value for 1.0 and 2.0.
8508         (norm): Use RADIXI instead of radixi.d.
8509         (denorm): Likewise.
8510         (__mul): Use 0.0 instead of zero.d.
8512 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
8514         [BZ #14994]
8515         * math/s_casinh.c (__casinh): Reduce finite argument to first
8516         quadrant then set signs of results at the end.
8517         * math/s_casinhf.c (__casinhf): Likewise.
8518         * math/s_casinhl.c (__casinhl): Likewise.
8519         * math/libm-test.inc (casin_test): Add more tests.
8520         (casinh_test): Likewise.
8521         * sysdeps/i386/fpu/libm-test-ulps: Update.
8522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8524 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8526         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8528         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8530         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8531         declarations.
8532         (denorm): Likewise.
8533         (__mp_dbl): Likewise.
8534         (__inv): Likewise.
8536         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8537         and adjust the header comment.
8539         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8540         variable name from declaration.
8542 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
8544         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8545         Initialize COMMON_CPUID_INDEX_7 element.
8546         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8547         (CPUID_RTM): Likewise.
8548         (HAS_RTM): Likewise.
8549         (COMMON_CPUID_INDEX_7): New enum.
8551 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
8553         [BZ #14981]
8554         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8555         size is zero, record memory as freed.
8557 2013-01-03  Andreas Jaeger  <aj@suse.de>
8559         * po/ia.po: Add new Interlingua translation.
8561 2012-01-03  Allan McRae  <allan@archlinux.org>
8563         * locale/programs/localedef.c: Fix description of '--posix' flag.
8565 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
8567         * NEWS: Update dates in second copyright notice.
8568         * README: Update copyright dates in example.
8569         * manual/libc.texinfo: Update copyright dates.
8570         * scripts/test-installation.pl: Update copyright date in --version
8571         output.
8573         * hurd/ctty-input.c: Fix copyright notice formatting.
8574         * hurd/ctty-output.c: Likewise.
8575         * hurd/dtable.c: Likewise.
8576         * hurd/hurd-raise.c: Likewise.
8577         * hurd/hurdprio.c: Likewise.
8578         * hurd/msgportdemux.c: Likewise.
8579         * misc/sys/file.h: Likewise.
8580         * misc/sys/ioctl.h: Likewise.
8581         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8582         * sysdeps/mach/hurd/chdir.c: Likewise.
8583         * sysdeps/mach/hurd/fchdir.c: Likewise.
8584         * sysdeps/mach/hurd/rename.c: Likewise.
8585         * sysdeps/mach/hurd/rmdir.c: Likewise.
8586         * sysdeps/mach/hurd/seekdir.c: Likewise.
8587         * sysdeps/mach/hurd/setsid.c: Likewise.
8588         * sysdeps/posix/wait3.c: Likewise.
8590         * All files with FSF copyright notices: Update copyright dates
8591         using scripts/update-copyrights.
8592         * intl/plural.c: Regenerated.
8593         * locale/programs/charmap-kw.h: Likewise.
8594         * locale/programs/locfile-kw.h: Likewise.
8596 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8598         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8599         four values.
8601         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8602         calculation loop and add branch prediction.
8604         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8605         check access beyond bounds of m1np.
8607         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8608         MPTWO.
8609         (__inv): Remove local variable MPTWO to use the global
8610         constant.
8611         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8612         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8613         variable MPTWO.
8614         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8615         MP3HALFS static const.
8617 2013-01-01  David S. Miller  <davem@davemloft.net>
8619         * po/ca.po: Update from translation team.
8621 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
8623         * scripts/update-copyrights: New file.
8624         * Makeconfig: Reformat copyright notice.
8625         * ctype/ctype.h: Likewise.
8626         * debug/swprintf_chk.c: Likewise.
8627         * elf/dl-cache.c: Likewise.
8628         * elf/dl-debug.c: Likewise.
8629         * elf/dl-object.c: Likewise.
8630         * grp/initgroups.c: Likewise.
8631         * hurd/Makefile: Likewise.
8632         * hurd/hurd/signal.h: Likewise.
8633         * hurd/hurdfault.c: Likewise.
8634         * hurd/hurdioctl.c: Likewise.
8635         * hurd/hurdlookup.c: Likewise.
8636         * hurd/intr-msg.c: Likewise.
8637         * iconv/gconv_open.c: Likewise.
8638         * libio/swprintf.c: Likewise.
8639         * locale/lc-ctype.c: Likewise.
8640         * locale/nl_langinfo.c: Likewise.
8641         * mach/Machrules: Likewise.
8642         * mach/Makefile: Likewise.
8643         * malloc/obstack.h: Likewise.
8644         * manual/Makefile: Likewise.
8645         * manual/tsort.awk: Likewise.
8646         * misc/bits/stab.def: Likewise.
8647         * nis/nis_print_group_entry.c: Likewise.
8648         * nis/nis_table.c: Likewise.
8649         * nis/nss_compat/compat-pwd.c: Likewise.
8650         * nis/nss_compat/compat-spwd.c: Likewise.
8651         * po/Makefile: Likewise.
8652         * posix/fnmatch.c: Likewise.
8653         * posix/regex.h: Likewise.
8654         * resolv/Makefile: Likewise.
8655         * resolv/nss_dns/dns-network.c: Likewise.
8656         * resolv/res_hconf.c: Likewise.
8657         * scripts/gen-sorted.awk: Likewise.
8658         * soft-fp/soft-fp.h: Likewise.
8659         * stdio-common/printf.h: Likewise.
8660         * stdlib/monetary.h: Likewise.
8661         * stdlib/random.c: Likewise.
8662         * stdlib/random_r.c: Likewise.
8663         * sysdeps/generic/Makefile: Likewise.
8664         * sysdeps/gnu/Makefile: Likewise.
8665         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8666         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8667         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8668         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8669         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8670         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8671         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8672         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8673         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8674         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8675         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8676         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8677         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8678         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8679         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8680         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8681         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8682         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8683         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8684         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8685         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8686         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8687         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8688         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8689         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8690         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8691         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8692         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8693         * sysdeps/mach/hurd/errnos.awk: Likewise.
8694         * sysdeps/mach/hurd/fork.c: Likewise.
8695         * sysdeps/mach/hurd/getcwd.c: Likewise.
8696         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8697         * sysdeps/mach/hurd/mmap.c: Likewise.
8698         * sysdeps/mach/hurd/utimes.c: Likewise.
8699         * sysdeps/mach/hurd/xmknod.c: Likewise.
8700         * sysdeps/posix/profil.c: Likewise.
8701         * sysdeps/posix/readdir_r.c: Likewise.
8702         * sysdeps/powerpc/bits/mathdef.h: Likewise.
8703         * sysdeps/powerpc/bits/setjmp.h: Likewise.
8704         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8705         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8706         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8707         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8708         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8709         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8710         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8711         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8712         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8713         * sysdeps/pthread/lio_listio.c: Likewise.
8714         * sysdeps/sparc/dl-procinfo.h: Likewise.
8715         * sysdeps/unix/i386/sysdep.S: Likewise.
8716         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8717         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8718         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8719         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8721         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8722         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8723         * sysdeps/unix/sysv/linux/speed.c: Likewise.
8724         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8725         * sysdeps/wordsize-32/divdi3.c: Likewise.
8726         * time/sys/time.h: Likewise.
8727         * wcsmbs/Makefile: Likewise.
8729 2013-01-01  David S. Miller  <davem@davemloft.net>
8731         * po/fr.po: Update from translation team.
8733         * catgets/gencat.c: Update copyright year.
8734         * csu/version.c: Likewise.
8735         * debug/catchsegv.sh: Likewise.
8736         * debug/pcprofiledump.c: Likewise.
8737         * debug/xtrace.sh: Likewise.
8738         * elf/ldconfig.c: Likewise.
8739         * elf/ldd.bash.in: Likewise.
8740         * elf/pldd.c: Likewise.
8741         * elf/sotruss.ksh: Likewise.
8742         * elf/sprof.c: Likewise.
8743         * iconv/iconv_prog.c: Likewise.
8744         * iconv/iconvconfig.c: Likewise.
8745         * locale/programs/locale.c: Likewise.
8746         * locale/programs/localedef.c: Likewise.
8747         * login/programs/pt_chown.c: Likewise.
8748         * malloc/memusage.sh: Likewise.
8749         * malloc/memusagestat.c: Likewise.
8750         * malloc/mtrace.pl: Likewise.
8751         * nscd/nscd.c: Likewise.
8752         * nss/getent.c: Likewise.
8753         * nss/makedb.c: Likewise.
8754         * posix/getconf.c: Likewise.
8756 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8758         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8759         numbers.
8761 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
8763         * math/bits/mathcalls.h (modf): Use __nonnull.
8765 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8767         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8768         (split): Use macro CN instead of the bare value.
8769         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8770         could be used.
8771         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8772         instead of the bare value.
8773         (power1): Likewise.
8775 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8777         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8778         __ATAN_TWOM.
8779         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8781         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8782         their values.
8783         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8784         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8785         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8786         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8788 2012-12-28  Andreas Jaeger  <aj@suse.de>
8790         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
8791         values are from Linux 3.7.
8793         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8794         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
8796 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8798         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
8799         TRUE case.
8801         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8802         (norm): Likewise.
8803         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8804         variables with preprocessor constants.
8805         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8806         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8807         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8809 2012-12-27  Bruno Haible  <bruno@clisp.org>
8811         [BZ #14317]
8812         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8813         only if needed.
8815 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8817         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8818         and use variable directly.
8819         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8821         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8822         MPONE.
8823         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8824         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8825         variable MPONE.
8826         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8827         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8828         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8829         include directive.  Remove local variable MPONE.
8830         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8831         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8832         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8834 2012-12-25  David S. Miller  <davem@davemloft.net>
8836         * version.h (RELEASE): Set to "development".
8837         (VERSION): Set to "2.17.90".
8838         * NEWS: Add 2.18 section.
8840 2012-12-21  David S. Miller  <davem@davemloft.net>
8842         * po/hr.po: Update from translation team.
8844 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8846         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8848 2012-12-19  Steve Ellcey  <sellcey@mips.com>
8850         * NEWS:  Mention new memcpy for MIPS.
8852 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8854         * manual/contrib.texi (Contributors): Spelling correction.
8856 2012-12-15  David S. Miller  <davem@davemloft.net>
8858         * po/ru.po: Update from translation team.
8860 2012-12-13  David S. Miller  <davem@davemloft.net>
8862         * NEWS: Mention IFUNC testsuite enhancements.
8864         * po/pl.po: Update from translation team.
8865         * po/bg.po: Likewise.
8867         * manual/contrib.texi (Contributors): Update entries for Hongjiu
8868         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
8870 2012-12-11  David S. Miller  <davem@davemloft.net>
8872         * po/sv.po: Update from translation team.
8874         * po/vi.po: Update from translation team.
8876         * po/cs.po: Update from translation team.
8878         * po/de.po: Update from translation team.
8879         * po/eo.po: Likewise.
8880         * po/nl.po: Likewise.
8882 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8884         [BZ #14246]
8885         * manual/argp.texi (Argp Helper Functions): Move node to follow
8886         Argp Parsing State.
8888         [BZ #14872]
8889         * manual/conf.texi (Limits on File System Capacity): Mention if
8890         terminating null is included in the max size.
8892 2012-12-10  Andreas Jaeger  <aj@suse.de>
8894         * po/cs.po: Update from translation team.
8896 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8898         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8899         void pointer and cast to uintptr_t.
8900         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8901         path.
8902         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8903         * sysdeps/s390/s390-64/memset.S: Likewise.
8905 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
8907         [BZ #14833]
8908         * menual/message.texi (Message Translation): Fix typos.
8909         (Helper programs for gettext): Likewise.
8911 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
8913         [BZ #14898]
8914         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8915         Change to -1.
8917 2012-12-07  David S. Miller  <davem@davemloft.net>
8919         * po/libc.pot: Update.
8921 2012-12-07  Richard Henderson  <rth@redhat.com>
8923         [BZ #10114]
8924         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8925         normal/normal case to before the switch.
8926         (_FP_DIV): Likewise.
8928 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
8929             Mike Frysinger  <vapier@gentoo.org>
8931         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8932         check for __NR_fadvise64_64.
8934 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
8936         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8937         0, not just to plain "0" as a statement.
8938         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8939         with cw.
8941 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
8943         * NEWS: Use sourceware.org in Bugzilla URL.
8945 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8948         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8950         * stdio-common/tst-put-error.c (do_test): Add newline to the
8951         padded test to ensure flush.
8953 2012-12-05  Jeff Law  <law@redhat.com>
8955         * sunrpc/etc.rpc (fedfs_admin): Add entry.
8957 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
8959         * README: Don't refer to ports add-on as distributed separately.
8960         Mention AArch64 in list of systems supported in the ports add-on.
8962         * LICENSES: Add more non-FSF copyright and license notices.
8964         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8965         ((unused)).
8967         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8969         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8970         10000 as width of padded output.
8972 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8974         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8976         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8977         variable LX with __attribute__ ((unused)).
8978         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8979         Likewise.
8980         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8981         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8982         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8983         with __attribute__ ((unused)).
8985 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
8987         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8989 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8991         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8992         (CFLAGS-nldbl-acos.c): New variable.
8993         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8994         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8995         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8996         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8997         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8998         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8999         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9000         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9001         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9002         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9003         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9004         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9005         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9006         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9007         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9008         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9009         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9010         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9011         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9012         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9013         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9014         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9015         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9016         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9017         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9018         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9019         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9020         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9021         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9022         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9023         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9024         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9025         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9026         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9027         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9028         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9029         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9030         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9031         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9032         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9033         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9034         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9035         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9036         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9037         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9038         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9039         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9040         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9041         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9042         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9043         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9044         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9045         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9046         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9047         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9048         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9049         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9050         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9051         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9052         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9053         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9054         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9055         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9056         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9057         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9058         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9059         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9060         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9061         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9062         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9063         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9064         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9065         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9066         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9067         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9068         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9069         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9070         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9071         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9072         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9073         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9074         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9075         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9076         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9077         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9078         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9079         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9080         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9081         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9082         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9083         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9084         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9085         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9086         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9087         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9088         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9089         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9092         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9094         [BZ #14914]
9095         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9096         whole low double instead of just low 47 bits when splitting values
9097         into two parts.
9099 2012-12-03  Allan McRae  <allan@archlinux.org>
9101         * manual/stdio.texi (Predefined Printf Handlers): Remove
9102         @hsep and @vsep usage.
9104 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
9106         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9107         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9109 2012-12-03  Jeff Law  <law@redhat.com>
9111         * time/sys/time.h (settimeofday): Do not mark TV argument
9112         as __nonnull.
9114 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
9116         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9117         when currently writing and seek to current position when not.
9118         * libio/Makefile (tests): Remove bug-fclose1.
9119         * libio/bug-fclose1.c: Delete.
9121 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
9123         * manual/arith.texi (feenableexcept): Fix typo.
9124         (fedisableexcept): Likewise.
9126 2012-11-30  Roland McGrath  <roland@hack.frob.com>
9128         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9129         second, differently-typed declaration, rather than a cast.
9131 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9133         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9134         * include/rpc/svc.h: ... here.
9136 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
9138         [BZ #13013]
9139         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9140         depending n and resplen2 to catch cases where answer
9141         equals answerp2.
9143 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
9145         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9146         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9148 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
9150         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9152 2012-11-29  Roland McGrath  <roland@hack.frob.com>
9154         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9156 2012-11-28  Jeff Law  <law@redhat.com>
9158         [BZ #13761]
9159         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9160         dataset_temporary.  Track alloca usage into alloca_used.
9161         If dataset is large allocate and release it via malloc/free.
9163 2012-06-04  Florian Weimer  <fweimer@redhat.com>
9165         [BZ #14197]
9166         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9168 2012-11-28  David S. Miller  <davem@davemloft.net>
9170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9172 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
9174         [BZ #14803]
9175         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9176         of pi/2 rounded to nearest to 64 bits.
9177         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9178         nearest to 64 bits.
9179         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9180         bits.
9182 2012-11-28  Jeff Law <law@redhat.com>
9183             Martin Osvald <mosvald@redhat.com>
9185         [BZ #14889]
9186         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9187         * sunrpc/svc.c: Include time.h.
9188         (__svc_accept_failed): New function.
9189         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9190         any reason other than EINTR, call __svc_accept_failed.
9191         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9192         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9194 2012-11-28  Andreas Schwab  <schwab@suse.de>
9196         * scripts/abilist.awk: Also handle indirect functions in .opd
9197         section.
9199 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
9201         [BZ #13881]
9202         * sysdeps/x86/fpu/powl_helper.c: New file.
9203         * sysdeps/x86/fpu/Makefile: Likewise.
9204         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9205         (p3): New object.
9206         (__ieee754_powl): Use __powl_helper for finite arguments except
9207         integer exponents below 8.
9208         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9209         (p3): New object.
9210         (__ieee754_powl): Use __powl_helper for finite arguments except
9211         integer exponents below 8.
9212         * math/libm-test.inc (pow_test): Add more tests and enable some
9213         previously disabled tests.
9214         * sysdeps/i386/fpu/libm-test-ulps: Update.
9215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9217 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9218             Carlos O'Donell  <carlos_odonell@mentor.com>
9220         * nss/makedb.c (is_prime): Assert that input is odd and greater
9221         than 4.  Note that fact in a comment too.
9222         (next_prime): Add 4 to input.
9224 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9226         [BZ #11741]
9227         * libio/Makefile (tests): Add test case tst-fwrite-error.
9228         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9229         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9230         * libio/tst-fwrite-error.c: New test case.
9232 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
9234         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9235         before casting to void *.
9236         * include/libc-internal.h (__pointer_type): New macro.
9237         (__integer_if_pointer_type_sub): Likewise.
9238         (__integer_if_pointer_type): Likewise.
9239         (cast_to_integer): Likewise.
9240         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9241         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9242         before casting to atomic64_t.
9243         (atomic_exchange_acq): Likewise.
9244         (__arch_exchange_and_add_body): Likewise.
9245         (__arch_add_body): Likewise.
9246         (atomic_add_negative): Likewise.
9247         (atomic_add_zero): Likewise.
9249 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
9251         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9252         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9253         (add_fdes): Likewise.
9254         (linear_search_fdes): Likewise.
9255         (binary_search_unencoded_fdes): Likewise.
9257 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
9259         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9261 2012-11-24  Adam Conrad  <adconrad@0c3.net>
9263         * configure.in: Autodetect C++ header directories.
9264         * configure: Regenerated.
9266 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
9268         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9270 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
9272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9274 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
9276         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9277         LDBL_MANT_DIG == 106]: Disable some tests.
9278         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9279         Likewise.
9280         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9281         Likewise.
9283         [BZ #14871]
9284         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9285         input for small inputs.  Return +/- pi/2 for large inputs.
9286         * math/libm-test.inc (atan_test): Add more tests.
9288         * sysdeps/generic/unwind-dw2-fde-glibc.c
9289         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9290         __attribute__ ((unused)).
9292         [BZ #14645]
9293         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9294         x * y if x and y are nonzero and z is zero.
9296         [BZ #14811]
9297         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9298         nonzero exponents with absolute value below 0x1p-117 to +/-
9299         0x1p-117.
9301         [BZ #14869]
9302         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9303         up arguments below 2**-450, not just those below 2**-500.
9304         * math/libm-test.inc (hypot_test): Add another test.
9306         [BZ #14868]
9307         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9308         Return a+b for ratio over 2**120, not 2**60.
9309         * math/libm-test.inc (hypot_test): Add another test.
9311         * math/libm-test.inc (clog_test): Use
9312         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9313         (clog10_test): Likewise.
9315         [BZ #6778]
9316         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9318 2012-11-22  Andreas Schwab  <schwab@suse.de>
9320         * sysdeps/i386/fpu/libm-test-ulps: Update.
9322 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
9324         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9325         printf output with newline.
9327 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
9329         [BZ #14865]
9330         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9331         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9332         -z nodlopen, -z initfirst and -z execstack support.
9333         * configure: Regenerated.
9335         * elf/elf.h (DF_1_NODIRECT): New macro.
9336         (DF_1_IGNMULDEF): Likewise.
9337         (DF_1_NOKSYMS): Likewise.
9338         (DF_1_NOHDR): Likewise.
9339         (DF_1_EDITED): Likewise.
9340         (DF_1_NORELOC): Likewise.
9341         (DF_1_SYMINTPOSE): Likewise.
9342         (DF_1_GLOBAUDIT): Likewise.
9343         (DF_1_SINGLETON): Likewise.
9344         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9345         DT_1_SUPPORTED_MASK bits.
9346         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9348 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
9350         * sysdeps/unix/make-syscalls.sh: Document prefixes.
9352 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
9354         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9355         macro.
9357         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9358         (sendmmsg): Move declarations...
9359         * socket/sys/socket.h: ... here.
9360         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9361         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9362         include it from...
9363         * socket/recvmmsg.c: ... this new file.
9364         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9365         (sendmmsg): Rename to __sendmmsg, create weak alias and make
9366         definition of __sendmmsg hidden.
9367         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9368         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9369         Move ENOSYS stub into and include it from...
9370         * socket/sendmmsg.c: ... this new file.
9371         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9372         (sysdep_routines): Move recvmmsg and sendmmsg...
9373         * socket/Makefile (routines): ... here.
9374         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9375         (GLIBC_PRIVATE): Add __sendmmsg.
9376         * include/sys/socket.h (__sendmmsg): Add declarations.
9377         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9378         sendmmsg.
9380 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
9382         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9383         variable I1 with __attribute__ ((unused)).
9384         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9386 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
9388         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9389         DUMMY variables with __attribute__ ((unused)).
9391         * bits/byteswap.h: Include <bits/types.h>.
9392         (__bswap_64): Use __uint64_t instead of unsigned long long int.
9394 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
9396         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9397         string_t.  Do not manually set errno.
9398         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9399         length with __strnlen.  Make sure to both set errno and return it on
9400         failure.
9402 2012-11-19  David S. Miller  <davem@davemloft.net>
9404         With help from Joseph Myers.
9405         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9406         very large arguments properly.
9407         * math/libm-test.inc (atan_test): New tests.
9408         (atan2_test): New tests.
9409         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9410         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9412 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
9414         [BZ #14856]
9415         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9416         Define to 3.
9418         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9419         [POSIX] (EADDRNOTAVAIL): Likewise.
9420         [POSIX] (EAFNOSUPPORT): Likewise.
9421         [POSIX] (EALREADY): Likewise.
9422         [POSIX] (ECONNABORTED): Likewise.
9423         [POSIX] (ECONNREFUSED): Likewise.
9424         [POSIX] (ECONNRESET): Likewise.
9425         [POSIX] (EDESTADDRREQ): Likewise.
9426         [POSIX] (EDQUOT): Likewise.
9427         [POSIX] (EHOSTUNREACH): Likewise.
9428         [POSIX] (EIDRM): Likewise.
9429         [POSIX] (EISCONN): Likewise.
9430         [POSIX] (ELOOP): Likewise.
9431         [POSIX] (EMULTIHOP): Likewise.
9432         [POSIX] (ENETDOWN): Likewise.
9433         [POSIX] (ENETUNREACH): Likewise.
9434         [POSIX] (ENOBUFS): Likewise.
9435         [POSIX] (ENODATA): Likewise.
9436         [POSIX] (ENOLINK): Likewise.
9437         [POSIX] (ENOMSG): Likewise.
9438         [POSIX] (ENOPROTOOPT): Likewise.
9439         [POSIX] (ENOSR): Likewise.
9440         [POSIX] (ENOSTR): Likewise.
9441         [POSIX] (ENOTCONN): Likewise.
9442         [POSIX] (ENOTSOCK): Likewise.
9443         [POSIX] (EOPNOTSUPP): Likewise.
9444         [POSIX] (EOVERFLOW): Likewise.
9445         [POSIX] (EPROTO): Likewise.
9446         [POSIX] (EPROTONOSUPPORT): Likewise.
9447         [POSIX] (EPROTOTYPE): Likewise.
9448         [POSIX] (ESTALE): Likewise.
9449         [POSIX] (ETIME): Likewise.
9450         [POSIX] (ETXTBSY): Likewise.
9451         [POSIX] (EWOULDBLOCK): Likewise.
9452         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9453         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9454         [POSIX] (SEEK_CUR): Likewise.
9455         [POSIX] (SEEK_END): Likewise.
9456         [POSIX || UNIX98] (mode_t): Do not require.
9457         [POSIX] (off_t): Likewise.
9458         [POSIX] (pid_t): Likewise.
9459         [POSIX] (sys/stat.h): Do not allow header.
9460         [POSIX] (unistd.h): Likewise.
9461         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9462         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9463         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9464         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9465         require.
9466         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9467         sigevent): Specify elements.
9468         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9469         entry.
9470         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9471         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9473         * conform/data/cpio.h-data [POSIX]: Disable whole file.
9474         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9475         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9476         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9477         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9478         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9479         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9480         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9481         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9482         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9483         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9484         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9485         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9486         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9487         Likewise.
9488         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9489         Likewise.
9490         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9491         Likewise.
9492         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9493         Likewise.
9494         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9495         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9496         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9497         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9498         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9499         Specify lower bound on value.
9500         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9501         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9502         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9503         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9504         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9505         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9506         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9507         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9508         value.
9509         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9510         as optional.
9511         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9512         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9513         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9514         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9515         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9516         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9517         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9518         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9519         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9520         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9521         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9522         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9523         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9524         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9525         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9526         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9527         entry.
9528         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9529         optional.
9530         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9531         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9532         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9533         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9534         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9535         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9536         Likewise.
9537         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9538         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9539         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9540         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9541         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
9542         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9543         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9544         as optional.
9545         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9546         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9547         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9548         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9549         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9550         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9551         specify as optional.
9552         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9553         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9554         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9555         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9556         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9557         [XPG3] (NL_LANGMAX): Likewise.
9558         [POSIX || XPG3] (NL_MSGMAX): Likewise.
9559         [POSIX || XPG3] (NL_NMAX): Likewise.
9560         [POSIX || XPG3] (NL_SETMAX): Likewise.
9561         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9562         [XPG3] (NZERO): Likewise.
9563         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9564         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9565         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9566         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9567         (REG_ERANGE): Expect.
9568         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9569         optional-constant.
9570         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9571         Use (void) in prototype.
9572         [POSIX] (*_t): Allow.
9573         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9574         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9575         (WRDE_BADVAL): Expect.
9577         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9578         expect.
9579         [XPG3 || XPG4] (O_RSYNC): Likewise.
9580         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9581         Likewise.
9582         [XPG3 || XPG4] (pthread_sigmask): Likewise.
9583         [XPG3 || XPG4] (sigqueue): Likewise.
9584         [XPG3 || XPG4] (sigtimedwait): Likewise.
9585         [XPG3 || XPG4] (sigwaitinfo): Likewise.
9586         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9587         [XPG3 || XPG4] (vsnprintf): Likewise.
9588         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9589         Likewise.
9590         [XPG3 || XPG4] (blksize_t): Likewise.
9591         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9592         Likewise.
9593         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9594         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9595         [XPG3 || XPG4] (struct itimerspec): Likewise.
9596         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9597         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9598         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9599         [XPG3 || XPG4] (clockid_t): Likewise.
9600         [XPG3 || XPG4] (timer_t): Likewise.
9601         [XPG3 || XPG4] (clock_getres): Likewise.
9602         [XPG3 || XPG4] (clock_gettime): Likewise.
9603         [XPG3 || XPG4] (clock_settime): Likewise.
9604         [XPG3 || XPG4] (nanosleep): Likewise.
9605         [XPG3 || XPG4] (timer_create): Likewise.
9606         [XPG3 || XPG4] (timer_delete): Likewise.
9607         [XPG3 || XPG4] (timer_gettime): Likewise.
9608         [XPG3 || XPG4] (timer_getoverrun): Likewise.
9609         [XPG3 || XPG4] (timer_settime): Likewise.
9610         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9611         [XPG3 || XPG4] (getlogin_r): Likewise.
9612         [XPG3 || XPG4] (pread): Likewise.
9613         [XPG3 || XPG4] (pthread_atfork): Likewise.
9614         [XPG3 || XPG4] (pwrite): Likewise.
9616         [BZ #14835]
9617         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9618         <bits/siginfo.h>.
9620 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
9622         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9623         finalizing MALLSTREAM.
9625         * sysdeps/mach/hurd/syncfs.c: New file.
9627 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9629         [BZ #14719]
9630         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9631         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9632         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9633         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9634         (_nss_dns_gethostbyname4_r): Likewise.
9635         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9636         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9638 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
9640         [BZ #13763]
9641         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9643 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
9645         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9646         * elf/cache.c (print_entry): Print ",AArch64" for
9647         FLAG_AARCH64_LIB64
9649         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9650         * elf/cache.c (print_entry): Print ",hard-float" for
9651         FLAG_ARM_LIBHF.
9653 2012-11-18  David S. Miller  <davem@davemloft.net>
9655         With help from Joseph Myers.
9656         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9657         cutoff to 2**-13.
9658         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9659         cutoff to 2**-25.
9660         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9661         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9662         small.
9663         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9664         * math/libm-test.inc (y0_test): New tests.
9665         (y1_test): New tests.
9666         * sysdeps/i386/fpu/libm-test-ulps: Update.
9667         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9670 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
9672         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9673         64-bit targets.
9674         * configure: Regenerated.
9676 2012-11-17  David S. Miller  <davem@davemloft.net>
9678         [BZ #14811]
9679         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9680         nonzero exponents with absolute value below 0x1p-128 to +/-
9681         0x1p-128.
9683 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
9685         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9687         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9689         * posix/getconf-speclist.c: New file.
9690         * posix/posix-envs.def: Likewise.
9691         * posix/confstr.c (START_ENV_GROUP): New macro.
9692         (END_ENV_GROUP): Likewise.
9693         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9694         (KNOWN_PRESENT_ENV_STRING): Likewise.
9695         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9696         (UNKNOWN_ENVIRONMENT): Likewise.
9697         (confstr): Include posix-envs.def instead of handling
9698         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9699         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9700         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9701         (END_ENV_GROUP): Likewise.
9702         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9703         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9704         (UNKNOWN_ENVIRONMENT): Likewise.
9705         (__sysconf): Include posix-envs.def instead of handling associated
9706         cases directly here.
9707         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9708         preprocessing getconf-speclist.c rather than running getconf or
9709         generating empty file.
9711 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
9713         * scripts/check-local-headers.sh: Ignore 'mach' headers.
9715 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
9717         [BZ #14672]
9718         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9720 2012-11-16  David S. Miller  <davem@davemloft.net>
9722         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9723         smaller than LDBL_EPSILON/2.0L, just return xm1.
9725 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
9727         * elf/tst-array1.c (init): Set constructor priority to 1000.
9728         (fini): Set destructor priority to 1000.
9729         * elf/tst-array2dep.c: Likewise.
9731 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9733         [BZ #11741]
9734         * libio/fileops.c (_IO_new_file_write): Correctly return error.
9735         (_IO_new_file_xsputn): Also return EOF if none of the input
9736         data was written when overflow failed.
9737         * libio/iopadn.c (_IO_padn): Likewise.
9738         * libio/iowpadn.c (_IO_wpadn): Likewise.
9739         * stdio-common/tst-put-error.c: Add copyright notice.
9740         (do_test): Add case for printing padded string.
9741         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9742         _IO_padn returned error.
9743         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9744         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9745         return EOF.
9747 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9749         * libio/libioP.h: Add comment note that the references to C++
9750         bits are now obsolete.
9752 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9754         * math/libm-test.inc (check_complex): Use asprintf.
9756 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
9758         * debug/pcprofiledump.c (print_version): Update copyright year.
9759         * malloc/memusagestat.c (print_version): Likewise.
9761 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
9763         [BZ #14831]
9764         * elf/Makefile (tests): Add tst-audit8.
9765         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9766         ($(objpfx)tst-audit8.out): New target.
9767         (tst-audit8-ENV): New variable.
9768         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9769         audit if l_reloc_result is NULL.
9770         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9771         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9772         * elf/tst-audit8.c: New file.
9774 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9776         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9777         * misc/Makefile (CFLAGS-select.c): Define.
9778         * posix/Makefile (CFLAGS-pause.c): Define.
9780 2012-11-13  David S. Miller  <davem@davemloft.net>
9782         * crypt/Makefile: Move test targets after toplevel Rules
9783         inclusion.  Grab any necessary sysdep routines when linking.
9784         * crypt/md5.c (md5_process_block): Remove define, we will always
9785         name it __md5_process_block.
9786         (md5_finish_ctx): Update md5_process_block call.
9787         (md5_stream): Likewise.
9788         (md5_process_bytes): Likewise.
9789         (md5_process_block): Rename to __md5_process_block and move to ...
9790         * crypt/md5-block.c: ... here.
9791         * crypt/sha256.c (sha256_process_block): Move to ...
9792         * crypt/sha256-block.c: ... here.
9793         * crypt/sha512.c (sha512_process_block): Move to ...
9794         * crypt/sha512-block.c: ... here.
9795         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9796         path.
9797         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9798         * sysdeps/sparc/sparc64/multiarch/Makefile
9799         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9800         crypt subdir.
9801         (localedef-aux): Add md5 crypto assembler when in locale subdir.
9802         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9803         multiarch changes.
9804         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9805         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9806         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9807         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9808         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9809         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9810         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9811         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9812         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9813         file.
9814         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9815         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9816         file.
9817         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9819 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
9821         * timezone/tzselect.ksh: Update from tzcode git revision
9822         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9823         * timezone/zdump.c: Likewise.
9824         * timezone/zic.c: Likewise.
9825         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9826         in TZVERSION setting, not $(PKGVERSION).
9827         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
9828         REPORT_BUGS_TO settings.
9830         [BZ #14838]
9831         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9832         macro.
9834 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9836         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9837         detection to immediately after _FP_ROUND().
9838         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9839         bits are 0.
9841 2012-11-11  David S. Miller  <davem@davemloft.net>
9843         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9844         inttypes.h
9845         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9846         __close rather than their public counterparts.
9848 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
9850         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9851         file.
9852         [UNIX98] (sem_timedwait): Do not expect.
9853         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9854         [XPG4 || UNIX98] (sockatmark): Do not expect.
9855         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9856         (clock_getcpuclockid): Do not expect.
9857         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9858         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9859         Do not expect.
9860         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9861         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9862         [UNIX98] (vwscanf): Likewise.
9863         [UNIX98] (vswscanf): Likewise.
9865 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
9867         * timezone/version.h: Remove file.
9868         * timezone/README: Do not refer to version.h.
9869         * timezone/Makefile ($(objpfx)zic.o): New dependency on
9870         $(objpfx)version.h.
9871         ($(objpfx)zdump.o): Likewise.
9872         ($(objpfx)version.h): New target.
9874         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9875         2012i.
9876         * timezone/README: Don't mention modification to tzselect.ksh.
9877         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9878         work on unmodified tzselect.ksh.  Substitute version numbers in
9879         tzselect.ksh.
9881         * Makefile (format-me): Remove.
9882         (INSTALL): Adjust indentation.  Use commands directly instead of
9883         using $(format-me).
9885         * aclocal.m4 (ACX_PKGVERSION): New macro.
9886         (ACX_BUGURL): Likewise.
9887         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9888         (PKGVERSION): New AC_DEFINE_UNQUOTED.
9889         (REPORT_BUGS_TO): Likewise.
9890         * configure: Regenerated.
9891         * config.h.in (PKGVERSION): New macro.
9892         (REPORT_BUGS_TO): Likewise.
9893         * config.make.in (PKGVERSION): New variable.
9894         (PKGVERSION_TEXI): Likewise.
9895         (REPORT_BUGS_TO): Likewise.
9896         (REPORT_BUGS_TEXI): Likewise.
9897         * Makefile (format-me): Use -I$(common-objpfx)manual.
9898         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9899         ($(common-objpfx)manual/%): New target.
9900         (manual/%): Remove target.
9901         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9902         (print_version): Use PKGVERSION.
9903         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9904         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9905         and REPORT_BUGS_TO.
9906         ($(objpfx)xtrace): Likewise.
9907         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9908         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9909         (print_version): Use PKGVERSION.
9910         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9911         (do_version): Use PKGVERSION.
9912         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9913         REPORT_BUGS_TO.
9914         (common-ldd-rewrite): Likewise.
9915         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9916         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9917         (print_version): Use PKGVERSION.
9918         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9919         * elf/pldd.c (argp_program_bug_address): Remove variable.
9920         (more_help): New function.
9921         (argp): Use more_help.
9922         (print_version): Use PKGVERSION.
9923         * elf/sln.c (main): Use PKGVERSION.
9924         (usage): Use REPORT_BUGS_TO.
9925         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9926         (top level): Use PKGVERSION.
9927         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9928         (print_version): Use PKGVERSION.
9929         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9930         (print_version): Use PKGVERSION.
9931         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9932         (print_version): Use PKGVERSION.
9933         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9934         (print_version): Use PKGVERSION.
9935         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9936         (print_version): Use PKGVERSION.
9937         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9938         (print_version): Use PKGVERSION.
9939         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9940         and BUGURL.
9941         ($(objpfx)memusage): Likewise.
9942         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9943         (do_version): Use PKGVERSION.
9944         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9945         (print_version): Use PKGVERSION.
9946         * malloc/mtrace.pl ($PACKAGE): Remove variable.
9947         ($PKGVERSION): New variable.
9948         ($REPORT_BUGS_TO): Likewise.
9949         (usage): Use $REPORT_BUGS_TO.
9950         (top level): Use $PKGVERSION.
9951         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9952         ($(objpfx)pkgvers.texi): New rule.
9953         ($(objpfx)stamp-pkgvers): Likewise.
9954         * manual/install.texi: Include pkgvers.texi.
9955         (--with-pkgversion): Document new configure option.
9956         (--with-bugurl): Likewise.
9957         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9958         than necessarily for this particular distribution.  Use
9959         REPORT_BUGS_TO for where to report bugs.
9960         * INSTALL: Regenerated.
9961         * manual/libc.texinfo: Include pkgvers.texi.
9962         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9963         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9964         (print_version): Use PKGVERSION.
9965         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9966         (print_version): Use PKGVERSION.
9967         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9968         (print_version): Use PKGVERSION.
9969         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9970         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9971         macro.
9972         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9973         (print_version): Use PKGVERSION.
9974         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9975         (print_version): Use PKGVERSION.
9976         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9977         and PKGVERSION.
9979         * timezone/checktab.awk: Update from tzcode 2012i.
9980         * timezone/ialloc.c: Likewise.
9981         * timezone/private.h: Likewise.
9982         * timezone/scheck.c: Likewise.
9983         * timezone/tzfile.h: Likewise.
9984         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9985         (TZVERSION): Hardcode tzcode version number.
9986         * timezone/zdump.c: Update from tzcode 2012i.
9987         * timezone/zic.c: Likewise.
9988         * timezone/version.h: New file.
9989         * timezone/README: Describe version.h.  Update upstream location.
9991         [BZ #14824]
9992         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9993         (mktemp): Enable declaration.
9994         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9995         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9996         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9997         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9998         Likewise.
9999         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10000         Likewise.
10001         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10002         Likewise.
10003         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10004         Likewise.
10005         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10006         Likewise.
10007         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10008         Likewise.
10010         [BZ #14821]
10011         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10012         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
10013         for copies of such integer values.
10014         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10015         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10017 2012-11-09  Andreas Jaeger  <aj@suse.de>
10019         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10020         definitions and declarations that are provided by
10021         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10023 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10025         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10026         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10027         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10028         definition.
10030 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10032         * elf/elf.h: Update comment before AArch64 relocations.
10034 2012-11-07  David S. Miller  <davem@davemloft.net>
10036         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10037         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10038         (__start_context): Declare.
10039         (__makecontext_ret): Delete.
10040         (__makecontext): Hook up __start_context instead of
10041         __makecontext_ret.
10042         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10043         (sysdep_routines): Add __start_context when in stdlib.
10045 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10047         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10048         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10049         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
10050         hardcoded "nm".
10051         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
10052         (READELF): New variable.  Use it instead of hardcoded "readelf".
10054 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10056         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10057         * sysdeps/x86/Makefile: Here.
10058         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10059         * sysdeps/x86/tst-xmmymm.sh: This.
10061 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10063         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10064         expectations.
10065         [UNIX98] (pthread_barrier_t): Do not expect.
10066         [UNIX98] (pthread_barrierattr_t): Likewise.
10067         [UNIX98] (pthread_spinlock_t): Likewise.
10068         [UNIX98] (pthread_barrier_destroy): Likewise.
10069         [UNIX98] (pthread_barrier_init): Likewise.
10070         [UNIX98] (pthread_barrier_wait): Likewise.
10071         [UNIX98] (pthread_barrierattr_destroy): Likewise.
10072         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10073         [UNIX98] (pthread_barrierattr_init): Likewise.
10074         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10075         [UNIX98] (pthread_getcpuclockid): Likewise.
10076         [UNIX98] (pthread_mutex_timedlock): Likewise.
10077         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10078         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10079         [UNIX98] (pthread_sigmask): Likewise.
10080         [UNIX98] (pthread_spin_destroy): Likewise.
10081         [UNIX98] (pthread_spin_init): Likewise.
10082         [UNIX98] (pthread_spin_lock): Likewise.
10083         [UNIX98] (pthread_spin_trylock): Likewise.
10084         [UNIX98] (pthread_spin_unlock): Likewise.
10085         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10086         Do not expect.
10087         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10088         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10089         [XPG3 || XPG4] (pthread_cond_t): Likewise.
10090         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10091         [XPG3 || XPG4] (pthread_key_t): Likewise.
10092         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10093         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10094         [XPG3 || XPG4] (pthread_once_t): Likewise.
10095         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10096         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10097         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10098         [XPG3 || XPG4] (pthread_t): Likewise.
10100         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10101         not expect.
10102         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10104         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10105         Change function return type to int.
10107         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10108         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10109         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10110         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10111         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10112         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10113         [!POSIX] (posix_madvise): Likewise.
10114         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10115         && !UNIX98].
10116         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10117         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10118         (mode_t): Likewise.
10119         (posix_mem_offset): Likewise.
10120         (posix_typed_mem_get_info): Likewise.
10121         (posix_typed_mem_open): Likewise.
10123         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10124         Change condition to [XOPEN2K8].
10126         * conform/conformtest.pl: Preprocess allow-header data with -x c
10127         instead of from stdin.
10128         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10129         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10130         [C99-based standards] (cerfc): Likewise.
10131         [C99-based standards] (cexp2): Likewise.
10132         [C99-based standards] (cexpm1): Likewise.
10133         [C99-based standards] (clog10): Likewise.
10134         [C99-based standards] (clog1p): Likewise.
10135         [C99-based standards] (clog2): Likewise.
10136         [C99-based standards] (clgamma): Likewise.
10137         [C99-based standards] (ctgamma): Likewise.
10138         [C99-based standards] (cerff): Likewise.
10139         [C99-based standards] (cerfcf): Likewise.
10140         [C99-based standards] (cexp2f): Likewise.
10141         [C99-based standards] (cexpm1f): Likewise.
10142         [C99-based standards] (clog10f): Likewise.
10143         [C99-based standards] (clog1pf): Likewise.
10144         [C99-based standards] (clog2f): Likewise.
10145         [C99-based standards] (clgammaf): Likewise.
10146         [C99-based standards] (ctgammaf): Likewise.
10147         [C99-based standards] (cerfl): Likewise.
10148         [C99-based standards] (cerfcl): Likewise.
10149         [C99-based standards] (cexp2l): Likewise.
10150         [C99-based standards] (cexpm1l): Likewise.
10151         [C99-based standards] (clog10l): Likewise.
10152         [C99-based standards] (clog1pl): Likewise.
10153         [C99-based standards] (clog2l): Likewise.
10154         [C99-based standards] (clgammal): Likewise.
10155         [C99-based standards] (ctgammal): Likewise.
10156         * conform/data/inttypes.h-data [C99-based standards]: Include
10157         stdint.h-data.  Remove all expectations for stdint.h contents.
10158         [C99-based standards] (PRI*): Do not allow.
10159         [C99-based standards] (SCN*): Likewise.
10160         [C99-based standards] (*_t): Likewise.
10161         [C99-based-standards] (PRId8): Expect macro.
10162         [C99-based-standards] (PRIi8): Likewise.
10163         [C99-based-standards] (PRIo8): Likewise.
10164         [C99-based-standards] (PRIu8): Likewise.
10165         [C99-based-standards] (PRIx8): Likewise.
10166         [C99-based-standards] (PRIX8): Likewise.
10167         [C99-based-standards] (SCNd8): Likewise.
10168         [C99-based-standards] (SCNi8): Likewise.
10169         [C99-based-standards] (SCNo8): Likewise.
10170         [C99-based-standards] (SCNu8): Likewise.
10171         [C99-based-standards] (SCNx8): Likewise.
10172         [C99-based-standards] (PRIdLEAST8): Likewise.
10173         [C99-based-standards] (PRIiLEAST8): Likewise.
10174         [C99-based-standards] (PRIoLEAST8): Likewise.
10175         [C99-based-standards] (PRIuLEAST8): Likewise.
10176         [C99-based-standards] (PRIxLEAST8): Likewise.
10177         [C99-based-standards] (PRIXLEAST8): Likewise.
10178         [C99-based-standards] (SCNdLEAST8): Likewise.
10179         [C99-based-standards] (SCNiLEAST8): Likewise.
10180         [C99-based-standards] (SCNoLEAST8): Likewise.
10181         [C99-based-standards] (SCNuLEAST8): Likewise.
10182         [C99-based-standards] (SCNxLEAST8): Likewise.
10183         [C99-based-standards] (PRIdFAST8): Likewise.
10184         [C99-based-standards] (PRIiFAST8): Likewise.
10185         [C99-based-standards] (PRIoFAST8): Likewise.
10186         [C99-based-standards] (PRIuFAST8): Likewise.
10187         [C99-based-standards] (PRIxFAST8): Likewise.
10188         [C99-based-standards] (PRIXFAST8): Likewise.
10189         [C99-based-standards] (SCNdFAST8): Likewise.
10190         [C99-based-standards] (SCNiFAST8): Likewise.
10191         [C99-based-standards] (SCNoFAST8): Likewise.
10192         [C99-based-standards] (SCNuFAST8): Likewise.
10193         [C99-based-standards] (SCNxFAST8): Likewise.
10194         [C99-based-standards] (PRId16): Likewise.
10195         [C99-based-standards] (PRIi16): Likewise.
10196         [C99-based-standards] (PRIo16): Likewise.
10197         [C99-based-standards] (PRIu16): Likewise.
10198         [C99-based-standards] (PRIx16): Likewise.
10199         [C99-based-standards] (PRIX16): Likewise.
10200         [C99-based-standards] (SCNd16): Likewise.
10201         [C99-based-standards] (SCNi16): Likewise.
10202         [C99-based-standards] (SCNo16): Likewise.
10203         [C99-based-standards] (SCNu16): Likewise.
10204         [C99-based-standards] (SCNx16): Likewise.
10205         [C99-based-standards] (PRIdLEAST16): Likewise.
10206         [C99-based-standards] (PRIiLEAST16): Likewise.
10207         [C99-based-standards] (PRIoLEAST16): Likewise.
10208         [C99-based-standards] (PRIuLEAST16): Likewise.
10209         [C99-based-standards] (PRIxLEAST16): Likewise.
10210         [C99-based-standards] (PRIXLEAST16): Likewise.
10211         [C99-based-standards] (SCNdLEAST16): Likewise.
10212         [C99-based-standards] (SCNiLEAST16): Likewise.
10213         [C99-based-standards] (SCNoLEAST16): Likewise.
10214         [C99-based-standards] (SCNuLEAST16): Likewise.
10215         [C99-based-standards] (SCNxLEAST16): Likewise.
10216         [C99-based-standards] (PRIdFAST16): Likewise.
10217         [C99-based-standards] (PRIiFAST16): Likewise.
10218         [C99-based-standards] (PRIoFAST16): Likewise.
10219         [C99-based-standards] (PRIuFAST16): Likewise.
10220         [C99-based-standards] (PRIxFAST16): Likewise.
10221         [C99-based-standards] (PRIXFAST16): Likewise.
10222         [C99-based-standards] (SCNdFAST16): Likewise.
10223         [C99-based-standards] (SCNiFAST16): Likewise.
10224         [C99-based-standards] (SCNoFAST16): Likewise.
10225         [C99-based-standards] (SCNuFAST16): Likewise.
10226         [C99-based-standards] (SCNxFAST16): Likewise.
10227         [C99-based-standards] (PRId32): Likewise.
10228         [C99-based-standards] (PRIi32): Likewise.
10229         [C99-based-standards] (PRIo32): Likewise.
10230         [C99-based-standards] (PRIu32): Likewise.
10231         [C99-based-standards] (PRIx32): Likewise.
10232         [C99-based-standards] (PRIX32): Likewise.
10233         [C99-based-standards] (SCNd32): Likewise.
10234         [C99-based-standards] (SCNi32): Likewise.
10235         [C99-based-standards] (SCNo32): Likewise.
10236         [C99-based-standards] (SCNu32): Likewise.
10237         [C99-based-standards] (SCNx32): Likewise.
10238         [C99-based-standards] (PRIdLEAST32): Likewise.
10239         [C99-based-standards] (PRIiLEAST32): Likewise.
10240         [C99-based-standards] (PRIoLEAST32): Likewise.
10241         [C99-based-standards] (PRIuLEAST32): Likewise.
10242         [C99-based-standards] (PRIxLEAST32): Likewise.
10243         [C99-based-standards] (PRIXLEAST32): Likewise.
10244         [C99-based-standards] (SCNdLEAST32): Likewise.
10245         [C99-based-standards] (SCNiLEAST32): Likewise.
10246         [C99-based-standards] (SCNoLEAST32): Likewise.
10247         [C99-based-standards] (SCNuLEAST32): Likewise.
10248         [C99-based-standards] (SCNxLEAST32): Likewise.
10249         [C99-based-standards] (PRIdFAST32): Likewise.
10250         [C99-based-standards] (PRIiFAST32): Likewise.
10251         [C99-based-standards] (PRIoFAST32): Likewise.
10252         [C99-based-standards] (PRIuFAST32): Likewise.
10253         [C99-based-standards] (PRIxFAST32): Likewise.
10254         [C99-based-standards] (PRIXFAST32): Likewise.
10255         [C99-based-standards] (SCNdFAST32): Likewise.
10256         [C99-based-standards] (SCNiFAST32): Likewise.
10257         [C99-based-standards] (SCNoFAST32): Likewise.
10258         [C99-based-standards] (SCNuFAST32): Likewise.
10259         [C99-based-standards] (SCNxFAST32): Likewise.
10260         [C99-based-standards] (PRId64): Likewise.
10261         [C99-based-standards] (PRIi64): Likewise.
10262         [C99-based-standards] (PRIo64): Likewise.
10263         [C99-based-standards] (PRIu64): Likewise.
10264         [C99-based-standards] (PRIx64): Likewise.
10265         [C99-based-standards] (PRIX64): Likewise.
10266         [C99-based-standards] (SCNd64): Likewise.
10267         [C99-based-standards] (SCNi64): Likewise.
10268         [C99-based-standards] (SCNo64): Likewise.
10269         [C99-based-standards] (SCNu64): Likewise.
10270         [C99-based-standards] (SCNx64): Likewise.
10271         [C99-based-standards] (PRIdLEAST64): Likewise.
10272         [C99-based-standards] (PRIiLEAST64): Likewise.
10273         [C99-based-standards] (PRIoLEAST64): Likewise.
10274         [C99-based-standards] (PRIuLEAST64): Likewise.
10275         [C99-based-standards] (PRIxLEAST64): Likewise.
10276         [C99-based-standards] (PRIXLEAST64): Likewise.
10277         [C99-based-standards] (SCNdLEAST64): Likewise.
10278         [C99-based-standards] (SCNiLEAST64): Likewise.
10279         [C99-based-standards] (SCNoLEAST64): Likewise.
10280         [C99-based-standards] (SCNuLEAST64): Likewise.
10281         [C99-based-standards] (SCNxLEAST64): Likewise.
10282         [C99-based-standards] (PRIdFAST64): Likewise.
10283         [C99-based-standards] (PRIiFAST64): Likewise.
10284         [C99-based-standards] (PRIoFAST64): Likewise.
10285         [C99-based-standards] (PRIuFAST64): Likewise.
10286         [C99-based-standards] (PRIxFAST64): Likewise.
10287         [C99-based-standards] (PRIXFAST64): Likewise.
10288         [C99-based-standards] (SCNdFAST64): Likewise.
10289         [C99-based-standards] (SCNiFAST64): Likewise.
10290         [C99-based-standards] (SCNoFAST64): Likewise.
10291         [C99-based-standards] (SCNuFAST64): Likewise.
10292         [C99-based-standards] (SCNxFAST64): Likewise.
10293         [C99-based-standards] (PRIdMAX): Likewise.
10294         [C99-based-standards] (PRIiMAX): Likewise.
10295         [C99-based-standards] (PRIoMAX): Likewise.
10296         [C99-based-standards] (PRIuMAX): Likewise.
10297         [C99-based-standards] (PRIxMAX): Likewise.
10298         [C99-based-standards] (PRIXMAX): Likewise.
10299         [C99-based-standards] (SCNdMAX): Likewise.
10300         [C99-based-standards] (SCNiMAX): Likewise.
10301         [C99-based-standards] (SCNoMAX): Likewise.
10302         [C99-based-standards] (SCNuMAX): Likewise.
10303         [C99-based-standards] (SCNxMAX): Likewise.
10304         [C99-based-standards] (PRIdPTR): Likewise.
10305         [C99-based-standards] (PRIiPTR): Likewise.
10306         [C99-based-standards] (PRIoPTR): Likewise.
10307         [C99-based-standards] (PRIuPTR): Likewise.
10308         [C99-based-standards] (PRIxPTR): Likewise.
10309         [C99-based-standards] (PRIXPTR): Likewise.
10310         [C99-based-standards] (SCNdPTR): Likewise.
10311         [C99-based-standards] (SCNiPTR): Likewise.
10312         [C99-based-standards] (SCNoPTR): Likewise.
10313         [C99-based-standards] (SCNuPTR): Likewise.
10314         [C99-based-standards] (SCNxPTR): Likewise.
10315         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10316         allow.
10317         * conform/data/stdint.h-data: Update comments to clarify
10318         requirements.
10319         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
10320         type.
10321         [C99-based standards] (INT8_MAX): Likewise.
10322         [C99-based standards] (INT16_MIN): Likewise.
10323         [C99-based standards] (INT16_MAX): Likewise.
10324         [C99-based standards] (INT32_MIN): Likewise.
10325         [C99-based standards] (INT32_MAX): Likewise.
10326         [C99-based standards] (INT64_MIN): Likewise.
10327         [C99-based standards] (INT64_MAX): Likewise.
10328         [C99-based standards] (UINT8_MAX): Likewise.
10329         [C99-based standards] (UINT16_MAX): Likewise.
10330         [C99-based standards] (UINT32_MAX): Likewise.
10331         [C99-based standards] (UINT64_MAX): Likewise.
10332         [C99-based standards] (INT_LEAST8_MIN): Likewise.
10333         [C99-based standards] (INT_LEAST8_MAX): Likewise.
10334         [C99-based standards] (INT_LEAST16_MIN): Likewise.
10335         [C99-based standards] (INT_LEAST16_MAX): Likewise.
10336         [C99-based standards] (INT_LEAST32_MIN): Likewise.
10337         [C99-based standards] (INT_LEAST32_MAX): Likewise.
10338         [C99-based standards] (INT_LEAST64_MIN): Likewise.
10339         [C99-based standards] (INT_LEAST64_MAX): Likewise.
10340         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10341         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10342         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10343         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10344         [C99-based standards] (INT_FAST8_MIN): Likewise.
10345         [C99-based standards] (INT_FAST8_MAX): Likewise.
10346         [C99-based standards] (INT_FAST16_MIN): Likewise.
10347         [C99-based standards] (INT_FAST16_MAX): Likewise.
10348         [C99-based standards] (INT_FAST32_MIN): Likewise.
10349         [C99-based standards] (INT_FAST32_MAX): Likewise.
10350         [C99-based standards] (INT_FAST64_MIN): Likewise.
10351         [C99-based standards] (INT_FAST64_MAX): Likewise.
10352         [C99-based standards] (UINT_FAST8_MAX): Likewise.
10353         [C99-based standards] (UINT_FAST16_MAX): Likewise.
10354         [C99-based standards] (UINT_FAST32_MAX): Likewise.
10355         [C99-based standards] (UINT_FAST64_MAX): Likewise.
10356         [C99-based standards] (INTPTR_MIN): Likewise.
10357         [C99-based standards] (INTPTR_MAX): Likewise.
10358         [C99-based standards] (UINTPTR_MAX): Likewise.
10359         [C99-based standards] (INTMAX_MIN): Likewise.
10360         [C99-based standards] (INTMAX_MAX): Likewise.
10361         [C99-based standards] (UINTMAX_MAX): Likewise.
10362         [C99-based standards] (PTRDIFF_MIN): Likewise.
10363         [C99-based standards] (PTRDIFF_MAX): Likewise.
10364         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10365         [C99-based standards] (SIZE_MAX): Likewise.
10366         [C99-based standards] (WCHAR_MAX): Likewise.
10367         [C99-based standards] (WINT_MAX): Likewise.
10368         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
10369         constraint on value.
10370         [C99-based standards] (WCHAR_MIN): Likewise.
10371         [C99-based standards] (WINT_MIN): Likewise.
10372         [C99-based standards] (*_t): Allow.
10373         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10374         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10375         Include math.h-data and complex.h-data.  Remove all expectations
10376         of math.h and complex.h contents.
10377         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10378         at end of line.
10379         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10380         (struct tm): Expect tag.
10381         [C99-based-standards] (wcstof): Expect function.
10382         [C99-based-standards] (wcstold): Likewise.
10383         [C99-based-standards] (wcstoll): Likewise.
10384         [C99-based-standards] (wcstoull): Likewise.
10385         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10386         macro-int-constant.  Specify type.
10387         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
10388         constraint on value.
10389         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10390         Specify type.
10391         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10392         Specify value.
10393         [ISO C standards]: Do not allow headers.
10394         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10395         wcs[abcdefghijklmnopqrstuvwxyz]*.
10396         [ISO C standards] (*_t): Do not allow.
10397         * conform/data/wctype.h-data [C99-based standards] (iswblank):
10398         Expect function.
10399         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10400         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10401         Specify type.
10402         [ISO C standards]: Do not allow headers.
10403         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10404         is[abcdefghijklmnopqrstuvwxyz]*.
10405         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10406         to[abcdefghijklmnopqrstuvwxyz]*.
10407         [ISO C standards] (*_t): Do not allow.
10408         * conform/data/stdalign.h-data: New file.
10409         * conform/data/stdbool.h-data: Likewise.
10410         * conform/data/stdnoreturn.h-data: Likewise.
10412 2012-11-07  Roland McGrath  <roland@hack.frob.com>
10414         [BZ #14815]
10415         * manual/filesys.texi (Directory Entries): Typo fix.
10416         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10418 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10420         * elf/elf.h (EM_AARCH64): New macro.
10421         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10422         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10423         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10424         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10425         (R_AARCH64_TLSDESC): Likewise.
10426         (NT_ARM_TLS): Likewise.
10427         (NT_ARM_HW_BREAK): Likewise.
10428         (NT_ARM_HW_WATCH): Likewise.
10430 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10432         [BZ #14811]
10433         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10434         (__ieee754_powl): Saturate nonzero exponents with absolute value
10435         below 0x1p-79 to +/- 0x1p-79.
10436         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10437         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10438         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10439         nonzero exponents with absolute value below 0x1p-32 to +/-
10440         0x1p-32.
10441         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10442         (__ieee754_powl): Saturate nonzero exponents with absolute value
10443         below 0x1p-79 to +/- 0x1p-79.
10444         * math/libm-test.inc (pow_test): Add more tests.
10446 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10448         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10449         _dl_s390_cap_flags with kernel. Increase string length.
10450         (_dl_s390_platforms): Add z196 and zEC12.
10452 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10454         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10455         Change XOPEN21K to XOPEN2K.
10457 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
10459         * string/memmove.c: Use memcpy when possible.
10461 2012-11-06  Andreas Jaeger  <aj@suse.de>
10463         * po/eo.po: Update from translation team.
10465 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
10467         [BZ #14793]
10468         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10469         exponent and small x and y exponents, scale x or y up.  Increase
10470         by 2 the exponent used in scaling up.
10471         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10472         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10473         * math/libm-test.inc (fma_test): Add more tests.
10474         (fma_test_towardzero): Likewise.
10475         (fma_test_downward): Likewise.
10476         (fma_test_upward): Likewise.
10478 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
10480         [BZ #14805]
10481         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10482         fenv_t *.
10484         [BZ #14801]
10485         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10486         namespace for names of struct fields.
10487         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10488         fenv_t fields.
10489         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10490         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10492 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10494         [BZ #3665]
10495         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10497 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
10499         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10500         PTR_DEMANGLE.
10502         [BZ #5246]
10503         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10504         PTR_DEMANGLE.
10506 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
10508         [BZ #14797]
10509         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10510         definitely overflow as x * y not x * y + z.
10511         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10512         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10513         * math/libm-test.inc (fma_test): Add more tests.
10514         (fma_test_towardzero): Likewise.
10515         (fma_test_downward): Likewise.
10516         (fma_test_upward): Likewise.
10518 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
10520         [BZ #157]
10522         * include/stub-tag.h: Remove file.
10523         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10524         '#include' of it.
10525         * manual/maint.texi (Porting): Don't reference it.
10526         * Makerules ($(objpfx)stubs): Likewise.
10527         * dirent/closedir.c: Don't include <stub-tag.h>.
10528         * dirent/dirfd.c: Likewise.
10529         * dirent/fdopendir.c: Likewise.
10530         * dirent/getdents.c: Likewise.
10531         * dirent/getdents64.c: Likewise.
10532         * dirent/opendir.c: Likewise.
10533         * dirent/readdir.c: Likewise.
10534         * dirent/readdir64.c: Likewise.
10535         * dirent/readdir64_r.c: Likewise.
10536         * dirent/readdir_r.c: Likewise.
10537         * dirent/rewinddir.c: Likewise.
10538         * dirent/seekdir.c: Likewise.
10539         * dirent/telldir.c: Likewise.
10540         * gmon/profil.c: Likewise.
10541         * grp/setgroups.c: Likewise.
10542         * inet/if_index.c: Likewise.
10543         * io/access.c: Likewise.
10544         * io/chdir.c: Likewise.
10545         * io/chmod.c: Likewise.
10546         * io/chown.c: Likewise.
10547         * io/close.c: Likewise.
10548         * io/dup.c: Likewise.
10549         * io/dup2.c: Likewise.
10550         * io/dup3.c: Likewise.
10551         * io/euidaccess.c: Likewise.
10552         * io/faccessat.c: Likewise.
10553         * io/fchdir.c: Likewise.
10554         * io/fchmod.c: Likewise.
10555         * io/fchmodat.c: Likewise.
10556         * io/fchown.c: Likewise.
10557         * io/fchownat.c: Likewise.
10558         * io/fcntl.c: Likewise.
10559         * io/flock.c: Likewise.
10560         * io/fstatfs.c: Likewise.
10561         * io/fstatfs64.c: Likewise.
10562         * io/fstatvfs.c: Likewise.
10563         * io/fstatvfs64.c: Likewise.
10564         * io/futimens.c: Likewise.
10565         * io/fxstat.c: Likewise.
10566         * io/fxstat64.c: Likewise.
10567         * io/fxstatat.c: Likewise.
10568         * io/fxstatat64.c: Likewise.
10569         * io/getcwd.c: Likewise.
10570         * io/isatty.c: Likewise.
10571         * io/lchmod.c: Likewise.
10572         * io/lchown.c: Likewise.
10573         * io/link.c: Likewise.
10574         * io/linkat.c: Likewise.
10575         * io/lseek.c: Likewise.
10576         * io/lseek64.c: Likewise.
10577         * io/lxstat64.c: Likewise.
10578         * io/mkdir.c: Likewise.
10579         * io/mkdirat.c: Likewise.
10580         * io/mkfifo.c: Likewise.
10581         * io/mkfifoat.c: Likewise.
10582         * io/open.c: Likewise.
10583         * io/open64.c: Likewise.
10584         * io/openat.c: Likewise.
10585         * io/openat64.c: Likewise.
10586         * io/pipe.c: Likewise.
10587         * io/pipe2.c: Likewise.
10588         * io/poll.c: Likewise.
10589         * io/posix_fadvise.c: Likewise.
10590         * io/posix_fadvise64.c: Likewise.
10591         * io/posix_fallocate.c: Likewise.
10592         * io/posix_fallocate64.c: Likewise.
10593         * io/read.c: Likewise.
10594         * io/readlink.c: Likewise.
10595         * io/readlinkat.c: Likewise.
10596         * io/rmdir.c: Likewise.
10597         * io/sendfile.c: Likewise.
10598         * io/sendfile64.c: Likewise.
10599         * io/statfs.c: Likewise.
10600         * io/statfs64.c: Likewise.
10601         * io/statvfs.c: Likewise.
10602         * io/statvfs64.c: Likewise.
10603         * io/symlink.c: Likewise.
10604         * io/symlinkat.c: Likewise.
10605         * io/ttyname.c: Likewise.
10606         * io/ttyname_r.c: Likewise.
10607         * io/umask.c: Likewise.
10608         * io/unlink.c: Likewise.
10609         * io/unlinkat.c: Likewise.
10610         * io/utime.c: Likewise.
10611         * io/utimensat.c: Likewise.
10612         * io/write.c: Likewise.
10613         * io/xmknod.c: Likewise.
10614         * io/xmknodat.c: Likewise.
10615         * io/xstat.c: Likewise.
10616         * io/xstat64.c: Likewise.
10617         * login/getpt.c: Likewise.
10618         * login/grantpt.c: Likewise.
10619         * login/unlockpt.c: Likewise.
10620         * math/e_acoshl.c: Likewise.
10621         * math/e_acosl.c: Likewise.
10622         * math/e_asinl.c: Likewise.
10623         * math/e_atan2l.c: Likewise.
10624         * math/e_atanhl.c: Likewise.
10625         * math/e_coshl.c: Likewise.
10626         * math/e_expl.c: Likewise.
10627         * math/e_fmodl.c: Likewise.
10628         * math/e_gammal_r.c: Likewise.
10629         * math/e_hypotl.c: Likewise.
10630         * math/e_j0l.c: Likewise.
10631         * math/e_j1l.c: Likewise.
10632         * math/e_jnl.c: Likewise.
10633         * math/e_lgammal_r.c: Likewise.
10634         * math/e_log10l.c: Likewise.
10635         * math/e_log2l.c: Likewise.
10636         * math/e_logl.c: Likewise.
10637         * math/e_powl.c: Likewise.
10638         * math/e_rem_pio2l.c: Likewise.
10639         * math/e_sinhl.c: Likewise.
10640         * math/e_sqrtl.c: Likewise.
10641         * math/fclrexcpt.c: Likewise.
10642         * math/fedisblxcpt.c: Likewise.
10643         * math/feenablxcpt.c: Likewise.
10644         * math/fegetenv.c: Likewise.
10645         * math/fegetexcept.c: Likewise.
10646         * math/fegetround.c: Likewise.
10647         * math/feholdexcpt.c: Likewise.
10648         * math/fesetenv.c: Likewise.
10649         * math/fesetround.c: Likewise.
10650         * math/feupdateenv.c: Likewise.
10651         * math/fgetexcptflg.c: Likewise.
10652         * math/fraiseexcpt.c: Likewise.
10653         * math/fsetexcptflg.c: Likewise.
10654         * math/ftestexcept.c: Likewise.
10655         * math/k_cosl.c: Likewise.
10656         * math/k_rem_pio2l.c: Likewise.
10657         * math/k_sinl.c: Likewise.
10658         * math/k_tanl.c: Likewise.
10659         * math/s_asinhl.c: Likewise.
10660         * math/s_atanl.c: Likewise.
10661         * math/s_cbrtl.c: Likewise.
10662         * math/s_erfl.c: Likewise.
10663         * math/s_expm1l.c: Likewise.
10664         * math/s_log1pl.c: Likewise.
10665         * math/s_tanhl.c: Likewise.
10666         * misc/acct.c: Likewise.
10667         * misc/brk.c: Likewise.
10668         * misc/chflags.c: Likewise.
10669         * misc/chroot.c: Likewise.
10670         * misc/fchflags.c: Likewise.
10671         * misc/fgetxattr.c: Likewise.
10672         * misc/flistxattr.c: Likewise.
10673         * misc/fremovexattr.c: Likewise.
10674         * misc/fsetxattr.c: Likewise.
10675         * misc/fsync.c: Likewise.
10676         * misc/ftruncate.c: Likewise.
10677         * misc/futimes.c: Likewise.
10678         * misc/futimesat.c: Likewise.
10679         * misc/getdomain.c: Likewise.
10680         * misc/getdtsz.c: Likewise.
10681         * misc/gethostid.c: Likewise.
10682         * misc/gethostname.c: Likewise.
10683         * misc/getloadavg.c: Likewise.
10684         * misc/getpagesize.c: Likewise.
10685         * misc/getsysstats.c: Likewise.
10686         * misc/getxattr.c: Likewise.
10687         * misc/gtty.c: Likewise.
10688         * misc/ioctl.c: Likewise.
10689         * misc/lgetxattr.c: Likewise.
10690         * misc/listxattr.c: Likewise.
10691         * misc/llistxattr.c: Likewise.
10692         * misc/lremovexattr.c: Likewise.
10693         * misc/lsetxattr.c: Likewise.
10694         * misc/lutimes.c: Likewise.
10695         * misc/madvise.c: Likewise.
10696         * misc/mincore.c: Likewise.
10697         * misc/mlock.c: Likewise.
10698         * misc/mlockall.c: Likewise.
10699         * misc/mmap.c: Likewise.
10700         * misc/mprotect.c: Likewise.
10701         * misc/msync.c: Likewise.
10702         * misc/munlock.c: Likewise.
10703         * misc/munlockall.c: Likewise.
10704         * misc/munmap.c: Likewise.
10705         * misc/preadv.c: Likewise.
10706         * misc/preadv64.c: Likewise.
10707         * misc/ptrace.c: Likewise.
10708         * misc/pwritev.c: Likewise.
10709         * misc/pwritev64.c: Likewise.
10710         * misc/readv.c: Likewise.
10711         * misc/reboot.c: Likewise.
10712         * misc/remap_file_pages.c: Likewise.
10713         * misc/removexattr.c: Likewise.
10714         * misc/revoke.c: Likewise.
10715         * misc/select.c: Likewise.
10716         * misc/setdomain.c: Likewise.
10717         * misc/setegid.c: Likewise.
10718         * misc/seteuid.c: Likewise.
10719         * misc/sethostid.c: Likewise.
10720         * misc/sethostname.c: Likewise.
10721         * misc/setregid.c: Likewise.
10722         * misc/setreuid.c: Likewise.
10723         * misc/setxattr.c: Likewise.
10724         * misc/sstk.c: Likewise.
10725         * misc/stty.c: Likewise.
10726         * misc/swapoff.c: Likewise.
10727         * misc/swapon.c: Likewise.
10728         * misc/sync.c: Likewise.
10729         * misc/syncfs.c: Likewise.
10730         * misc/syscall.c: Likewise.
10731         * misc/truncate.c: Likewise.
10732         * misc/ualarm.c: Likewise.
10733         * misc/usleep.c: Likewise.
10734         * misc/ustat.c: Likewise.
10735         * misc/utimes.c: Likewise.
10736         * misc/vhangup.c: Likewise.
10737         * misc/writev.c: Likewise.
10738         * posix/_exit.c: Likewise.
10739         * posix/alarm.c: Likewise.
10740         * posix/execve.c: Likewise.
10741         * posix/fexecve.c: Likewise.
10742         * posix/fork.c: Likewise.
10743         * posix/fpathconf.c: Likewise.
10744         * posix/getaddrinfo.c: Likewise.
10745         * posix/getegid.c: Likewise.
10746         * posix/geteuid.c: Likewise.
10747         * posix/getgid.c: Likewise.
10748         * posix/getgroups.c: Likewise.
10749         * posix/getlogin.c: Likewise.
10750         * posix/getlogin_r.c: Likewise.
10751         * posix/getpgid.c: Likewise.
10752         * posix/getpid.c: Likewise.
10753         * posix/getppid.c: Likewise.
10754         * posix/getresgid.c: Likewise.
10755         * posix/getresuid.c: Likewise.
10756         * posix/getsid.c: Likewise.
10757         * posix/getuid.c: Likewise.
10758         * posix/glob64.c: Likewise.
10759         * posix/nanosleep.c: Likewise.
10760         * posix/pathconf.c: Likewise.
10761         * posix/pause.c: Likewise.
10762         * posix/posix_madvise.c: Likewise.
10763         * posix/pread.c: Likewise.
10764         * posix/pread64.c: Likewise.
10765         * posix/pwrite.c: Likewise.
10766         * posix/pwrite64.c: Likewise.
10767         * posix/sched_getaffinity.c: Likewise.
10768         * posix/sched_getp.c: Likewise.
10769         * posix/sched_gets.c: Likewise.
10770         * posix/sched_primax.c: Likewise.
10771         * posix/sched_primin.c: Likewise.
10772         * posix/sched_rr_gi.c: Likewise.
10773         * posix/sched_setaffinity.c: Likewise.
10774         * posix/sched_setp.c: Likewise.
10775         * posix/sched_sets.c: Likewise.
10776         * posix/sched_yield.c: Likewise.
10777         * posix/setgid.c: Likewise.
10778         * posix/setlogin.c: Likewise.
10779         * posix/setpgid.c: Likewise.
10780         * posix/setresgid.c: Likewise.
10781         * posix/setresuid.c: Likewise.
10782         * posix/setsid.c: Likewise.
10783         * posix/setuid.c: Likewise.
10784         * posix/sleep.c: Likewise.
10785         * posix/spawni.c: Likewise.
10786         * posix/sysconf.c: Likewise.
10787         * posix/times.c: Likewise.
10788         * posix/wait.c: Likewise.
10789         * posix/wait3.c: Likewise.
10790         * posix/wait4.c: Likewise.
10791         * posix/waitpid.c: Likewise.
10792         * resolv/gai_sigqueue.c: Likewise.
10793         * resource/getpriority.c: Likewise.
10794         * resource/getrlimit.c: Likewise.
10795         * resource/getrusage.c: Likewise.
10796         * resource/nice.c: Likewise.
10797         * resource/setpriority.c: Likewise.
10798         * resource/setrlimit.c: Likewise.
10799         * resource/ulimit.c: Likewise.
10800         * rt/aio_cancel.c: Likewise.
10801         * rt/aio_fsync.c: Likewise.
10802         * rt/aio_read.c: Likewise.
10803         * rt/aio_sigqueue.c: Likewise.
10804         * rt/aio_suspend.c: Likewise.
10805         * rt/aio_write.c: Likewise.
10806         * rt/clock_getres.c: Likewise.
10807         * rt/clock_gettime.c: Likewise.
10808         * rt/clock_nanosleep.c: Likewise.
10809         * rt/clock_settime.c: Likewise.
10810         * rt/lio_listio.c: Likewise.
10811         * rt/mq_close.c: Likewise.
10812         * rt/mq_getattr.c: Likewise.
10813         * rt/mq_notify.c: Likewise.
10814         * rt/mq_open.c: Likewise.
10815         * rt/mq_receive.c: Likewise.
10816         * rt/mq_send.c: Likewise.
10817         * rt/mq_setattr.c: Likewise.
10818         * rt/mq_timedreceive.c: Likewise.
10819         * rt/mq_timedsend.c: Likewise.
10820         * rt/mq_unlink.c: Likewise.
10821         * rt/shm_open.c: Likewise.
10822         * rt/shm_unlink.c: Likewise.
10823         * rt/timer_create.c: Likewise.
10824         * rt/timer_delete.c: Likewise.
10825         * rt/timer_getoverr.c: Likewise.
10826         * rt/timer_gettime.c: Likewise.
10827         * rt/timer_settime.c: Likewise.
10828         * setjmp/__longjmp.c: Likewise.
10829         * setjmp/setjmp.c: Likewise.
10830         * signal/kill.c: Likewise.
10831         * signal/killpg.c: Likewise.
10832         * signal/raise.c: Likewise.
10833         * signal/sigaction.c: Likewise.
10834         * signal/sigaltstack.c: Likewise.
10835         * signal/sigblock.c: Likewise.
10836         * signal/sigignore.c: Likewise.
10837         * signal/sigintr.c: Likewise.
10838         * signal/signal.c: Likewise.
10839         * signal/sigpause.c: Likewise.
10840         * signal/sigpending.c: Likewise.
10841         * signal/sigqueue.c: Likewise.
10842         * signal/sigreturn.c: Likewise.
10843         * signal/sigset.c: Likewise.
10844         * signal/sigsetmask.c: Likewise.
10845         * signal/sigstack.c: Likewise.
10846         * signal/sigsuspend.c: Likewise.
10847         * signal/sigtimedwait.c: Likewise.
10848         * signal/sigvec.c: Likewise.
10849         * signal/sigwait.c: Likewise.
10850         * signal/sigwaitinfo.c: Likewise.
10851         * signal/sysv_signal.c: Likewise.
10852         * socket/accept.c: Likewise.
10853         * socket/accept4.c: Likewise.
10854         * socket/bind.c: Likewise.
10855         * socket/connect.c: Likewise.
10856         * socket/getpeername.c: Likewise.
10857         * socket/getsockname.c: Likewise.
10858         * socket/getsockopt.c: Likewise.
10859         * socket/isfdtype.c: Likewise.
10860         * socket/listen.c: Likewise.
10861         * socket/recv.c: Likewise.
10862         * socket/recvfrom.c: Likewise.
10863         * socket/recvmsg.c: Likewise.
10864         * socket/send.c: Likewise.
10865         * socket/sendmsg.c: Likewise.
10866         * socket/sendto.c: Likewise.
10867         * socket/setsockopt.c: Likewise.
10868         * socket/shutdown.c: Likewise.
10869         * socket/sockatmark.c: Likewise.
10870         * socket/socket.c: Likewise.
10871         * socket/socketpair.c: Likewise.
10872         * stdio-common/ctermid.c: Likewise.
10873         * stdio-common/cuserid.c: Likewise.
10874         * stdio-common/remove.c: Likewise.
10875         * stdio-common/rename.c: Likewise.
10876         * stdio-common/renameat.c: Likewise.
10877         * stdio-common/tempname.c: Likewise.
10878         * stdlib/getcontext.c: Likewise.
10879         * stdlib/makecontext.c: Likewise.
10880         * stdlib/setcontext.c: Likewise.
10881         * stdlib/swapcontext.c: Likewise.
10882         * stdlib/system.c: Likewise.
10883         * streams/fattach.c: Likewise.
10884         * streams/fdetach.c: Likewise.
10885         * streams/getmsg.c: Likewise.
10886         * streams/getpmsg.c: Likewise.
10887         * streams/putmsg.c: Likewise.
10888         * streams/putpmsg.c: Likewise.
10889         * sysdeps/unix/bsd/getpt.c: Likewise.
10890         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10891         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10892         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10894         Likewise.
10895         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10896         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10897         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10898         * sysvipc/msgctl.c: Likewise.
10899         * sysvipc/msgget.c: Likewise.
10900         * sysvipc/msgrcv.c: Likewise.
10901         * sysvipc/msgsnd.c: Likewise.
10902         * sysvipc/semctl.c: Likewise.
10903         * sysvipc/semget.c: Likewise.
10904         * sysvipc/semop.c: Likewise.
10905         * sysvipc/semtimedop.c: Likewise.
10906         * sysvipc/shmat.c: Likewise.
10907         * sysvipc/shmctl.c: Likewise.
10908         * sysvipc/shmdt.c: Likewise.
10909         * sysvipc/shmget.c: Likewise.
10910         * termios/tcdrain.c: Likewise.
10911         * termios/tcflow.c: Likewise.
10912         * termios/tcflush.c: Likewise.
10913         * termios/tcgetattr.c: Likewise.
10914         * termios/tcgetpgrp.c: Likewise.
10915         * termios/tcsendbrk.c: Likewise.
10916         * termios/tcsetattr.c: Likewise.
10917         * termios/tcsetpgrp.c: Likewise.
10918         * time/adjtime.c: Likewise.
10919         * time/clock.c: Likewise.
10920         * time/getitimer.c: Likewise.
10921         * time/gettimeofday.c: Likewise.
10922         * time/setitimer.c: Likewise.
10923         * time/settimeofday.c: Likewise.
10924         * time/stime.c: Likewise.
10925         * time/time.c: Likewise.
10927 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
10929         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10930         /usr/old/bin.
10932         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10933         instead of spaces.
10934         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10936 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
10938         [BZ #14796]
10939         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10940         FE_TONEAREST before applying Dekker multiplication and Knuth
10941         addition.  Clear inexact exceptions and check for exact zero
10942         results afterwards.
10943         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10944         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10945         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10946         * math/libm-test.inc (fma_test): Add more tests.
10947         (fma_test_towardzero): Likewise.
10948         (fma_test_downward): Likewise.
10949         (fma_test_upward): Likewise.
10950         * sysdeps/generic/math_private.h (default_libc_fesetround): New
10951         function.
10952         (libc_fesetround): New macro.
10953         (libc_fesetroundf): Likewise.
10954         (libc_fesetroundl): Likewise.
10955         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10956         function.
10957         (libc_fesetround_387): Likewise.
10958         (libc_fesetroundf): New macro.
10959         (libc_fesetround): Likewise.
10960         (libc_fesetroundl): Likewise.
10961         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10962         function.
10963         (libc_fesetroundf): New macro.
10964         (libc_fesetround): Likewise.
10965         (libc_fesetroundl): Likewise.
10966         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10967         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10968         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10969         libm_hidden_ver.
10970         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10971         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10972         libm_hidden_def.
10973         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10974         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10975         libm_hidden_ver.
10976         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10977         libm_hidden_def.
10979         [BZ #3439]
10980         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10981         integer constant usable in #if and use that to give value to enum
10982         constant.
10983         (FE_DIVBYZERO): Likewise.
10984         (FE_UNDERFLOW): Likewise.
10985         (FE_OVERFLOW): Likewise.
10986         (FE_INVALID): Likewise.
10987         (FE_INVALID_SNAN): Likewise.
10988         (FE_INVALID_ISI): Likewise.
10989         (FE_INVALID_IDI): Likewise.
10990         (FE_INVALID_ZDZ): Likewise.
10991         (FE_INVALID_IMZ): Likewise.
10992         (FE_INVALID_COMPARE): Likewise.
10993         (FE_INVALID_SOFTWARE): Likewise.
10994         (FE_INVALID_SQRT): Likewise.
10995         (FE_INVALID_INTEGER_CONVERSION): Likewise.
10996         (FE_TONEAREST): Likewise.
10997         (FE_TOWARDZERO): Likewise.
10998         (FE_UPWARD): Likewise.
10999         (FE_DOWNWARD): Likewise.
11000         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11001         (FE_DIVBYZERO): Likewise.
11002         (FE_OVERFLOW): Likewise.
11003         (FE_UNDERFLOW): Likewise.
11004         (FE_INEXACT): Likewise.
11005         (FE_TONEAREST): Likewise.
11006         (FE_DOWNWARD): Likewise.
11007         (FE_UPWARD): Likewise.
11008         (FE_TOWARDZERO): Likewise.
11009         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11010         (FE_UNDERFLOW): Likewise.
11011         (FE_OVERFLOW): Likewise.
11012         (FE_DIVBYZERO): Likewise.
11013         (FE_INVALID): Likewise.
11014         (FE_TONEAREST): Likewise.
11015         (FE_TOWARDZERO): Likewise.
11016         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11017         (FE_OVERFLOW): Likewise.
11018         (FE_UNDERFLOW): Likewise.
11019         (FE_DIVBYZERO): Likewise.
11020         (FE_INEXACT): Likewise.
11021         (FE_TONEAREST): Likewise.
11022         (FE_TOWARDZERO): Likewise.
11023         (FE_UPWARD): Likewise.
11024         (FE_DOWNWARD): Likewise.
11025         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11026         (FE_DIVBYZERO): Likewise.
11027         (FE_OVERFLOW): Likewise.
11028         (FE_UNDERFLOW): Likewise.
11029         (FE_INEXACT): Likewise.
11030         (FE_TONEAREST): Likewise.
11031         (FE_DOWNWARD): Likewise.
11032         (FE_UPWARD): Likewise.
11033         (FE_TOWARDZERO): Likewise.
11035 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
11037         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11039 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
11041         * scripts/cross-test-ssh.sh (command): Use newlines to separate
11042         commands.  Quote $PWD.
11043         (blacklist_exports): Don't use remove_newlines.  Replace "declare
11044         -x" by "export".
11045         (remove_newlines): Remove.
11047 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
11049         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11050         * stdlib/stdlib.h (atof): Moved to ...
11051         * include/bits/stdlib-float.h: Here.  New file.
11052         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11053         * stdlib/bits/stdlib-float.h: New file.
11054         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11055         -mno-sse -mno-mmx.
11056         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11057         <xmmintrin.h>.
11059 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
11061         * conform/conformtest.pl (@headers): Add fenv.h.
11062         * conform/data/fenv.h-data: New file.
11063         * include/fenv.h [_ISOMAC]: Disable all contents of file except
11064         include of <math/fenv.h>.
11066         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11067         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11068         && !UNIX98].  Enables tests for XOPEN2K8.
11069         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11070         POSIX2008]: Likewise.
11072         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11073         (struct rusage): Do not expect type or its members.
11075         [BZ #3439]
11076         * math/math.h (FP_NAN): Define macro to integer constant usable in
11077         #if and use that to give value to enum constant.
11078         (FP_INFINITE): Likewise.
11079         (FP_ZERO): Likewise.
11080         (FP_SUBNORMAL): Likewise.
11081         (FP_NORMAL): Likewise.
11083 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
11085         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11086         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11087         arguments.
11089 2012-11-02  Roland McGrath  <roland@hack.frob.com>
11091         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11092         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11093         autoconf-time if not.
11094         * configure.in: Remove AC_PREREQ.
11096 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11098         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11099         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11100         of the internal implementation.
11102 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
11104         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11105         except include of <misc/sys/syslog.h>.
11107 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
11109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11110         function returns with a NULL context exit with zero.
11112 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11114         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11116 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
11118         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11119         (run_program_cmd): This.
11120         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11121         (tst_langinfo): New variable.  Use it.
11123 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
11125         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11126         floating point opcodes.
11128 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
11130         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11131         variable.
11133         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11135         * sysdeps/mach/hurd/powerpc: Remove directory.
11136         * sysdeps/mach/powerpc: Likewise.
11138 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
11140         * scripts/check-local-headers.sh: Ignore c++ headers.
11142 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
11144         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11145         __libc_cleanup_region_start argument.
11147 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
11149         [BZ #14784]
11150         [BZ #14785]
11151         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11152         x * y using scaling, not as x * y + z.
11153         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11154         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11155         * math/libm-test.inc (fma_test): Add more tests.
11156         (fma_test_towardzero): Likewise.
11157         (fma_test_downward): Likewise.
11158         (fma_test_upward): Likewise.
11160 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
11162         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11164 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
11166         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11167         New variable.
11169 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
11171         * rt/tst-shm.c (worker): Correct checking for mmap failure.
11173 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
11175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11176         Fix sort order.
11177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11178         Likewise.
11180 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11183         Fix the order of the list for glibc 2.17.
11184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11185         Likewise.
11187 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
11189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11191 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
11193         [BZ #14610]
11194         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11195         for low part of x being zero before using __atanl (y).
11196         * math/libm-test.inc (atan2_test): Add another test.
11198         * manual/install.texi (Configuring and compiling): Document
11199         general use of test-wrapper and test-wrapper-env.
11200         * INSTALL: Regenerated.
11202         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11203         (__fma): Do not extract and scale down low bits on after-rounding
11204         systems when result rounded to normal precision would have normal
11205         exponent.
11206         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11207         (__fmal): Do not extract and scale down low bits on after-rounding
11208         systems when result rounded to normal precision would have normal
11209         exponent.
11210         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11211         (__fmal): Do not extract and scale down low bits on after-rounding
11212         systems when result rounded to normal precision would have normal
11213         exponent.
11214         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11215         macro.
11216         (fma_test): Add more tests.
11217         (fma_test_towardzero): Likewise.
11218         (fma_test_downward): Likewise.
11219         (fma_test_upward): Likewise.
11221 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
11223         * sysdeps/i386/tininess.h: Renamed to ...
11224         * sysdeps/x86/tininess.h: This.
11225         * sysdeps/x86_64/tininess.h: Removed.
11227 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
11229         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11230         input.  Use $(build-program-cmd).
11231         ($(objpfx)tst-array1-static.out): Likewise.
11232         ($(objpfx)tst-array2.out): Likewise.
11233         ($(objpfx)tst-array3.out): Likewise.
11234         ($(objpfx)tst-array4.out): Likewise.
11235         ($(objpfx)tst-array5.out): Likewise.
11236         ($(objpfx)tst-array5-static.out): Likewise.
11238 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
11240         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11241         if defined.
11243         * nss/nsswitch.h (nss_interface_function): Provide new
11244         macro for use with NSS functions.
11245         * grp/initgroups.c: Use new macro.
11246         * nss/getXXbyYY.c: Likewise.
11247         * nss/getXXbyYY_r.c: Likewise.
11248         * nss/getXXent.c: Likewise.
11249         * nss/getXXent_r.c: Likewise.
11250         * sysdeps/posix/getaddrinfo.c: Likewise.
11252 2012-10-30  Andreas Jaeger  <aj@suse.de>
11254         * po/ru.po: Update Russion translation from translation project.
11256 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
11258         [BZ #14152]
11259         [BZ #14783]
11260         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11261         result and shift together with sticky bit instead of replicating
11262         round-to-nearest rounding.
11263         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11264         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11265         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
11266         missing underflow exceptions.
11267         (fma_test_towardzero): Add more tests.
11268         (fma_test_downward): Likewise.
11269         (fma_test_upward): Likewise.
11271         [BZ #14047]
11272         * sysdeps/generic/tininess.h: New file.
11273         * sysdeps/i386/tininess.h: Likewise.
11274         * sysdeps/sh/tininess.h: Likewise.
11275         * sysdeps/x86_64/tininess.h: Likewise.
11276         * stdlib/tst-strtod-underflow.c: Likewise.
11277         * stdlib/tst-tininess.c: Likewise.
11278         * stdlib/strtod_l.c: Include <tininess.h>.
11279         (round_and_return): Do not set errno for exact underflow cases.
11280         Force an underflow exception when setting errno for underflow.
11281         Determine underflow based on rounding to normal precision if
11282         TININESS_AFTER_ROUNDING.
11283         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11284         ERANGE for exact underflow cases.
11285         * stdlib/Makefile (tests): Add tst-tininess and
11286         tst-strtod-underflow.
11287         ($(objpfx)tst-tininess): Use $(link-libm).
11288         ($(objpfx)tst-strtod-underflow): Likewise.
11290 2012-10-30  Andreas Jaeger  <aj@suse.de>
11292         [BZ#14767]
11293         * elf/Makefile (tests): Remove conditional for have-initfini-array
11294         since this is now always required and the variable does not exist
11295         anymore.
11296         (tests-static): Likewise.
11297         (modules-names): Likewise.
11299         * po/eo.po: Add Esperanto translation from translation project.
11301         * elf/tst-array1.c (fini_array): Make writeable so that it can be
11302         merged with constructor/destructor.
11303         (init_array): Likewise.
11304         * elf/tst-array2dep.c (fini_array): Likewise.
11305         (init_array): Likewise.
11307 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
11309         * manual/message.texi: Delete @cartouche tags.
11311 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
11313         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11314         EOPNOTSUPP.
11315         * sysdeps/mach/hurd/fsync.c: Likewise.
11317         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11318         [_POSIX_REALTIME_SIGNALS]: Change condition to
11319         [_POSIX_REALTIME_SIGNALS > 0].
11321 2012-10-27  Andreas Jaeger  <aj@suse.de>
11323         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11324         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11325         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11326         [__WORDSIZE != 64]: Likewise.
11328 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
11330         *  iconvdata/tst-table.sh: Remove ${SHELL}.
11331         *  iconvdata/tst-tables.sh: Likewise.
11333 2012-10-25  David S. Miller  <davem@davemloft.net>
11335         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11336         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11337         of strtoull.
11339         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11340         ifunc-impl-list.c
11341         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11342         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11343         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11344         file.
11346 2012-10-25  Roland McGrath  <roland@hack.frob.com>
11348         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11349         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11350         __getdirentries.
11352 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
11353             Jim Blandy  <jimb@codesourcery.com>
11355         * scripts/cross-test-ssh.sh: New file.
11356         * manual/install.texi (Configuring and compiling): Document use of
11357         cross-test-ssh.sh.
11358         * INSTALL: Regenerated.
11360 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
11362         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11363         EOPNOTSUPP.
11365 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
11367         * Makeconfig (run-program-prefix): Fix comment.
11369 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
11370             Jim Blandy  <jimb@codesourcery.com>
11372         * Makeconfig (test-wrapper): New variable,
11373         (test-wrapper-env): Likewise.
11374         [$(cross-compiling) = yes && $(test-wrapper) != ""]
11375         (run-built-tests): Define to yes.
11376         (run-program-prefix): Use $(test-wrapper).
11377         (built-program-cmd): Likewise.
11378         * Rules (make-test-out): Use $(test-wrapper-env) and
11379         $(host-built-program-cmd).
11380         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11381         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11382         tst-pathopt.sh.
11383         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11384         $(test-wrapper-env) to tst-rtld-load-self.sh.
11385         ($(objpfx)order2.out): Use $(test-wrapper).
11386         ($(objpfx)tst-initorder.out): Likewise.
11387         ($(objpfx)tst-initorder2.out): Likewise.
11388         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11389         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11390         (test_wrapper_env): New variable.  Use it to run ld.so.
11391         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11392         Use it to run ld.so.
11393         (test_wrapper_env): Likewise.
11394         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11395         $(test-wrapper) to run-iconv-test.sh.
11396         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11397         (ICONV): Use $test_wrapper.
11398         * posix/Makefile ($(objpfx)globtest.out): Pass
11399         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11400         globtest.sh, not $(run-program-prefix).
11401         * posix/globtest.sh (run_via_rtld_prefix): New variable.
11402         (test_wrapper): Likewise.
11403         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
11404         set together with run_via_rtld_prefix.
11405         (run_program_prefix): Define in terms of test_wrapper and
11406         run_via_rtld_prefix.
11408 2012-10-24  Roland McGrath  <roland@hack.frob.com>
11410         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11411         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11412         Targets removed.
11414         [BZ #14743]
11415         * include/time.h: Remove librt_hidden_proto (clock_gettime).
11416         Declare __clock_getres, __clock_gettime, __clock_settime,
11417         __clock_nanosleep, and __clock_getcpuclockid.
11418         * rt/clock_gettime.c: Define __clock_gettime as an alias.
11419         Remove librt_hidden_def (clock_gettime).
11420         * sysdeps/unix/clock_gettime.c: Likewise.
11421         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11422         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11423         * rt/clock_getres.c: Define __clock_getres as an alias.
11424         * sysdeps/posix/clock_getres.c: Likewise.
11425         * rt/clock_settime.c: Define __clock_settime as an alias.
11426         * sysdeps/unix/clock_settime.c: Likewise.
11427         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11428         * sysdeps/unix/clock_nanosleep.c: Likewise.
11429         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11430         * rt/clock-compat.c: New file.
11431         * rt/Makefile (librt-routines): Add clock-compat and move
11432         $(clock-routines) to ...
11433         (routines): ... here, new variable.
11434         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11435         Don't add get_clockfreq here.
11436         * rt/Versions (libc: GLIBC_2.17): New version set.
11437         Add clock_* symbols here.
11438         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
11439         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11440         (GLIBC_2.17): Add clock_* symbols.
11441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11443         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11445         Likewise.
11446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11447         Likewise.
11448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11452         * NEWS: Mention the move.
11454         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11455         Use __open, __read, __close rather than their public counterparts.
11456         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11457         (__get_clockfreq_via_cpuinfo): Likewise.
11458         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11459         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11461         * config.h.in (HAVE_IFUNC): New #undef.
11462         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11463         was successful.
11464         * configure: Regenerated.
11466 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
11468         * configure.in: Move READELF check to start of file.
11469         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11470         libc_cv_asm_gnu_indirect_function in the process.
11471         * configure: Regenerated.
11473 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
11475         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11476         send the output to /dev/null.
11477         (libc_cv_cc_with_libunwind): Likewise.
11478         (libc_cv_as_noexecstack): Likewise.
11479         * configure: Regenerate.
11481 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
11483         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11485         * posix/globtest.sh (TMPDIR): Do not set.
11486         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11487         (testout): Likewise.
11489 2012-10-24  Andreas Jaeger  <aj@suse.de>
11491         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11492         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11493         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11494         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11495         posix_fadvise64, posix_fallocate64.
11497         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11498         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11499         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11500         Likewise.
11501         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11502         Likewise.
11503         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11505         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11506         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11507         <bits/fcntl-linux.h>.
11508         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11510         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11511         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11512         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11513         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11514         [__WORDSIZE != 64]: Likewise.
11516 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
11518         * Makeconfig (run-built-tests): New variable.
11519         * Rules [$(cross-compiling) = yes]: Change condition to
11520         [$(run-built-tests) = no].
11521         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11522         to [$(run-built-tests) = yes].
11523         * elf/Makefile [$(cross-compiling) = no]: Likewise
11524         * grp/Makefile [$(cross-compiling) = no]: Likewise.
11525         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11526         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11527         * intl/Makefile [$(cross-compiling) = no]: Likewise.
11528         * io/Makefile [$(cross-compiling) = no]: Likewise.
11529         * libio/Makefile [$(cross-compiling) = no]: Likewise.
11530         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11531         * misc/Makefile [$(cross-compiling) = no]: Likewise.
11532         * posix/Makefile [$(cross-compiling) = no]: Likewise.
11533         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11534         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11535         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11536         * string/Makefile [$(cross-compiling) = no]: Likewise.
11538         * posix/Makefile ($(objpfx)globtest.out): Pass
11539         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11540         $(rtld-installed-name).
11541         * posix/globtest.sh (elf_objpfx): Remove variable.
11542         (rtld_installed_name): Likewise.
11543         (library_path): Likewise.
11544         (run_program_prefix): New variable.  Use for running globtest
11545         binary.
11547 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
11548             Joseph Myers  <joseph@codesourcery.com>
11550         * Makeconfig (host-built-program-cmd): New variable.
11551         * elf/Makefile (tst-stackguard1-ARGS): Use
11552         $(host-built-program-cmd).
11553         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11554         (tst-spawn-ARGS): Likewise.
11555         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11557 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
11558             Jim Blandy  <jimb@codesourcery.com>
11560         * Makeconfig (run-via-rtld-prefix): New variable.
11561         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11562         (built-program-cmd): Likewise.
11564 2012-10-22  Andreas Jaeger  <aj@suse.de>
11566         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11567         __O_RSYNC if it exists, otherwise to O_SYNC.
11569 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
11570             Joseph Myers  <joseph@codesourcery.com>
11572         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11573         /dev/null.
11574         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11575         from /dev/null
11576         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11577         /dev/null.
11579 2012-10-22  Andreas Jaeger  <aj@suse.de>
11581         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11582         Define always.
11583         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11585         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11586         bits/fcntl-linux.h.
11588         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11589         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11591         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11592         to __O_LARGEFILE.
11593         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11594         to __O_LARGEFILE.
11596 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
11597             Joseph Myers  <joseph@codesourcery.com>
11599         * config.make.in (NM): New variable.
11601 2012-10-21  Andreas Jaeger  <aj@suse.de>
11603         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11604         definitions and declarations that are provided by
11605         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11607 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
11609         [BZ #14683]
11610         * elf/Makefile (tests-static): Add tst-leaks1-static.
11611         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11612         ($(objpfx)tst-leaks1-static): New rule.
11613         ($(objpfx)tst-leaks1-static-mem): Likewise.
11614         (tst-leaks1-static-ENV): New macro.
11615         * elf/dl-open.c (dl_open_worker): Check the main application
11616         only if SHARED is defined.
11617         * elf/tst-leaks1-static.c: New file.
11619 2012-10-20  Andreas Jaeger  <aj@suse.de>
11621         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11622         generic values for Linux.
11623         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11624         and declarations that are provided by <bits/fcntl-linux.h> and
11625         include <bits/fcntl-linux.h>.
11626         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11627         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11629 2012-10-20  Roland McGrath  <roland@hack.frob.com>
11631         * io/fcntl.h: Move include of <bits/types.h> to the top and
11632         include it unconditionally.
11634 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
11636         * wcsmbs/Makefile (tests-ifunc): New variable.
11637         (tests): Add $(tests-ifunc).
11638         * wcsmbs/test-wcschr-ifunc.c: New file.
11639         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11640         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11641         * wcsmbs/test-wcslen-ifunc.c: Likewise.
11642         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11643         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11645         * string/Makefile (tests-ifunc): New variable.
11646         (tests): Add $(tests-ifunc).
11647         * string/test-memccpy.c (TEST_NAME): New macro.
11648         * string/test-memchr.c (TEST_NAME): Likewise.
11649         * string/test-memcmp.c (TEST_NAME): Likewise.
11650         * string/test-memcpy.c (TEST_NAME): Likewise.
11651         * string/test-memmem.c (TEST_NAME): Likewise.
11652         * string/test-memmove.c (TEST_NAME): Likewise.
11653         * string/test-memset.c (TEST_NAME): Likewise.
11654         * string/test-rawmemchr.c (TEST_NAME): Likewise.
11655         * string/test-stpcpy.c (TEST_NAME): Likewise.
11656         * string/test-stpncpy.c (TEST_NAME): Likewise.
11657         * string/test-strcasecmp.c (TEST_NAME): Likewise.
11658         * string/test-strcasestr.c (TEST_NAME): Likewise.
11659         * string/test-strcat.c (TEST_NAME): Likewise.
11660         * string/test-strchr.c (TEST_NAME): Likewise.
11661         * string/test-strcmp.c(TEST_NAME): Likewise.
11662         * string/test-strcpy.c (TEST_NAME): Likewise.
11663         * string/test-strcspn.c (TEST_NAME): Likewise.
11664         * string/test-strlen.c (TEST_NAME): Likewise.
11665         * string/test-strncasecmp.c (TEST_NAME): Likewise.
11666         * string/test-strncmp.c (TEST_NAME): Likewise.
11667         * string/test-strncpy.c (TEST_NAME): Likewise.
11668         * string/test-strnlen.c (TEST_NAME): Likewise.
11669         * string/test-strpbrk.c (TEST_NAME): Likewise.
11670         * string/test-strrchr.c (TEST_NAME): Likewise.
11671         * string/test-strspn.c (TEST_NAME): Likewise.
11672         * string/test-strstr.c (TEST_NAME): Likewise.
11673         * string/test-bcopy-ifunc.c: New file.
11674         * string/test-bzero-ifunc.c: Likewise.
11675         * string/test-memccpy-ifunc.c: Likewise.
11676         * string/test-memchr-ifunc.c: Likewise.
11677         * string/test-memcmp-ifunc.c: Likewise.
11678         * string/test-memcpy-ifunc.c: Likewise.
11679         * string/test-memmem-ifunc.c: Likewise.
11680         * string/test-memmove-ifunc.c: Likewise.
11681         * string/test-mempcpy-ifunc.c: Likewise.
11682         * string/test-memset-ifunc.c: Likewise.
11683         * string/test-rawmemchr-ifunc.c: Likewise.
11684         * string/test-stpcpy-ifunc.c: Likewise.
11685         * string/test-stpncpy-ifunc.c: Likewise.
11686         * string/test-strcasecmp-ifunc.c: Likewise.
11687         * string/test-strcasestr-ifunc.c: Likewise.
11688         * string/test-strcat-ifunc.c: Likewise.
11689         * string/test-strchr-ifunc.c: Likewise.
11690         * string/test-strchrnul-ifunc.c: Likewise.
11691         * string/test-strcmp-ifunc.c: Likewise.
11692         * string/test-strcpy-ifunc.c: Likewise.
11693         * string/test-strcspn-ifunc.c: Likewise.
11694         * string/test-strlen-ifunc.c: Likewise.
11695         * string/test-strncasecmp-ifunc.c: Likewise.
11696         * string/test-strncat-ifunc.c: Likewise.
11697         * string/test-strncmp-ifunc.c: Likewise.
11698         * string/test-strncpy-ifunc.c: Likewise.
11699         * string/test-strnlen-ifunc.c: Likewise.
11700         * string/test-strpbrk-ifunc.c: Likewise.
11701         * string/test-strrchr-ifunc.c: Likewise.
11702         * string/test-strspn-ifunc.c: Likewise.
11703         * string/test-strstr-ifunc.c: Likewise.
11705         * debug/Makefile (tests-ifunc): New variable.
11706         (tests): Add $(tests-ifunc).
11707         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11708         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11709         * debug/test-stpcpy_chk-ifunc.c: New file.
11710         * debug/test-strcpy_chk-ifunc.c: Likewise.
11712 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11714         [BZ #13601]
11715         * elf/dl-load.c (open_verify): Retry read if the entire ELF
11716         header is not read in.
11718 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
11720         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
11721         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
11722         directly.  Pass built executable to script as
11723         $(built-program-cmd).
11724         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
11725         $testprogram without using LD_LIBRARY_PATH and $ldso.
11727         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11728         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11729         $(rtld-installed-name).
11730         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11731         (rtld_installed_name): Likewise.
11732         (library_path): Likewise.
11733         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
11734         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11735         $(run-program-prefix) to tst-tables.sh.
11736         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
11737         it to run tst-table-from and tst-table-to.
11738         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11739         Pass it to tst-table.sh.
11740         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11741         $(run-program-prefix) to tst-gettext.sh.
11742         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11743         tst-translit.sh.
11744         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11745         tst-gettext2.sh.
11746         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
11747         to run tst-gettext.
11748         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
11749         to run tst-gettext2.
11750         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
11751         to run tst-translit.
11752         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11753         $(run-program-prefix) to tst-mtrace.sh.
11754         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
11755         to run tst-mtrace.
11756         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11757         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11758         $(rtld-installed-name).
11759         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11760         (rtld_installed_name): Likewise.
11761         (run_program_prefix): New variable.  Use it to run wordexp-test.
11763         * Makeconfig (ARCH): Remove all definitions.
11764         (machine): Likewise.
11765         [ARCH]: Remove conditional code.
11766         [!objdir]: Give error.
11767         [!objdir] (objpfx): Remove.
11768         [!objdir] (common-objpfx): Likewise.
11769         [!objdir] (common-objdir): Likewise.
11770         * configure.in (config_makefile): Remove.  Hardcode Makefile in
11771         AC_CONFIG_FILES call.
11772         * configure: Regenerated.
11774         [BZ #13888]
11775         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11776         or TMPDIR.
11777         (testout): Likewise.
11779         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11780         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11781         $(rtld-installed-name).
11782         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11783         (rtld_installed_name): Likwise.
11784         (runit): Remove function.
11785         (run_getconf): New variable,  Use it for running getconf binary.
11787 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
11789         [BZ #14716]
11790         * string/test-memmem.c (check_result): New function.
11791         (do_one_test): Use it.
11792         (check1): New function.
11793         (test_main): Use it.
11795 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
11797         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11799 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
11801         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11802         (_G_LSEEK64): Likewise.
11803         (_G_MMAP64): Likewise.
11804         (_G_FSTAT64): Likewise.
11805         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11806         (_G_LSEEK64): Likewise.
11807         (_G_MMAP64): Likewise.
11808         (_G_FSTAT64): Likewise.
11809         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11810         unconditional.  Call __mmap64 directly.
11811         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11812         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
11813         __lseek64 directly.
11814         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11815         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
11816         __mmap64 directly.
11817         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11818         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
11819         __lseek64 directly.
11820         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11821         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
11822         __lseek64 directly.
11823         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11824         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
11825         __lseek64 directly.
11826         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11827         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
11828         __fxstat64 directly.
11829         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11830         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11831         unconditional.
11832         (freopen64) [!_G_OPEN64]: Remove conditional code.
11833         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11834         unconditional.
11835         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11836         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11837         unconditional.
11838         (ftello64) [!_G_LSEEK64]: Remove conditional code.
11839         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11840         unconditional.
11841         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11842         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11843         unconditional.
11844         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11845         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11846         unconditional.
11847         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11848         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11849         unconditional.
11850         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11851         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11852         unconditional.
11853         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11855 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11857         [BZ #12140]
11858         * manual/memory.texi (Malloc Tunable Parameters): Add note
11859         about free list pointers overwriting some perturb bytes.
11860         Wording suggested by Roland McGrath.
11862 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
11864         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11865         (lgamma_test): Likewise.
11866         (tgamma_test): Likewise.
11868 2012-10-16  Florian Weimer  <fweimer@redhat.com>
11870         [BZ #14700]
11871         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11872         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11874 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
11876         * NEWS: Mention BZ #14716.
11877         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11878         when removing AVAILABLE1_USES_J macro.
11880 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
11882         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11883         (__bswap_64): __uint64_t for unsigned 64-bit int.
11885 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
11887         * include/string.h (memmem): Declare libc hidden alias.
11888         * string/memmem.c (memmem): Define libc hidden alias.
11889         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11890         __read, __close instead of open, read, close.
11892 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
11894         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11895         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11896         global and hidden.
11897         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11898         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11899         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11900         Likewise.
11901         (__rawmemchr_sse2): Likewise.
11902         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11903         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11904         (__strchr_sse2): Likewise.
11905         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11906         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11907         (__strcasecmp_sse2): Likewise.
11908         (__strncasecmp_sse2): Likewise.
11909         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11910         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11911         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11912         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11913         (__strrchr_sse2): Likewise.
11914         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11915         ifunc-impl-list.c.
11916         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11917         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11918         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11919         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11920         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11921         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11922         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11923         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11924         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11925         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11926         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11927         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11928         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11929         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11930         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11931         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11932         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11933         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11934         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11935         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11936         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11937         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11938         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11939         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11940         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11941         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11942         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11943         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11944         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11945         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11947         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11948         global and hidden.
11949         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11950         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11951         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11952         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11953         Likewise.
11954         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11955         Likewise.
11956         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11957         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11958         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11959         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11960         ifunc-impl-list.c.
11961         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11962         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11963         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11964         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11965         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11966         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11967         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11968         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11969         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11970         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11971         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11972         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11973         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11974         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11975         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11976         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11977         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11978         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11979         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11980         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11981         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11982         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11983         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11984         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11985         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11986         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11987         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11988         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11989         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11990         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11991         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11992         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11993         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11994         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11995         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11996         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11997         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11998         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11999         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12000         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12001         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12003         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12004         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12005         * include/ifunc-impl-list.h: New file.
12006         * misc/ifunc-impl-list.c: Likewise.
12007         * misc/Makefile (routines): Add ifunc-impl-list.
12008         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12009         * string/test-string.h: Include <ifunc-impl-list.h>.
12010         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12011         impl_array): New variables.
12012         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12013         are defined.
12014         (test_init): Call __libc_ifunc_impl_list to initialize
12015         func_list if TEST_IFUNC and TEST_NAME are defined.
12017         * string/Makefile (strop-tests): Add bcopy and bzero.
12018         * string/test-bcopy.c: New file.
12019         * string/test-bzero.c: Likewise.
12020         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12021         defined.
12022         * string/test-memset.c: Support bzero test if TEST_BZERO is
12023         defined.
12024         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12025         __libc_memmove.
12026         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12027         __libc_memset.
12028         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12029         of memset.
12031 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
12033         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12034         * configure: Regenerated.
12036         * Makeconfig (+link-static-before-libc): Don't include
12037         $(link-static-libc).
12039         * libio/libio.h (_IO_pos_t): Remove.
12041 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
12043         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
12044         McGrath.
12046 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
12048         * crypt/crypt-entry.c: Include fips-private.h.
12049         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12050         * crypt/md5c-test.c (main): Tolerate disabled MD5.
12051         * sysdeps/unix/sysv/linux/fips-private.h: New file.
12052         * sysdeps/generic/fips-private.h: New file, dummy fallback.
12054 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
12056         * crypt/crypt-private.h: Include stdbool.h.
12057         (_ufc_setup_salt_r): Return bool.
12058         * crypt/crypt-entry.c: Include errno.h.
12059         (__crypt_r): Return NULL with EINVAL for bad salt.
12060         * crypt/crypt_util.c (bad_for_salt): New.
12061         (_ufc_setup_salt_r): Check that salt is long enough and within
12062         the specified alphabet.
12063         * crypt/badsalttest.c: New file.
12064         * crypt/Makefile (tests): Add it.
12065         ($(objpfx)badsalttest): New.
12067 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
12069         * NEWS: Add entry for BZ #14602.
12071 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
12073         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12074         type-generic.
12075         * math/libm-test.inc: Update comment listing what functions and
12076         macros are tested.
12077         (isgreater_test): New function.
12078         (isgreaterequal_test): Likewise.
12079         (isless_test): Likewise.
12080         (islessequal_test): Likewise.
12081         (islessgreater_test): Likewise.
12082         (isunordered_test): Likewise.
12083         (main): Call the new functions.
12085 2012-10-09  Roland McGrath  <roland@hack.frob.com>
12087         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12088         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12089         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12090         * sysdeps/i386/configure: Regenerated.
12091         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12092         * sysdeps/mach/configure: Regenerated.
12093         * sysdeps/mach/hurd/configure: Regenerated.
12094         * sysdeps/powerpc/configure: Regenerated.
12095         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12096         * sysdeps/powerpc/powerpc64/configure: Regenerated.
12097         * sysdeps/s390/s390-32/configure: Regenerated.
12098         * sysdeps/s390/s390-64/configure: Regenerated.
12099         * sysdeps/sh/configure: Regenerated.
12100         * sysdeps/sparc/configure: Regenerated.
12101         * sysdeps/unix/sysv/linux/configure: Regenerated.
12102         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12103         * sysdeps/x86_64/configure: Regenerated.
12105         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12106         defined.  Don't check if MAP is NULL.
12108 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
12110         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12111         (_G_stat64): Likewise.
12112         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12113         (_G_stat64): Likewise.
12114         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12115         instead of struct _G_stat64.
12116         * libio/fileops.c (mmap_remap_check): Likewise.
12117         (decide_maybe_mmap): Likewise.
12118         (_IO_new_file_seekoff): Likewise.
12119         (_IO_file_stat): Likewise.
12120         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12121         _G_off64_t.
12122         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12123         instead of struct _G_stat64.
12124         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12126 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
12128         [BZ #14602]
12129         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12130         Replace with ...
12131         (CHECK_EOL): New macro.
12132         (two_way_short_needle): Check beginning of haystack for EOL.  Use
12133         CHECK_EOL.
12134         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12135         Replace with CHECK_EOL.
12136         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12137         Replace with CHECK_EOL.
12139 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
12141         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12142         type-generic.
12143         * math/libm-test.inc: Update comment listing what functions and
12144         macros are tested.
12145         (finite_test): New function.
12146         (isinf_test): Likewise.
12147         (isnan_test): Likewise.
12148         (fpclassify_test): Test subnormal input.
12149         (isfinite_test): Likewise.
12150         (isnormal_test): Likewise.
12151         (main): Call the new functions.
12153 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
12155         [BZ #14660]
12156         * Makerules (%.dynsym): Force C locale when running
12157         $(OBJDUMP) --dynamic-syms.
12159 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
12161         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12162         <stdint.h>.
12164 2012-10-06  David S. Miller  <davem@davemloft.net>
12166         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12167         upper 32-bits of the length value in %o2 since we use branch-on-register
12168         tests which consider the entire 64-bit register.
12170 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
12172         * string/test-strstr.c (check2): Add a test for page boundary.
12174 2012-10-05  David S. Miller  <davem@davemloft.net>
12176         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12177         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12178         file.
12179         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12180         sysdep_routines.
12181         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12182         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12183         and bzero when HWCAP_SPARC_CRYPTO is present.
12185 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
12187         [BZ #14602]
12188         * string/test-strstr.c (check2): New function.
12189         (test_main): Call check2.
12191         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12192         and bug-strchr1.
12193         * string/bug-strcasestr1.c (do_test): Moved to ...
12194         * string/test-strcasestr.c (check1): Here.  New function.
12195         (do_one_test): Break out result checking code into ...
12196         (check_result): This.  New function.
12197         (do_one_test): Call check_result.
12198         (test_main): Call check1.
12199         * string/bug-strchr1.c (do_test): Moved to ...
12200         * string/test-strchr.c (check1): Here.  New function.
12201         (do_one_test): Break out result checking code into ...
12202         (check_result): This.  New function.
12203         (do_one_test): Call check_result.
12204         (test_main): Call check1.
12205         * string/bug-strstr1.c (main): Moved to ...
12206         * string/test-strstr.c (check1): Here.  New function.
12207         (do_one_test): Break out result checking code into ...
12208         (check_result): This.  New function.
12209         (do_one_test): Call check_result.
12210         (test_main): Call check1.
12211         * string/bug-strcasestr1.c: Removed.
12212         * string/bug-strchr1.c: Likewise.
12213         * string/bug-strstr1.c: Likewise.
12215         * elf/Makefile (dl-routines): Add hwcaps.
12216         * elf/dl-support.c (_dl_important_hwcaps): Removed.
12217         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12218         (_dl_important_hwcaps): Moved to ...
12219         * elf/dl-hwcaps.c: Here.  New file.
12220         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12222         [BZ #14557]
12223         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12224         if IS_IN_rtld isn't defined.
12226         * elf/dl-support.c (_dl_sysinfo_map): New.
12227         Include "get-dynamic-info.h" and "setup-vdso.h".
12228         (_dl_non_dynamic_init): Call setup_vdso.
12229         * elf/dynamic-link.h: Don't include <assert.h>.
12230         (elf_get_dynamic_info): Moved to ...
12231         * elf/get-dynamic-info.h: Here.  New file.
12232         * elf/dynamic-link.h: Include "get-dynamic-info.h".
12233         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12234         * elf/setup-vdso.h: Here.  New file.
12235         * elf/rtld.c: Include "setup-vdso.h".
12236         (dl_main): Call setup_vdso.
12238 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
12240         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12241         creal in comment listing functions tested.  List finite, isinf,
12242         isnan, isless, islessequal, isgreater, isgreaterequal,
12243         islessgreater, isunordered, lgamma_r and pow10 as functions and
12244         macros not tested.  Mention which functions not tested are aliases
12245         for other functions.  Fix typo.  Note that signs of NaNs are not
12246         tested.
12248         * scripts/config.guess: Update from config.git.
12249         * scripts/config.sub: Likewise.
12251 2012-10-04  Roland McGrath  <roland@hack.frob.com>
12253         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12254         * misc/madvise.c (madvise): Renamed to __madvise.
12255         Make madvise a weak alias.
12256         * include/sys/mman.h: Declare __madvise.
12257         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12258         * sysdeps/unix/syscalls.list
12259         (madvise): Make __madvise the strong name, and madvise a weak alias.
12260         * sysdeps/unix/sysv/linux/syscalls.list
12261         (madvise, mmap): Remove redundant entries.
12262         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12263         * malloc/malloc.c (mtrim): Likewise.
12264         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12266 2012-10-03  Roland McGrath  <roland@hack.frob.com>
12268         * sysdeps/mach/hurd/dl-cache.c: File removed.
12269         * config.h.in (USE_LDCONFIG): New #undef.
12270         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12271         * configure: Regenerated.
12272         * elf/Makefile (dl-routines): Add dl-cache only under
12273         [$(use-ldconfig) = yes].
12274         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12275         cache on [USE_LDCONFIG].
12276         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12277         [USE_LDCONFIG].
12278         * elf/rtld.c (dl_main): Likewise.
12280 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
12282         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12283         _SC_LEVEL4_CACHE_LINESIZE.
12285 2012-10-03  Roland McGrath  <roland@hack.frob.com>
12287         * sysdeps/unix/bsd/confstr.h: File removed.
12289 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
12291         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12292         sys/sdt-config.h.
12294 2012-10-02  Roland McGrath  <roland@hack.frob.com>
12296         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12297         Make 'mapoff' field ElfW(Off) rather than off_t.
12299 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
12301         * nscd/Makefile: Remove nscd-cflags and all its users.
12302         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12303         (CFLAGS-nonlib): Add compiler flags for nscd modules.
12305         [BZ #10631]
12306         * malloc.c (malloc_printerr): Clarify error message.
12308 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
12310         [BZ #14648]
12311         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12312         Set bit_FMA_Usable if FMA is supported.
12313         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12314         macro.
12315         (bit_FMA4_Usable): Updated.
12316         (index_FMA_Usable): New macro.
12317         (CPUID_FMA): Likewise
12318         (HAS_FMA): Defined with bit_FMA_Usable.
12320 2012-10-01  Roland McGrath  <roland@hack.frob.com>
12322         * bits/types.h (__swblk_t): Type removed.
12323         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12324         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12325         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12326         (__SWBLK_T_TYPE): Likewise.
12327         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12328         (__SWBLK_T_TYPE): Likewise.
12329         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12330         (__SWBLK_T_TYPE): Likewise.
12331         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12332         (__SWBLK_T_TYPE): Likewise.
12334 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
12335             Honza Horak <hhorak@redhat.com>
12337         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12338         (xdr_mapname): Use YPMAXMAP as maxsize.
12339         (xdr_peername): Use YPMAXPEER as maxsize.
12340         (xdr_keydat): Use YPAXRECORD as maxsize.
12341         (xdr_valdat): Use YPMAXRECORD as maxsize.
12343 2012-10-01  Roland McGrath  <roland@hack.frob.com>
12345         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12347         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12348         * csu/init-first.c: ... here.
12349         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12350         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12351         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12352         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12353         * sysdeps/i386/init-first.c: File removed.
12354         * sysdeps/sh/init-first.c: File removed.
12356 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
12358         [BZ #14645]
12359         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12360         if x * y might underflow to zero and z is zero.
12361         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12362         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12363         * math/libm-test.inc (min_subnorm_value): New variable.
12364         (fma_test): Add more tests.
12365         (fma_test_towardzero): Likewise.
12366         (fma_test_downward): Likewise
12367         (fma_test_upward): Likewise.
12368         (initialize): Set min_subnorm_value.
12370 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
12372         [BZ #14638]
12373         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12374         0 + 0.
12375         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12376         mode for addition resulting in exact zero.
12377         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12378         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12379         exact 0 + 0.
12380         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12381         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12382         * math/libm-test.inc (fma_test): Add more tests.
12383         (fma_test_towardzero): New function.
12384         (fma_test_downward): Likewise.
12385         (fma_test_upward): Likewise.
12386         (main): Call the new functions.
12388 2012-09-28  David S. Miller  <davem@davemloft.net>
12390         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12392 2012-09-28  Roland McGrath  <roland@hack.frob.com>
12394         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12395         instead of SIGALRM.
12397         * sysdeps/gnu/_G_config.h: Moved to ...
12398         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12399         * sysdeps/mach/hurd/_G_config.h: Moved to ...
12400         * sysdeps/generic/_G_config.h: ... here.
12402         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
12404         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12406         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12407         Conditionalize target on [libnss_test1.so-version].
12409         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12411         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12412         (elfobjdir): Move out of conditionals.
12414         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12415         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12416         (__nss_lookup_function): Conditionalize label remove_from_tree on
12417         [!DO_STATIC_NSS || SHARED], matching its only use.
12419 2012-09-28  David S. Miller  <davem@davemloft.net>
12421         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12422         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12423         file.
12424         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12425         sysdep_routines.
12426         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12427         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12428         when HWCAP_SPARC_CRYPTO is present.
12430 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12432         * io/tst-mknodat.c: Create a FIFO instead of a socket.
12434 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
12436         [BZ #6530]
12437         * stdio-common/vfprintf.c (process_string_arg): Revert
12438         2000-07-22 change.
12440 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
12442         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12443         for testcase.
12444         * stdio-common/tst-sprintf.c: Include <locale.h>
12445         (main): Test sprintf's handling of incomplete multibyte
12446         characters.
12448 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
12450         * elf/dl-runtime.c (VERSYMIDX): Removed.
12451         * elf/dl-version.c (VERSYMIDX): Likewise.
12452         * elf/do-rel.h (VERSYMIDX): Likewise.
12453         (VALIDX): Likewise.
12454         * elf/dynamic-link.h (VERSYMIDX): Likewise.
12455         * elf/rtld.c (VALIDX): Likewise.
12456         (ADDRIDX): Likewise.
12457         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12458         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12459         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
12460         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12461         (VALIDX): Likewise.
12462         (ADDRIDX): Likewise.
12464 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12466         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12468 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
12470         [BZ #11438]
12471         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12472         to global scope.
12473         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12474         addresses are in the same scope as 192.0.2/24.
12475         * posix/gai.conf: Document new scope table defaults.
12477 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12479         [BZ #5298]
12480         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12481         for ftell.  Compute offsets from write pointers instead.
12482         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12484 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12486         [BZ #14543]
12487         * libio/Makefile (tests): New test case tst-fseek.
12488         * libio/tst-fseek.c: New test case to verify that fseek/ftell
12489         combination works in wide mode.
12490         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12491         state when the external buffer state changes.
12493 2012-09-27  David S. Miller  <davem@davemloft.net>
12495         [BZ #14376]
12496         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12497         pass reloc->r_addend in as the 'high' argument to
12498         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12500         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12502 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12504         * rt/tst-aio2.c: Include <pthread.h>.
12505         * rt/tst-aio3.c: Likewise.
12507 2012-09-27  Steve Ellcey  <sellcey@mips.com>
12509         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12511 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
12513         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12514         contents on [SHARED].
12516 2012-09-26  Marek Polacek  <polacek@redhat.com>
12518         [BZ #14530]
12519         [BZ #13741]
12520         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12521         for C++ and GCC <4.3 as well as for non GCC compilers.
12523 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
12525         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12527 2012-09-25  Roland McGrath  <roland@hack.frob.com>
12529         * Makefile.in (all, install): Declare with .PHONY.
12530         Reported by Michael Hope <michael.hope@linaro.org>.
12532 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12534         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12535         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12536         system header.
12537         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12538         Likewise.
12539         (sydep_routines): Add the new and the internal functions.
12540         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12541         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12543         (GLIBC_2.17): Add the new function.
12544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12545         (GLIBC_2.17): Likewise.
12546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12547         (GLIBC_2.17): Likewise.
12548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12549         (GLIBC_2.17): Likewise.
12550         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12552 2012-09-25  Alan Modra  <amodra@gmail.com>
12554         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12555         Add release barrier before setting once_control to say
12556         initialisation is done.  Add hints on lwarx.  Use macro in
12557         place of isync.
12558         (clear_once_control): Add release barrier.
12560 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
12562         [BZ #13629]
12563         * math/s_clog.c (__clog): Handle more values close to |z| = 1
12564         specially.
12565         * math/s_clog10.c (__clog10): Likewise.
12566         * math/s_clog10f.c (__clog10f): Likewise.
12567         * math/s_clog10l.c (__clog10l): Likewise.
12568         * math/s_clogf.c (__clogf): Likewise.
12569         * math/s_clogl.c (__clogl): Likewise.
12570         * math/Makefile (libm-calls): Add x2y2m1.
12571         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12572         (__x2y2m1): Likewise.
12573         (__x2y2m1l): Likewise.
12574         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12575         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12576         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12577         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12578         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12579         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12580         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12581         * sysdeps/i386/fpu/libm-test-ulps: Update.
12582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12584         [BZ #14621]
12585         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12586         int as type of variable DEPTH.
12587         (glob): Use size_t instead of int as type of variables NEWCOUNT
12588         and OLD_PATHC.
12590 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12592         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12593         Add s_sincosf-sse2.
12594         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12595         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12596         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12597         macros for using routine as __sincosf_ia32.
12598         Use macro for function declaration and weak_alias.
12599         * sysdeps/i386/fpu/libm-test-ulps: Update.
12601         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12602         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12604         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
12605         subnormal argument.
12606         * math/s_cexpf.c (__cexpf): Likewise.
12607         * math/s_csinf.c (__csinf): Likewise.
12608         * math/s_csinhf.c (__csinhf): Likewise.
12609         * math/s_ctanf.c (__ctanf): Likewise.
12610         * math/s_ctanhf.c (__ctanhf): Likewise.
12611         * math/s_ccosh.c (__ccoshf): Likewise.
12612         * math/s_cexp.c (__cexpl): Likewise.
12613         * math/s_csin.c (__csin): Likewise.
12614         * math/s_csinh.c (__csinh): Likewise.
12615         * math/s_ctan.c (__ctan): Likewise.
12616         * math/s_ctanh.c (ctanh): Likewise.
12617         * math/s_ccoshl.c (__ccoshl): Likewise.
12618         * math/s_cexpl.c (__cexpl): Likewise.
12619         * math/s_csinl.c (__csinl): Likewise.
12620         * math/s_csinhl.c (__csinhl): Likewise.
12621         * math/s_ctanl.c (__ctanl): Likewise.
12622         * math/s_ctanhl.c (__ctanhl): Likewise.
12624 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
12626         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12627         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12628         (_IO_off_t): Define to __off_t, not _G_off_t.
12629         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12630         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12631         (_IO_wint_t): Define to wint_t, not _G_wint_t.
12632         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12633         type of __dummy and __dummy2 fields.
12634         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12635         (_G_ssize_t): Likewise.
12636         (_G_off_t): Likewise.
12637         (_G_pid_t): Likewise.
12638         (_G_uid_t): Likewise.
12639         (_G_wchar_t): Likewise.
12640         (_G_wint_t): Likewise.
12641         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12642         (_G_ssize_t): Likewise.
12643         (_G_off_t): Likewise.
12644         (_G_pid_t): Likewise.
12645         (_G_uid_t): Likewise.
12646         (_G_wchar_t): Likewise.
12647         (_G_wint_t): Likewise.
12648         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12649         (_G_ssize_t): Likewise.
12650         (_G_off_t): Likewise.
12651         (_G_pid_t): Likewise.
12652         (_G_uid_t): Likewise.
12653         (_G_wchar_t): Likewise.
12654         (_G_wint_t): Likewise.
12656 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12658         * malloc/arena.c: Include malloc-sysdep.h.
12659         (shrink_heap): Use check_may_shrink_heap to decide if madvise
12660         is sufficient to shrink the heap or an unmap is needed.
12661         * sysdeps/generic/malloc-sysdep.h: New file.  Define
12662         new function check_may_shrink_heap.
12663         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
12664         new function check_may_shrink_heap.
12666 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12668         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12669         comments.
12671 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
12673         * catgets/test-gencat.sh: Add "set -e".
12674         * elf/tst-pathopt.sh: Likewise.
12675         * grp/tst_fgetgrent.sh: Likewise.
12676         * iconvdata/run-iconv-test.sh: Likewise.
12677         * intl/tst-gettext.sh: Likewise.
12678         * intl/tst-gettext2.sh: Likewise.
12679         * intl/tst-gettext4.sh: Likewise.
12680         * intl/tst-gettext6.sh: Likewise.
12681         * intl/tst-translit.sh: Likewise.
12682         * io/ftwtest-sh: Likewise.
12683         * libio/test-freopen.sh: Likewise.
12684         * malloc/tst-mtrace.sh: Likewise.
12685         * posix/globtest.sh: Likewise.
12686         * posix/tst-getconf.sh: Likewise.
12687         * posix/wordexp-tst.sh: Likewise.
12688         * stdio-common/tst-printf.sh: Likewise.
12689         * stdio-common/tst-unbputc.sh: Likewise.
12690         * stdlib/tst-fmtmsg.sh: Likewise.
12691         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12692         * catgets/Makefile: Do not specify -e option when running
12693         testsuite shell scripts.
12694         * elf/Makefile: Likewise.
12695         * grp/Makefile: Likewise.
12696         * iconvdata/Makefile: Likewise.
12697         * intl/Makefile: Likewise.
12698         * io/Makefile: Likewise.
12699         * libio/Makefile: Likewise.
12700         * malloc/Makefile: Likewise.
12701         * posix/Makefile: Likewise.
12702         * stdio-common/Makefile: Likewise.
12703         * stdlib/Makefile: Likewise.
12704         * sysdeps/x86_64/Makefile: Likewise.
12706         * io/ftwtest-sh: Add copyright header.
12707         * posix/globtest.sh: Likewise.
12708         * posix/tst-getconf.sh: Likewise.
12709         * posix/wordexp-tst.sh: Likewise.
12710         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12712 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
12714         [BZ #13679]
12715         * Makeconfig (+link): Defined as $(+link-static) if
12716         $(build-shared) isn't yes.
12717         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12718         isn't yes.
12719         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12721         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12723         [BZ #14562]
12724         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12725         new chunk size with MALLOC_ALIGN_MASK.
12727 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
12729         [BZ #5044]
12730         * stdio-common/printf_fphex.c: Include <stdbool.h> and
12731         <rounding-mode.h>.
12732         (__printf_fphex): Determine rounding using get_rounding_mode and
12733         round_away.
12734         * stdio-common/tst-printf-round.c (struct hex_test): New
12735         structure.
12736         (hex_tests): New variable.
12737         (test_hex_in_one_mode): New function.
12738         (do_test): Also run tests for hex float output.
12740 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
12742         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12743         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12744         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12745         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12746         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12747         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12748         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12749         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12751 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
12753         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12754         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12755         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12756         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12758 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
12760         [BZ #14579]
12761         * elf/rtld.c (dl_main): Limit the check for self loading to normal
12762         mode only.
12763         * elf/tst-rtld-load-self.sh: New test.
12764         * elf/Makefile: Run it.
12766 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
12768         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12769         (tst-writev-ENV): Remove.
12770         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12772 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
12774         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12776 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
12778         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12779         unconditional.
12780         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12781         Likewise.
12782         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12783         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12784         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12785         Likewise.
12787 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
12789         [BZ #14587]
12790         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12791         * config.make.in (have-cpp-asm-debuginfo): Removed.
12792         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12793         * configure: Regenerated.
12795 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
12797         [BZ #5044]
12798         * stdio-common/printf_fp.c: Include <stdbool.h> and
12799         <rounding-mode.h>.
12800         (___printf_fp): Determine rounding using get_rounding_mode and
12801         round_away.
12802         * stdio-common/tst-printf-round.c: New file.
12803         * stdio-common/Makefile (tests): Add tst-printf-round.
12804         (link-libm): New variable.
12805         ($(objpfx)tst-printf-round): Depend in $(link-libm).
12807 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
12809         [BZ #14576]
12810         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12811         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12812         Likewise.
12813         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12814         Likewise.
12816 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
12818         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12819         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12820         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12821         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12823 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
12825         [BZ #14518]
12826         * include/rounding-mode.h: New file.
12827         * sysdeps/generic/get-rounding-mode.h: Likewise.
12828         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12829         * stdlib/strtod_l.c: Include <rounding-mode.h>.
12830         (MAX_VALUE): New macro.
12831         (MIN_VALUE): Likewise.
12832         (overflow_value): New function.
12833         (underflow_value): Likewise.
12834         (round_and_return): Use overflow_value and underflow_value to
12835         determine return values in overflow and underflow cases.  Use
12836         round_away to determine rounding depending on rounding mode.
12837         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12838         determine return values in overflow and underflow cases.
12839         * stdlib/tst-strtod-round.c: Include <fenv.h>.
12840         (struct test_results): New structure.
12841         (struct test): Use struct test_results to store expected results
12842         for all rounding modes.
12843         (TEST): Include expected results for all rounding modes.
12844         (test_in_one_mode): New function.
12845         (do_test): Use test_in_one_mode to compute and check results.
12846         Check results for all rounding modes.
12847         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12848         $(link-libm).
12850 2012-12-09  Allan McRae  <allan@archlinux.org>
12852         * sysdeps/i386/fpu/libm-test-ulps: Update
12854 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
12856         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12857         (_G_int32_t): Likewise.
12858         (_G_uint16_t): Likewise.
12859         (_G_uint32_t): Likewise.
12860         (_G_HAVE_BOOL): Likewise.
12861         (_G_HAVE_ATEXIT): Likewise.
12862         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12863         (_G_HAVE_IO_FILE_OPEN): Likewise.
12864         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12865         (_G_int32_t): Likewise.
12866         (_G_uint16_t): Likewise.
12867         (_G_uint32_t): Likewise.
12868         (_G_HAVE_BOOL): Likewise.
12869         (_G_HAVE_ATEXIT): Likewise.
12870         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12871         (_G_HAVE_IO_FILE_OPEN): Likewise.
12872         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12873         (_G_int32_t): Likewise.
12874         (_G_uint16_t): Likewise.
12875         (_G_uint32_t): Likewise.
12876         (_G_HAVE_BOOL): Likewise.
12877         (_G_HAVE_ATEXIT): Likewise.
12878         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12879         (_G_HAVE_IO_FILE_OPEN): Likewise.
12881 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
12883         * csu/libc-tls.c: Update copyright years.
12885 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
12887         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12888         [!_G_USING_THUNKS]: Remove conditional code.
12889         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12890         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12892         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12893         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12894         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12895         (_G_VTABLE_LABEL_PREFIX): Likewise.
12896         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12897         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12898         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12899         (_G_VTABLE_LABEL_PREFIX): Likewise.
12900         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12901         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12902         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12903         (_G_VTABLE_LABEL_PREFIX): Likewise.
12904         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12906 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
12908         * libio/Makefile: Include ../Makeconfig before tests.
12909         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12910         only if $(build-shared) is yes.
12912         * iconv/gconv_db.c: Update copyright years.
12914 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12916         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12917         unwind info if defined PIC. Fix special cases description.
12918         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12920         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12921         DP_HI_MASK entry.
12922         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12924 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
12926         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12928         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12929         is NULL.
12931         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12932         (LDLIBS-tst-chk4): This.
12933         (LDFLAGS-tst-chk5): Renamed to ...
12934         (LDLIBS-tst-chk5): This.
12935         (LDFLAGS-tst-chk6): Renamed to ...
12936         (LDLIBS-tst-chk6): This.
12937         (LDFLAGS-tst-lfschk4): Renamed to ...
12938         (LDLIBS-tst-lfschk4): This.
12939         (LDFLAGS-tst-lfschk5): Renamed to ...
12940         (LDLIBS-tst-lfschk5): This.
12941         (LDFLAGS-tst-lfschk6): Renamed to ...
12942         (LDLIBS-tst-lfschk6): This.
12944         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12945         on $(common-objpfx)soversions.mk.
12947 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
12949         [BZ #10014]
12950         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12951         example host name.
12953 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12955         * malloc/arena.c (arena_get_retry): New function that gets
12956         another arena for the caller to try its request on.
12957         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12958         current arena cannot fulfill the request.
12959         (__libc_memalign): Likewise.
12960         (__libc_memalign): Likewise.
12961         (__libc_pvalloc): Likewise.
12962         (__libc_calloc): Likewise.
12964 2012-09-05  John Tobey  <john.tobey@gmail.com>
12966         [BZ #13542]
12967         * manual/arith.texi (Operations on Complex): Fix description
12968         of carg branch cut.
12970 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
12972         [BZ #10014]
12973         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12974         host name.
12976         [BZ #10038]
12977         * manual/memory.texi (Memory): Make order of menu items match
12978         order of sections.
12980 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12982         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12983         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
12984         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12986 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12988         * csu/libc-tls.c (static_dtv): Renamed to ...
12989         (_dl_static_dtv): This.  Make it global.
12990         (_dl_initial_dtv): Removed.
12991         (__libc_setup_tls): Updated.
12992         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12993         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12994         DL_INITIAL_DTV.
12996 2012-09-06  Petr Machata  <pmachata@redhat.com>
12998         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12999         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13000         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13001         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13003 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13005         [BZ #14545]
13006         * csu/libc-tls.c (_dl_initial_dtv): New variable.
13007         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13008         freeing dtv[-1].
13010 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13012         [BZ #14544]
13013         * Makeconfig (link-static-before-libc): Replace $(+prector)
13014         with $(+prectorT).
13015         (link-static-after-libc): Replace $(+postctor) with
13016         $(+postctorT).
13017         (link-bounded): Replace $(+prector)/$(+postctor) with
13018         $(+prectorT)/$(+postctorT).
13019         (+prectorT): New macro.
13020         (+postctorT): Likewise.
13022 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
13024         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13025         (round_str): Handle values above the maximum for IBM long double
13026         as inexact.
13027         * stdlib/tst-strtod-round.c (tests): Regenerated.
13029 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13031         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13032         assembler flag.
13033         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13034         zarch_nohighgprs around the zarch optimized routines.
13035         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13036         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13037         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13038         for zarch.
13040 2012-09-05  David S. Miller  <davem@davemloft.net>
13042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13044         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13045         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13046         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13047         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13048         entries.
13050 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13052         * malloc/arena.c: Fold copyright years.
13053         * malloc/mcheck.c, malloc/memusage.c: Likewise.
13055 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13057         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13059 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13061         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
13063 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13065         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13066         change internal state upon failure.
13068 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
13070         * malloc/mcheck.c (mcheck_check_all): Fix typo.
13071         * malloc/memusage.c (mmap): Likewise.
13072         (mmap64, mremap): Likewise.  Adjust name in comment.
13074 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13076         * libio/fileops.c: Fix typos in comments.
13077         * libio/oldfileops.c: Likewise.
13078         * libio/wfileops.c: Likewise.
13080 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13082         [BZ #1349]
13083         * malloc/Makefile (tests): Add tst-malloc-usable test case.
13084         (tst-malloc-usable-ENV): Set environment for test case.
13085         * malloc/hooks.c (malloc_check_get_size): New function to get
13086         requested size.
13087         * malloc/malloc.c (musable): Use malloc_check_get_size.
13088         * malloc/tst-malloc-usable.c: New test case.
13090 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
13092         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13094 2012-09-05  Allan McRae  <allan@archlinux.org>
13096         [BZ #13966]
13097         * configure.in (CXX_SYSINCLUDES): Use compiler output to
13098         determine header location.
13099         * configure: Regenerated.
13101 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
13103         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13104         float format.
13105         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13106         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13107         format.
13108         (test): Regenerate.
13110 2012-09-04  David S. Miller  <davem@davemloft.net>
13112         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13113         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13114         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13116 2012-09-04  Florian Weimer  <fweimer@redhat.com>
13118         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13119         failures.
13121         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13123 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
13125         [BZ #9914]
13126         * libio/iogetdelim.c: Include <limits.h>.
13127         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13128         + len + 1 would overflow.
13130 2012-09-03  Andreas Jaeger  <aj@suse.de>
13132         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13133         * sysdeps/i386/fpu/libm-test-ulps: Update.
13135 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13137         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13138         Add s_sinf-sse2, s_conf-sse2.
13140         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13141         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13142         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13143         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13145         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13146         for using routine as __sinf_ia32.
13147         Use macro for function declaration and weak_alias.
13148         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13149         for using routine as __cosf_ia32.
13150         Use macro for function declaration and weak_alias.
13152         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13153         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13155         * sysdeps/x86_64/fpu/s_sinf.S: New file.
13156         * sysdeps/x86_64/fpu/s_cosf.S: New file.
13157         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13159         * math/libm-test.inc (cos_test): Add more test cases.
13160         (sin_test): Likewise.
13161         (sincos_test): Likewise.
13163 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13165         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13166         (IFUNC_RESOLVE): Make pointers to the specialized implementations
13167         hidden.
13168         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13170 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
13172         [BZ #14538]
13173         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13174         first element of the GOT.
13175         (elf_machine_load_address): Return the difference between
13176         the runtime address of _DYNAMIC and elf_machine_dynamic ().
13178 2012-09-01  Allan McRae  <allan@archlinux.org>
13180         [BZ #13412]
13181         * configure.in (AWK): Require gawk version 3.0 or later.
13182         * configure: Regenerated.
13184 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
13186         * sysdeps/unix/sysv/linux/kernel-features.h
13187         (__ASSUME_POSIX_CPU_TIMERS): Remove.
13188         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13189         [__NR_clock_getres]: Make code unconditional.
13190         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13191         (clock_getcpuclockid): Remove code left unreachable by removal of
13192         conditionals.
13193         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13194         code unconditional.
13195         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13196         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13197         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13198         Make code unconditional.
13199         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13200         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13201         * sysdeps/unix/sysv/linux/clock_settime.c
13202         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13203         conditional code.
13204         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13205         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13207 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
13209         [BZ #14476]
13210         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13211         scripts/test-installation.pl.
13213         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13214         and $ld_so_version if it is set.
13216 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13218         [BZ #14516]
13219         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13220         failure if reading from procfs failed.
13221         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13223 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
13225         * sysdeps/unix/sysv/linux/kernel-features.h
13226         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13227         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13228         Remove conditional code.
13229         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13230         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13231         Remove conditional code.
13232         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13233         * sysdeps/unix/sysv/linux/i386/fxstat.c
13234         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13235         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13236         * sysdeps/unix/sysv/linux/i386/fxstatat.c
13237         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13238         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13239         * sysdeps/unix/sysv/linux/i386/lxstat.c
13240         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13241         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13242         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13243         Remove conditional code.
13244         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13245         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13246         Remove conditional code.
13247         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13248         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13249         <kernel-features.h>.
13250         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13251         Remove.
13252         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13253         Remove conditional code.
13254         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13255         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13256         Remove conditional.
13258 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
13260         [BZ #5400]
13261         * NEWS: Add fixed bug number.
13263 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
13265         [BZ #14519]
13266         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13267         underflowing exponent in case of negative sign.
13268         * stdlib/tst-strtod-round-data: Add more tests.
13269         * stdlib/tst-strtod-round.c (tests): Regenerated.
13271         [BZ #3479]
13272         * stdlib/strtod_l.c (NDIG): Remove.
13273         (HEXNDIG): Likewise.
13274         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13275         smallest representable value.
13276         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13277         lie within an exact representation of 1/2 ulp of the result.
13278         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13279         unconditionally.
13280         (TENS_P9_IDX): Define unconditionally.
13281         (TENS_P9_SIZE): Likewise.
13282         (TENS_P10_IDX): Likewise.
13283         (TENS_P10_SIZE): Likewise.
13284         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13285         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13286         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13287         entries for 10^2^13 and 10^2^14.
13288         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13289         (TENS_P13_IDX): Define.
13290         (TENS_P13_SIZE): Likewise.
13291         (TENS_P14_IDX): Likewise.
13292         (TENS_P14_SIZE): Likewise.
13293         (_fpioconst_pow10): Change array size to
13294         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
13295         unconditional.
13296         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13297         1024]: Add entries for 10^2^13 and 10^2^14.
13298         [LAST_POW10 > _LAST_POW10]: Remove #error.
13299         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13300         (_fpioconst_pow10): Change array size to
13301         FPIOCONST_POW10_ARRAY_SIZE.
13302         * stdlib/gen-fpioconst.c: New file.
13303         * stdlib/gen-tst-strtod-round.c: Likewise.
13304         * stdlib/tst-strtod-round-data: Likewise.
13305         * stdlib/tst-strtod-round.c: Likewise.
13306         * stdlib/Makefile (tests): Add tst-strtod-round.
13308         [BZ #14459]
13309         * stdlib/strtod_l.c: Include <stdint.h>.
13310         (NDEBUG): Do not define.
13311         (round_and_return): Change EXPONENT parameter to type intmax_t.
13312         Rearrange calculations to avoid internal overflow possibilities.
13313         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13314         Rearrange calculations to avoid internal overflow possibilities.
13315         Assert that number fits inside MPNSIZE limbs.
13316         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13317         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
13318         calculations and add assertions to avoid internal overflow
13319         possibilities.  Add casts to avoid signed/unsigned operations.
13320         * stdlib/tst-strtod-overflow.c: New file.
13321         * stdlib/Makefile (tests): Add tst-strtod-overflow.
13323 2012-08-25  Marek Polacek  <polacek@redhat.com>
13325         * time/time.h: Fix some typos in comments.
13327 2012-08-23  Roland McGrath  <roland@hack.frob.com>
13329         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13330         * posix/tst-rfc3484-2.c: Likewise.
13331         * posix/tst-rfc3484-3.c: Likewise.
13333 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
13335         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13336         (EF_ARM_ABI_FLOAT_HARD): Likewise.
13338 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
13340         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13341         #include of fxstatat64.c.
13343 2012-08-22  Roland McGrath  <roland@hack.frob.com>
13345         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13346         * shadow/getspent_r.c: Likewise.
13347         * shadow/getspnam.c: Likewise.
13348         * shadow/getspnam_r.c: Likewise.
13349         * gshadow/getsgent.c: Likewise.
13350         * gshadow/getsgent_r.c: Likewise.
13351         * gshadow/getsgnam.c: Likewise.
13352         * gshadow/getsgnam_r.c: Likewise.
13353         * inet/getnetbyad.c: Likewise.
13354         * inet/getnetbyad_r.c: Likewise.
13355         * inet/getnetbynm.c: Likewise.
13356         * inet/getnetbynm_r.c: Likewise.
13357         * inet/getnetent.c: Likewise.
13358         * inet/getnetent_r.c: Likewise.
13359         * inet/getproto.c: Likewise.
13360         * inet/getproto_r.c: Likewise.
13361         * inet/getprtent.c: Likewise.
13362         * inet/getprtent_r.c: Likewise.
13363         * inet/getprtname.c: Likewise.
13364         * inet/getprtname_r.c: Likewise.
13365         * inet/getrpcbyname.c: Likewise.
13366         * inet/getrpcbyname_r.c: Likewise.
13367         * inet/getrpcbynumber.c: Likewise.
13368         * inet/getrpcbynumber_r.c: Likewise.
13369         * inet/getrpcent.c: Likewise.
13370         * inet/getrpcent_r.c: Likewise.
13371         * inet/getaliasent.c: Likewise.
13372         * inet/getaliasent_r.c: Likewise.
13373         * inet/getaliasname.c: Likewise.
13374         * inet/getaliasname_r.c: Likewise.
13375         * nscd/getgrgid_r.c: Likewise.
13376         * nscd/getgrnam_r.c: Likewise.
13377         * nscd/gethstbyad_r.c: Likewise.
13378         * nscd/gethstbynm3_r.c: Likewise.
13379         * nscd/getpwnam_r.c: Likewise.
13380         * nscd/getpwuid_r.c: Likewise.
13381         * nscd/getsrvbynm_r.c: Likewise.
13382         * nscd/getsrvbypt_r.c: Likewise.
13383         * nscd/gai.c: Likewise.
13385         * configure.in (build_nscd): New substituted variable, set
13386         by --disable-build-nscd and defaults to $use_nscd.
13387         * configure: Regenerated.
13388         * config.make.in (build-nscd): New substituted variable.
13389         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13390         Change conditional to require [$(build-nscd) = yes] as well.
13391         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13393         [BZ# 13696]
13394         * configure.in (use_nscd): New substituted variable, set by
13395         --disable-nscd.  If enabled, define USE_NSCD.
13396         * configure: Regenerated.
13397         * config.h.in: Add USE_NSCD.
13398         * config.make.in (use-nscd): New substituted variable.
13399         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13400         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13401         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13402         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13403         (CFLAGS-getgrnam_r.c): Likewise.
13404         (CFLAGS-initgroups.c): Likewise.
13405         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13406         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13407         Variables removed.
13408         * inet/getnetgrent_r.c
13409         (nscd_setnetgrent): New function, broken out of ...
13410         (setnetgrent): ... here.  Call it.
13411         (innetgr): Conditionalize nscd bits on [USE_NSCD].
13412         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13413         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13414         * nscd/Makefile (routines, aux): Move definitions after include of
13415         Makeconfig.  Conditionalize on [$(use-nscd) != no].
13416         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13417         Conditionalize on [USE_NSCD].
13418         (is_nscd, nscd_init_cb): Likewise.
13419         (nss_load_library): Conditionalize init callback on [USE_NSCD].
13420         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13421         * nss/nss_db/db-init.c: Likewise.
13422         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13423         [USE_NSCD].
13424         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13425         (make_request): Use it.
13426         (cache_valid_p): New function.
13427         (__check_pf): Use it.
13428         * NEWS: Add item for --disable-nscd.
13430 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
13432         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13433         to support sed >= 4.2.1-20-ga9bf076.
13434         * configure: Regenerated.
13436 2012-08-22  Roland McGrath  <roland@hack.frob.com>
13438         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13439         Conditionalize whole body on [IREL].
13441 2012-08-22  Jeff Law <law@redhat.com>
13443         [BZ #14505]
13444         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13445         if the family is PF_UNSPEC.
13447 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
13449         * Makerules (lib-version): Rename from V.
13450         (install-lib-nosubdir): Change V to lib-version.
13452 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
13454         [BZ #14252]
13455         * powerpc32/power6/wcschr.c: New file.
13456         * powerpc32/power6/wcscpy.c: New file.
13457         * powerpc32/power6/wcsrchr.c: New file.
13458         * powerpc64/power6/wcschr.c: New file.
13459         * powerpc64/power6/wcscpy.c: New file.
13460         * powerpc64/power6/wcsrchr.c: New file.
13462 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
13464         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13465         (two_way_short_needle): Use it.
13466         * string/strstr.c (AVAILABLE1_USES_J): Define.
13467         * string/strcasestr.c: Likewise.
13469         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13470         array references.
13471         * string/strcasestr.c (TOLOWER): Make side-effect safe.
13473         [BZ #11607]
13474         * NEWS: Add an entry.
13475         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13476         define their defaults.
13477         (two_way_short_needle): Detect end-of-string on-the-fly.
13478         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13479         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13480         * string/bug-strcasestr1.c: New test.
13481         * string/Makefile: Run it.
13483 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
13485         [BZ #11607]
13486         * string/str-two-way.h (two_way_short_needle): Optimize matching of
13487         the first character.
13489 2012-08-21  Roland McGrath  <roland@hack.frob.com>
13491         * csu/elf-init.c (__libc_csu_irel): Function removed.
13492         * csu/libc-start.c (apply_irel): New function.
13493         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13495 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
13497         * sysdeps/unix/sysv/linux/kernel-features.h
13498         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13499         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13500         <kernel-features.h>.
13501         [__NR_fadvise64_64]: Make code unconditional.
13502         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13503         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13504         !__NR_fadvise64_64)]: Likewise.
13505         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13506         !__NR_fadvise64_64))]: Likewise.
13507         [__NR_fadvise64]: Make code unconditional.
13508         [!__NR_fadvise64]: Remove conditional code.
13509         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13510         <kernel-features.h>.
13511         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13512         unconditional.
13513         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13514         conditional code.
13515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13516         not include <kernel-features.h>.
13517         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13518         unconditional.
13519         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13520         conditional code.
13521         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13522         include <kernel-features.h>.
13523         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13524         unconditional.
13525         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13526         conditional code.
13528 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
13530         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13531         slight instruction rearrangements per scrollpipe analysis.
13532         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13534 2012-08-20  Roland McGrath  <roland@hack.frob.com>
13536         * manual/syslog.texi (syslog; vsyslog, closelog):
13537         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13538         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13540         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13541         DSOCAPS to match condition on defining it.
13543 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
13545         * sysdeps/unix/sysv/linux/kernel-features.h
13546         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13548         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13549         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13551         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13552         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13554         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13555         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13557         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13558         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13560         * sysdeps/unix/sysv/linux/kernel-features.h
13561         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13562         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13563         unconditional.
13564         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13565         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13566         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13567         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13568         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13569         Make code unconditional.
13570         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13571         (__mmap64) [!__NR_mmap2]: Likewise.
13572         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13573         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13574         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13575         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13576         [__NR_mmap2]: Make code unconditional.
13577         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13578         (__mmap64) [!__NR_mmap2]: Likewise.
13580 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13582         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13584 2012-08-18  Andreas Jaeger  <aj@suse.de>
13586         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13588 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
13590         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13591         * include/unistd.h (__have_sock_cloexec): Likewise.
13592         (__have_pipe2): Likewise.
13593         (__have_dup3): Likewise.
13595 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
13597         [BZ #9685]
13598         * include/unistd.h (__have_pipe2): Change define into an extern int.
13599         (__have_dup3): Likewise.
13600         * socket/have_sock_cloexec.c: Include fcntl.h.
13601         (__have_pipe2): New variable.
13602         (__have_dup3): Likewise.
13604 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
13606         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13608 2012-08-17  Marek Polacek  <polacek@redhat.com>
13610         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13611         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13613 2012-08-17  Roland McGrath  <roland@hack.frob.com>
13615         * configure.in: Add AC_SUBST for sysheaders.
13616         * configure: Regenerated.
13617         * config.make.in (sysheaders): New substituted variable.
13619         * sysdeps/unix/mkfifo.c: Moved ...
13620         * sysdeps/posix/mkfifo.c: ... here.
13621         * sysdeps/unix/mkfifoat.c: Moved ...
13622         * sysdeps/posix/mkfifoat.c: ... here.
13624         * sysdeps/unix/utime.c: Moved ...
13625         * sysdeps/posix/utime.c: ... here.
13627         * sysdeps/unix/time.c: Moved ...
13628         * sysdeps/posix/time.c: ... here.
13629         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13630         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
13632         * sysdeps/unix/nice.c: Moved ...
13633         * sysdeps/posix/nice.c: ... here.
13635         * sysdeps/unix/alarm.c: Moved ...
13636         * sysdeps/posix/alarm.c: ... here.
13638         * intl/Makefile ($(codeset_mo)): Depend on the input file.
13640 2012-08-17  Jeff Law <law@redhat.com>
13642         * intl/Makefile (codeset_mo): New variable.
13643         ($(codeset_mo)): New target.
13644         (tst-codeset.out): Depend on that.  Remove explicit rule.
13645         (tst-gettext3.out, tst-gettext5.out): Likewise.
13646         (LOCPATH-ENV, tst-codeset-ENV): New variables.
13647         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13648         * intl/tst-codeset.sh: Remove.
13649         * intl/tst-gettext3.sh: Likewise.
13650         * intl/tst-gettext5.sh: Likewise.
13652 2012-08-17  Roland McGrath  <roland@hack.frob.com>
13654         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
13655         * sysdeps/unix/syscalls.list: ... here.
13657         * sysdeps/posix/getaddrinfo.c
13658         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13659         (gaiconf_init, gaiconf_reload): Use them.
13660         [!_STATBUF_ST_NSEC]
13661         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13662         Define using time_t rather than struct timespec.
13664         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13665         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13666         Macros removed.
13667         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13668         [!NO_THREADS].
13669         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13670         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13671         Likewise.
13673         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13674         __libc_cleanup_push argument.
13676         * bits/param.h: New file.
13677         * misc/sys/param.h: New file.
13678         * include/sys/param.h: New file.
13679         * misc/Makefile (headers): Add bits/param.h.
13680         * sysdeps/generic/sys/param.h: File removed.
13681         * sysdeps/unix/sysv/linux/bits/param.h: New file.
13682         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13683         * sysdeps/mach/hurd/bits/param.h: New file.
13684         * sysdeps/mach/hurd/sys/param.h: File removed.
13686         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13687         last change.
13689         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13690         [_IO_MTSAFE_IO].
13691         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13692         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13693         New macros.
13695         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13696         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13697         rather than -D_IO_MTSAFE_IO conditionally.
13698         * stdio-common/Makefile (CPPFLAGS): Likewise.
13699         * wcsmbs/Makefile (CPPFLAGS): Likewise.
13700         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13701         Use $(libio-mtsafe).
13702         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13703         of -D_IO_MTSAFE_IO.
13704         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13705         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13706         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13707         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13708         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13709         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13710         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13711         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13712         (CFLAGS-fread_u_chk.c): Likewise.
13713         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13714         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13715         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13716         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13717         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13718         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13719         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13720         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13721         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13723         * libio/Makefile: Test [$(libc-reentrant) = yes]
13724         instead of [$(filter %REENTRANT, $(defines)) nonempty].
13726         * Makeconfig
13727         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13728         * sysdeps/pthread/configure: File removed.
13729         * sysdeps/pthread/Makeconfig: New file.
13730         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13731         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13733 2012-08-16  Gary Benson  <gbenson@redhat.com>
13735         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13736         unmapping the first object in a namespace.
13738 2012-08-16  Roland McGrath  <roland@hack.frob.com>
13740         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13741         (__internal_setnetgrent): ... this.  Add internal_function to
13742         definition.  Add libc_hidden_def.
13743         (setnetgrent): Update caller.
13744         (internal_endnetgrent): Renamed to ...
13745         (__internal_endnetgrent): ... this.  Add internal_function to
13746         definition.  Add libc_hidden_def.
13747         (endnetgrent): Update caller.
13748         (internal_getnetgrent_r): Renamed to ...
13749         (__internal_getnetgrent_r): ... this.  Add internal_function to
13750         definition.  Add libc_hidden_def.
13751         (__getnetgrent_r): Update caller.
13752         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
13754 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
13756         * stdlib/longlong.h: Update from GCC.
13758 2012-08-16  Roland McGrath  <roland@hack.frob.com>
13760         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13761         on _QL, which is set by umul_ppmm but never used.
13762         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13763         variables, which are set by GMP macros but never used.
13764         * stdio-common/_itowa.c (_itowa): Likewise.
13765         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13766         * stdlib/mod_1.c (mpn_mod_1): Likewise.
13768 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
13770         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13771         struct La_sh_regs is not constant.
13772         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13773         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13774         and struct La_sparc64_regs are not constant.
13776 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
13778         * sysdeps/unix/sysv/linux/kernel-features.h
13779         (__ASSUME_POSIX_TIMERS): Remove.
13780         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13781         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13782         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13783         Make code unconditional.
13784         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13785         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13786         Make code unconditional.
13787         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13788         * sysdeps/unix/sysv/linux/clock_nanosleep.c
13789         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13790         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13791         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13792         Make code unconditional.
13793         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13794         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13795         (__libc_missing_posix_timers): Remove.
13797 2012-08-15  Roland McGrath  <roland@hack.frob.com>
13799         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13800         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13802         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13804         * elf/dl-sym.c: Include <stdlib.h>.
13806         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13807         constants, which avoids warnings in 32-bit builds.
13809         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13810         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13812         * misc/lseek.c: File moved to ...
13813         * io/lseek.c: ... here.
13815         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13817         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13818         shifting LEN more than 31 bits at once.
13820 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13822         [BZ #14195]
13823         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13824         segmentation fault for a case of two empty input strings.
13825         * string/test-strncasecmp.c (check1): Renamed to...
13826         (bz12205): ...this.
13827         (bz14195): Add new testcase for two empty input strings and N > 0.
13828         (test_main): Call new testcase, adapt for renamed function.
13830 2012-08-15  Andreas Jaeger  <aj@suse.de>
13832         [BZ #14090]
13833         * crypt/md5test2.c: New test, based on test supplied by Serge
13834         Belyshev <belyshev@depni.sinp.msu.ru>.
13835         * crypt/Makefile (xtests): Add md5test-giant..
13836         * crypt/Makefile ($(objpfx)md5test-giant): Add.
13838 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
13840         [BZ #14090]
13841         * crypt/md5.c (md5_process_block): Don't assume the buffer
13842         length is less than 2**32.
13843         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13844         length is less than 2**64.
13846 2012-08-15  Roland McGrath  <roland@hack.frob.com>
13848         * string/str-two-way.h: Include <sys/param.h>.
13849         (MAX): Macro removed.
13851         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13852         Move #define and #undef of memmove to just before and after
13853         including <string.h>.
13855         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13856         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13857         and after including <string.h>.  Move declarations of
13858         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13859         to before #include "string/memmove.c".
13861         * include/dirent.h: Declare __getdirentries.
13863         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13864         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13866 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
13868         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13869         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13870         * sysdeps/i386/configure: Regenerated.
13871         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13872         STABS_CURRENT_FILE, and STABS_FUN.
13873         (END): Remove call to STABS_FUN_END.
13874         (STABS_CURRENT_FILE1): Delete.
13875         (STABS_CURRENT_FILE): Likewise.
13876         (STABS_FUN): Likewise.
13877         (STABS_FUN_END): Likewise.
13878         (STABS_FUN2): Likewise.
13879         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13880         * sysdeps/x86_64/configure: Regenerated.
13882 2012-08-14  Roland McGrath  <roland@hack.frob.com>
13884         * elf/dl-open.c: Include <atomic.h>.
13885         * elf/dl-lookup.c: Likewise.
13887 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
13889         * sysdeps/unix/sysv/linux/kernel-features.h
13890         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13891         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13892         unconditionally.
13893         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13894         unconditionally.
13895         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13896         condition on __ASSUME_CLONE_THREAD_FLAGS.
13898 2012-08-14  Andreas Jaeger  <aj@suse.de>
13900         * sysdeps/i386/fpu/libm-test-ulps: Update.
13902 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
13904         * include/atomic.h (atomic_exchange_and_add): Split into ...
13905         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13906         New atomic macros.
13908 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
13910         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13912 2012-08-13  Jeff Law <law@redhat.com>
13914         * manual/stdio.texi (snprintf): Clarify handling of the trailing
13915         null byte in the output string.
13917 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
13919         * sysdeps/unix/sysv/linux/kernel-features.h
13920         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13921         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13922         (__ASSUME_ARG_MAX_STACK_BASED): Define.
13923         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13924         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13925         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
13926         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13928 2012-08-09  Jeff Law <law@redhat.com>
13930         [BZ #13939]
13931         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13932         When avoid_arena is set, don't retry in the that arena.  Pick the
13933         next one, whatever it might be.
13934         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13935         (arena_lock): Pass in new parameter to arena_get2.
13936         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13937         arena_get2.
13938         (__libc_malloc): Unify retrying after main arena failure with
13939         __libc_memalign version.
13940         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13942 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13944         [BZ #14166]
13945         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13946         to __redirect_strstr.
13947         (__strstr_sse42): Use typeof __redirect_strstr.
13948         (__strstr_ia32): Likewise.
13949         (__libc_strstr): New prototype.
13950         (strstr): Renamed to ...
13951         (__libc_strstr): This.
13952         (strstr): New strong alias of __libc_strstr.
13953         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13954         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13955         __redirect_time.
13956         Include <time.h>.
13957         (__libc_time): New prototype.
13958         (time_ifunc): Replace time with __libc_time.
13959         (time): New strong alias and hidden definition of __libc_time.
13960         (__GI_time): Remove strong alias.
13961         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13962         Include <stddef.h>.
13963         (memmove): Redefined to __redirect_memmove.
13964         (__memmove_sse2): Use typeof __redirect_memmove.
13965         (__memmove_ssse3): Likewise.
13966         (__memmove_ssse3_back): Likewise.
13967         (__libc_memmove): New prototype.
13968         (memmove): Renamed to ...
13969         (__libc_memmove): This.
13970         (memmove): New strong alias of __libc_memmove.
13972 2012-08-08  Mark Salter  <msalter@redhat.com>
13974         * elf/elf.h
13975         (R_MN10300_TLS_GD): Define.
13976         (R_MN10300_TLS_LD): Likewise.
13977         (R_MN10300_TLS_LDO): Likewise.
13978         (R_MN10300_TLS_GOTIE): Likewise.
13979         (R_MN10300_TLS_IE): Likewise.
13980         (R_MN10300_TLS_LE): Likewise.
13981         (R_MN10300_TLS_DTPMOD): Likewise.
13982         (R_MN10300_TLS_DTPOFF): Likewise.
13983         (R_MN10300_TLS_TPOFF): Likewise.
13984         (R_MN10300_SYM_DIFF): Likewise.
13985         (R_MN10300_ALIGN): Likewise.
13986         (R_MN10300_NUM): Update.
13988 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
13990         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13991         Remove.
13993 2012-08-08  Roland McGrath  <roland@hack.frob.com>
13995         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13997         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13998         sysdeps/unix -> sysdeps/posix move.
13999         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14001 2012-08-07      Allan McRae     <allan@archlinux.org>
14003         [BZ #14303]
14004         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14005         (SUNOS_CPP): Likewise.
14006         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14007         not found.
14008         (open_input): Call CPP using execvp.
14010 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
14012         * sysdeps/unix/sysv/linux/kernel-features.h
14013         (__ASSUME_PROT_GROWSUPDOWN): Remove.
14014         (__ASSUME_NO_CLONE_DETACHED): Likewise.
14015         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14016         (__ASSUME_WAITID_SYSCALL): Likewise.
14017         * sysdeps/unix/sysv/linux/dl-execstack.c
14018         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14019         code unconditional.
14020         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14021         conditional code.
14022         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14023         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14024         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14025         code.
14026         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14027         unconditional.
14028         [__ASSUME_WAITID_SYSCALL]: Likewise.
14029         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14031 2012-08-07  Roland McGrath  <roland@hack.frob.com>
14033         * sysdeps/unix/closedir.c: Renamed to ...
14034         * sysdeps/posix/closedir.c: ... here.
14035         * sysdeps/unix/dirfd.c: Renamed to ...
14036         * sysdeps/posix/dirfd.c: ... here.
14037         * sysdeps/unix/dirstream.h: Renamed to ...
14038         * sysdeps/posix/dirstream.h: ... here.
14039         * sysdeps/unix/fdopendir.c: Renamed to ...
14040         * sysdeps/posix/fdopendir.c: ... here.
14041         * sysdeps/unix/opendir.c: Renamed to ...
14042         * sysdeps/posix/opendir.c: ... here.
14043         * sysdeps/unix/readdir.c: Renamed to ...
14044         * sysdeps/posix/readdir.c: ... here.
14045         * sysdeps/unix/readdir_r.c: Renamed to ...
14046         * sysdeps/posix/readdir_r.c: ... here.
14047         * sysdeps/unix/rewinddir.c: Renamed to ...
14048         * sysdeps/posix/rewinddir.c: ... here.
14049         * sysdeps/unix/seekdir.c: Renamed to ...
14050         * sysdeps/posix/seekdir.c: ... here.
14051         * sysdeps/unix/telldir.c: Renamed to ...
14052         * sysdeps/posix/telldir.c: ... here.
14053         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14054         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14055         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14056         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14058         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14059         * bits/fcntl.h: ... here.
14061         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14062         not 0.
14063         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14064         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14065         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14066         (struct flock): Move l_start, l_len to the beginning.
14067         Use __pid_t for l_pid.
14068         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14069         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14070         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14071         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14072         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14073         [__USE_LARGEFILE64] (struct flock64): New type.
14074         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14076         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14077         * bits/dirent.h: ... here.
14079         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14080         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14082 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
14084         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14085         Change from 2.6.0 to 2.6.16.
14086         * sysdeps/unix/sysv/linux/configure: Regenerated.
14087         * sysdeps/unix/sysv/linux/kernel-features.h
14088         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14089         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14090         version.
14091         (__ASSUME_UTIMES): Likewise.
14092         (__ASSUME_CLONE_STOPPED): Remove.
14093         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14094         architectures, not kernel version.
14095         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14096         (__ASSUME_NO_CLONE_DETACHED): Likewise.
14097         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14098         (__ASSUME_WAITID_SYSCALL): Likewise.
14099         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14100         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14101         * README: State 2.6.16 as minimum Linux kernel version.  Do not
14102         refer to older versions.
14104 2012-08-06  Roland McGrath  <roland@hack.frob.com>
14106         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14107         Define alphasort64 as an alias.
14108         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14109         Define versionsort64 as an alias.
14110         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14111         Define scandir64 as an alias.
14112         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14113         Define scandirat64 as an alias.
14114         * dirent/alphasort64.c (alphasort64):
14115         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14116         * dirent/versionsort64.c: Likewise.
14117         * dirent/scandir64.c: Likewise.
14118         * dirent/scandirat64.c: Likewise.
14119         * sysdeps/wordsize-64/alphasort.c: File removed.
14120         * sysdeps/wordsize-64/alphasort64.c: File removed.
14121         * sysdeps/wordsize-64/scandir.c: File removed.
14122         * sysdeps/wordsize-64/scandir64.c: File removed.
14123         * sysdeps/wordsize-64/scandirat.c: File removed.
14124         * sysdeps/wordsize-64/scandirat64.c: File removed.
14125         * sysdeps/wordsize-64/versionsort.c: File removed.
14126         * sysdeps/wordsize-64/versionsort64.c: File removed.
14127         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14128         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14129         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14130         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14131         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14132         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14133         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14134         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14136         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14137         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14138         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14139         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14140         [defined __arch64__ || defined __sparcv9]
14141         (__INO_T_MATCHES_INO64_T): New macro.
14142         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14143         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14144         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14145         * sysdeps/unix/sysv/linux/bits/dirent.h
14146         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14147         (_DIRENT_MATCHES_DIRENT64): New macro.
14149         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14150         Define lockf64 as an alias.
14151         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14152         Define fseeko64 as an alias.
14153         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14154         Define ftello64 as an alias.
14155         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14156         Define _IO_fgetpos64 and fgetpos64 as aliases.
14157         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14158         Define _IO_fsetpos64 and fsetpos64 as aliases.
14159         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14160         Conditionalize body on this.
14161         * libio/fseeko64.c: Likewise.
14162         * libio/ftello64.c: Likewise.
14163         * libio/iofgetpos64.c: Likewise.
14164         * libio/iofsetpos64.c: Likewise.
14165         * sysdeps/wordsize-64/lockf.c: File removed.
14166         * sysdeps/wordsize-64/lockf64.c: File removed.
14167         * sysdeps/wordsize-64/fseeko.c: File removed.
14168         * sysdeps/wordsize-64/fseeko64.c: File removed.
14169         * sysdeps/wordsize-64/ftello.c: File removed.
14170         * sysdeps/wordsize-64/ftello64.c: File removed.
14171         * sysdeps/wordsize-64/iofgetpos.c: File removed.
14172         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14173         * sysdeps/wordsize-64/iofsetpos.c: File removed.
14174         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14175         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14176         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14177         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14178         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14179         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14180         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14181         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14182         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14183         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14184         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14186         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14187         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14188         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14189         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14190         [defined __arch64__ || defined __sparcv9]
14191         (__OFF_T_MATCHES_OFF64_T): New macro.
14192         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14193         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14194         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14195         (__OFF_T_MATCHES_OFF64_T): New macro.
14197 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
14199         * stdlib/secure-getenv.c (__secure_getenv): Replace
14200         GLIBC_2_16 with GLIBC_2_17.
14202 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
14204         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14205         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14207 2012-08-03  David S. Miller  <davem@davemloft.net>
14209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14211 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
14213         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14214         Remove.
14215         (__ASSUME_CORRECT_SI_PID): Likewise.
14216         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14217         (__ASSUME_TMPFS_NAME): Likewise.
14218         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14219         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14220         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14221         (HAVE_AUX_SECURE): Make definition unconditional.
14222         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14223         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14225 2012-08-03  Roland McGrath  <roland@hack.frob.com>
14227         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14228         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14229         * sysdeps/mach/hurd/eloop-threshold.h: New file.
14230         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14231         __eloop_threshold instead of SYMLOOP_MAX.
14233         * sysdeps/generic/eloop-threshold.h: New file.
14234         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14235         of MAXSYMLINKS.
14236         * elf/chroot_canon.c (chroot_canon): Likewise.
14238 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
14240         [BZ #13717]
14241         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14242         Change to 2.6.0 everywhere.
14243         * sysdeps/unix/sysv/linux/configure: Regenerated.
14244         * sysdeps/unix/sysv/linux/kernel-features.h
14245         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14246         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14247         kernel versions.
14248         (__ASSUME_POSIX_TIMERS): Define unconditionally.
14249         (__ASSUME_FUTEX_REQUEUE): Remove.
14250         (__ASSUME_STATFS64): Define unconditionally.
14251         (__ASSUME_AT_SECURE): Likewise.
14252         (__ASSUME_CORRECT_SI_PID): Likewise.
14253         (__ASSUME_TGKILL): Define without depending on kernel version for
14254         i386.
14255         (__ASSUME_UTIMES): Likewise.
14256         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14257         kernel version.
14258         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14259         (__ASSUME_TMPFS_NAME): Likewise.
14260         * README: Update reference to Linux kernel versions.
14262 2012-08-02  Marek Polacek  <polacek@redhat.com>
14264         [BZ# 14150]
14265         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
14266         libc_cv_asm_type_prefix with %.
14267         * configure: Regenerated.
14268         * include/libc-symbols.h: Remove comment about
14269         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14270         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14271         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14272         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14273         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14274         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14275         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14276         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14277         * elf/tst-unique2mod1.c: Likewise.
14278         * elf/tst-unique1mod2.c: Likewise.
14279         * elf/tst-unique1mod1.c: Likewise.
14280         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14281         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14282         Replace ASM_TYPE_DIRECTIVE with .type.
14283         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14284         * sysdeps/i386/sysdep.h: Likewise.
14285         * sysdeps/x86_64/sysdep.h: Likewise.
14286         * sysdeps/sh/sysdep.h: Likewise.
14287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14288         Do not define ASM_TYPE_DIRECTIVE.
14289         * sysdeps/powerpc/sysdep.h: Likewise.
14290         * sysdeps/powerpc/powerpc32/sysdep.h:
14291         Replace ASM_TYPE_DIRECTIVE with .type.
14292         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14293         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14294         * sysdeps/i386/fpu/e_powf.S: Likewise.
14295         * sysdeps/i386/fpu/e_expl.S: Likewise.
14296         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14297         * sysdeps/i386/fpu/e_acosh.S: Likewise.
14298         * sysdeps/i386/fpu/e_pow.S: Likewise.
14299         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14300         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14301         * sysdeps/i386/fpu/s_expm1.S: Likewise.
14302         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14303         * sysdeps/i386/fpu/e_log2.S: Likewise.
14304         * sysdeps/i386/fpu/e_log2l.S: Likewise.
14305         * sysdeps/i386/fpu/e_scalb.S: Likewise.
14306         * sysdeps/i386/fpu/e_powl.S: Likewise.
14307         * sysdeps/i386/fpu/e_log10f.S: Likewise.
14308         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14309         * sysdeps/i386/fpu/e_logl.S: Likewise.
14310         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14311         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14312         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14313         * sysdeps/i386/fpu/e_log2f.S: Likewise.
14314         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14315         * sysdeps/i386/fpu/e_log.S: Likewise.
14316         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14317         * sysdeps/i386/fpu/e_logf.S: Likewise.
14318         * sysdeps/i386/fpu/e_log10l.S: Likewise.
14319         * sysdeps/i386/fpu/e_atanh.S: Likewise.
14320         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14321         * sysdeps/i386/fpu/e_log10.S: Likewise.
14322         * sysdeps/i386/fpu/s_frexp.S: Likewise.
14323         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14324         * sysdeps/i386/fpu/s_asinh.S: Likewise.
14325         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14326         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14327         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14328         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14329         * sysdeps/i386/i686/strtok.S: Likewise.
14330         * sysdeps/i386/i386-mcount.S: Likewise.
14331         * sysdeps/i386/strtok.S: Likewise.
14332         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14333         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14334         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14335         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14336         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14337         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14338         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14339         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14340         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14341         * sysdeps/x86_64/_mcount.S: Likewise.
14342         * sysdeps/x86_64/strtok.S: Likewise.
14343         * sysdeps/sh/_mcount.S: Likewise.
14345 2012-08-01  Roland McGrath  <roland@hack.frob.com>
14347         * libio/iofopen.c: Include <fcntl.h>.
14348         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14349         (_IO_fopen64, fopen64): Define as aliases.
14350         * libio/iofopen64.c: Include <fcntl.h>.
14351         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14352         Conditionalize body on this.
14353         * sysdeps/wordsize-64/iofopen.c: File removed.
14354         * sysdeps/wordsize-64/iofopen64.c: File removed.
14356 2012-08-01  Marek Polacek  <polacek@redhat.com>
14358         * libc/Makeconfig: Use elf in place of binfmt-subdir.
14359         Use dlfcn directly instead of a variable.
14360         (binfmt-subdir): Do not define.
14361         (dlfcn): Likewise.
14363 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
14365         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14366         Remove all definitions.
14367         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14368         <kernel-features.h>.
14369         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14370         (miss_F_GETOWN_EX): Remove all definitions.
14371         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14372         macro definition.
14373         [!__ASSUME_FCNTL64]: Remove conditional code.
14374         [__ASSUME_FCNTL64]: Make code unconditional.
14375         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14376         <kernel-features.h>.
14377         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14378         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14379         (lockf64) [__NR_fcntl64]: Make code unconditional.
14380         (lockf64) [__ASSUME_FCNTL64]: Likewise.
14382         * sysdeps/unix/sysv/linux/kernel-features.h
14383         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14384         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14385         Make code unconditional.
14386         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14387         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14389         [__NR_vfork]: Make code unconditional.
14390         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14391         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14393         [__NR_vfork]: Make code unconditional.
14394         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14395         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14397 2012-08-01  Roland McGrath  <roland@hack.frob.com>
14399         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14400         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14402         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14403         Define mkstemp64 as an alias.
14404         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14405         Define mkstemps64 as an alias.
14406         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14407         Define mkostemp64 as an alias.
14408         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14409         Define mkostemps64 as an alias.
14410         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14411         Conditionalize body on this.
14412         * misc/mkostemp64.c: Likewise.
14413         * misc/mkostemps64.c: Likewise.
14414         * misc/mkstemps64.c: Likewise.
14415         * sysdeps/wordsize-64/mkstemp64.c: File removed.
14416         * sysdeps/wordsize-64/mkostemp64.c: File removed.
14417         * sysdeps/wordsize-64/mkostemp.c: File removed.
14418         * sysdeps/wordsize-64/mkstemp.c: File removed.
14419         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14420         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14421         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14422         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14424         [BZ #14138]
14425         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14426         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14427         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14428         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14430         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14431         compat_symbol macros from <shlib-compat.h> rather than the underlying
14432         default_symbol_version and symbol_version macros, so that DEFAULT
14433         lines in shlib-versions are respected.
14434         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14436 2012-08-01  Florian Weimer  <fweimer@redhat.com>
14438         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14439         Declare with warn_unused_result.
14440         (setgid, setregid, setegid, setresgid): Likewise.
14441         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14442         Likewise.
14443         * WUR-REPORT: Remove set*id functions.
14445 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
14447         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14449 2012-07-31  Roland McGrath  <roland@hack.frob.com>
14451         [BZ #10191]
14452         * include/sys/socket.h (__libc_accept, __libc_accept4):
14453         Add attribute_hidden.
14454         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14456         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14457         use of PTR_MANGLE.
14458         * inet/getnetgrent_r.c (setup): Likewise.
14460         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14462 2012-07-31  David S. Miller  <davem@davemloft.net>
14464         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14466 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
14468         [BZ #13629]
14469         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14470         value between 1.0 and 2.0 and smaller part has absolute value less
14471         than 1.0.
14472         * math/s_clog10.c (__clog10): Likewise.
14473         * math/s_clog10f.c (__clog10f): Likewise.
14474         * math/s_clog10l.c (__clog10l): Likewise.
14475         * math/s_clogf.c (__clogf): Likewise.
14476         * math/s_clogl.c (__clogl): Likewise.
14477         * math/libm-test.inc (clog_test): Add more tests.
14478         (clog10_test): Likewise.
14479         * sysdeps/i386/fpu/libm-test-ulps: Update.
14480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14482 2012-07-31  Florian Weimer  <fweimer@redhat.com>
14484         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14485         Exit with zero in case no suitable GID is found, and write a
14486         message to standard error.
14488 2012-07-30  Roland McGrath  <roland@hack.frob.com>
14490         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14491         rather than to 1.
14492         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14493         (MAXPATHLEN): Removed.
14494         (NOGROUP, NODEV): New macros.
14495         (setbit, clrbit, isset, isclr): New macros.
14496         (howmany, roundup, powerof2): New macros.
14497         (DEV_BSIZE): New macro.
14499         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14500         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14502         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14503         definition on [!__NO_LONG_DOUBLE_MATH].
14505         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14506         PTR_MANGLE and PTR_DEMANGLE.
14508         * socket/accept4.c (accept4): Rename to __libc_accept4.
14509         Define accept4 as a weak alias.
14511         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14512         on [_DIRENT_HAVE_D_TYPE].
14513         * io/ftw.c (ftw_dir): Likewise.
14515         * io/xmknod.c (__xmknod): Don't check PATH for being null.
14517         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14519         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14520         Use the BSD numbers rather than the arbitrary ones we had.
14521         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14522         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14523         (SIGXCPU, SIGXFSZ): New macros.
14524         (_NSIG): Now 32.
14526         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14527         initializer on [_LIBC_REENTRANT].
14529         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14530         definitions inside [_POSIX_MAPPED_FILES].
14532         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14534         * dirent/opendir.c: Include <fcntl.h>.
14536         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14537         (__libc_getspecific): Likewise.
14538         (__libc_key_create): Likewise.
14540         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14541         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14542         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14543         (tmpfile64): Define as alias.
14544         * sysdeps/wordsize-64/tmpfile.c: File removed.
14545         * sysdeps/wordsize-64/tmpfile64.c: File removed.
14546         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14547         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14549         * stdio-common/vfscanf.c: Include <stdbool.h>.
14550         * nss/makedb.c: Likewise.
14551         * stdio-common/_i18n_number.h: Likewise.
14552         * argp/argp-help.c: Likewise.
14553         * posix/wordexp.c: Likewise.
14554         * sysdeps/posix/spawni.c: Likewise.
14555         * nss/nss_files/files-initgroups.c: Likewise.
14556         * stdio-common/reg-modifier.c: Include <stdlib.h>.
14557         * nss/nss_files/files-initgroups.c: Likewise.
14558         * nss/nss_db/db-netgrp.c: Likewise.
14559         * nss/nss_db/db-initgroups.c: Likewise.
14560         * io/fchmodat.c: Include <sys/stat.h>.
14562         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14563         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14565         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14566         [HAVE_MMAP].
14568         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14569         Add multiple inclusion protection.
14571 2012-07-27  David S. Miller  <davem@davemloft.net>
14573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14575 2012-07-27  Gary Benson  <gbenson@redhat.com>
14577         [BZ #14298]
14578         * elf/rtld.c: Include <stap-probe.h>.
14579         (dl_main): Added static probes "init_start" and "init_complete".
14580         * elf/dl-load.c: Include <stap-probe.h>.
14581         (lose): Take new parameter "nsid".
14582         Added static probe "map_failed".
14583         (_dl_map_object_from_fd): Pass namespace id to lose.
14584         Added static probe "map_start".
14585         (open_verify): Pass namespace id to lose.
14586         * elf/dl-open.c: Include <stap-probe.h>.
14587         (dl_open_worker) Added static probes "map_complete", "reloc_start"
14588         and "reloc_complete".
14589         * elf/dl-close.c: Include <stap-probe.h>.
14590         (_dl_close_worker): Added static probes "unmap_start" and
14591         "unmap_complete".
14592         * elf/rtld-debugger-interface.txt: New file documenting the above.
14594 2012-07-26  Roland McGrath  <roland@hack.frob.com>
14596         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14597         rather than a string variable.
14598         * sunrpc/rpc_main.c (h_output): Likewise.
14599         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14601 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
14603         * inet/check_native.c: New file.
14605 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
14607         [BZ #13629]
14608         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14609         if larger part has absolute value 1.0.
14610         * math/s_clog10.c (__clog10): Likewise.
14611         * math/s_clog10f.c (__clog10f): Likewise.
14612         * math/s_clog10l.c (__clog10l): Likewise.
14613         * math/s_clogf.c (__clogf): Likewise.
14614         * math/s_clogl.c (__clogl): Likewise.
14615         * math/libm-test.inc (clog_test): Add more tests.
14616         (clog10_test): Likewise.
14617         * sysdeps/i386/fpu/libm-test-ulps: Update.
14618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14620         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14621         (pltexit): Likewise.
14622         (La_regs): Likewise.
14623         (La_retval): Likewise.
14624         (int_retval): Likewise.
14625         Update #error for removed macros to refer only to definitions in
14626         tst-audit.h.
14627         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14628         macro.
14629         (pltexit): Likewise.
14630         (La_regs): Likewise.
14631         (La_retval): Likewise.
14632         (int_retval): Likewise.
14633         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14634         macro.
14635         (pltexit): Likewise.
14636         (La_regs): Likewise.
14637         (La_retval): Likewise.
14638         (int_retval): Likewise.
14639         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14640         macro.
14641         (pltexit): Likewise.
14642         (La_regs): Likewise.
14643         (La_retval): Likewise.
14644         (int_retval): Likewise.
14645         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14646         macro.
14647         (pltexit): Likewise.
14648         (La_regs): Likewise.
14649         (La_retval): Likewise.
14650         (int_retval): Likewise.
14651         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14652         macro.
14653         (pltexit): Likewise.
14654         (La_regs): Likewise.
14655         (La_retval): Likewise.
14656         (int_retval): Likewise.
14657         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14658         macro.
14659         (pltexit): Likewise.
14660         (La_regs): Likewise.
14661         (La_retval): Likewise.
14662         (int_retval): Likewise.
14663         * sysdeps/generic/tst-audit.h: Update comment to refer only to
14664         macro definitions in tst-audit.h.
14665         * sysdeps/i386/tst-audit.h: New file.
14666         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14667         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14668         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14669         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14670         * sysdeps/sh/tst-audit.h: Likewise.
14671         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14672         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14673         * sysdeps/x86_64/tst-audit.h: Likewise.
14675 2012-07-26  Andreas Jaeger  <aj@suse.de>
14677         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14678         ptrace.
14680         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14681         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14682         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14683         PTRACE_O_MASK.
14684         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14685         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14686         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14688         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14689         value.
14691         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14692         _sigsys.
14693         (si_call_addr, si_syscall, si_arch): Define new macro.
14694         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14695         _sigsys.
14696         (si_call_addr, si_syscall, si_arch): Define new marcro.
14697         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14698         _sigsys.
14699         (si_call_addr, si_syscall, si_arch): Define new macro.
14700         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14701         _sigsys.
14702         (si_call_addr, si_syscall, si_arch): Define new macro.
14704 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
14706         [BZ #13717]
14707         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14708         Change to 2.4.21 where previously 2.4.1.
14709         * sysdeps/unix/sysv/linux/configure: Regenerated.
14710         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14711         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14712         Linux kernel version.
14713         (__ASSUME_STD_AUXV): Remove.
14714         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14715         kernel version.
14716         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14717         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14718         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14719         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14720         (__ASSUME_NETLINK_SUPPORT): Likewise.
14721         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14722         (__no_netlink_support): Remove conditional definition.
14723         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14724         Remove.
14725         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14726         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14727         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14728         (if_nameindex_ioctl): Remove.
14729         (if_nameindex_netlink): Do not handle __no_netlink_support.
14730         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14731         code.
14732         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14733         Remove conditional code.
14734         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14735         code.
14736         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14737         unconditional.
14738         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14739         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14740         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14741         Remove.
14742         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14743         [!__ASSUME_STD_AUXV]: Remove conditional code.
14744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14745         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14746         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14748         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14749         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14750         code.
14751         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14753         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14754         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14755         conditional code.
14756         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14758         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14759         code.
14760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14761         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14762         conditional code.
14763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14764         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14765         code unconditional.
14766         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14767         conditional code.
14768         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14769         unconditional.
14770         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14771         conditional code.
14772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14773         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14774         unconditional.
14775         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14776         conditional code.
14777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14778         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14779         code unconditional.
14780         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14781         conditional code.
14782         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14783         unconditional.
14784         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14785         conditional code.
14786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14787         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14788         code unconditional.
14789         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14790         conditional code.
14791         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14792         unconditional.
14793         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14794         conditional code.
14796 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
14798         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14799         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14800         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14801         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14802         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14803         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14804         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14805         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14806         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14807         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14808         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14809         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14810         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14811         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14812         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14813         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14814         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14815         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14816         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14817         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14818         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14819         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14820         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14822 2012-07-25  Florian Weimer  <fweimer@redhat.com>
14824         * Versions.def: Add GLIBC_2.17.
14825         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14826         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14827         Introduce __libc_secure_getenv.
14828         * stdlib/Versions (2.17): Add secure_getenv
14829         (GLIBC_PRIVATE): Add __libc_secure_getenv.
14830         * stdlib/secure-getenv.c: Rename __secure_getenv to
14831         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
14832         symbol __secure_getenv for GLIBC_2.0.
14833         * stdlib/tst-secure-getenv.c: New.
14834         * stdlib/Makefile (tests): Add testcase.
14835         * manual/startup.texi (Environment Access): Document
14836         secure_getenv.
14837         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14838         __libc_secure_getenv.
14839         * inet/ruserpass.c (ruserpass): Likewise.
14840         * malloc/mtrace.c (mtrace): Likewise.
14841         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
14842         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14843         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14844         * sysdeps/posix/tempname.c: Likewise.  Evaluate
14845         HAVE_SECURE_GETENV.
14846         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
14847         __secure_getenv to __libc_secure_getenv.
14848         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
14849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14850         Likewise.
14851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14852         Likewise.
14853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14855         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14856         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14857         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14858         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14859         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14861 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
14863         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14864         (struct La_i86_retval): Likewise.
14865         (struct La_x86_64_regs): Likewise.
14866         (struct La_x86_64_retval): Likewise.
14867         (struct La_x32_regs): Likewise.
14868         (struct La_x32_retval): Likewise.
14869         (struct La_ppc32_regs): Likewise.
14870         (struct La_ppc32_retval): Likewise.
14871         (struct La_ppc64_regs): Likewise.
14872         (struct La_ppc64_retval): Likewise.
14873         (struct La_sh_regs): Likewise.
14874         (struct La_sh_retval): Likewise.
14875         (struct La_s390_32_regs): Likewise.
14876         (struct La_s390_32_retval): Likewise.
14877         (struct La_s390_64_regs): Likewise.
14878         (struct La_s390_64_retval): Likewise.
14879         (struct La_sparc32_regs): Likewise.
14880         (struct La_sparc32_retval): Likewise.
14881         (struct La_sparc64_regs): Likewise.
14882         (struct La_sparc64_retval): Likewise.
14883         (struct audit_ifaces): Remove architecture-specific pltenter and
14884         pltexit members.
14885         * sysdeps/i386/ldsodefs.h: New file.
14886         * sysdeps/powerpc/ldsodefs.h: Likewise.
14887         * sysdeps/s390/ldsodefs.h: Likewise.
14888         * sysdeps/sh/ldsodefs.h: Likewise.
14889         * sysdeps/sparc/ldsodefs.h: Likewise.
14890         * sysdeps/x86_64/ldsodefs.h: Likewise.
14892 2012-07-25  Marek Polacek  <polacek@redhat.com>
14894         [BZ #6808]
14895         * math/libm-test.inc (yn_test): Add another test.
14896         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14897         to ERANGE when the result is +-Inf.
14898         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14899         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14900         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14901         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14903 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
14905         * conform/data/time.h-data (NULL): Use macro-constant.  Require
14906         equal to 0.
14907         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
14908         clock_t.
14909         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
14911 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
14913         * configure.in <sysdeps resolving>: Correct printing
14914         Implies_before.
14915         * configure: Regenerate.
14917 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
14919         * math/w_ilogb.c: Include <limits.h>.
14920         * math/w_ilogbl.c: Likewise.
14922 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
14924         * manual/lang.texi (__va_copy): Document primarily as ISO C99
14925         va_copy.  Document allowing for unavailable va_copy only as
14926         pre-C99 compatibility.
14927         * manual/string.texi (Copying and Concatenation): Use va_copy
14928         instead of __va_copy in concat example.
14930 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
14932         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14933         (__sendto): Use create_address_port.  Initialize APORT and deallocate
14934         it if not null.
14936         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14937         with O_NOLINK passed to __file_name_lookup.
14939         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14940         with O_NOLINK passed to __file_name_lookup.
14942         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14943         negative N or less than NGIDS.
14945         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14946         type to string_t.  Set ERANGE as errno and return it if NAME is not big
14947         enough.  Use memcpy instead of strncpy.
14949 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
14951         * elf/Makefile (check-data): Remove.
14952         (localplt.data): New vpath directive.
14953         ($(objpfx)check-localplt.out): Use localplt.data from vpath
14954         instead of $(check-data).
14955         * scripts/data/localplt-generic.data: Move to ...
14956         * sysdeps/generic/localplt.data: ... here.
14957         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14958         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14959         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14961         ... here.
14962         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14964         ... here.
14965         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14967         ... here.
14968         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14970         ... here.
14971         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14973         ... here.
14974         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14975         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14976         ... here.
14978 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14980         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14981         PPC32 and PPC64 files.
14982         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14983         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14985 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14987         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14988         __makecontext_ret to ...
14989         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14990         ... here and call exit if uc_link is NULL.  New file.
14991         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14992         __makecontext_ret.S.
14993         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14994         __makecontext_ret to ...
14995         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14996         ... here and call exit if uc_link is NULL.  New file.
14997         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14998         __makecontext_ret.S.
15000 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15002         * elf/elf.h (R_390_IRELATIVE): New definition.
15003         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15004         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
15005         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15006         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15007         (elf_machine_lazy_rel): Likewise.
15008         * sysdeps/s390/dl-irel.h: New file.
15009         * sysdeps/s390/s390-64/memcpy.S: New asm code.
15010         * sysdeps/s390/s390-64/memset.S: New asm code.
15011         * sysdeps/s390/s390-64/memcmp.S: New asm code.
15012         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15013         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15014         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15015         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15016         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15017         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15018         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15019         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15020         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15021         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15022         * sysdeps/s390/s390-32/memcpy.S: New asm code.
15023         * sysdeps/s390/s390-32/memset.S: New asm code.
15024         * sysdeps/s390/s390-32/memcmp.S: New asm code.
15026 2012-07-17  Marek Polacek  <polacek@redhat.com>
15028         [BZ #14349]
15029         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15030         * sysdeps/s390/s390-64/configure.in: Likewise.
15031         * sysdeps/sparc/configure.in: Likewise.
15032         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15033         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15034         * sysdeps/i386/configure.in: Likewise.
15035         * sysdeps/x86_64/configure.in: Likewise.
15036         * sysdeps/sh/configure.in: Likewise.
15037         * sysdeps/s390/s390-32/configure: Regenerated.
15038         * sysdeps/s390/s390-64/configure: Likewise.
15039         * sysdeps/x86_64/configure: Likewise.
15040         * sysdeps/sh/configure: Likewise.
15041         * sysdeps/powerpc/powerpc64/configure: Likewise.
15042         * sysdeps/powerpc/powerpc32/configure: Likewise.
15043         * sysdeps/sparc/configure: Likwise.
15044         * sysdeps/i386/configure: Likewise.
15046         * elf/dl-open.c: Comment fixes.
15048 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
15050         * Makefile [CXX] (check-data): Remove.
15051         [CXX] (c++-types.data): New vpath directive.
15052         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15053         vpath.  Do not allow for C++ type data being missing.
15054         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15055         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15056         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15057         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15058         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15059         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15060         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15062         ... here.
15063         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15065         ... here.
15066         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15068         ... here.
15069         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15071         ... here.
15072         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15074         ... here.
15075         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15077         ... here.
15078         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15079         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15080         ... here.
15081         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15084         * elf/tls-macros.h (TLS_LE): Move architecture-specific
15085         definitions to architecture-specific files.
15086         (TLS_IE): Likewise.
15087         (TLS_LD): Likewise.
15088         (TLS_GD): Likewise.
15089         * sysdeps/i386/tls-macros.h: New file.
15090         * sysdeps/powerpc/tls-macros.h: Likewise.
15091         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15092         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15093         * sysdeps/sh/tls-macros.h: Likewise.
15094         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15095         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15096         * sysdeps/x86_64/tls-macros.h: Likewise.
15098 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
15100         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15101         zero value for regular exit case.
15103         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15104         (__start_context): Preserve zero value for regular exit case.
15106 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
15107             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15109         * manual/setjmp.texi (setcontext): Clarify normal process
15110         termination when uc_link is the null pointer.
15111         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15112         exit call.
15114 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
15116         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15117         preprocessor.  Test for each exception mask separately.
15119 2012-07-16  Andreas Jaeger  <aj@suse.de>
15121         * po/ru.po: Update from translation team.
15123 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
15125         * conform/data/string.h-data (NULL): Use macro-constant.  Require
15126         equal to 0.
15127         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15128         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15129         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15130         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15131         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15133 2012-07-13  Andreas Jaeger  <aj@suse.de>
15135         * po/fr.po: Update from translation team.
15137 2012-07-12  Marek Polacek  <polacek@redhat.com>
15139         [BZ #14173]
15140         * math/libm-test.inc (yn_test): Add test for BZ #14173.
15141         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15142         loop condition.
15144 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
15146         [BZ #13717]
15147         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15148         Change to 2.4.1 where previously 2.4.0.
15149         * sysdeps/unix/sysv/linux/configure: Regenerated.
15150         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15151         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15152         version.
15153         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15154         (__ASSUME_AT_CLKTCK): Remove.
15155         (__ASSUME_AT_PAGESIZE): Likewise.
15156         (__ASSUME_AT_XID): Likewise.
15157         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15158         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15159         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15160         unconditionally.
15161         (HAVE_AUX_PAGESIZE): Likewise.
15162         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15163         [__ASSUME_AT_CLKTCK]: Make code unconditional.
15164         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15166 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
15168         [BZ #14307]
15169         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15170         the temporary buffer used to invoke __gethostbyname2_r,
15171         __gethostbyaddr_r and gethostbyname4_r to make room for struct
15172         host_data / struct gaih_addrtuple.
15173         * resolv/nss_dns/dns-host.c (global scope): Move definition of
15174         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15175         header file nss/nsswitch.h.
15176         * nss/nsswitch.h (global scope): Add definition of implementation
15177         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15178         resolv/nss_dns/dns-host.c).
15180 2012-07-11  Andreas Jaeger  <aj@suse.de>
15182         * po/fr.po: Update from translation team.
15184         * po/sv.po: Update from translation team
15185         * po/fr.po: Another update from translation team.
15187 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15189         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15190         for subnormals or multiply small sinh result by itself.
15191         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15194 2012-07-11  David S. Miller  <davem@davemloft.net>
15196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15198 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
15200         [BZ #14347]
15201         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15202         (INTERNAL_MARK): Shift it here.
15204 2012-07-10  Marek Polacek  <polacek@redhat.com>
15206         [BZ #14151]
15207         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
15208         libc_cv_asm_global_directive with .globl.
15209         * configure: Regenerated.
15210         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15211         with .globl.
15212         * sysdeps/i386/configure: Regenerated.
15213         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15214         with .globl.
15215         * sysdeps/x86_64/configure: Regenerated.
15216         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15217         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15218         * elf/tst-unique2mod2.c: Likewise.
15219         * elf/tst-unique2mod1.c: Likewise.
15220         * elf/tst-unique1mod2.c: Likewise.
15221         * elf/tst-unique1mod1.c: Likewise.
15222         * sysdeps/s390/s390-32/sysdep.h: Likewise.
15223         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15224         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15225         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15226         * sysdeps/mach/sysdep.h: Likewise.
15227         * sysdeps/i386/sysdep.h: Likewise.
15228         * sysdeps/i386/i386-mcount.S: Likewise.
15229         * sysdeps/x86_64/_mcount.S: Likewise.
15230         * sysdeps/x86_64/sysdep.h: Likewise.
15231         * sysdeps/sh/_mcount.S: Likewise.
15232         * sysdeps/sh/sysdep.h: Likewise.
15233         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15234         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15235         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15236         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15237         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15238         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15239         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15240         * locale/localeinfo.h: Likewise.
15241         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15242         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15244 2012-07-09  Roland McGrath  <roland@hack.frob.com>
15246         [BZ #14336]
15247         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15248         system".
15249         * manual/message.texi (The Uniforum approach): Likewise.
15250         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15251         (glibc iconv Implementation): Likewise.
15253 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
15255         [BZ #14337]
15256         * math/s_clog.c (__clog): Avoid scaling a value down where that
15257         could result in underflow.
15258         * math/s_clog10.c (__clog10): Likewise.
15259         * math/s_clog10f.c (__clog10f): Likewise.
15260         * math/s_clog10l.c (__clog10l): Likewise.
15261         * math/s_clogf.c (__clogf): Likewise.
15262         * math/s_clogl.c (__clogl): Likewise.
15263         * math/libm-test.inc (clog_test): Add more tests.
15264         (clog10_test): Likewise.
15265         * sysdeps/i386/fpu/libm-test-ulps: Update.
15266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15268 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
15270         [BZ #14283]
15271         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15272         by 7 not 8 to examine high bit of fractional part.
15274         [BZ #14042]
15275         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15276         for call to __mcount_internal.
15277         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15278         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15279         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15281 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
15283         [BZ #14154]
15284         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15285         approximation for values within 0x1p-13f of an odd multiple of
15286         pi/4.
15287         * math/libm-test.inc (tan_test): Do not allow spurious underflow
15288         exception.  Add more tests.
15289         * sysdeps/i386/fpu/libm-test-ulps: Update.
15291         [BZ #6778]
15292         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15293         inputs and return -1 for them.  Do not check for +Inf in case not
15294         reachable for +Inf.
15295         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15296         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15297         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15298         and return -1 for them.  Do not check for +Inf in case not
15299         reachable for +Inf.
15300         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15301         define.
15302         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15303         and return -1 for them.  Do not check for +Inf in case not
15304         reachable for +Inf.
15305         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
15306         spurious underflow.
15307         * sysdeps/i386/fpu/libm-test-ulps: Update.
15308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15310 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
15312         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15314 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
15316         [BZ #14157]
15317         [BZ #14331]
15318         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15319         could result in spurious underflow.  Scale down values above
15320         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15321         * math/s_csqrtf.c (__csqrtf): Likewise.
15322         * math/s_csqrtl.c (__csqrtl): Likewise.
15323         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
15324         spurious underflow.
15325         * sysdeps/i386/fpu/libm-test-ulps: Update.
15326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15328 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
15330         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15331         xopen-msg.sed.
15332         * catgets/xopen-msg.awk: New file.
15333         * catgets/xopen-msg.sed: Removed.
15335         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15336         po2text.sed.
15337         * intl/po2test.awk: New file.
15338         * intl/po2test.sed: Removed.
15340 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
15342         [BZ #14328]
15343         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15344         or multiply small sinh result by itself.
15345         * math/s_ctanf.c (__ctanf): Likewise.
15346         * math/s_ctanh.c (__ctanh): Likewise.
15347         * math/s_ctanhf.c (__ctanhf): Likewise.
15348         * math/s_ctanhl.c (__ctanhl): Likewise.
15349         * math/s_ctanl.c (__ctanl): Likewise.
15350         * math/libm-test.inc (ctan_test_tonearest): New function.
15351         (ctan_test_towardzero): Likewise.
15352         (ctan_test_downward): Likewise.
15353         (ctan_test_upward): Likewise.
15354         (ctanh_test_tonearest): Likewise.
15355         (ctanh_test_towardzero): Likewise.
15356         (ctanh_test_downward): Likewise.
15357         (ctanh_test_upward): Likewise.
15358         (main): Call these new functions.
15359         * sysdeps/i386/fpu/libm-test-ulps: Update.
15360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15362 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
15364         * .gitignore: Delete /ports entry.
15366 2012-07-03  Andreas Jaeger  <aj@suse.de>
15368         * po/bg.po: Update from translation team.
15369         * po/cs.po: Likewise.
15370         * po/de.po: Likewise.
15371         * po/hr.po: Likewise.
15372         * po/nl.pl: Likewise.
15373         * po/pl.po: Likewise.
15374         * po/vi.po: Likewise.
15376 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
15378         * Makeconfig [!+link] (+link-before-libc): New variable.
15379         [!+link] (+link-after-libc): Likewise.
15380         [!+link] (+link-tests): Likewise.
15381         [!+link] (+link): Define in terms of $(+link-before-libc) and
15382         $(+link-after-libc).
15383         [!+link-static] (+link-static-before-libc): New variable.
15384         [!+link-static] (+link-static-after-libc): Likewise.
15385         [!+link-static] (+link-static-tests): Likewise.
15386         [!+link-static] (+link-static): Define in terms of
15387         $(+link-static-before-libc) and $(+link-static-after-libc).
15388         [build-shared] (link-libc-before-gnulib): New variable.
15389         [build-shared] (link-libc-tests): Likewise.
15390         [build-shared] (link-libc): Define in terms of
15391         $(link-libc-before-gnulib).
15392         [!build-shared] (link-libc-tests): New variable.
15393         (link-libc-static-tests): New variable.
15394         [!gnulib] (gnulib-arch): New variable.
15395         [!gnulib] (gnulib-tests): Likewise.
15396         [!gnulib] (static-gnulib-arch): Likewise.
15397         [!gnulib] (static-gnulib-tests): Likewise.
15398         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
15399         Define with "=" instead of ":=".
15400         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
15401         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
15402         * Rules (binaries-all-notests): New variable.
15403         (binaries-all-tests): Likewise.
15404         (binaries-static-notests): Likewise.
15405         (binaries-static-tests): Likewise.
15406         (binaries-all): Define using $(binaries-all-notests) and
15407         $(binaries-all-tests).
15408         (binaries-static): Define using $(binaries-static-notests) and
15409         $(binaries-static-tests).
15410         (binaries-shared-tests): New variable.
15411         (binaries-shared-notests): Likewise.
15412         (binaries-shared): Remove variable.
15413         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15414         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15415         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15416         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15417         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15418         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15419         * elf/Makefile (sln-modules): New variable.
15420         (extra-objs): Add $(sln-modules:=.o).
15421         (ldconfig-modules): Add static-stubs.
15422         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15423         * elf/static-stubs.c: New file.
15425         [BZ #14283]
15426         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15427         by 7 not 8 to examine high bit of fractional part.  Use volatile
15428         variables when splitting into final array of floats if
15429         __FLT_EVAL_METHOD__ != 0.
15430         * math/libm-test.inc (cos_test): Add another test.
15431         (sin_test): Likewise.
15432         * sysdeps/i386/fpu/libm-test-ulps: Update.
15434         [BZ #14273]
15435         * math/libm-test.inc (cosh_test): Add more tests.
15437         * version.h (RELEASE): Set to "development".
15438         (VERSION): Set to "2.16.90".
15440 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
15442         * NEWS: Update copyright. Remove last-updated date.
15443         Mention math library bug fixes and timezone data changes.
15444         * README: Mention GNU/Hurd, x32, and HPPA support status.
15446 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
15448         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15450 2012-06-27  Andreas Jaeger  <aj@suse.de>
15452         * manual/contrib.texi (Contributors): Add Samuel Thibault.
15454 2012-06-25  Andreas Jaeger  <aj@suse.de>
15456         * sysdeps/s390/fpu/libm-test-ulps: Update.
15458 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
15459             Thomas Schwinge  <thomas@codesourcery.com>
15461         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15462         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15463         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15464         fanotify_mark.
15466 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
15468         * sysdeps/mach/start.c: Remove file.
15469         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15470         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15471         * sysdeps/sh/init-first.c: Likewise.
15473         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15474         registers for frame unwinding purposes, add CFI directives.
15475         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15476         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15477         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15478         Likewise.
15480         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15481         __fortify_fail returning.
15482         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15484         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15485         sysdeps/sh/____longjmp_chk.S.
15486         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15487         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15488         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15489         (gen-as-const-headers): Append sigaltstack-offsets.sym.
15491         * sysdeps/sh/abort-instr.h: New file.
15492         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15493         process in case exit returns.
15495         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15496         initialize the GOT register before use.
15498         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15499         calculation of ARGC > 4.
15501         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15502         meaningful names to some local labels.
15504 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15505             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15507         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15508         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15509         (__arch_compare_and_exchange_val_16_acq): Likewise.
15510         (__arch_compare_and_exchange_val_32_acq): Likewise.
15511         (atomic_exchange_and_add): Fix gUSA sequence.
15512         (atomic_add): Likewise.
15513         (atomic_add_negative): Likewise.
15514         (atomic_add_zero): Likewise.
15515         (atomic_bit_test_set): Likewise.
15517 2012-06-22  Andreas Schwab  <schwab@redhat.com>
15519         [BZ #13579]
15520         * include/link.h (struct link_map): Add l_free_initfini.
15521         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15522         l_initfini.
15523         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15524         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15525         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15526         set.
15528 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
15530         * configure.in: Use AC_LANG_SOURCE.
15531         * configure: Regenerate.
15533 2012-06-22  Roland McGrath  <roland@hack.frob.com>
15535         * configure.in (libc_cv_localstatedir): New substituted variable.
15536         * configure: Regenerated.
15537         * config.make.in (localstatedir): New variable, substituted from
15538         libc_cv_localstatedir.
15539         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15540         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15541         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15542         * sysdeps/gnu/configure: Regenerated.
15544 2012-06-21  Jeff Law  <law@redhat.com>
15546         [BZ #14277]
15547         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15548         free.  Simplify list management for _LIBC case.
15550 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
15552         [BZ #14273]
15553         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15554         Clear sign bit of 64-bit integer value before comparing against
15555         overflow value.
15557         * sysdeps/mach/configure: Regenerated.
15559 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
15561         [BZ #14278]
15562         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15564 2012-06-21  Jeff Law  <law@redhat.com>
15566         [BZ #13882]
15567         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
15568         uint16_t for elements in the "seen" array to avoid char overflows.
15569         * elf/dl-fini.c (_dl_sort_fini): Likewise.
15570         * elf/dl-open.c (dl_open_worker): Likewise.
15572 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
15574         * scripts/list-sources.sh: Scan PORTS for translations.
15575         * po/libc.pot: Regenerated.
15577 2012-06-21  Andreas Jaeger  <aj@suse.de>
15579         [BZ #12194]
15580         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15581         warning.
15582         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15583         * bits/byteswap-16.h (__bswap_16): Likewise.
15584         * bits/byteswap.h (__bswap_constant_16): Likewise.
15586 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
15588         [BZ #14117]
15589         * sysdeps/i386/fpu_control.h: Removed.
15590         * sysdeps/x86_64/fpu_control.h: Moved to ...
15591         * sysdeps/x86/fpu_control.h: Here.
15593         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15594         (_FPU_SETCW): Likewise.
15596 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
15598         [BZ #14117]
15599         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15600         * sysdeps/x86/fpu/bits/mathinline.h: This.
15601         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15603         [BZ #14050]
15604         [BZ #14117]
15605         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15606         functions if __x86_64__ is defined.
15608 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
15610         * string/endian.h: Add !__ASSEMBLER__ condition for including
15611         conversion interfaces.
15613 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
15615         [BZ #14241]
15616         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15617         of ABS(x) in calculating zero to negative powers other than odd
15618         integers.
15619         * math/libm-test.inc (pow_test): Add more tests.
15621 2012-06-15  Andreas Jaeger  <aj@suse.de>
15623         * manual/contrib.texi (Contributors): Update entry of Liubov
15624         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15625         Machado Filho.
15627 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
15629         * string/string.h: Add __wur to GNU version of strerror_r.
15631 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
15633         [BZ #14229]
15634         * string/Makefile (tests): Add tst-strtok_r.
15635         * string/tst-strtok_r.c: New file.
15636         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15637         RAX_LP/RDX_LP on SAVE_PTR.
15639 2012-06-14  Roland McGrath  <roland@hack.frob.com>
15641         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15643 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
15645         * libm_test.inc (csqrt_test): Allow more spurious underflow
15646         exceptions.
15647         (j0_test): Likewise.
15648         (j1_test): Likewise.
15649         (y0_test): Likewise.
15650         (y1_test): Likewise.
15652 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
15654         * po/Makefile (libc.pot): Use UTF-8 charset.
15656 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
15658         [BZ #14210]
15659         Suppress sign-conversion warning from FD_SET.
15660         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15661         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15662         not unsigned long int.
15663         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15665 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
15667         [BZ #14050]
15668         [BZ #14117]
15669         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15670         __extern_always_inline instead of __extern_inline.
15671         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15672         (__signbit): Likewise.
15673         (__signbitl): Support C++ namespace.
15674         (lrintf): New inline function.
15675         (lrint): Likewise.
15676         (llrintf): Likewise.
15677         (llrint): Likewise.
15678         (fmaxf): Likewise.
15679         (fmax): Likewise.
15680         (fminf): Likewise.
15681         (fmin): Likewise.
15682         (rint): Likewise.
15683         (rintf): Likewise.
15684         (ceil): Likewise.
15685         (ceilf): Likewise.
15686         (floor): Likewise.
15687         (floorf): Likewise.
15688         (nearbyint): Likewise.
15689         (nearbyintf): Likewise.
15691 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
15693         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15694         non-default versions.
15696 2012-06-11  Roland McGrath  <roland@hack.frob.com>
15698         [BZ #14218]
15699         * manual/argp.texi (Argp): Reword argp_parse description slightly.
15701 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
15703         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15704         (FE_UPWARD, FE_DOWNWARD): Don't define.
15705         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15706         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15708         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15709         reading it.
15710         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15711         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15713 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15715         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15716         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15717         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15718         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15720 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
15722         [BZ #14117]
15723         * sysdeps/i386/fpu/bits/fenv.h: Removed.
15724         * sysdeps/i386/fpu/Implies: New file.
15725         * sysdeps/x86_64/fpu/Implies: Likewise.
15726         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15727         * sysdeps/x86/fpu/bits/fenv.h: This.
15729         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15730         __SSE_MATH__.
15732 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15734         [BZ #14134]
15735         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15736         character 0xffff that matches the last element of the
15737         conversion table.
15739 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15741         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15742         fmodl commit.
15744 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15746         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15747         values higher than 25.6283.
15749 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15751         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15752         subnormal exponent extraction and add some __builtin_expect.
15753         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15754         Fix for subnormal mantissa calculation.
15756 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
15758         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15759         cpu2 is -1 and errno is not ENOSYS.
15761 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
15763         [BZ #14117]
15764         * sysdeps/i386/i486/bits/string.h: Renamed to ...
15765         * sysdeps/x86/bits/string.h: This.
15766         * sysdeps/x86_64/bits/string.h: Removed.
15768         * sysdeps/i386/i486/bits/string.h: Define inline functions only
15769         if not compiling for x86-64, but compiling for >= i486.
15771         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15772         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15774         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15775         New macro from Linux kernel 3.4.0.
15776         (FP_XSTATE_MAGIC2): Likewise.
15777         (FP_XSTATE_MAGIC2_SIZE): Likewise.
15778         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15779         (struct _fpx_sw_bytes): New struct.
15780         (struct _xsave_hdr): Likewise.
15781         (struct _ymmh_state): Likewise.
15782         (struct _xstate): Likewise.
15784         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15785         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15786         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15787         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15788         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15789         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15791         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15792         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15793         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15794         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15795         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15796         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15798 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15800         [BZ #13743]
15801         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15802         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15803         (sysdep_headers): Include sys/platform/ppc.h.
15804         * sysdeps/powerpc/test-gettimebase.c: Test for
15805         __ppc_get_timebase() to catch future ISA opcode/insn changes.
15806         * manual/Makefile (appendices): Include platform.texi.
15807         * manual/contrib.texi (Contributors): Update @node pointers.
15808         * manual/maint.texi (Maintenance): Likewise.
15809         (Platform): New node.
15810         * manual/platform.texi: New file.  Document the new features.
15812 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15813             Jakub Jelinek  <jakub@redhat.com>
15815         [BZ #14188]
15816         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15817         where __builtin_expect is unavailable.
15819 2012-06-03  David S. Miller  <davem@davemloft.net>
15821         * stdlib/longlong.h: Updated from GCC.
15823 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
15825         [BZ #14042]
15826         * sysdeps/powerpc/powerpc32/mcount.c: New file.
15827         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15828         __mcount_internal.
15829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15830         (GLIBC_2.16): Likewise.
15832 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15834         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15836 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
15838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15839         (default-abi): New variable.
15840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15841         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15842         variable.
15843         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15844         Likewise.
15845         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15846         Likewise.
15847         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15848         Likewise.
15850         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15851         definition.  Document in comment.
15853 2012-06-01  David S. Miller  <davem@davemloft.net>
15855         * stdlib/longlong.h: Updated from GCC.
15857 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15859         [BZ #14117]
15860         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15861         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15862         sys/debugreg.h sys/io.h here.
15863         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15864         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15865         sys/io.h.
15866         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15867         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15868         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15869         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15870         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15871         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15873         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15874         Define only if __x86_64__ is defined.
15876 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
15878         [BZ #14048]
15879         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15880         Use int64_t for variable i.
15881         * math/libm-test.inc (fmod_test): Add more tests.
15883         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15884         z computation is not scheduled after fetestexcept.
15885         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15886         Use math_force_eval instead of asm to ensure calculation scheduled
15887         before exception test.
15888         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15889         Ensure a1 + u.d computation is not scheduled after fetestexcept.
15891 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
15893         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15894         computation is not scheduled after fetestexcept.
15896 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15898         [BZ #14117]
15899         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15900         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15902 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15904         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15905         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15907 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
15909         [BZ #14117]
15910         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15911         <bits/wordsize.h>.
15912         (__WCHAR_MIN): Support __WORDSIZE == 64.
15913         (__WCHAR_MAX): Likewise.
15915         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15916         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15918         [BZ #14183]
15919         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15920         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15922         [BZ #14117]
15923         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15924         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15926         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15927         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15929         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15930         Defined to 1 if __x86_64__ isn't defined.
15931         (_STAT_VER_LINUX_OLD): New.
15932         (st_atime): Remove duplicate.
15933         (st_mtime): Likewise.
15934         (st_ctime): Likewise.
15936 2012-05-31  David S. Miller  <davem@davemloft.net>
15938         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15939         entries.
15941 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
15943         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15944         gen-libm-test.pl.
15946         [BZ #14132]
15947         * elf/dl-reloc.c: Include <_itoa.h>.
15948         (_dl_reloc_bad_type): Remove use of INTUSE.
15949         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15950         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15951         * stdio-common/psiginfo.c (psiginfo): Likewise.
15952         * stdio-common/psignal.c (psignal): Likewise.
15953         * string/strsignal.c (strsignal): Likewise.
15954         * include/signal.h (_sys_siglist): Declare hidden proto.
15955         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
15956         INTVARDEF with libc_hidden_data_def.
15957         * stdio-common/itoa-udigits.c: Likewise.
15958         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15959         (_itoa_lower_digits_internal): Remove declaration.
15960         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15961         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15962         (_sys_sigabbrev_internal): Remove aliases.
15963         (_sys_siglist): Define hidden alias.
15965 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
15967         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15968         bits/sysctl.h.
15970 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
15972         [BZ #14117]
15973         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15974         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15976         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15977         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15978         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15979         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15980         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15981         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15983         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15984         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15985         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15987         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15988         with __addr.
15989         (insw): Likewise.
15990         (insl): Likewise.
15991         (outsb): Likewise.
15992         (outsw): Likewise.
15993         (outsl): Likewise.
15995         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15996         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15997         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15999         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16000         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16001         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16002         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16003         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16004         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16006         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16007         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16009         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16010         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16012         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16013         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16014         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16016         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16017         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16018         to ...
16019         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16021         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16022         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16023         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16025         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16026         for x86-64.
16027         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16029 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
16031         * math/math.h (M_El): Use two more decimal places.
16032         (M_LOG2El): Likewise.
16033         (M_LOG10El): Likewise.
16034         (M_LN2l): Likewise.
16035         (M_LN10l): Likewise.
16036         (M_PIl): Likewise.
16037         (M_PI_2l): Likewise.
16038         (M_PI_4l): Likewise.
16039         (M_1_PIl): Likewise.
16040         (M_2_PIl): Likewise.
16041         (M_2_SQRTPIl): Likewise.
16042         (M_SQRT2l): Likewise.
16043         (M_SQRT1_2l): Likewise.
16045 2012-05-31  David S. Miller  <davem@davemloft.net>
16047         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16048         values between float registers.
16049         * sysdeps/sparc/sparc64/memset.S: Likewise.
16050         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16052 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
16054         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16055         -D_FORTIFY_SOURCE=1.
16056         (CPPFLAGS-tst-longjmp_chk.c): Define.
16057         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16058         (CPPFLAGS-tst-longjmp_chk2.c): Define.
16059         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16060         CFLAGS-tst-wchar-h.c.
16062 2012-05-31  Marek Polacek  <polacek@redhat.com>
16064         [BZ #14132]
16065         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16066         __endmntent_internal): Remove declaration.
16067         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16068         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16069         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16071 2012-05-30  David S. Miller  <davem@davemloft.net>
16073         * sysdeps/sparc/sparc32/soft-fp/q_util.c
16074         (___Q_simulate_exceptions): Use real FP ops rather than writing
16075         into the %fsr.
16076         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16077         Likewise.
16079 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16081         [BZ #14117]
16082         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16083         * sysdeps/x86/bits/xtitypes.h: This.
16085         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16086         * sysdeps/x86/bits/wordsize.h: This.
16088         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16089         * sysdeps/x86/bits/huge_vall.h: This.
16091         * sysdeps/i386/bits/select.h: Removed.
16092         * sysdeps/x86_64/bits/select.h: Renamed to ...
16093         * sysdeps/x86/bits/select.h: This.
16095         * sysdeps/i386/bits/setjmp.h: Removed.
16096         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16097         * sysdeps/x86/bits/setjmp.h: This.
16099         * sysdeps/i386/bits/mathdef.h: Removed.
16100         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16101         * sysdeps/x86/bits/mathdef.h: This.
16103 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
16105         [BZ #14132]
16106         * include/sys/socket.h (__connect_internal)
16107         (__libc_sa_len_internal): Remove declaration.
16108         (__connect, __libc_sa_len): Declare hidden_proto.
16109         (SA_LEN): Remove use of INTUSE.
16110         * socket/connect.c: Add libc_hidden_def.
16111         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16112         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16113         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16114         alias.
16115         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16116         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16117         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16118         of adding _internal alias.
16120 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16122         [BZ #14117]
16123         * sysdeps/i386/bits/link.h: Removed.
16124         * sysdeps/i386/bits/linkmap.h: Likewise.
16125         * sysdeps/x86_64/bits/link.h: Renamed to ...
16126         * sysdeps/x86/bits/link.h: This.
16127         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16128         * sysdeps/x86/bits/linkmap.h: This.
16130         * sysdeps/i386/bits/endian.h: Removed.
16131         * sysdeps/x86_64/bits/endian.h: Renamed to ...
16132         * sysdeps/x86/bits/endian.h: This.
16134         * sysdeps/i386/bits/byteswap.h: Removed.
16135         * sysdeps/i386/bits/byteswap-16.h: Likewise.
16136         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16137         * sysdeps/x86/bits/byteswap.h: This.
16138         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16139         * sysdeps/x86/bits/byteswap-16.h: This.
16140         * sysdeps/i386/Implies: Add x86.
16141         * sysdeps/x86_64/Implies: Likewise.
16143 2012-05-30  David S. Miller  <davem@davemloft.net>
16145         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16146         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16147         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16148         (FP_TRAPPING_EXCEPTIONS): Define.
16149         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16150         (FP_TRAPPING_EXCEPTIONS): Define.
16151         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16152         subnormals only when inexact has been signalled or underflow
16153         exceptions are enabled.
16154         (_FP_PACK_CANONICAL): Likewise.
16156 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16158         [BZ #14183]
16159         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16160         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16162 2012-05-30  Richard Henderson  <rth@twiddle.net>
16164         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16165         with #ifndef NOT_IN_libc.
16167         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
16168         marked to avoid plt entry.
16170 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
16172         [BZ #14112]
16173         * Makeconfig (default-abi): New macro.
16174         (abi-includes): Likewise.
16175         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
16176         $(abi-$(default-abi)-lib-soname) for soname if defined.
16177         ($(common-objpfx)gnu/lib-names.stmp): Generate from
16178         abi-variants.
16179         * Makefile (installed-stubs): Likewise.
16180         * include/stubs-biarch.h: Removed.
16181         * scripts/lib-names.awk: Only handle one library at a time.
16182         * scripts/soversions.awk: Remove WORDSIZE support.
16183         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16184         entries.
16185         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16186         Removed.
16187         (syscall-list-default-condition): Likewise.
16188         (syscall-list-default-condition): Likewise.
16189         (syscall-list-includes): Likewise.
16190         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16191         syscall-list-* with abi-*.  Handle undefined abi-variants.
16192         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16193         * sysdeps/unix/sysv/linux/i386/Implies: New file.
16194         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16195         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16196         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16197         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16198         Removed.
16199         (syscall-list-32-options): Likewise.
16200         (syscall-list-32-condition): Likewise.
16201         (syscall-list-64-options): Likewise.
16202         (syscall-list-64-condition): Likewise.
16203         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16204         macro.
16205         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16206         Renamed to ...
16207         (abi-*): This.
16208         (abi-64-ld-soname): New macro.
16209         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16210         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16211         Renamed to ...
16212         (abi-*): This.
16213         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16214         * sysdeps/x86_64/x32/shlib-versions: Likewise.
16216 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
16218         * sysdeps/unix/sysv/linux/kernel-features.h
16219         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16220         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16221         include <kernel-features.h>.
16222         [!__NR_ftruncate64]: Remove conditional code.
16223         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16224         [__NR_ftruncate64]: Make code unconditional.
16225         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16226         * sysdeps/unix/sysv/linux/truncate64.c: Do not
16227         include <kernel-features.h>.
16228         [!__NR_ftruncate64]: Remove conditional code.
16229         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16230         [__NR_ftruncate64]: Make code unconditional.
16231         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16233         include <kernel-features.h>.
16234         [!__NR_ftruncate64]: Remove conditional code.
16235         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16236         [__NR_ftruncate64]: Make code unconditional.
16237         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16239         include <kernel-features.h>.
16240         [!__NR_ftruncate64]: Remove conditional code.
16241         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16242         [__NR_ftruncate64]: Make code unconditional.
16243         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16245         * configure.in (libc_cv_fpie): Weaken to a compile test using
16246         LIBC_TRY_CC_OPTION.
16247         * configure: Regenerated.
16249 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16255         Refreshed.
16256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16262         Refreshed.
16264 2012-05-27  David S. Miller  <davem@davemloft.net>
16266         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16267         (___Q_zero): New.
16268         (__Q_simulate_exceptions): Return void.  Change to simulate
16269         exceptions by writing into the %fsr.
16270         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16271         (__Qp_handle_exceptions): Likewise.
16272         (numbers): Delete.
16273         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16274         __Qp_handle_exceptions.
16275         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16276         __Qp_handle_exceptions.
16277         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16278         as unused and give dummy FP_RND_NEAREST initializer.
16279         (FP_INHIBIT_RESULTS): Define.
16280         (___Q_simulate_exceptions): Update declaration.
16281         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16282         formatting.
16283         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16284         as unused and give dummy FP_RND_NEAREST initializer.
16285         (__Qp_handle_exceptions): Update declaration.
16286         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16287         formatting.
16289 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
16291         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16292         the temporary FPU control word.
16293         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16294         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16295         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16296         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16297         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16298         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16299         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16300         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16301         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16302         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16303         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16305 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16307         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16308         fields.
16310 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
16312         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16313         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16314         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16315         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16316         Likewise.
16317         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16318         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16319         Likewise.
16321 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
16323         * po/h.po: Update from translation team.
16325 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
16327         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16329         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16330         handling of denormals.
16331         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16332         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16333         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16334         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16335         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16336         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16337         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16338         Likewise.
16340 2012-05-26  Marek Polacek  <polacek@redhat.com>
16342         [BZ #14152]
16343         * math/libm-test.inc (fma_test): Don't always expect underflow
16344         exception.
16346 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16348         [BZ #12416]
16349         * elf/tst-execstack.c: Include stackinfo.h.
16350         (do_test): Adjust test case to ensure that pthread_getattr_np
16351         behaviour remains the same after marking stack executable.
16353 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
16355         * sysdeps/unix/sysv/linux/kernel-features.h
16356         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16357         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16358         kernel-features.h.
16359         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16360         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16361         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16362         kernel-features.h.
16363         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16364         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16366 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
16368         * configure.in: Define the default includes to being none.
16369         * configure: Regenerated.
16371 2012-05-25  Roland McGrath  <roland@hack.frob.com>
16373         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16374         * sysdeps/x86_64/setjmp.S: Likewise.
16375         * sysdeps/i386/bsd-setjmp.S: Likewise.
16376         * sysdeps/i386/bsd-_setjmp.S: Likewise.
16377         * sysdeps/i386/setjmp.S: Likewise.
16378         * sysdeps/i386/__longjmp.S: Likewise.
16379         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16380         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16382         * include/stap-probe.h: New file.
16383         * configure.in: Handle --enable-systemtap.
16384         * configure: Regenerated.
16385         * config.h.in (USE_STAP_PROBE): New #undef.
16386         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16387         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16388         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16390 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
16392         [BZ #13717]
16393         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16394         to 2.4.0 where earlier.
16395         * sysdeps/unix/sysv/linux/configure: Regenerated.
16396         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16397         <kernel-features.h>.
16398         [__ASSUME_32BITUIDS]: Make code unconditional.
16399         [!__ASSUME_32BITUIDS]: Remove conditional code.
16400         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16401         <kernel-features.h>.
16402         [__ASSUME_32BITUIDS]: Make code unconditional.
16403         [!__ASSUME_32BITUIDS]: Remove conditional code.
16404         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16405         [__ASSUME_32BITUIDS]: Make code unconditional.
16406         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16407         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16408         <kernel-features.h>.
16409         [__ASSUME_32BITUIDS]: Make code unconditional.
16410         [!__ASSUME_32BITUIDS]: Remove conditional code.
16411         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16412         <kernel-features.h>.
16413         [__ASSUME_32BITUIDS]: Make code unconditional.
16414         [!__ASSUME_32BITUIDS]: Remove conditional code.
16415         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16416         <kernel-features.h>.
16417         [__ASSUME_32BITUIDS]: Make code unconditional.
16418         [!__ASSUME_32BITUIDS]: Remove conditional code.
16419         * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
16448         <kernel-features.h>.
16449         [__NR_setresgid] (__setresgid): Do not declare.
16450         [__ASSUME_32BITUIDS]: Make code unconditional.
16451         [!__ASSUME_32BITUIDS]: Remove conditional code.
16452         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16453         <kernel-features.h>.
16454         [__NR_setresuid] (__setresuid): Do not declare.
16455         [__ASSUME_32BITUIDS]: Make code unconditional.
16456         [!__ASSUME_32BITUIDS]: Remove conditional code.
16457         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16458         <kernel-features.h>.
16459         [__ASSUME_32BITUIDS]: Make code unconditional.
16460         [!__ASSUME_32BITUIDS]: Remove conditional code.
16461         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16462         <kernel-features.h>.
16463         [__ASSUME_32BITUIDS]: Make code unconditional.
16464         [!__ASSUME_32BITUIDS]: Remove conditional code.
16465         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16466         <kernel-features.h>.
16467         [__ASSUME_32BITUIDS]: Make code unconditional.
16468         [!__ASSUME_32BITUIDS]: Remove conditional code.
16469         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16470         <kernel-features.h>.
16471         [__ASSUME_32BITUIDS]: Make code unconditional.
16472         [!__ASSUME_32BITUIDS]: Remove conditional code.
16473         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16474         <kernel-features.h>.
16475         [__ASSUME_32BITUIDS]: Make code unconditional.
16476         [!__ASSUME_32BITUIDS]: Remove conditional code.
16477         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16478         <kernel-features.h>.
16479         [__ASSUME_32BITUIDS]: Make code unconditional.
16480         [!__ASSUME_32BITUIDS]: Remove conditional code.
16481         * sysdeps/unix/sysv/linux/i386/setresuid.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/i386/setreuid.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/i386/setuid.c: Do not include
16490         <kernel-features.h>.
16491         [__ASSUME_32BITUIDS]: Make code unconditional.
16492         [!__ASSUME_32BITUIDS]: Remove conditional code.
16493         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16494         <kernel-features.h>.
16495         [__ASSUME_32BITUIDS]: Make code unconditional.
16496         [!__ASSUME_32BITUIDS]: Remove conditional code.
16497         * sysdeps/unix/sysv/linux/kernel-features.h
16498         (__ASSUME_SETRESUID_SYSCALL): Remove.
16499         (__ASSUME_SETRESGID_SYSCALL): Likewise.
16500         (__ASSUME_32BITUIDS): Likewise.
16501         (__ASSUME_LDT_WORKS): Likewise.
16502         (__ASSUME_O_DIRECTORY): Likewise.
16503         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16504         architecture but not kernel version.
16505         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16506         (__ASSUME_MMAP2_SYSCALL): Likewise.
16507         (__ASSUME_STAT64_SYSCALL): Likewise.
16508         (__ASSUME_IPC64): Likewise.
16509         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16510         <kernel-features.h>.
16511         [__ASSUME_32BITUIDS]: Make code unconditional.
16512         [!__ASSUME_32BITUIDS]: Remove conditional code.
16513         * sysdeps/unix/sysv/linux/opendir.c: Do not include
16514         <kernel-features.h>.
16515         [__ASSUME_O_DIRECTORY]: Make code unconditional.
16516         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16517         132096]: Remove conditional code.
16518         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16519         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16520         <kernel-features.h>.
16521         [__ASSUME_32BITUIDS]: Make code unconditional.
16522         [!__ASSUME_32BITUIDS]: Remove conditional code.
16523         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16524         <kernel-features.h>.
16525         [__ASSUME_32BITUIDS]: Make code unconditional.
16526         [!__ASSUME_32BITUIDS]: Remove conditional code.
16527         * sysdeps/unix/sysv/linux/setegid.c: Do not include
16528         <kernel-features.h>.
16529         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16530         unconditional.
16531         (__setresgid): Do not declare.
16532         [__ASSUME_32BITUIDS]: Make code unconditional.
16533         [!__ASSUME_32BITUIDS]: Remove conditional code.
16534         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16535         <kernel-features.h>.
16536         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16537         unconditional.
16538         (__setresuid): Do not declare.
16539         [__ASSUME_32BITUIDS]: Make code unconditional.
16540         [!__ASSUME_32BITUIDS]: Remove conditional code.
16541         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16542         <kernel-features.h>.
16543         [__ASSUME_32BITUIDS]: Make code unconditional.
16544         [!__ASSUME_32BITUIDS]: Remove conditional code.
16545         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16546         <kernel-features.h>.
16547         [__ASSUME_32BITUIDS]: Make code unconditional.
16548         [!__ASSUME_32BITUIDS]: Remove conditional code.
16550 2012-05-25  Richard Henderson  <rth@twiddle.net>
16552         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16553         dl_hwcap to ifunc resolver.
16554         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16555         elf_ifunc_invoke.
16556         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16557         dl_hwcap to ifunc resolver.
16558         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16560 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16562         [BZ #14153]
16563         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16564         for |x| <= 2**-26, not 2**-57.
16565         * math/libm-test.inc (acos_test): Do not allow spurious underflow
16566         exception.
16568 2012-05-24  Jeff Law  <law@redhat.com>
16570         * stdio-common/Makefile (tests): Add bug25.
16571         * stdio-common/bug25.c: New test.
16573 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
16575         [BZ #13576]
16576         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16577         multiple of MALLOC_ALIGNMENT in size.
16578         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16580 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16582         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16583         Require >= 256.
16584         (FILENAME_MAX): Use macro-int-constant.
16585         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
16586         (_IOFBF): Use macro-int-constant.
16587         (_IOLBF): Likewise.
16588         (_IONBF): Likewise.
16589         (SEEK_CUR): Likewise.
16590         (SEEK_END): Likewise.
16591         (SEEK_SET): Likewise.
16592         (TMP_MAX): Likewise.
16593         (EOF): Use macro-int-constant.  Require < 0.
16594         (NULL): Use macro-constant.  Require == 0.
16595         (stdin): Require type to be FILE *.
16596         (stdout): Likewise.
16597         (stderr): Likewise.
16598         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16599         macro-int-constant.
16600         (EXIT_SUCCESS): Likewise.
16601         (NULL): Use macro-constant.  Require == 0.
16602         (RAND_MAX): Use macro-int-constant.
16603         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16604         [C99-based standards] (strtof): Require function.
16605         [C99-based standards] (strtold): Likewise.
16606         [C99-based standards] (strtoll): Likewise.
16607         [C99-based standards] (strtoull): Likewise.
16608         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16609         [ISO || ISO99 || ISO11] (limits.h): Likewise.
16610         [ISO || ISO99 || ISO11] (math.h): Likewise.
16611         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16612         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16613         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16615 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
16617         [BZ #14132]
16618         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16619         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16620         * intl/dgettext.c (DCGETTEXT): Likewise.
16621         * intl/gettext.c (DCGETTEXT): Likewise.
16622         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16623         * posix/regex_internal.h (gettext): Likewise.
16624         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16625         Remove declaration.
16626         * include/argz.h (__argz_count_internal)
16627         (__argz_stringify_internal): Remove declaration.
16628         (__argz_count, __argz_stringify): Declare hidden proto.
16629         * intl/dcgettext.c: Remove use of INTDEF.
16630         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16631         * string/argz-stringify.c: Likewise.
16632         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16633         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16634         Declare hidden proto.
16635         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16636         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16637         Declare hidden proto.
16638         * include/stdio.h (__asprintf_internal): Don't declare.
16639         (__asprintf): Don't define as macro.  Declare hidden proto.
16640         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16641         (__fsetlocking): Declare hidden proto.
16642         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16643         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16644         hidden proto.
16645         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16646         (_IO_setlinebuf): Remove use of INTUSE.
16647         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16648         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16649         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16650         Remove declaration.
16651         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16652         (_IO_do_flush): Remove use of INTUSE.
16653         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16654         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16655         (_IO_adjust_column, _IO_least_wmarker)
16656         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16657         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16658         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16659         (_IO_default_doallocate, _IO_wdefault_doallocate)
16660         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16661         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16662         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16663         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16664         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16665         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16666         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16667         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16668         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16669         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16670         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16671         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16672         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16673         proto.
16674         (_IO_flush_all_internal, _IO_adjust_column_internal)
16675         (_IO_default_uflow_internal, _IO_default_finish_internal)
16676         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16677         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16678         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16679         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16680         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16681         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16682         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16683         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16684         (_IO_file_close_internal, _IO_file_close_it_internal)
16685         (_IO_file_underflow_internal, _IO_file_overflow_internal)
16686         (_IO_file_init_internal, _IO_file_attach_internal)
16687         (_IO_file_fopen_internal, _IO_file_read_internal)
16688         (_IO_file_sync_internal, _IO_file_seek_internal)
16689         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16690         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16691         (_IO_str_underflow_internal, _IO_str_overflow_internal)
16692         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16693         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16694         (_IO_list_all_internal, _IO_link_in_internal)
16695         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16696         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16697         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16698         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16699         (_IO_do_write_internal, _IO_padn_internal)
16700         (_IO_getline_info_internal, _IO_getline_internal)
16701         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16702         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16703         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16704         (_IO_vfscanf_internal, _IO_vfprintf_internal)
16705         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16706         (_IO_init_internal, _IO_un_link_internal): Don't declare.
16707         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16708         with libc_hidden_ver, remove use of INTUSE.
16709         * libio/genops.c: Likewise.
16710         * libio/freopen.c: Likewise.
16711         * libio/freopen64.c: Likewise.
16712         * libio/iofclose.c: Likewise.
16713         * libio/iofdopen.c: Likewise.
16714         * libio/iofflush.c: Likewise.
16715         * libio/iofflush_u.c: Likewise.
16716         * libio/iofgets.c: Likewise.
16717         * libio/iofgets_u.c: Likewise.
16718         * libio/iofopen.c: Likewise.
16719         * libio/iofopncook.c: Likewise.
16720         * libio/iofread.c: Likewise.
16721         * libio/iofread_u.c: Likewise.
16722         * libio/ioftell.c: Likewise.
16723         * libio/iofwrite.c: Likewise.
16724         * libio/iogetline.c: Likewise.
16725         * libio/iogets.c: Likewise.
16726         * libio/iogetwline.c: Likewise.
16727         * libio/iopadn.c: Likewise.
16728         * libio/iopopen.c: Likewise.
16729         * libio/ioseekoff.c: Likewise.
16730         * libio/ioseekpos.c: Likewise.
16731         * libio/iosetbuffer.c: Likewise.
16732         * libio/iosetvbuf.c: Likewise.
16733         * libio/ioungetc.c: Likewise.
16734         * libio/ioungetwc.c: Likewise.
16735         * libio/iovdprintf.c: Likewise.
16736         * libio/iovsprintf.c: Likewise.
16737         * libio/iovsscanf.c: Likewise.
16738         * libio/memstream.c: Likewise.
16739         * libio/obprintf.c: Likewise.
16740         * libio/oldfileops.c: Likewise.
16741         * libio/oldiofclose.c: Likewise.
16742         * libio/oldiofdopen.c: Likewise.
16743         * libio/oldiofopen.c: Likewise.
16744         * libio/oldiopopen.c: Likewise.
16745         * libio/oldstdfiles.c: Likewise.
16746         * libio/putc.c: Likewise.
16747         * libio/setbuf.c: Likewise.
16748         * libio/setlinebuf.c: Likewise.
16749         * libio/stdfiles.c: Likewise.
16750         * libio/strops.c: Likewise.
16751         * libio/vasprintf.c: Likewise.
16752         * libio/vscanf.c: Likewise.
16753         * libio/vsnprintf.c: Likewise.
16754         * libio/vswprintf.c: Likewise.
16755         * libio/wfiledoalloc.c: Likewise.
16756         * libio/wfileops.c: Likewise.
16757         * libio/wgenops.c: Likewise.
16758         * libio/wmemstream.c: Likewise.
16759         * libio/wstrops.c: Likewise.
16760         * libio/__fpurge.c: Likewise.
16761         * libio/__fsetlocking.c: Likewise.
16762         * assert/assert.c: Likewise.
16763         * debug/fgets_chk.c: Likewise.
16764         * debug/fgets_u_chk.c: Likewise.
16765         * debug/fread_chk.c: Likewise.
16766         * debug/fread_u_chk.c: Likewise.
16767         * debug/gets_chk.c: Likewise.
16768         * debug/obprintf_chk.c: Likewise.
16769         * debug/vasprintf_chk.c: Likewise.
16770         * debug/vdprintf_chk.c: Likewise.
16771         * debug/vsnprintf_chk.c: Likewise.
16772         * debug/vsprintf_chk.c: Likewise.
16773         * malloc/mtrace.c: Likewise.
16774         * misc/error.c: Likewise.
16775         * misc/syslog.c: Likewise.
16776         * stdio-common/asprintf.c: Likewise.
16777         * stdio-common/fxprintf.c: Likewise.
16778         * stdio-common/getw.c: Likewise.
16779         * stdio-common/isoc99_fscanf.c: Likewise.
16780         * stdio-common/isoc99_scanf.c: Likewise.
16781         * stdio-common/isoc99_vfscanf.c: Likewise.
16782         * stdio-common/isoc99_vscanf.c: Likewise.
16783         * stdio-common/isoc99_vsscanf.c: Likewise.
16784         * stdio-common/printf-prs.c: Likewise.
16785         * stdio-common/printf_fp.c: Likewise.
16786         * stdio-common/printf_fphex.c: Likewise.
16787         * stdio-common/printf_size.c: Likewise.
16788         * stdio-common/putw.c: Likewise.
16789         * stdio-common/scanf.c: Likewise.
16790         * stdio-common/sprintf.c: Likewise.
16791         * stdio-common/tmpfile.c: Likewise.
16792         * stdio-common/vfprintf.c: Likewise.
16793         * stdio-common/vfscanf.c: Likewise.
16794         * stdlib/strfmon_l.c: Likewise.
16795         * sunrpc/openchild.c: Likewise.
16796         * sunrpc/xdr_stdio.c: Likewise.
16797         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16798         * sysdeps/mach/hurd/tmpfile.c: Likewise.
16800 2012-05-24  Roland McGrath  <roland@hack.frob.com>
16802         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16804         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16805         in the third column, to generate for the shared library an IFUNC
16806         that uses _dl_vdso_vsym.
16807         * Makerules (COMPILE.c, compile-stdin.c): New variables.
16808         * Makeconfig (object-suffixes-noshared): New variable.
16810         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16811         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16812         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16813         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16815         [BZ #14132]
16816         * include/sys/time.h (__gettimeofday): Remove macro.
16817         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16818         * time/gettimeofday.c (__gettimeofday): Remove #undef.
16819         Remove INTDEF.
16820         (__gettimeofday): Add libc_hidden_def.
16821         (gettimeofday): Add libc_hidden_weak.
16822         * sysdeps/mach/gettimeofday.c: Likewise.
16823         * sysdeps/posix/gettimeofday.c: Likewise.
16824         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16825         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16826         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16827         (__gettimeofday_internal): Remove strong_alias.
16828         (__gettimeofday): Add libc_hidden_def.
16829         (gettimeofday): Add libc_hidden_weak.
16830         * sysdeps/unix/syscalls.list (gettimeofday):
16831         Remove __gettimeofday_internal alias.
16833 2012-05-24  Daniel Jacobowitz  <drow@false.org>
16834             H.J. Lu  <hongjiu.lu@intel.com>
16836         [BZ #12495]
16837         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16838         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16839         (largebin_index_32_big): New.
16840         (largebin_index): Use it for 16-byte alignment.
16841         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
16842         correction with front_misalign.
16844 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
16846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16848         Likewise.
16849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16850         Likewise.
16851         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16852         Likewise.
16853         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16854         Likewise.
16855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16856         Likewise.
16857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16858         Likewise.
16859         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16860         Likewise.
16861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16862         Likewise.
16863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16864         Likewise.
16865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16866         Likewise.
16867         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16868         Likewise.
16869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16870         Likewise.
16872         * scripts/data/c++-types-x32-linux-gnu.data: New file.
16873         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16875 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16877         [BZ #10846]
16878         [BZ #14036]
16879         * math/libm-test.inc (exp_test): Add test from bug 14036.
16880         (pow_test): Add test from bug 10846.
16882         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16883         and other flags.
16884         (special_function): Do not include flags in test name.
16885         (parse_args): Likewise.
16886         * sysdeps/i386/fpu/libm-test-ulps: Update.
16887         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16888         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16889         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16892         * math/gen-libm-test.pl (%beautify): Add entries for underflow
16893         exceptions.
16894         * math/libm-test.inc ("Philosophy"): Update comment about
16895         exception testing.
16896         (UNDERFLOW_EXCEPTION): New macro.
16897         (UNDERFLOW_EXCEPTION_OK): Likewise.
16898         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16899         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16900         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16901         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16902         (INVALID_EXCEPTION_OK): Update value.
16903         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16904         (OVERFLOW_EXCEPTION_OK): Likewise.
16905         (IGNORE_ZERO_INF_SIGN): Likewise.
16906         (test_exceptions): Handle underflow exceptions.
16907         (acos_test): Update for underflow exception expectations.
16908         (cexp_test): Likewise.
16909         (clog_test): Likewise.
16910         (clog10_test): Likewise.
16911         (csqrt_test): Likewise.
16912         (ctan_test): Likewise.
16913         (ctanh_test): Likewise.
16914         (exp_test): Likewise.
16915         (exp10_test): Likewise.
16916         (exp2_test): Likewise.
16917         (expm1_test): Likewise.
16918         (fma_test): Likewise.
16919         (j0_test): Likewise.
16920         (jn_test): Likewise.
16921         (nexttoward_test): Likewise.
16922         (pow_test): Likewise.
16923         (scalbn_test): Likewise.
16924         (scalbln_test): Likewise.
16925         (tan_test): Likewise.
16926         (y1_test): Likewise.
16927         * sysdeps/i386/fpu/libm-test-ulps: Update.
16928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16930 2012-05-23  David S. Miller  <davem@davemloft.net>
16932         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16933         (__libc_sigaction): Remove unused local variables.
16935 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16937         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16939 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
16941         mktime: avoid signed integer overflow
16942         * time/mktime.c (__mktime_internal): Do not mishandle the case
16943         where diff == INT_MIN.
16945         mktime: simplify computation of average
16946         * time/mktime.c (ranged_convert): Use new time_t_avg function
16947         instead of rolling our own (probably-slower) code.
16949         mktime: do not assume signed right shift propagates sign bit
16950         * time/mktime.c (isdst_differ): New static function.
16951         (__mktime_internal): No need to normalize tm_isdst now.
16952         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16953         tm_isdst values.
16955         mktime: merge another wrapv change from gnulib
16956         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16957         from some compilers.
16959         mktime: remove incorrect attempt at unusual arithmetics
16960         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16961         The code didn't really work on such machines anyway.
16962         (TYPE_MINIMUM): Assume two's complement.
16963         (twos_complement_arithmetic): Verify that long_int and time_t
16964         are two's complement (or unsigned, in the latter case).
16966         mktime: check signed shifts on long_int and time_t, too
16967         * time/mktime.c (SHR): Check that shifts work as desired
16968         on the types long_int and time_t too, as SHR is used on
16969         such types.
16971         mktime: do not assume 'long' is wide enough
16972         * time/mktime.c (verify): Move decl up.
16973         (long_int): New type.
16974         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16975         to remove assumption in the code that 'long' is wide enough to
16976         store year values.  This assumption is not true on x32 and on
16977         some non-glibc platforms.
16979         mktime: merge wrapv change from gnulib
16980         * time/mktime.c (WRAPV): New macro.
16981         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16982         (guess_time_tm, __mktime_internal): Do not assume that signed
16983         integer overflow wraps around; modern compilers generate code
16984         where this assumption is no longer valid.
16986 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16988         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16989         Replace "jmp L(pseudo_end)" with "ret".
16990         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16991         Likewise.
16993 2012-05-23  Andreas Jaeger  <aj@suse.de>
16995         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16996         * sysdeps/unix/sysv/linux/poll.c: Remove file.
16998 2012-05-23  Andreas Jaeger  <aj@suse.de>
16999             Maximilian Attems  <max@stro.at>
17001         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17002         New macros.
17004 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
17006         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17007         code so that pseudo_end is just ret and the stack pointer is
17008         correct also for static library in error case.
17010 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
17012         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17013         move to syscalls.list.
17014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17019         * manual/install.texi (Running make install): Do not mention Linux
17020         kernel version for which pt_chown is not needed.
17021         (Linux): Do not mention problems with nscd with 2.0 kernels.
17022         * INSTALL: Regenerated.
17024 2012-05-23  Andreas Jaeger  <aj@suse.de>
17026         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17027         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17028         macro.
17029         * sysdeps/unix/sysv/linux/s390/bits/mman.h
17030         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17031         * sysdeps/unix/sysv/linux/sh/bits/mman.h
17032         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17033         * sysdeps/unix/sysv/linux/i386/bits/mman.h
17034         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17035         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17036         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17037         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17038         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17039         * sysdeps/unix/sysv/linux/bits/in.h
17040         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17042 2012-05-22  Roland McGrath  <roland@hack.frob.com>
17044         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17045         (PREPARE_VERSION): Just use assert instead, it will be elided
17046         under [NDEBUG] anyway.
17048 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17050         * sysdeps/unix/sysv/linux/Makefile: Include
17051         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17052         (sysdep_routines): Remove sysctl.
17053         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17054         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17055         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17056         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17057         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17059 2012-05-22  Andreas Jaeger  <aj@suse.de>
17061         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17062         that pseudo_end is just ret and the stack pointer is correct also
17063         for static library in error case.
17065 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
17067         [BZ #14122]
17068         * nss/nsswitch.c (defconfig_entries): New variable.
17069         (__nss_database_lookup): Don't leak defconfig entries.
17070         (nss_parse_service_list): Don't leak on error paths.
17071         (free_database_entries): New function.
17072         (free_defconfig): New function.
17073         (free_mem): Move common code to free_database_entries.
17075 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17077         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17078         Add arch_prctl.
17079         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17081         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17082         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17083         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17084         New macro.
17085         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17086         (INTERNAL_SYSCALL_TYPES): Likewise.
17087         (LOAD_ARGS_TYPES_[1-6]): Likewise.
17088         (LOAD_REGS_TYPES_[1-6]): Likewise.
17089         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17090         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17092 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17094         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17095         copysignl for GLIBC_2_0.
17096         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17097         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17098         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17099         logbl for GLIBC_2_0.
17100         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17101         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17103 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17105         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17106         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17108         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17109         Use "neg %eax".
17111         * time/mktime.c: Update copyright years.
17113 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
17115         mktime: merge comment-quoting-style change from gnulib
17116         * time/mktime.c: Quote 'like this' in comments.
17117         The GNU coding standards suggest that we no longer quote `like this',
17118         as "`" and "'" are typically rendered asymmetrically nowadays.
17119         The typical gnulib style is to quote 'like this' when quoting
17120         code, and "like this" when quoting English.
17122         * time/mktime.c (compile-command): Add "-I.".
17124         mktime: merge mktime-internal.h change from gnulib
17125         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17127         mktime: merge time_r change from gnulib
17128         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17130         mktime: merge DEBUG change from gnulib
17131         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17132         case system <time.h> has a #define.
17134         mktime: merge <sys/types.h> change from gnulib
17135         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17136         since <time.t> is now guaranteed to define time_t.
17138         mktime: merge HAVE_CONFIG_H change from gnulib
17139         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17141 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17143         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17144         Use "neg %eax".
17146         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17147         __rlim_t cast.
17148         (struct rusage): Use anonymous union to pad each field to
17149         __syscall_slong_t.
17151 2012-05-21  David S. Miller  <davem@davemloft.net>
17153         * Makefules (o-iterator): Remove .s cases.
17154         (compile-command.s): Delete.
17155         (COMPILE.s): Delete.
17156         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17158 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
17160         * configure.in (libc_cv_predef_stack_protector): Only consider
17161         "foobar" and "__stack_chk_fail" lines in libc_undefs.
17162         * configure: Regenerated.
17164 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
17166         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17167         New macro.  Use R*LP on int and pointer.
17168         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17169         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17170         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17171         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17173         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17174         [__WORDSIZE_TIME64_COMPAT32] instead of
17175         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17176         (struct utmp): Likewise.
17177         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17178         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17179         Renamed to ...
17180         (__WORDSIZE_TIME64_COMPAT32): This.
17181         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17182         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17183         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17184         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17185         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17186         (__WORDSIZE_TIME64_COMPAT32): New macro.
17188 2012-05-21  Andreas Jaeger  <aj@suse.de>
17190         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17191         only if [SHARED]. Add prototype for __wcschr_ia32.
17193 2012-05-21  Roland McGrath  <roland@hack.frob.com>
17195         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17196         of %rbp unmolested in the jmp_buf while mangling the low bits.
17197         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17198         unmolested high bits of %rbp while demangling the low bits.
17199         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17201 2012-05-21  Andreas Jaeger  <aj@suse.de>
17203         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17204         * sunrpc/svc_simple.c: Use it for registerrpc.
17205         * sunrpc/xcrypt.c: Use it for passwd2des.
17207         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17209 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
17211         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17212         Don't define if [__SYSCALL_WORDSIZE != 32].
17213         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17214         New macro.
17216 2012-05-21  Bruno Haible  <bruno@clisp.org>
17217             Andreas Jaeger  <aj@suse.de>
17219         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17220         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17221         inptr and inend for must_buffer_ch.
17222         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17223         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17224         * stdio-common/Makefile (tests): Remove bug15.
17225         (bug15-ENV): Remove macro.
17226         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17227         anymore.
17229 2012-05-19  Andreas Jaeger  <aj@suse.de>
17230             Roland McGrath  <roland@hack.frob.com>
17232         * manual/contrib.texi: Completely rewritten. It contains now an
17233         alphabetical list of contributors and their contributions.
17235 2012-05-21  Richard Henderson  <rth@twiddle.net>
17237         * misc/getauxval.c (__getauxval): Use unsigned long int.
17238         * misc/sys/auxv.h: Include <sys/cdefs.h>.
17239         (getauxval): Use unsigned long int.
17241 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
17243         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17245 2012-05-21  Roland McGrath  <roland@hack.frob.com>
17247         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17248         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17249         __alignof__ (long double).
17251 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17255 2012-05-20  Richard Henderson  <rth@twiddle.net>
17257         * misc/getauxval.c: New file.
17258         * misc/sys/auxv.h: New file.
17259         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17260         (routines): Add getauxval.
17261         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17262         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17263         * elf/dl-sysdep.c (_dl_auxv): Remove.
17264         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17265         * elf/dl-support.c (_dl_auxv): New variable.
17266         (_dl_aux_init): Initialize it.
17267         * manual/startup.texi (Auxiliary Vector): New node.
17268         * sysdeps/generic/bits/hwcap.h: New file.
17269         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17270         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
17271         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17272         * sysdeps/sparc/sysdep.h: ... here.  Include it.
17273         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17274         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17276         Update.
17277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17280         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17281         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17282         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17283         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17284         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17286 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17290 2012-05-19  David S. Miller  <davem@davemloft.net>
17292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17294 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
17296         [BZ #14123]
17297         * math/s_ccosh.c: Include <float.h>
17298         (__ccosh): Avoid internal overflow calculating sinh and cosh
17299         values before multiplying by sin and cos values.
17300         * math/s_ccoshf.c: Likewise.
17301         * math/s_ccoshl.c: Likewise.
17302         * math/s_csin.c: Likewise.
17303         * math/s_csinf.c: Likewise.
17304         * math/s_csinl.c: Likewise.
17305         * math/s_csinh.c: Likewise.
17306         * math/s_csinhf.c: Likewise.
17307         * math/s_csinhl.c: Likewise.
17308         * math/libm-test.inc (ccos_test): Add more tests.
17309         (ccosh_test): Likewise.
17310         (csin_test): Likewise.
17311         (csinh_test): Likewise.
17312         * sysdeps/i386/fpu/libm-test-ulps: Update.
17313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17315 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17317         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17318         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17320         * sysdeps/x86_64/x32/_itoa.h: Add comment.
17322 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
17324         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17325         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17326         * sysdeps/powerpc/soft-fp/Versions: Likewise.
17327         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17328         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17329         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17330         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17331         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17332         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17333         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17334         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17335         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17336         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17337         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17338         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17339         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17340         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17341         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17342         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17343         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17344         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17345         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17346         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17347         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17348         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17349         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17350         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17351         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17352         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17353         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17354         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17356 2012-05-18  Andreas Jaeger  <aj@suse.de>
17358         * csu/.gitignore: Delete.
17360 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17362         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17363         (timex): Use __syscall_slong_t.
17365 2012-05-18  Andreas Jaeger  <aj@suse.de>
17366             Carlos O'Donell  <carlos_odonell@mentor.com>
17368         * manual/install.texi (Configuring and compiling): Update
17369         description about files modified in the source directory.
17370         * INSTALL: Regenerated.
17372 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17374         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17375         value.  Use "or" to set return value to -1.
17376         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17377         negate return value.
17379 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17381         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17382         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17383         failure if the compiler has Graphite support disabled.
17384         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17385         Likewise.
17386         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17387         CFLAGS-memmove.c): Likewise.
17388         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17389         Likewise.
17391 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17393         * sysdeps/x86_64/x32/_itoa.h: New file.
17395         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17396         getdents system call only if kernel and user dirents have the
17397         same d_ino and d_off.
17399         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17400         LLONG_MAX != LONG_MAX.
17401         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17402         (_fitoa_word): Likewise.
17404         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17405         years.
17406         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17407         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17408         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17410         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17411         include <bits/wordsize.h>.  Check __x86_64__ instead of
17412         __WORDSIZE.
17413         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17414         if __x86_64__ is defined.  Use anonymous union on fpstate.
17416         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17417         anonymous union.
17419 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
17421         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17422         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17423         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17424         Refer to _rtld_local_ro instead of _rtld_global_ro.
17425         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17426         Likewise.
17427         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17428         Likewise.
17429         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17430         Likewise.
17431         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17432         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17433         of _rtld_global, and rtld_progname instead of _dl_argv[0].
17435         * sysdeps/powerpc/powerpc32/dl-machine.c
17436         (__elf_machine_runtime_setup) [PROF]: Don't reference
17437         _dl_prof_resolve.
17439 2012-05-18  Andreas Jaeger  <aj@suse.de>
17441         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17442         function only available for GCCs before 3.4 since GCC 3.4
17443         introduced a builtin.
17444         (lrint): Likewise.
17445         (llrintf): Likewise.
17446         (llrint): Likewise.
17447         (fmaxf): Likewise.
17448         (fmax): Likewise.
17449         (fminf): Likewise.
17450         (fmin): Likewise.
17451         (rint): Likewise.
17452         (rintf): Likewise.
17453         (nearbyint): Likewise.
17454         (nearbyintf): Likewise.
17455         (ceil): Likewise.
17456         (ceilf): Likewise.
17457         (floor): Likewise.
17458         (floorf): Likewise.
17460 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17462         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17463         on both fields and cast pointer to __syscall_ulong_t.
17465         * bits/types.h (__fsword_t): New type.
17466         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17467         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17468         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17469         (__FSWORD_T_TYPE): Likewise.
17470         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17471         (__FSWORD_T_TYPE): Likewise.
17472         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17473         (__FSWORD_T_TYPE): Likewise.
17474         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17475         (__FSWORD_T_TYPE): Likewise.
17476         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17477         __SWORD_TYPE with __fsword_t.
17478         (statfs64): Likewise.
17480 2012-05-17  David S. Miller  <davem@davemloft.net>
17482         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17484 2012-05-17  Andreas Jaeger  <aj@suse.de>
17486         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17487         warning.
17489 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17491         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17493 2012-05-17  Andreas Jaeger  <aj@suse.de>
17495         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17496         when it is used.
17498 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
17500         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17502 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17504         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17505         * sysdeps/x86_64/tst-mallocalign1.c: New file.
17507 2012-05-17  Andreas Jaeger  <aj@suse.de>
17508             Carlos O'Donell  <carlos_odonell@mentor.com>
17510         [BZ #14059]
17511         * sysdeps/x86_64/multiarch/init-arch.h
17512         (bit_YMM_Usable): Rename to...
17513         (bit_AVX_Usable): ... this.
17514         (bit_FMA4_Usable): New macro.
17515         (bit_XMM_state): New macro.
17516         (bit_YMM_state): New macro.
17517         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17518         [__ASSEMBLER__] (index_AVX_Usable): ... this.
17519         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17520         (CPUID_OSXSAVE): New macro.
17521         (CPUID_AVX): New macro.
17522         (CPUID_FMA4): New macro.
17523         (index_YMM_Usable): Rename to...
17524         (index_AVX_Usable): ... this.
17525         (HAS_AVX): Use HAS_ARCH_FEATURE.
17526         (HAS_FMA4): Likewise.
17527         (HAS_YMM_USABLE): Remove.
17528         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17529         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17530         are present.
17531         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17532         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17533         * sysdeps/x86_64/multiarch/Makefile: Likewise.
17534         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17535         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17537 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
17539         * math/libm-test.c: Support platforms without multiple rounding modes.
17540         * math/bug-nextafter.c: Support platforms without FP exceptions.
17541         * math/bug-nexttoward.c: Likewise.
17542         * math/test-fenv.c: Likewise.
17543         * math/test-misc.c: Likewise.
17544         * stdlib/bug-getcontext.c: Likewise.
17546 2012-05-17  Andreas Jaeger  <aj@suse.de>
17548         * manual/examples/search.c (critter_cmp): Change signature to
17549         avoid warnings.
17550         * manual/string.texi (Collation Functions): Likewise.
17552 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17554         * bits/types.h: Fold copyright years.
17555         * bits/typesizes.h: Likewise.
17556         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17557         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17558         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17559         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17560         * time/time.h: Likewise.
17562 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
17564         [BZ #208]
17565         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17566         in instead of returning them.  Return void.
17567         (__libc_mallinfo): Accumulate over all arenas.
17568         (__malloc_stats): Adjust for change in int_mallinfo interface.
17570 2012-05-16  Roland McGrath  <roland@hack.frob.com>
17572         [BZ #10375]
17573         * configure.in (NM): Add AC_CHECK_TOOL for it.
17574         (libc_extra_cflags): New substituted variable.
17575         Check for -fstack-protector being used implicitly.
17576         * configure: Regenerated.
17577         * config.make.in (config-extra-cflags): New variable,
17578         gets @libc_extra_cflags@.
17579         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17581         [BZ #10375]
17582         * configure.in: Check for _FORTIFY_SOURCE being predefined.
17583         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17584         * configure: Regenerated.
17585         * config.make.in (CPPUNDEFS): New substituted variable.
17586         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17587         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17588         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17590 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17592         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17593         (mq_attr): Use __syscall_slong_t.
17595 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17597         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17598         Check __x86_64__ instead of __WORDSIZE.
17599         (_STAT_VER_LINUX): Likewise.
17600         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
17601         __syscall_ulong_t and __syscall_slong_t.
17602         (stat64): Likewise.
17604 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17606         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17608 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17610         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17612 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17614         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17615         __syscall_ulong_t.
17617         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17618         include <bits/wordsize.h>.  Check __x86_64__ instead of
17619         __WORDSIZE.
17620         (greg_t): Use "__extension__ long long int" if __x86_64__ is
17621         defined.
17622         (mcontext_t): Replace "unsigned long" with "unsigned long long".
17624         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17625         include <bits/wordsize.h>.  Check __x86_64__ instead of
17626         __WORDSIZE.
17627         (user_regs_struct): Use "__extension__ unsigned long long"
17628         instead of "unsigned long" if __x86_64__ is defined.
17629         (user): Likewise.  Pad after pointer field if __ILP32__ is
17630         defined.
17632 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
17634         * configure.in (makeinfo): Require version 4.5 or later.  Allow
17635         versions 5 to 9.
17636         * configure: Regenerated.
17637         * manual/install.texi (texinfo): Increase version requirement to
17638         4.5 or later.
17639         * INSTALL: Regenerated.
17641         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17643 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17645         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17647         * sysdeps/x86_64/x32/ffs.c: New file.
17649         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17650         __syscall_ulong_t.
17651         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17652         defined.  Use __syscall_ulong_t.
17653         (shminfo): Use __syscall_ulong_t.
17654         (shm_info): Likewise.
17656         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17657         __syscall_ulong_t.
17659         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17660         <bits/wordsize.h>.
17661         (msgqnum_t): Use __syscall_ulong_t.
17662         (msglen_t): Likewise.
17663         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
17664         __syscall_ulong_t.
17666         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17667         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17669         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17671         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17672         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17674         * sysvipc/sys/msg.h (msgbuf): Replace long int with
17675         __syscall_slong_t.
17677         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17678         include <bits/wordsize.h>.  Check __x86_64__ instead of
17679         __WORDSIZE.
17681         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17682         "unsigned long long int" if __x86_64__ is defined.
17683         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17685         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17686         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17687         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17689         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17690         <stdint.h>.
17691         (GET_PC): Cast to uintptr_t first.
17692         (GET_FRAME): Likewise.
17693         (GET_STACK): Likewise.
17695         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17696         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17697         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17698         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17699         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17700         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17701         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17702         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17703         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17704         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17705         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17706         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17707         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17708         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17709         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17710         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17711         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17712         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17713         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17714         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17715         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17716         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17717         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17718         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17719         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17720         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17721         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17722         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17723         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17725 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
17727         * Makerules (+depfiles): Also collect depfiles from .oS in
17728         $(extra-objs).
17729         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17730         .oS, $(libnldbl-routines)).
17732         * Makerules (native-compile-mkdep-flags): Define.
17733         * sunrpc/Makefile (extra-objs): Add $(addprefix
17734         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17735         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17736         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
17737         calling $(make-target-directory).
17739 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17741         * bits/types.h (__snseconds_t): Removed.
17742         * time/time.h (struct timespec): Replace __snseconds_t with
17743         __syscall_slong_t.
17744         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17745         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17746         Likewise.
17747         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17748         (__SNSECONDS_T_TYPE): Likewise.
17749         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17750         (__SNSECONDS_T_TYPE): Likewise.
17751         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17752         (__SNSECONDS_T_TYPE): Likewise.
17754 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17756         * sysdeps/mach/hurd/bits/typesizes.h
17757         (__SYSCALL_SLONG_TYPE): New macro.
17758         (__SYSCALL_ULONG_TYPE): Likewise.
17760 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17762         * bits/types.h (__syscall_slong_t): New type.
17763         (__syscall_ulong_t): Likewise.
17765         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17766         (__SYSCALL_ULONG_TYPE): Likewise.
17767         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17768         (__SYSCALL_SLONG_TYPE): Likewise.
17769         (__SYSCALL_ULONG_TYPE): Likewise.
17770         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17771         (__SYSCALL_SLONG_TYPE): Likewise.
17772         (__SYSCALL_ULONG_TYPE): Likewise.
17773         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17774         (__SYSCALL_SLONG_TYPE): Likewise.
17775         (__SYSCALL_ULONG_TYPE): Likewise.
17777 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17779         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17780         Add sigaltstack-offsets.sym.
17781         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17782         <sigaltstack-offsets.h>.
17783         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
17784         longjmp_msg pointer.
17785         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
17786         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17787         signal stack.
17788         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17790 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
17792         * elf/stackguard-macros.h: Remove file.
17793         * sysdeps/generic/stackguard-macros.h: New file.
17794         * sysdeps/i386/stackguard-macros.h: Likewise.
17795         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17796         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17797         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17798         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17799         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17800         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17801         * sysdeps/x86_64/stackguard-macros.h: Likewise.
17802         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17803         <elf/stackguard-macros.h>.
17805         [BZ #14109]
17806         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17807         __aligned__ in attribute.
17808         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17809         (gregset_t): Likewise.
17811 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17813         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17814         * sysdeps/x86_64/64/Implies-after: Here.  New file.
17815         * sysdeps/x86_64/x32/Implies-after: New file.
17817 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17819         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17820         and access return value for _dl_profile_fixup.  Use R10_LP to
17821         load frame size.
17823 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17825         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17827 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17829         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17830         * sysdeps/x86_64/x32/sysdep.h: New file.
17832 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17834         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17835         * sysdeps/x86_64/setjmp.S: Likewise.
17837 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17839         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17840         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17841         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17842         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17843         remove unused global constant.
17845 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
17847         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17848         include of <not-cancel.h>.
17850 2012-05-15  Roland McGrath  <roland@hack.frob.com>
17852         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17854 2012-05-15  Jeff Law  <law@redhat.com>
17855             Andreas Jaeger  <aj@suse.de>
17857         [BZ #13594]
17858         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17859         out from...
17860         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17861         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17862         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17863         code changing __hst_map_handle.map.
17865 2012-05-15  Roland McGrath  <roland@hack.frob.com>
17867         * configure.in (sysnames): Look for Implies-before and Implies-after
17868         files.
17869         * configure: Regenerated.
17871 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17873         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17874         8-byte data alignment with LP_SIZE alignment.
17876 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17878         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17879         into R10_LP.
17881 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17883         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17885 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17887         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17888         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17889         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17890         Likewise.
17891         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17893 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17895         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17896         (stackinfo_sub_sp): Likewise.
17898 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17900         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17901         RAX_LP.
17903 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17905         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17906         into R*_LP.
17908 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17910         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17911         sizes into R*_LP.
17913 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17915         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17917 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17919         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17920         into R11_LP and load __x86_64_shared_cache_size_half into
17921         R8_LP.
17923 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17925         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17926         R8_LP.
17928 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17930         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17931         logb for POWER7.
17932         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17933         logbf for POWER7.
17934         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17935         logbl for POWER7.
17936         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17937         powerpc32/power7/fpu/s_logb.c via #include.
17938         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17939         powerpc32/power7/fpu/s_logbf.c via #include.
17940         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17941         powerpc32/power7/fpu/s_logbl.c via #include.
17943 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
17945         * README.libm: Remove file.
17947 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17949         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17950         count for x32.  Use R*_LP and omit operand-size suffix.
17952 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17954         * shlib-versions: Move x86_64-.*-linux.* entries to ...
17955         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
17956         * sysdeps/x86_64/x32/shlib-versions: New file.
17958 2012-05-14  Roland McGrath  <roland@hack.frob.com>
17960         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17961         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17962         Use _dl_fatal_printf instead.
17964 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
17966         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17967         set if not set by the user.  Do not allow for being unset.
17968         * sysdeps/unix/sysv/linux/configure: Regenerated.
17970 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17972         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17973         the `q' suffix from lea and replace .quad with ASM_ADDR.
17975 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17977         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17978         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
17979         instead of $17.
17980         (PTR_DEMANGLE): Likewise.
17982 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17984         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17985         (LP_OP): Likewise.
17986         (ASM_ADDR): Likewise.
17987         (RAX_LP): Likewise.
17988         (RBP_LP): Likewise.
17989         (RBX_LP): Likewise.
17990         (RCX_LP): Likewise.
17991         (RDI_LP): Likewise.
17992         (RSI_LP): Likewise.
17993         (RSP_LP): Likewise.
17994         (R8_LP): Likewise.
17995         (R9_LP): Likewise.
17996         (R10_LP): Likewise.
17997         (R10_LP): Likewise.
17998         (R11_LP): Likewise.
17999         (R12_LP): Likewise.
18000         (R13_LP): Likewise.
18001         (R14_LP): Likewise.
18002         (R15_LP): Likewise.
18004 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18006         * sysdeps/x86_64/x32/dl-machine.h: New file.
18008 2012-05-14  Andreas Jaeger  <aj@suse.de>
18010         * manual/Makefile (subdir): Remove export of subdir.
18011         (all): Remove target.
18012         (.PHONY): Remove all from list.
18013         (mkinstalldirs): Remove.
18014         (.PHONY): Remove installdirs from list.
18015         ($(inst_infodir)/libc.info): Use make-target-directory.
18016         (installdirs): Remove.
18017         (subdir_%): Remove.
18018         (glibc-targets): Remove.
18019         (lib): Remove.
18020         (stubs): Remove.
18021         ($(objpfx)stubs ../po/manual.pot): Remove.
18022         ($(objpfx)stamp%): Remove.
18023         (make-target-directory): Remove.
18024         (subdir_install): Remove.
18025         (routines): Remove.
18026         (aux): Remove.
18027         (sources): Remove.
18028         (objects): Remove.
18029         (headers): Remove.
18031         [BZ #13750]
18032         * manual/.gitignore: Remove, it's not needed anymore.
18033         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18034         all files in it.
18035         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18036         directory.
18037         (texis): Renamed to $(objpfx)texis.
18038         (texis-path): New, contains path to generated files.
18039         (chapters.%): Use texis-path for complete path, add extra argument
18040         libc-texinfo.sh.
18041         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18042         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18043         (summary,texi, stamp-summary): Use complete path of
18044         files. Generate files in build dir.
18045         (dir-add.texi): Build in build dir.
18046         (libm-err.texi,stamp-libm-err): Likewise.
18047         (version.texi, stamp-version): Likewise.
18048         (.%c.texi): Likewise.
18049         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18050         (mostlyclean): Remove target.
18051         (realclean): Remove target.
18052         (generated): Add new variable with contents from mostlyclean and
18053         realclean, remove entries duplicated in common-mostlyclean, add
18054         stamp-libm-err and stamp-version.
18055         (generated-dirs): Add libc directory.
18056         ($(inst_infodir)/libc.info): Install files from build dir.
18058         * manual/install.texi (Configuring and compiling): Adjust since
18059         the info files are not part of the tar ball anymore.
18061 2012-05-14  Andreas Jaeger  <aj@suse.de>
18063         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18064         variable.
18066 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
18068         [BZ #13717]
18069         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18070         to 2.2.0 where earlier.
18071         * sysdeps/unix/sysv/linux/configure: Regenerated.
18072         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18073         Remove conditional code.
18074         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18075         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18076         Remove conditional code.
18077         [!__NR_lchown]: Likewise.
18078         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18079         [__NR_lchown]: Likewise.
18080         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18081         comment referencing __ASSUME_LCHOWN_SYSCALL.
18082         * sysdeps/unix/sysv/linux/i386/sigaction.c
18083         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18084         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18085         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18086         Remove conditional code.
18087         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18088         (__protocol_available): Remove #if 0 code.
18089         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18090         conditional code.
18091         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18092         * sysdeps/unix/sysv/linux/kernel-features.h
18093         (__ASSUME_GETCWD_SYSCALL): Don't define.
18094         (__ASSUME_REALTIME_SIGNALS): Likewise.
18095         (__ASSUME_PREAD_SYSCALL): Likewise.
18096         (__ASSUME_PWRITE_SYSCALL): Likewise.
18097         (__ASSUME_POLL_SYSCALL): Likewise.
18098         (__ASSUME_LCHOWN_SYSCALL): Likewise.
18099         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18100         non-SPARC.
18101         (__ASSUME_SIOCGIFNAME): Don't define.
18102         (__ASSUME_MSG_NOSIGNAL): Likewise.
18103         (__ASSUME_SENDFILE): Define unconditionally.
18104         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18105         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18106         conditional code.
18107         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18108         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18109         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18110         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18111         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18112         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18113         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18115         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18116         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18118         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18119         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18121         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18122         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18124         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18125         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18127         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18128         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18130         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18131         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18133         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18134         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18136         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18137         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18138         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18139         Remove conditional code.
18140         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18141         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18142         Remove conditional code.
18143         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18144         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18145         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18146         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18147         Remove conditional code.
18148         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18149         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18150         Remove conditional code.
18151         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18152         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18153         Remove conditional code.
18154         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18155         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18156         Remove conditional code.
18157         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18158         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18159         Remove conditional code.
18160         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18161         * sysdeps/unix/sysv/linux/sh/pwrite64.c
18162         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18163         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18164         * sysdeps/unix/sysv/linux/sigaction.c
18165         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18166         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18167         * sysdeps/unix/sysv/linux/sigpending.c
18168         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18169         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18170         * sysdeps/unix/sysv/linux/sigprocmask.c
18171         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18172         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18173         * sysdeps/unix/sysv/linux/sigsuspend.c
18174         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18175         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18176         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18177         (__libc_missing_rt_sigs): Remove.
18178         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18179         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18180         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18181         Remove conditional code.
18182         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18183         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18184         return 1.
18185         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18186         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18187         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18188         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18190 2012-05-14  Andreas Jaeger  <aj@suse.de>
18192         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18193         it's not used in glibc.
18194         (__coshm1): Likewise.
18195         (__acosh1p): Likewise.
18196         (__sgn): Likewise.
18198         * manual/string.texi (Copying and Concatenation): Add missing
18199         variable in concat example.
18200         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18202 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18204         [BZ #14103]
18205         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18206         __builtin_clzl with __builtin_clzll.
18208 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
18210         [BZ #14104]
18211         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18212         libc_freeres_ptr.
18214 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18216         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18217         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18218         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18219         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18221 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
18223         * NEWS: Update ia64 info.
18225 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
18227         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18228         used as bcopy.
18230 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
18232         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18233         * sysdeps/unix/syscalls.list (dup3): Likewise.
18234         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18235         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18237 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
18239         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18240         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18242 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
18244         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18245         thread pointer.
18246         (TLS_IE): Use mov/add instead of movq/addq to load thread
18247         pointer.
18248         (TLS_GD_PREFIX): New.
18249         (TLS_GD): Use it.
18251 2012-05-11  David S. Miller  <davem@davemloft.net>
18253         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18254         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18255         (_FPU_SETCW): Likewise.
18257 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18259         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18260         is 32-byte aligned.
18262 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
18264         [BZ #11837]
18265         * iconvdata/gb18030.c: Update tables.
18266         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
18267         characters specially.
18268         (BODY for TO_LOOP): Add encoding of missing ranges.
18270 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
18272         [BZ #13673]
18273         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18274         * sysdeps/mach/hurd/dup3.c: Likewise.
18275         * sysdeps/mach/hurd/readlinkat.c: Likewise.
18276         * sysdeps/powerpc/memmove.c:: Likewise.
18278 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18280         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18281         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18283 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18285         * elf/elf.h (R_X86_64_RELATIVE64): New.
18286         (R_X86_64_NUM): Updated.
18287         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18288         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
18289         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18290         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18291         tst-quad1pie tst-quad2pie
18292         (modules-names): Add tst-quadmod1 tst-quadmod2.
18293         ($(objpfx)tst-quad1): New dependency.
18294         ($(objpfx)tst-quad2): Likewise.
18295         ($(objpfx)tst-quad1pie): Likewise.
18296         ($(objpfx)tst-quad2pie): Likewise.
18297         * sysdeps/x86_64/tst-quad1.c: New file.
18298         * sysdeps/x86_64/tst-quad1pie.c: New file.
18299         * sysdeps/x86_64/tst-quad2.c: Likewise.
18300         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18301         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18302         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18303         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18304         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18306 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18308         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18309         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18310         * streams/stropts.h (t_scalar_t): Define type.
18312         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18313         (_PATH_PRESERVE): Set to "/var/lib".
18314         (_PATH_RWHODIR): Set to "/var/spool/rwho".
18316         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18317         instead of int.
18319         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18320         if __dir_mkfile succeeded.
18322         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18323         checking for _hurd_dtablesize.  Unlock it right after having
18324         finished _hurd_dtable allocation.
18326 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18328         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18329         * sysdeps/mach/hurd/configure: Regenerated.
18330         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18331         special-casing to...
18332         * sysdeps/gnu/configure.in: ... this new file.
18333         * sysdeps/unix/sysv/linux/configure: Regenerated.
18334         * sysdeps/gnu/configure: New generated file.
18336         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18337         for Linux: use nsec instead of usec, as well as:
18338         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18339         members of type struct timespec.
18340         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18341         New macros.
18342         (struct stat64): Likewise.
18343         (_STATBUF_ST_NSEC): New macro.
18344         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18346         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18347         __strtoul_internal rather than strtoul.
18349 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18351         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18352         and reject them.
18354 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18356         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18357         which preserves existing values.
18358         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18360 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18362         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18363         TIMEOUT values.  Return EINVAL for NFDS values either negative or
18364         greater than FD_SETSIZE.
18366 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18368         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18369         allocated, call __vm_protect to finish enabling the existing space, and
18370         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18371         allocate the remainder.
18373 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18375         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18376         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
18378 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18380         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18381         sysdeps/mach/hurd/readlink.c.
18383         * posix/tst-sysconf.c (posix_options): Only use
18384         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18385         _POSIX_SYNCHRONIZED_IO when they are defined
18386         * sysdeps/mach/hurd/bits/posix_opt.h:
18387         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18388         (_XOPEN_REALTIME): Undefine macro.
18389         (_XOPEN_REALTIME_THREADS): Undefine macro.
18390         (_XOPEN_SHM): Undefine macro.
18391         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18392         macro to -1.
18393         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18394         macro to -1.
18395         (_POSIX_ASYNC_IO): Undefine macro.
18396         (_POSIX_PRIORITIZED_IO): Undefine macro.
18397         (_POSIX_SPIN_LOCKS): Define macro to -1.
18399         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18400         SA_NODEFER, SA_RESETHAND.
18401         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18402         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18403         F_DUPFD_CLOEXEC.
18405 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18407         * elf/Makefile (pldd-modules): Define unconditionally.
18409 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18411         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18413 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18415         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18416         Return ENOENT when name is empty.
18417         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18419 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18421         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18423         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18425 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18427         Fix mlock in all cases except non-readable pages.
18428         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18429         instead of VM_PROT_ALL as parameter to __vm_wire function.
18431         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18432         (__mkdir): When path is `/', just fail with EEXIST.
18433         * sysdeps/mach/hurd/mkdirat.c: Likewise.
18435 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18437         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18438         <sys/uio.h> (for writev).
18439         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18440         and <sys/param.h> (for MIN).
18442 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18444         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18445         REQUESTED_TIME.  Properly set the remaining time and return EINTR
18446         if interrupted.
18448 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18450         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18451         Depend on against $(link-rpcuserlibs).
18453 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18455         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18456         (__libc_stack_end): Do not use attribute_relro.
18457         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18458         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
18459         to libthread-provided value.
18460         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18461         attribute_relro.
18463 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18465         [BZ #3748]
18466         * bits/libc-lock.h (__libc_once_get): New macro.
18467         * sysdeps/mach/bits/libc-lock.h: Likewise.
18468         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18469         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18470         instead of using implementation details.
18472         * libio/fileops.c: Unconditionally include <kernel-features.h>.
18473         * libio/freopen.c: Likewise.
18474         * libio/freopen64.c: Likewise.
18475         * misc/syslog.c: Likewise.
18476         * nscd/connections.c: Likewise.
18477         * nscd/netgroupcache.c: Likewise.
18478         * sysdeps/posix/getcwd.c: Likewise.
18480 2012-05-10  Roland McGrath  <roland@hack.frob.com>
18482         * math/w_ilogbf.c: Add #include <limits.h>.
18484 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18486         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
18487         path instead of returning without unlocking.
18489         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18490         immediate-write ioctls.
18491         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18493 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18495         * sysdeps/mach/hurd/i386/init-first.c (init): Use
18496         __builtin_frame_address instead of making assumptions about the
18497         location of the return address relative to DATA.  Force early load of
18498         the return address.
18499         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18500         __builtin_frame_address.
18502         dup3 for GNU Hurd.
18503         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18504         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
18505         implement dup3 and do some further code clean-ups.
18506         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18507         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18509 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18511         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18513         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18514         HURD_CRITICAL_END around holding _hurd_dtable_lock.
18515         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18516         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18517         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18518         d->port.lock.
18520         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18521         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
18522         when handler == SIG_ERR, not when handler != SIG_ERR.
18524 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18526         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18527         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18528         definitions.
18530         accept4 for GNU Hurd.
18531         * include/sys/socket.h (__libc_accept4): New prototype.
18532         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
18533         to implement __libc_accept4.
18534         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18535         __libc_accept4.
18536         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18538         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18539         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18540         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18541         signal-defines.sym.
18543 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18545         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
18547 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18549         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18550         assertion on O_CLOEXEC flag.
18551         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18552         * hurd/intern-fd.c: Likewise.
18553         * hurd/port2fd.c: Likewise.
18555 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18557         [BZ #3906]
18558         * bits/in.h (IPV6_PKTINFO): Define new macro.
18559         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18561 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18563         [BZ #13954]
18564         [BZ #13955]
18565         [BZ #13956]
18566         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18567         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18568         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18569         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18570         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18571         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18572         * math/libm-test.inc (logb_test) : Additional logb tests.
18574 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
18575             Andreas Jaeger  <aj@suse.de>
18577         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18578         * configure: Regenerated.
18579         * config.h.in (LINK_OBSOLETE_RPC): New macro.
18580         * config.make.in (link-obsolete-rpc): New substituted variable.
18581         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18582         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18583         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18584         (shared-only-routines): Don't set it under [link-obsolete-rpc],
18585         so that libc.a contains the symbols.
18586         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18587         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18588         * sunrpc/auth_none.c: Likewise.
18589         * sunrpc/auth_unix.c: Likewise.
18590         * sunrpc/authdes_prot.c: Likewise.
18591         * sunrpc/authuxprot.c: Likewise.
18592         * sunrpc/clnt_gen.c: Likewise.
18593         * sunrpc/clnt_perr.c: Likewise.
18594         * sunrpc/clnt_raw.c: Likewise.
18595         * sunrpc/clnt_simp.c: Likewise.
18596         * sunrpc/clnt_tcp.c: Likewise.
18597         * sunrpc/clnt_udp.c: Likewise.
18598         * sunrpc/clnt_unix.c: Likewise.
18599         * sunrpc/des_crypt.c: Likewise.
18600         * sunrpc/des_soft.c: Likewise.
18601         * sunrpc/get_myaddr.c: Likewise.
18602         * sunrpc/key_call.c: Likewise.
18603         * sunrpc/key_prot.c: Likewise.
18604         * sunrpc/netname.c: Likewise.
18605         * sunrpc/pm_getmaps.c: Likewise.
18606         * sunrpc/pm_getport.c: Likewise.
18607         * sunrpc/pmap_clnt.c: Likewise.
18608         * sunrpc/pmap_prot.c: Likewise.
18609         * sunrpc/pmap_prot2.c: Likewise.
18610         * sunrpc/pmap_rmt.c: Likewise.
18611         * sunrpc/publickey.c: Likewise.
18612         * sunrpc/rpc_cmsg.c: Likewise.
18613         * sunrpc/rpc_common.c: Likewise.
18614         * sunrpc/rpc_dtable.c: Likewise.
18615         * sunrpc/rpc_prot.c: Likewise.
18616         * sunrpc/rpc_thread.c: Likewise.
18617         * sunrpc/rtime.c: Likewise.
18618         * sunrpc/svc.c: Likewise.
18619         * sunrpc/svc_auth.c: Likewise.
18620         * sunrpc/svc_raw.c: Likewise.
18621         * sunrpc/svc_run.c: Likewise.
18622         * sunrpc/svc_tcp.c: Likewise.
18623         * sunrpc/svc_udp.c: Likewise.
18624         * sunrpc/svc_unix.c: Likewise.
18625         * sunrpc/svcauth_des.c: Likewise.
18626         * sunrpc/xcrypt.c: Likewise.
18627         * sunrpc/xdr.c: Likewise.
18628         * sunrpc/xdr_array.c: Likewise.
18629         * sunrpc/xdr_float.c: Likewise.
18630         * sunrpc/xdr_intXX_t.c: Likewise.
18631         * sunrpc/xdr_mem.c: Likewise.
18632         * sunrpc/xdr_rec.c: Likewise.
18633         * sunrpc/xdr_ref.c: Likewise.
18634         * sunrpc/xdr_sizeof.c: Likewise.
18635         * sunrpc/xdr_stdio.c: Likewise.
18637 2012-05-10  Roland McGrath  <roland@hack.frob.com>
18639         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18640         change.  Update copyright years.
18642 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
18644         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18646 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
18647             Joseph Myers  <joseph@codesourcery.com>
18648             Paul Pluzhnikov  <ppluzhnikov@google.com>
18650         [BZ #14012]
18651         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18652         requiring rpcgen.
18653         [cross-compiling] (extra-libs): Likewise.
18654         [cross-compiling] (extra-libs-others): Likewise.
18655         [cross-compiling] (librpcsvc-routines): Likewise.
18656         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18657         [cross-compiling] (omit-deps): Likewise.
18658         (sunrpc-CPPFLAGS): New variable.
18659         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18660         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18661         (cross-rpcgen-objs): New variable.
18662         (extra-objs): Append $(cross-rpcgen-objs).
18663         ($(cross-rpcgen-objs)): New rule.
18664         ($(objpfx)cross-rpcgen): Likewise.
18665         (rpcgen-cmd): Define to use $(built-program-file).  Expand
18666         comment.
18667         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18668         ($(objpfx)x%.stmp): Likewise.
18669         * sunrpc/proto.h [IS_IN_build] (_): Define.
18670         [IS_IN_build] (_libc_intl_domainname): Likewise.
18672 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18674         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18675         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18676         and R_X86_64_TPOFF64.
18678 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
18680         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18681         sysdeps/unix/sysv/syscalls.list.
18682         (stime): Likewise.
18683         (utime): Likewise.
18684         * sysdeps/unix/sysv/syscalls.list: Remove file.
18686 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
18688         [BZ #3440]
18689         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18690         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18691         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18692         (__LC_IDENTIFICATION): Make these macros useful in #if
18693         expressions, as required by C99.
18695 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
18697         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18698         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
18699         after this.
18701 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
18703         * stdlib/longlong.h: Updated from GCC.
18705 2012-05-09  Andreas Jaeger  <aj@suse.de>
18707         * nscd/nscd.c (run_modes): Make named enum, reorder so that
18708         default is first entry.
18709         (run_mode): Set type.
18710         (main): Remove informal message about syslog.
18711         (options): Fix typo.
18713         [BZ #14053]
18714         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
18715         to asm.
18716         (lrint): Likewise.
18717         (llrintf): Likewise.
18718         (llrint): Likewise.
18719         (rint): Likewise.
18720         (rintf): Likewise.
18721         (nearbyint): Likewise.
18722         (nearbyintf): Likewise.
18724 2012-05-09  Andreas Jaeger  <aj@suse.de>
18725             Pedro Alves  <palves@redhat.com>
18727         * nscd/nscd.c (run_mode): Use enum.
18728         (main): Cleanup coding style issue.
18730 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
18731             Andreas Jaeger  <aj@suse.de>
18733         * nscd/nscd.c (go_background): Replaced with...
18734         (run_mode): ... this.
18735         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
18736         (options): Add -F --foreground.
18737         (main): Implement it.
18738         (parse_opt): Parse it.
18740 2012-05-09  Andreas Jaeger  <aj@suse.de>
18742         [BZ #14083]
18743         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18744         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18745         -Wconversion warning.
18746         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18747         Likewise.
18749 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
18751         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
18752         == 0.
18753         (LC_ALL): Use macro-int-constant.
18754         (LC_COLLATE): Likewise.
18755         (LC_CTYPE): Likewise.
18756         (LC_MESSAGES): Likewise.
18757         (LC_MONETARY): Likewise.
18758         (LC_NUMERIC): Likewise.
18759         (LC_TIME): Likewise.
18760         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18761         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18762         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18763         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18764         Specify type.
18765         [C99-based standards] (float_t): Expect type.
18766         [C99-based standards] (double_t): Expect type.
18767         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
18768         type.
18769         [C99-based standards] (HUGE_VALL): Likewise.
18770         [C99-based standards] (INFINITY): Likewise.
18771         [C99-based standards] (NAN): Likewise.
18772         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18773         [C99-based standards] (FP_NAN): Likewise.
18774         [C99-based standards] (FP_NORMAL): Likewise.
18775         [C99-based standards] (FP_SUBNORMAL): Likewise.
18776         [C99-based standards] (FP_ZERO): Likewise.
18777         [C99-based standards] (FP_FAST_FMA): Use
18778         optional-macro-int-constant.  Specify type.  Require == 1.
18779         [C99-based standards] (FP_FAST_FMAF): Likewise.
18780         [C99-based standards] (FP_FAST_FMAL): Likewise.
18781         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18782         [C99-based standards] (FP_ILOGBNAN): Likewise.
18783         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18784         Specify type.
18785         [C99-based standards] (MATH_ERREXCEPT): Likewise.
18786         [C99-based standards] (math_errhandling): Specify type.
18787         [ISO99 || ISO11] (signgam): Do not allow.
18788         [non-C99-based standards] (copysignf): Do not allow.
18789         [non-C99-based standards] (exp2f): Likewise.
18790         [non-C99-based standards] (log2f): Likewise.
18791         [non-C99-based standards] (modff): Allow.
18792         [non-C99-based standards] (erff): Do not allow.
18793         [non-C99-based standards] (erfcf): Likewise.
18794         [non-C99-based standards] (gammaf): Likewise.
18795         [non-C99-based standards] (hypotf): Likewise.
18796         [non-C99-based standards] (j0f): Likewise.
18797         [non-C99-based standards] (j1f): Likewise.
18798         [non-C99-based standards] (jnf): Likewise.
18799         [non-C99-based standards] (lgammaf): Likewise.
18800         [non-C99-based standards] (tgammaf): Likewise.
18801         [non-C99-based standards] (y0f): Likewise.
18802         [non-C99-based standards] (y1f): Likewise.
18803         [non-C99-based standards] (ynf): Likewise.
18804         [non-C99-based standards] (isnanf): Likewise.
18805         [non-C99-based standards] (acoshf): Likewise.
18806         [non-C99-based standards] (asinhf): Likewise.
18807         [non-C99-based standards] (atanhf): Likewise.
18808         [non-C99-based standards] (cbrtf): Likewise.
18809         [non-C99-based standards] (expm1f): Likewise.
18810         [non-C99-based standards] (ilogbf): Likewise.
18811         [non-C99-based standards] (log1pf): Likewise.
18812         [non-C99-based standards] (logbf): Likewise.
18813         [non-C99-based standards] (nextafterf): Likewise.
18814         [non-C99-based standards] (remainderf): Likewise.
18815         [non-C99-based standards] (rintf): Likewise.
18816         [non-C99-based standards] (scalbf): Likewise.
18817         [non-C99-based standards] (copysignl): Likewise.
18818         [non-C99-based standards] (exp2l): Likewise.
18819         [non-C99-based standards] (log2l): Likewise.
18820         [non-C99-based standards] (modfl): Allow.
18821         [non-C99-based standards] (erfl): Do not allow.
18822         [non-C99-based standards] (erfcl): Likewise.
18823         [non-C99-based standards] (gammal): Likewise.
18824         [non-C99-based standards] (hypotl): Likewise.
18825         [non-C99-based standards] (j0l): Likewise.
18826         [non-C99-based standards] (j1l): Likewise.
18827         [non-C99-based standards] (jnl): Likewise.
18828         [non-C99-based standards] (lgammal): Likewise.
18829         [non-C99-based standards] (tgammal): Likewise.
18830         [non-C99-based standards] (y0l): Likewise.
18831         [non-C99-based standards] (y1l): Likewise.
18832         [non-C99-based standards] (ynl): Likewise.
18833         [non-C99-based standards] (isnanl): Likewise.
18834         [non-C99-based standards] (acoshl): Likewise.
18835         [non-C99-based standards] (asinhl): Likewise.
18836         [non-C99-based standards] (atanhl): Likewise.
18837         [non-C99-based standards] (cbrtl): Likewise.
18838         [non-C99-based standards] (expm1l): Likewise.
18839         [non-C99-based standards] (ilogbl): Likewise.
18840         [non-C99-based standards] (log1pl): Likewise.
18841         [non-C99-based standards] (logbl): Likewise.
18842         [non-C99-based standards] (nextafterl): Likewise.
18843         [non-C99-based standards] (remainderl): Likewise.
18844         [non-C99-based standards] (rintl): Likewise.
18845         [non-C99-based standards] (scalbl): Likewise.
18846         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18847         [non-C99-based standards] (FP_*): Do not allow.
18848         [C99-based standards] (FP_*): Change to
18849         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18850         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18851         allow.
18852         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18853         (SIG_ERR): Likewise.
18854         [X/Open-based standards] (SIG_HOLD): Likewise.
18855         (SIG_IGN): Likewise.
18856         (SIGABRT): Use macro-int-constant.  Specify type.  Require
18857         positive value.
18858         (SIGFPE): Likewise.
18859         (SIGILL): Likewise.
18860         (SIGINT): Likewise.
18861         (SIGSEGV): Likewise.
18862         (SIGTER): Likewise.
18863         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18864         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18865         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18866         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18867         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18868         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18869         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18870         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18871         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18872         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18873         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18874         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18875         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18876         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18877         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18878         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18879         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18880         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18881         [X/Open-based standards] (SIGTRAP): Likewise.
18882         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18883         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18884         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18885         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18886         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18887         allow.
18889 2012-05-08  Ian Wienand  <ianw@vmware.com>
18891         [BZ #14080]
18892         * time/tzset.c (__tzset_parse_tz): Update default rules for
18893         daylight time changes in the Energy Policy Act of 2005.
18895 2012-05-09  Andreas Jaeger  <aj@suse.de>
18897         [BZ #13983]
18898         * elf/ldconfig.c (parse_conf): Change string to make clear that
18899         ldconfig only issued a warning if ld.so.conf does not exist.
18901 2012-05-08  David S. Miller  <davem@davemloft.net>
18903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18904         movxtod instead of popping the value on the stack.
18906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18908 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
18910         * config.h.in: Add HAVE_ARM_PCS_VFP.
18912 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
18914         [BZ #13979]
18915         * include/features.h: Warn if user requests __FORTIFY_SOURCE
18916         checking but the checks are disabled for any reason.
18918 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
18920         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18921         and ELF64_R_TYPE with ELFW(R_TYPE).
18923 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
18925         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18926         (ulimit): Likewise.
18928         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18929         (settimeofday): Likewise.
18931 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
18933         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
18934         a struct th_u2 inside the union, and move tu_block/tu_code into
18935         a new th_u3 union of tu_block/tu_code inside of that.  Move
18936         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
18937         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
18938         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18939         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18940         (th_stuff): Change to th_u1.tu_stuff.
18941         (th_data): Define.
18942         (th_msg): Change to th_u1.th_u2.tu_data.
18944 2012-05-07  David S. Miller  <davem@davemloft.net>
18946         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18948         [BZ #14074]
18949         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18950         (SETUP_PIC_REG): Use it.
18951         (SETUP_PIC_REG_LEAF): Use it.
18953 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
18955         [BZ #13885]
18956         [BZ #13923]
18957         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18958         USE_AS_EXPM1L.
18959         (EXPL_FINITE): Likewise.
18960         (FLDLOG): Likewise.
18961         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18962         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18963         e_expl.S.
18964         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18965         USE_AS_EXPM1L.
18966         (EXPL_FINITE): Likewise.
18967         (FLDLOG): Likewise.
18968         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18969         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18970         e_expl.S.
18971         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
18972         test of -max_value argument for long double.
18973         * sysdeps/i386/fpu/libm-test-ulps: Update.
18974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18976 2012-05-06  David S. Miller  <davem@davemloft.net>
18978         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18979         quad soft-float symbols whose references which are compiler
18980         generated.
18981         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18983 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
18985         [BZ #13884]
18986         [BZ #13914]
18987         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18988         USE_AS_EXP10L.
18989         (EXPL_FINITE): Likewise.
18990         (FLDLOG): Likewise.
18991         (c0): Likewise.
18992         (c1): Likewise.
18993         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
18994         Adjust comments for base varying.
18995         (__expl_finite): Change alias to EXPL_FINITE.
18996         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18997         e_expl.S.
18998         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18999         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19000         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19001         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19002         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19003         USE_AS_EXP10L.
19004         (EXPL_FINITE): Likewise.
19005         (FLDLOG): Likewise.
19006         (c0): Likewise.
19007         (c1): Likewise.
19008         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
19009         Adjust comments for base varying.
19010         (__expl_finite): Change alias to EXPL_FINITE.
19011         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
19012         tests for bugs.
19013         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19015         [BZ #14064]
19016         * math/libm-test.inc (check_float_internal): Correct ulp
19017         calculation for subnormal expected results.
19019 2012-05-06  Andreas Jaeger  <aj@suse.de>
19021         * Makeconfig (+math-flags): New, set to -frounding-math.
19022         (+cflags): Add +math-flags so that all of glibc gets compiled with
19023         it.
19025         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19027 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
19029         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19030         Disable one test.
19032         [BZ #13787]
19033         [BZ #13922]
19034         [BZ #14036]
19035         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19036         (__ieee754_expl): Allow for and saturate large arguments.
19037         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19038         (u_threshold): Likewise.
19039         (__exp): Call __ieee754_exp before checking for overflow and
19040         underflow.
19041         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19042         (u_threshold): Likewise.
19043         (__expf): Call __ieee754_expf before checking for overflow and
19044         underflow.
19045         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19046         (u_threshold): Likewise.
19047         (__expl): Call __ieee754_expl before checking for overflow and
19048         underflow.
19049         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19050         (__ieee754_expl): Allow for and saturate large arguments.
19051         * math/libm-test.inc (exp_test): Add another test.  Do not allow
19052         missing overflow exception on overflow.
19053         (expm1_test): Do not allow missing overflow exception on overflow.
19055         * sysdeps/i386/fpu/e_expl.c: Move to ...
19056         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
19057         rather than using inline asm.
19058         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19059         * sysdeps/x86_64/fpu/e_expl.S: Copy from
19060         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19062         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19063         (nice): Likewise.
19064         (poll): Likewise.
19065         (signal): Likewise.
19066         (time): Likewise.
19067         (times): Likewise.
19069 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
19071         * sysdeps/unix/syscalls.list (adjtime): Add entry from
19072         sysdeps/unix/common/syscalls.list.
19073         (fchmod): Likewise.
19074         (fchown): Likewise.
19075         (ftruncate): Likewise.
19076         (getrusage): Likewise.
19077         (gettimeofday): Likewise.
19078         (setpgid): Likewise.
19079         (setregid): Likewise.
19080         (setreuid): Likewise.
19081         (sigaction): Likewise.
19082         (truncate): Likewise.
19083         (vhangup): Likewise.
19084         * sysdeps/unix/common/syscalls.list: Remove file.
19085         * sysdeps/unix/bsd/Implies: Don't include unix/common.
19086         * sysdeps/unix/sysv/linux/Implies: Likewise.
19088 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
19090         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19092         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19093         Moved to ...
19094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19095         Here.
19096         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19097         to ...
19098         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19099         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19100         to ...
19101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19102         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19103         to ...
19104         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19105         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19106         to ...
19107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19108         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19109         to ...
19110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19111         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19112         to ...
19113         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19114         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19115         to ...
19116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19117         Here.
19118         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19119         to ...
19120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19121         Here.
19122         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19123         to ...
19124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19125         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19126         Moved to ...
19127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19128         Here.
19129         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19130         to ...
19131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19133 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
19135         * sysdeps/unix/common/bits/dirent.h: Remove file.
19136         * sysdeps/unix/common/bits/fcntl.h: Likewise.
19138         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19139         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19140         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19141         * sysdeps/unix/bsd/isatty.c: Likewise.
19142         * sysdeps/unix/bsd/tcdrain.c: Likewise.
19143         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19144         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19146 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19148         [BZ #13563]
19149         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19150         long double comparison inaccuracies.
19151         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19154 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
19156         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19157         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19159 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
19161         [BZ #14049]
19162         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19163         nonzero digits before rounding a hex value.
19164         * stdlib/tst-strtod.c (tests): Add another test.
19166 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19168         * sysdeps/s390/fpu/libm-test-ulps: Update.
19170 2012-05-03  Andreas Jaeger  <aj@suse.de>
19172         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19173         does not get optimized out.
19174         (malloc_opt_barrier): New.
19176 2012-05-03  Andreas Jaeger  <aj@suse.de>
19177             Roland McGrath  <roland@hack.frob.com>
19179         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19180         intermediate file deletion.
19181         (generated): Add .symlist files.
19183 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
19185         [BZ #13775]
19186         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19187         Redirect under this condition.
19188         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19189         [__USE_GNU] (__dprintf_chk): Not under this condition.
19190         [__USE_GNU] (__vdprintf_chk): Likewise.
19191         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19192         under this condition.
19193         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19194         [__USE_XOPEN2K8] (dprintf): Define under this condition.
19195         [__USE_XOPEN2K8] (vdprintf): Likewise.
19196         [__USE_GNU] (__dprintf_chk): Not under this condition.
19197         [__USE_GNU] (__vdprintf_chk): Likewise.
19198         [__USE_GNU] (dprintf): Likewise.
19199         [__USE_GNU] (vdprintf): Likewise.
19201 2012-05-03  Roland McGrath  <roland@hack.frob.com>
19203         * elf/Makefile (common-generated): Set this instead of generated for
19204         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
19205         $(all-built-dso)-derived lists.
19207 2012-05-03  Andreas Jaeger  <aj@suse.de>
19209         * sysdeps/i386/fpu/libm-test-ulps: Update.
19211         * FAQ: Removed.
19212         * FAQ.in: Likewise.
19213         * scripts/gen-FAQ.pl: Likewise.
19214         * manual/install.texi (Installation): Point to online location of
19215         FAQ.
19216         * Makefile (files-for-dist): Remove FAQ.
19217         (FAQ): Remove.
19219 2012-05-02  Allan McRae  <allan@archlinux.org>
19221         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19222         (LDFLAGS-reldepmod5.so): Likewise.
19223         (LDFLAGS-reldep6mod1.so): Likewise.
19224         (LDFLAGS-reldep6mod4.so): Likewise.
19225         (LDFLAGS-reldep8mod3.so): Likewise.
19226         (LDFLAGS-unload4mod1.so): Likewise.
19227         (LDFLAGS-unload4mod2.so): Likewise.
19228         (LDFLAGS-tst-initorder): Likewise.
19229         (LDFLAGS-tst-initordera2.so): Likewise.
19230         (LDFLAGS-tst-initordera3.so): Likewise.
19231         (LDFLAGS-tst-initordera4.so): Likewise.
19232         (LDFLAGS-tst-initorderb2.so): Likewise.
19233         (LDFLAGS-noload): Likewise.
19234         (LDFLAGS-next): Likewise.
19235         (LDFLAGS-order2mod1.so): Likewise.
19236         (LDFLAGS-order2mod2.so): Likewise.
19237         (LDFLAGS-tst-initorder2): Likewise.
19238         (LDFLAGS-tst-initorder2a.so): Likewise.
19239         (LDFLAGS-tst-initorder2b.so): Likewise.
19240         (LDFLAGS-tst-initorder2c.so): Likewise.
19241         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19243 2012-05-02  David S. Miller  <davem@davemloft.net>
19245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19247 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
19249         [BZ #14055]
19250         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19252 2012-05-02  Andreas Jaeger  <aj@suse.de>
19254         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19255         since we manipulate rounding mode.
19256         (CPPFLAGS-test-idouble.c): Likewise.
19257         (CPPFLAGS-test-ifloat.c): Likewise.
19258         (CFLAGS-test-ldouble.c): Likewise.
19259         (CFLAGS-test-double.c): Likewise.
19260         (CFLAGS-test-float.c): Likewise.
19261         (CFLAGS-test-misc.c): Likewise.
19262         (CFLAGS-test-test-fenv.c): Likewise.
19264 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19266         [BZ #2550]
19267         [BZ #2570]
19268         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19269         comparisons to determine direction to adjust input.
19271 2012-05-01  Roland McGrath  <roland@hack.frob.com>
19273         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19274         output to the target.
19276         * scripts/localplt.awk: New file.
19277         * elf/Makefile ($(objpfx)check-localplt): Target removed.
19278         (check-localplt-CFLAGS): Variable removed.
19279         ($(all-built-dso:=.jmprel)): New static pattern rule.
19280         (generated): Add those targets.
19281         (localplt-built-dso): New variable.
19282         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19284         * elf/check-localplt.c: File removed.
19286         * scripts/check-execstack.awk: New file.
19287         * elf/Makefile ($(objpfx)check-execstack): Target removed.
19288         (check-execstack-CFLAGS): Variable removed.
19289         ($(objpfx)check-execstack.h): Target removed.
19290         ($(objpfx)execstack-default): New target.
19291         (generated): Add that instead of check-execstack.h.
19292         ($(all-built-dso:=.phdr)): New static pattern rule.
19293         (generated): Add those targets.
19294         * elf/check-execstack.c: File removed.
19296         * scripts/check-textrel.awk: New file.
19297         * elf/Makefile ($(objpfx)check-textrel): Target removed.
19298         (check-textrel-CFLAGS): Variable removed.
19299         (all-built-dso): Use := to define.o
19300         ($(all-built-dso:=.dyn)): New static pattern rule.
19301         (generated): Add those targets.
19302         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19303         * config.make.in (READELF): New substituted variable.
19304         * elf/check-textrel.c: File removed.
19306 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
19308         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19309         allow.
19310         * conform/data/ctype.h-data [C99-based standards] (isblank):
19311         Expect function.
19312         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19313         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19314         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19315         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19316         Specify type.  Require positive value.
19317         (EILSEQ): Likewise.
19318         (ERANGE): Likewise.
19319         [ISO || POSIX] (EILSEQ): Do not expect.
19320         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19321         Specify type.  Require positive value.
19322         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19323         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19324         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19325         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19326         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19327         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19328         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19329         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19330         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19331         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19332         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19333         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19334         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19335         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19336         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19337         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19338         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19339         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19340         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19341         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19342         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19343         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19344         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19345         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19346         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19347         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19348         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19349         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19350         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19351         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19352         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19353         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19354         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19355         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19356         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19357         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19358         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19359         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19360         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19361         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19362         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19363         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19364         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19365         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19366         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19367         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19368         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19369         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19370         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19371         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19372         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19373         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19374         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19375         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19376         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19377         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19378         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19379         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19380         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19381         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19382         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19383         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19384         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19385         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19386         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19387         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19388         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19389         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19390         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19391         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19392         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19393         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19394         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19395         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19396         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19397         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19398         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19399         Require >= 2.
19400         (FLT_ROUNDS): Expect as macro, not constant.
19401         (FLT_MANT_DIG): Use macro-int-constant.
19402         (DBL_MANT_DIG): Likewise.
19403         (LDBL_MANT_DIG): Likewise.
19404         (FLT_DIG): Likewise.
19405         (DBL_DIG): Likewise.
19406         (LDBL_DIG): Likewise.
19407         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
19408         (DBL_MIN_EXP): Likewise.
19409         (LDBL_MIN_EXP): Likewise.
19410         (FLT_MAX_EXP): Use macro-int-constant.
19411         (DBL_MAX_EXP): Likewise.
19412         (LDBL_MAX_EXP): Likewise.
19413         (FLT_MAX_10_EXP): Likewise.
19414         (DBL_MAX_10_EXP): Likewise.
19415         (LDBL_MAX_10_EXP): Likewise.
19416         (FLT_MAX): Use macro-constant.
19417         (DBL_MAX): Likewise.
19418         (LDBL_MAX): Likewise.
19419         (FLT_EPSILON): Use macro-constant.  Give upper bound.
19420         (DBL_EPSILON): Likewise.
19421         (LDBL_EPSILON): Likewise.
19422         (FLT_MIN): Likewise.
19423         (DBL_MIN): Likewise.
19424         (LDBL_MIN): Likewise.
19425         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19426         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19427         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19428         [ISO11] (FLT_HAS_SUBNORM): Likewise.
19429         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19430         [ISO11] (DBL_DECIMAL_DIG): Likewise.
19431         [ISO11] (FLT_DECIMAL_DIG): Likewise.
19432         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19433         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19434         [ISO11] (FLT_TRUE_MIN): Likewise.
19435         [ISO11] (LDBL_TRUE_MIN): Likewise.
19436         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19437         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19438         (SCHAR_MIN): Use macro-int-constant.  Specify type.
19439         (SCHAR_MAX): Likewise.
19440         (UCHAR_MAX): Likewise.
19441         (CHAR_MIN): Likewise.
19442         (CHAR_MAX): Likewise.
19443         (MB_LEN_MAX): Use macro-int-constant.
19444         (SHRT_MIN): Use macro-int-constant.  Specify type.
19445         (SHRT_MAX): Likewise.
19446         (USHRT_MAX): Likewise.
19447         (INT_MAX): Likewise.
19448         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
19449         bound negative.
19450         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19451         bound with "U".
19452         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19453         bound with "L".
19454         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
19455         bound negative.  Suffix upper bound with "L".
19456         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19457         bound with "UL".
19458         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19459         Specify type.
19460         [C99-based standards] (LLONG_MAX): Likewise.
19461         [C99-based standards] (ULLONG_MAX): Likewise.
19462         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
19463         == 0.
19464         [ISO11] (max_align_t): Require type.
19465         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19467         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19468         from $CFLAGS, without defining away __attribute__ calls.
19469         (checknamespace): Use $CFLAGS_namespace.
19471         * conform/conformtest.pl (@keywords): Only include C99 keywords
19472         for standards based on C99 or C11.
19474         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19475         Disable tests.
19476         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19477         UNIX98]: Likewise.
19479         * conform/conformtest.pl: Handle "macro-int-constant" and test for
19480         usability of symbols in #if.
19482         * conform/conformtest.pl: If macro or constant types start
19483         "promoted:", expect the symbol to be of the following type
19484         promoted by the integer promotions.
19486         * conform/conformtest.pl: Parse all "constant" and "macro" lines
19487         in one place.  Also handle "macro-constant".
19489         * conform/conformtest.pl: Only accept expected macro values with
19490         "==".  Parse all "macro" lines in one place.
19491         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19493         * conform/conformtest.pl: Handle braced types on "constant" lines
19494         instead of handling "typed-constant".
19495         * conform/data/signal.h-data: Use "constant" instead of
19496         "typed-constant".
19498         * conform/conformtest.pl: Handle "optional-" at start of lines in
19499         one place rather than duplicating several cases.  Handle each
19500         format of "macro" line with initial "optional-".
19502         * conform/conformtest.pl: Only accept expected constant or
19503         optional-constant values with "==".  Parse all "constant" lines in
19504         one place.  Parse all "optional-constant" lines in one place.
19505         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19506         * conform/data/fmtmsg.h-data: Likewise.
19507         * conform/data/netinet/in.h-data: Likewise.
19508         * conform/data/tar.h-data: Likewise.
19509         * conform/data/limits.h-data: Use "==" form on "constant" and
19510         "optional-constant" lines.
19512         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19513         Use -std=c99 for XOPEN2K.
19514         (@knownproblems): Remove.
19515         (newtoken): Don't check %isknown.
19517         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19518         Do not expect macro.
19519         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19520         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19521         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19522         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19523         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19524         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19525         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19526         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19527         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19528         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19529         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19530         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19531         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19532         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19533         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19534         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19535         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19536         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19537         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19538         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19539         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19540         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19541         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19542         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19543         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19544         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19545         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19546         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19547         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19548         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19549         [XPG3] (acosh): Likewise.
19550         [XPG3] (asinh): Likewise.
19551         [XPG3] (atanh): Likewise.
19552         [XPG3] (cbrt): Likewise.
19553         [XPG3] (expm1): Likewise.
19554         [XPG3] (ilogb): Likewise.
19555         [XPG3] (log1p): Likewise.
19556         [XPG3] (logb): Likewise.
19557         [XPG3] (nextafter): Likewise.
19558         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19559         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19560         [XPG3] (remainder): Likewise.
19561         [XPG3] (rint): Likewise.
19562         [XPG3 || XPG4 || UNIX98] (round): Likewise.
19563         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19564         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19565         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19566         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19567         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19568         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19569         [UNIX98 || XOPEN2K] (scalb): Expect.
19570         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19571         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19572         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19573         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19574         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19575         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19576         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19577         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19578         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19579         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19580         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19581         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19582         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19583         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19584         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19585         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19586         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19587         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19588         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19589         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19590         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19591         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19592         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19593         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19594         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19595         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19596         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19597         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19598         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19599         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19600         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19601         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19602         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19603         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19604         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19605         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19606         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19607         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19608         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19609         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19610         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19611         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19612         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19613         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19614         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19615         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19616         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19617         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19618         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19619         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19620         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19621         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19622         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19623         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19624         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19625         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19626         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19627         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19628         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19629         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19630         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19631         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19632         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19633         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19634         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19635         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19636         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19637         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19638         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19639         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19640         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19641         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19642         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19643         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19644         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19645         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19646         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19647         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19648         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19649         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19650         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19651         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19652         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19653         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19654         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19655         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19656         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19657         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19658         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19659         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19660         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19661         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19662         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19663         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19664         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19665         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19666         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19667         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19668         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19669         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19670         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19671         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19672         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19673         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19674         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19675         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19676         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19677         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19678         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19679         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19680         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19681         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19682         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19683         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19684         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19685         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19686         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19687         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19688         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19689         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19690         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19691         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19692         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19693         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19694         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19695         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19696         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19697         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19698         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19699         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19700         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19701         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19702         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19703         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19704         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19705         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19706         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19708         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19709         _XOPEN_SOURCE_EXTENDED for XPG4.
19711         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19713         * Makeconfig (localtime): Remove variable.
19714         (inst_localtime-file): Likewise.
19716 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19719         Update.
19720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19721         Update.
19722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19723         Update.
19724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19725         Update.
19726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19727         Update.
19728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19729         Update.
19730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19731         Update.
19732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19733         Update.
19734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19735         Update.
19737 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
19739         [BZ #2550]
19740         [BZ #2570]
19741         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19742         comparisons to determine direction to adjust input.
19743         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19744         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19745         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19746         Likewise.
19747         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19748         Likewise.
19749         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19750         Likewise.
19751         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19752         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19753         Likewise.
19754         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19755         Likewise.
19756         * math/libm-test.inc (nexttoward_test): Add more tests.
19758 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19760         [BZ #14040]
19761         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19762         in version GLIBC_2.1, not GLIBC_2.0.
19763         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19764         Likewise.
19766 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
19768         [BZ #13942]
19769         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19770         (1 - x) * (1 + x).
19771         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19772         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19773         * math/libm-test.inc (acos_test): Add more tests.
19774         (asin_test): Likewise.
19775         * sysdeps/i386/fpu/libm-test-ulps: Update.
19776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19778         [BZ #14034]
19779         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19780         of square root.
19781         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19782         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19783         * math/libm-test.inc (acos_test_tonearest): New function.
19784         (acos_test_towardzero): Likewise.
19785         (acos_test_downward): Likewise.
19786         (acos_test_upward): Likewise.
19787         (asin_test_tonearest): Likewise.
19788         (asin_test_towardzero): Likewise.
19789         (asin_test_downward): Likewise.
19790         (asin_test_upward): Likewise.
19791         (main): Call the new functions.
19792         * sysdeps/i386/fpu/libm-test-ulps: Update.
19793         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19795         [BZ #13884]
19796         [BZ #13924]
19797         * math/e_exp10.c: Include <float.h>.
19798         (__ieee754_exp10): Handle underflow here rather than multiplying
19799         large negative argument by M_LN10.
19800         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19801         of __ieee754_expf.
19802         * math/e_exp10l.c: Include <float.h>.
19803         (__ieee754_exp10l): Handle underflow here rather than multiplying
19804         large negative argument by M_LN10l.
19805         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
19806         spurious overflow exception on underflow.
19808 2012-04-29  Marek Polacek  <polacek@redhat.com>
19810         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19811         (__fortify_function): New macro.
19812         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19813         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19814         __extern_always_inline.
19815         * libio/bits/stdio2.h: Likewise.
19816         * libio/bits/stdio.h: Likewise.
19817         * string/string.h: Likewise.
19818         * string/bits/string3.h: Likewise.
19819         * include/stdio.h: Likewise.
19820         * stdlib/bits/stdlib.h: Likewise.
19821         * stdlib/stdlib.h: Likewise.
19822         * rt/bits/mqueue2.h: Likewise.
19823         * rt/mqueue.h: Likewise.
19824         * posix/bits/unistd.h: Likewise.
19825         * posix/unistd.h: Likewise.
19826         * io/bits/poll2.h: Likewise.
19827         * io/bits/fcntl2.h: Likewise.
19828         * io/fcntl.h: Likewise.
19829         * io/sys/poll.h: Likewise.
19830         * misc/bits/syslog.h: Likewise.
19831         * misc/bits/syslog-ldbl.h: Likewise.
19832         * misc/sys/syslog.h: Likewise.
19833         * socket/bits/socket2.h: Likewise.
19834         * socket/sys/socket.h: Likewise.
19835         * debug/tst-chk1.c: Likewise.
19836         * wcsmbs/bits/wchar2.h: Likewise.
19837         * wcsmbs/bits/wchar-ldbl.h: Likewise.
19838         * wcsmbs/wchar.h: Likewise.
19840 2012-04-29  Andreas Jaeger  <aj@suse.de>
19842         * Makerules (tests): Remove enable-check-abi protection.
19843         (check-abi-warn): Remove.
19844         (check-abi-%): Remove check-abi-warn usage.
19846         * configure.in: Remove check-abi configure option.
19847         * configure: Regenerated.
19848         * config.make.in (enable-check-abi): Remove.
19850 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
19852         [BZ #14033]
19853         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19854         double functions to double *_finite functions.
19856         [BZ #13941]
19857         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19858         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19859         LDBL_MIN_EXP.
19860         * stdio-common/Makefile (tests): Add tst-sprintf3.
19861         * stdio-common/tst-sprintf3.c: New file.
19863         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19864         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19866 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
19868         * conform/conformtest.pl: Remove duplicate typed-constant
19869         handling.
19871 2012-04-28  David S. Miller  <davem@davemloft.net>
19873         * Makerules (%.abilist): Add vpath on sysdep_dirs.
19874         (check-abi-%): Remove AWK script prerequisite and explicit
19875         abilist directory.
19876         (check-abi): Rewrite to just diff the symlist with the abilist.
19877         (config-tls, config-abi-config): Delete, no longer used.
19878         (update-abi-%): Remove AWK script and explicit abilist directory.
19879         (update-abi): Rewrite to simply compare and conditionally copy the
19880         symlist and the sysdep abilist file.  Remove update-abi-config
19881         checks.
19882         * abilist/ld.abilist: Remove.
19883         * abilist/libBrokenLocale.abilist: Remove.
19884         * abilist/libanl.abilist: Remove.
19885         * abilist/libcrypt.abilist: Remove.
19886         * abilist/libdl.abilist: Remove.
19887         * abilist/librt.abilist: Remove.
19888         * abilist/libthread_db.abilist: Remove.
19889         * abilist/libutil.abilist: Remove.
19890         * scripts/extract-abilist.awk: Remove.
19891         * scripts/merge-abilist.awk: Remove.
19892         * sysdeps/generic/libcidn.abilist: New file.
19893         * sysdeps/generic/libnss_compat.abilist: New file.
19894         * sysdeps/generic/libnss_db.abilist: New file.
19895         * sysdeps/generic/libnss_dns.abilist: New file.
19896         * sysdeps/generic/libnss_files.abilist: New file.
19897         * sysdeps/generic/libnss_hesiod.abilist: New file.
19898         * sysdeps/generic/libnss_nis.abilist: New file.
19899         * sysdeps/generic/libnss_nisplus.abilist: New file.
19900         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19901         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19902         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19903         file.
19904         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19905         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19906         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19907         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19908         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19909         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19910         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19911         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19912         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19913         file.
19914         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19915         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19916         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19917         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19918         file.
19919         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19920         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19921         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19922         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19923         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19924         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19925         file.
19926         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19927         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19928         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19929         file.
19930         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19931         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19932         New file.
19933         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19934         New file.
19935         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19936         New file.
19937         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19938         New file.
19939         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19940         New file.
19941         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19942         New file.
19943         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19944         New file.
19945         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19946         New file.
19947         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19948         New file.
19949         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19950         New file.
19951         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19952         New file.
19953         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19954         New file.
19955         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19956         New file.
19957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19958         file.
19959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19960         New file.
19961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19962         New file.
19963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19964         file.
19965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19966         New file.
19967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19968         New file.
19969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19970         file.
19971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19972         New file.
19973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19974         New file.
19975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19976         New file.
19977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19978         New file.
19979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19980         New file.
19981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19982         New file.
19983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19985         file.
19986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19987         New file.
19988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19989         file.
19990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19991         file.
19992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19993         file.
19994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19995         file.
19996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19997         file.
19998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19999         New file.
20000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20001         file.
20002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20003         file.
20004         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20005         New file.
20006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20007         file.
20008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20009         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20010         file.
20011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20012         New file.
20013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20014         file.
20015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20016         file.
20017         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20018         file.
20019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20020         file.
20021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20022         file.
20023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20024         New file.
20025         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20026         file.
20027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20028         file.
20029         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20030         New file.
20031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20032         file.
20033         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20034         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20035         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20036         file.
20037         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20038         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20039         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20040         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20041         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20042         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20043         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20044         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20045         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20046         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20048         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20049         file.
20050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20051         New file.
20052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20053         file.
20054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20055         file.
20056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20057         file.
20058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20059         file.
20060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20061         file.
20062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20063         New file.
20064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20065         New file.
20066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20067         file.
20068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20069         New file.
20070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20071         file.
20072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20074         file.
20075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20076         New file.
20077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20078         file.
20079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20080         file.
20081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20082         file.
20083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20084         file.
20085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20086         file.
20087         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20088         New file.
20089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20090         New file.
20091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20092         file.
20093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20094         New file.
20095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20096         file.
20098 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
20100         * conform/conformtest.pl: Fix typo in handling typed-constant from
20101         allow-header.
20103 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
20105         * README: Cut down references to pre-2.6 Linux kernels and
20106         Linuxthreads.  Update lists of configurations in libc and ports
20107         and sort alphabetically.  Say "or newer" with Linux kernel version
20108         requirements.
20110         * config.h.in [IS_IN_build]: Allow compiling without optimization.
20112 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20114         [BZ #887]
20115         * math/libm-test.inc (logb_test_downward): New test to expose
20116         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20117         rounding mode.
20119 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
20121         [BZ #14027]
20122         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20123         to be done.
20124         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20125         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20127 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
20129         * sysdeps/unix/i386/brk.S: Remove file.
20130         * sysdeps/unix/i386/dl-brk.S: Likewise.
20131         * sysdeps/unix/i386/pipe.S: Likewise.
20132         * sysdeps/unix/i386/sigreturn.S: Likewise.
20133         * sysdeps/unix/i386/syscall.S: Likewise.
20134         * sysdeps/unix/i386/vfork.S: Likewise.
20135         * sysdeps/unix/i386/wait.S: Likewise.
20137         * sysdeps/unix/common/tcsendbrk.c: Move to ...
20138         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20140         * configure.in (arm*-none*): Do not allow without
20141         --enable-hacker-mode.
20142         (netbsd*): Remove case setting base_os.
20143         (386bsd*): Likewise.
20144         (freebsd*): Likewise.
20145         (bsdi*): Likewise.
20146         (osf*): Likewise.
20147         (sunos*): Likewise.
20148         (ultrix*): Likewise.
20149         (newsos*): Likewise.
20150         (dynix*): Likewise.
20151         (*bsd*): Likewise.
20152         (sysv*): Likewise.
20153         (isc*): Likewise.
20154         (esix*): Likewise.
20155         (sco*): Likewise.
20156         (minix*): Likewise.
20157         (irix4*): Likewise.
20158         (irix6*): Likewise.
20159         (solaris[2-9]*): Likewise.
20160         (none): Likewise.
20161         * configure: Regenerated.
20163 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20165         [BZ #11521]
20166         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20167         overflow or cancellation in calculating denominator.
20168         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20169         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20170         down expression to avoid unexpected rounding in newer GCCs.
20171         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20173 2012-04-26  David S. Miller  <davem@davemloft.net>
20175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20176         long-double compat symbols.
20177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20191 2012-04-25  David S. Miller  <davem@davemloft.net>
20193         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20194         HWCAP_* values only after the memory barriers have been defined.
20195         (atomic_full_barrier): Define.
20196         (atomic_read_barrier): Define.
20197         (atomic_write_barrier): Define.
20199 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20201         * shlib-versions: Add libgcc_s version information.
20202         * sysdeps/generic/libgcc_s.h: Remove.
20203         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20204         libgcc_s.h.
20205         * sysdeps/gnu/unwind-resume.c: Likewise.
20206         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20208 2012-04-25  David S. Miller  <davem@davemloft.net>
20210         * sysdeps/unix/sparc/brk.S: Delete.
20211         * sysdeps/unix/sparc/dl-brk.S: Delete.
20212         * sysdeps/unix/sparc/pipe.S: Delete.
20213         * sysdeps/unix/sparc/sysdep.S: Delete.
20214         * sysdeps/unix/sparc/sysdep.h: Delete.
20215         * sysdeps/unix/sparc/vfork.S: Delete.
20216         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20217         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20218         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20219         ret_ERRVAL, r0, r1, MOVE): Define.
20220         (JUMPTARGET): Remove.
20221         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20222         sysdeps/unix/sparc/sysdep.h
20223         (ENTRY, END): Remove.
20224         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20226 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
20228         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20229         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20230         -DIS_IN_build.
20232         * timezone/README: Update upstream location and email address for
20233         tzcode and tzdata.
20234         * timezone/zdump.c: Update from tzcode 2012b.
20235         * timezone/zic.c: Likewise.
20237         * configure.in (libc_cv_as_needed): Remove test.
20238         * configure: Regenerated.
20239         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20240         conditional definition.
20241         [$(have-as-needed) != yes] (no-as-needed): Likewise.
20242         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20243         * config.make.in (have-as-needed): Remove variable.
20245 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20246             Paul Pluzhnikov  <ppluzhnikov@google.com>
20248         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20249         strings correctly.
20251 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
20253         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20254         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20255         * sysdeps/sh/strlen.S: Likewise.
20257 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
20259         * sysdeps/unix/fork.S: Remove file.
20260         * sysdeps/unix/i386/fork.S: Likewise.
20261         * sysdeps/unix/sparc/fork.S: Likewise.
20263         * sysdeps/unix/system.c: Remove file.
20264         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20266         * sysdeps/unix/getegid.S: Remove file.
20267         * sysdeps/unix/geteuid.S: Likewise.
20269 2012-04-24  Roland McGrath  <roland@hack.frob.com>
20271         * scripts/check-localplt.awk: New file.
20272         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20273         of diff.
20274         * scripts/data/localplt-generic.data: Add a comment.
20276         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20277         NODE when __dir_mkfile failed.
20278         * sysdeps/mach/hurd/symlinkat.c: Likewise.
20279         Reported by Ludovic Courtès <ludo@gnu.org>.
20281 2012-04-24  Andreas Jaeger  <aj@suse.de>
20283         * Makerules (common-clean): Also remove gen-as-const-headers
20284         files.
20286 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
20288         * Makerules (native-compile): Do not change working directory for
20289         build.  Use $(OUTPUT_OPTION) in command.
20290         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20292 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20294         [BZ #13886]
20295         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20296         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20297         * math/libm-test.inc (floor_test): Add more tests.
20298         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20300 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
20302         * sysdeps/unix/getdents.c: Remove file.
20303         * sysdeps/unix/sysv/getdents.c: Likewise.
20304         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20306         * sysdeps/unix/syscalls.list (madvise): Add syscall from
20307         sysdeps/unix/mman/syscalls.list.
20308         (mmap): Likewise.
20309         (mprotect): Likewise.
20310         (msync): Likewise.
20311         (munmap): Likewise.
20312         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20313         * sysdeps/unix/mman/syscalls.list: Remove.
20314         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20316         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20317         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20318         * configure: Regenerated.
20319         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20320         $(libgcc_s_suffix).
20321         * config.make.in (libgcc_s_suffix): Remove variable.
20323 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
20325         * sysdeps/unix/sysv/gethostname.c: Move to ...
20326         * sysdeps/posix/gethostname.c: ... here.
20328         * sysdeps/unix/execve.S: Remove file.
20330         * sysdeps/unix/_exit.S: Remove file.
20332 2012-04-23  Andreas Jaeger  <aj@suse.de>
20334         [BZ #13739]
20335         * manual/Makefile: Remove make dist support, there's no
20336         need for a stand-alone documentation tar ball.
20337         (TEXI2DVI): Define always, it's not in Makeconfig.
20338         (dist): Removed.
20339         (tar-it): Removed.
20340         (edition): Removed.
20341         (glibc-doc-$(edition).tar): Removed
20342         (%.Z): Removed.
20343         (%.gz): Removed.
20344         (%.uu): Removed.
20345         (ETAGS): Remove, it's in Makeconfig.
20346         (move-if-change): Remove, it's in Makeconfig.
20348 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
20350         [BZ #13970]
20351         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20352         (strtod, strtof, strtold, strtol, strtoul, strtoq)
20353         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20354         (strtod_l, strtof_l, strtold_l): Remove __wur.
20355         It is not necessarily an error to ignore strtol's return value.
20356         One can reliably look at the stored endptr to decide whether
20357         the number had valid syntax.
20359 2012-04-21  Andreas Jaeger  <aj@suse.de>
20361         [BZ #13739]
20362         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20364 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
20366         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20367         * sysdeps/unix/sysv/Versions: Remove file.
20369 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
20371         [BZ #13927]
20372         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20374 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
20376         [BZ #7064]
20377         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20378         version from __vm86.
20380 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
20382         * sysdeps/unix/common/lxstat.c: Remove file.
20383         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20385         * sysdeps/unix/sysv/Makefile: Remove file.
20387         * sysdeps/unix/sysv/direct.h: Remove file.
20389         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20390         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20391         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20392         * sysdeps/unix/sysv/bits/signum.h: Likewise.
20393         * sysdeps/unix/sysv/bits/stat.h: Likewise.
20394         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20395         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20397         * sysdeps/unix/sysv/setrlimit.c: Remove file.
20399         * sysdeps/unix/xmknod.c: Remove file.
20400         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20402         * sysdeps/unix/sysv/settimeofday.c: Remove file.
20404         * sysdeps/unix/sysv/i386/time.S: Remove file.
20406         * sysdeps/unix/fxstat.c: Remove file.
20407         * sysdeps/unix/xstat.c: Likewise.
20408         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20410         * sysdeps/unix/sysv/sigaction.c: Remove file.
20412         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20413         (sysdep_headers): Remove variable.
20414         [termio.h not in sysdep_headers] (generated): Likewise.
20415         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20416         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20417         * sysdeps/unix/sysv/tcdrain.c: Likewise.
20418         * sysdeps/unix/sysv/tcflow.c: Likewise.
20419         * sysdeps/unix/sysv/tcflush.c: Likewise.
20420         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20421         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20422         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20423         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20424         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20426         * sysdeps/unix/siglist.c: Remove file.
20428         * sysdeps/unix/getppid.S: Remove file.
20430         * sysdeps/unix/mkdir.c: Remove file.
20431         * sysdeps/unix/rmdir.c: Likewise.
20433 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
20435         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20436         ERR_MAX value.
20437         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20438         errlist-compat value.
20440 2012-04-18  David S. Miller  <davem@davemloft.net>
20442         * sysdeps/generic/memcopy.h (reg_char): Delete.
20443         * debug/strcat_chk.c: Use char, not reg_char.
20444         * debug/strcpy_chk.c: Likewise.
20445         * debug/strncat_chk.c: Likewise.
20446         * debug/strncpy_chk.c: Likewise.
20447         * string/memchr.c: Likewise.
20448         * string/memrchr.c: Likewise.
20449         * string/rawmemchr.c: Likewise.
20450         * string/strcat.c: Likewise.
20451         * string/strchr.c: Likewise.
20452         * string/strchrnul.c: Likewise.
20453         * string/strcmp.c: Likewise.
20454         * string/strcpy.c: Likewise.
20455         * string/strncat.c: Likewise.
20456         * string/strncmp.c: Likewise.
20457         * string/strncpy.c: Likewise.
20459 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20461         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20462         __builtin_memcopy is called when src and dest ranges are known to not
20463         overlap.
20465 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20467         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20468         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20469         fwd_align_merge macro call.
20470         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20471         bwd_align_merge macro call.
20472         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20474 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20476         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20477         bwd_align_merge macros.
20478         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20479         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20480         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20482 2012-04-18  David S. Miller  <davem@davemloft.net>
20484         * sysdeps/sparc/sparc64/memcopy.h: Delete.
20486 2012-04-18  Andreas Jaeger  <aj@suse.de>
20488         [BZ# 6794]
20489         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20490         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20491         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20493         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20494         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20495         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20497         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20498         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20499         Adjust for changed ldbl-128 files.
20501         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20502         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20503         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20505 2012-04-17  David S. Miller  <davem@davemloft.net>
20507         * sysdeps/sparc/sparc32/memcopy.h: Delete.
20509 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
20511         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20512         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20513         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20514         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20515         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20516         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20518 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20520         [BZ #6794]
20521         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20522         * math/libm-test.inc: Add ilogb errno and exception tests.
20523         * math/w_ilogb.c: New file: ilogb wrapper.
20524         * math/w_ilogbf.c: New file: ilogbf wrapper.
20525         * math/w_ilogbl.c: New file: ilogbl wrapper.
20526         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20527         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20528         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20529         exception being thrown with 0.0 as argument.
20530         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20531         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20532         exception being thrown with 0.0 as argument.
20533         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20534         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20535         exception being thrown with 0.0 as argument.
20536         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20537         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20538         exception being thrown with 0.0 as argument.
20539         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20540         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
20541         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
20542         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20543         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20544         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20545         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20546         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20547         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20549 2012-04-17  Petr Baudis  <pasky@ucw.cz>
20551         * include/sys/uio.h: Change __vector to __iovec to avoid clash
20552         with altivec.
20554 2012-04-16  Marek Polacek  <polacek@redhat.com>
20556         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20558 2012-04-16  Marek Polacek  <polacek@redhat.com>
20560         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20561         operands of fdivp instruction.
20563 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
20565         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20566         * elf/tst-auditmod3b.c: Likewise.
20567         * elf/tst-auditmod4b.c: Likewise.
20568         * elf/tst-auditmod5b.c: Likewise.
20569         * elf/tst-auditmod6b.c: Likewise.
20570         * elf/tst-auditmod6c.c: Likewise.
20571         * elf/tst-auditmod7b.c: Likewise.
20572         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20573         * sysdeps/x86_64/preconfigure.in: Likewise.
20574         * sysdeps/x86_64/preconfigure: Regenerated.
20576 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
20578         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20579         __ILP32__.
20581 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
20583         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20584         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20586 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
20588         [BZ #13973]
20589         * locale/iso-639.def: Fix gl language name. Spotted by
20590         Yaron Shahrabani.
20592 2012-04-12  Roland McGrath  <roland@hack.frob.com>
20594         [BZ #2074]
20595         * libio/libio.h (__io_write_fn): Update comment.
20597 2012-04-12  Petr Baudis  <pasky@ucw.cz>
20599         [BZ #2074]
20600         * stdio.texi (Hook Functions): The user provided writer function
20601         is not allowed to return -1.
20603 2012-04-11  David S. Miller  <davem@davemloft.net>
20605         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20607 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
20609         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20610         Add a leading slash to rtkaio.
20612 2012-04-11  Jim Meyering  <meyering@redhat.com>
20614         [BZ #11959]
20615         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20616         It is not necessarily an error to ignore fwrite's return
20617         value.  One can reliably use ferror to test for errors after
20618         the fact.
20620 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
20622         * bits/types.h (__snseconds_t): New type.
20623         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20625         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20626         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20627         (__SNSECONDS_T_TYPE): Likewise.
20628         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20629         (__SNSECONDS_T_TYPE): Likewise.
20630         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20631         (__SNSECONDS_T_TYPE): Likewise.
20633 2012-04-10  Andreas Jaeger  <aj@suse.de>
20635         [BZ #2636]
20636         * manual/time.texi (Processor Time): Return type of times is
20637         elapsed real time since an arbitrary point in the past.
20638         (CPU Time): Move CLK_TCK from here...
20639         (Processor Time): ...to here.  Correct description.
20640         * manual/conf.texi (Constants for Sysconf): Correct description of
20641         _SC_CLK_TCK.
20643 2012-04-10  David S. Miller  <davem@davemloft.net>
20645         [BZ #13967]
20646         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20647         where the is a gap between DT_REL(A) and DT_JMPREL.
20649 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
20651         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20652         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20653         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20655 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20657         * elf/dl-support.c (_dl_inhibit_cache): New variable.
20658         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20659         (dl_main): Handle --inhibit-cache.
20660         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20661         _dl_inhibit_cache.
20662         * elf/dl-load.c (_dl_map_object): Use it.
20663         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20665 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
20667         [BZ #13872]
20668         * sysdeps/i386/fpu/e_powl.S (p78): New object.
20669         (__ieee754_powl): Saturate large exponents rather than testing for
20670         overflow of y*log2(x).
20671         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20672         * math/libm-test.inc (pow_test): Do not permit spurious overflow
20673         exceptions.
20675         [BZ #11521]
20676         * math/s_ctan.c: Include <float.h>.
20677         (__ctan): Avoid internal overflow or cancellation in calculating
20678         denominator.
20679         * math/s_ctanf.c: Likewise.
20680         * math/s_ctanl.c: Likewise.
20681         * math/s_ctanh.c: Likewise.
20682         * math/s_ctanhf.c: Likewise.
20683         * math/s_ctanhl.c: Likewise.
20684         * math/libm-test.inc (ctan_test): Add more tests.
20685         (ctanh_test): Likewise.
20686         * sysdeps/i386/fpu/libm-test-ulps: Update.
20687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20689 2012-04-09  Andreas Jaeger  <aj@suse.de>
20691         [BZ #6894]
20692         * manual/filesys.texi (Directory Entries): Mention that d_namlen
20693         is an optional BSD extension.
20695         [BZ #10254]
20696         * manual/stdio.texi (Opening Streams): Document additional fopen
20697         parameters.
20699 2012-04-09  Roland McGrath  <roland@hack.frob.com>
20701         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20702         %eax without telling the compiler.
20704 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
20706         [BZ # 13963]
20707         * manual/install.texi: Use sourceware.org.
20709 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
20711         [BZ #13873]
20712         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20713         (__ieee754_pow): Generate overflow and underflow using huge*huge
20714         and tiny*tiny rather than just returning constant infinity or zero
20715         for large exponents.
20716         * math/libm-test.inc (pow_test): Require overflow exceptions for
20717         applicable cases of large exponents.
20719         [BZ #706]
20720         * sysdeps/i386/fpu/e_pow.S (p10): New object.
20721         (__ieee754_pow): Use iterative multiplication algorithm only for
20722         integer exponents with absolute value below 1024.  Check for odd
20723         integer exponents when using algorithm for real exponents.
20724         * math/libm-test.inc (pow_test): Add more tests.
20725         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20727 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
20729         [BZ #13705]
20730         * math/libm-test.inc (exp_test): Do not allow overflow exception
20731         on underflow test.
20733 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
20735         [BZ #13705]
20736         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20737         instead of __kernel_standard_f.
20739 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
20741         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20742         * sysdeps/x86_64/memset_chk.S: Likewise.
20744 2012-04-08  Andreas Jaeger  <aj@suse.de>
20746         [BZ #10153]
20747         * manual/startup.texi (Environment Access): Describe return value
20748         for putenv and setenv.
20750         [BZ #6895]
20751         * manual/filesys.texi (Directory Entries): Add description for
20752         DT_LNK.
20754         [BZ #6890]
20755         * manual/filesys.texi (Directory Entries): Clarify that it's file
20756         system not operating system in the description of DT_UNKNOWN.
20758         [BZ #6578]
20759         * manual/syslog.texi (closelog): Fix reference, it's openlog.
20761 2012-04-08  Stephen Compall  <s11@member.fsf.org>
20763         [BZ #6649]
20764         * manual/llio.texi (Opening and Closing Files): Add cross
20765         reference to explain mode argument.
20767 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
20769         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20770         * sysdeps/x86_64/memset_chk.S: Likewise.
20772 2012-04-07  David S. Miller  <davem@davemloft.net>
20774         * elf/elf.h (R_SPARC_WDISP10): Define.
20775         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20776         R_SPARC_SIZE32.
20777         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20778         R_SPARC_SIZE64 and R_SPARC_H34.
20780 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
20782         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20783         conditions and remove no longer applicable assertion.
20785 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
20787         * bits/byteswap.h: Include <features.h>.
20788         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20789         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20791 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
20793         * bits/byteswap.h (__bswap_16): Removed.
20794         Include <bits/byteswap-16.h> to get __bswap_16.
20795         * sysdeps/i386/bits/byteswap.h: Likewise.
20796         * sysdeps/s390/bits/byteswap.h: Likewise.
20797         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20798         * bits/byteswap-16.h: New file.
20799         * sysdeps/i386/bits/byteswap-16.h: Likewise.
20800         * sysdeps/s390/bits/byteswap-16.h: Likewise.
20801         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20802         * string/Makefile (headers): Add bits/byteswap-16.h.
20804 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20806         [BZ #13895]
20807         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20808         extra indirection.
20809         * nss/Makefile (tests-static, tests): Add tst-nss-static.
20810         * nss/tst-nss-static.c: New.
20812 2012-04-06  Robert Millan  <rmh@gnu.org>
20814         [BZ #6486]
20815         * manual/llio.texi (File Position Primitive): lseek
20816         refers to WHENCE when it really means OFFSET.
20818 2012-04-06  Andreas Jaeger  <aj@suse.de>
20820         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20821         strncmp declarations.
20823         * abilist/libc.abilist: Add __poll and __ppoll.
20825 2012-04-05  David S. Miller  <davem@davemloft.net>
20827         * scripts/check-local-headers.sh: Accept a host triplet in the
20828         path matched by the exclude regexp.
20830         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20831         definition.
20832         * sysdeps/powerpc/powerpc32/dl-machine.h
20833         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20834         * sysdeps/s390/s390-32/dl-machine.h
20835         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20836         * sysdeps/sparc/sparc32/dl-machine.h
20837         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20838         * sysdeps/sparc/sparc64/dl-machine.h
20839         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20841         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20842         lazy binding.
20843         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
20844         undefined symbol errors.
20846         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
20847         DT_NEEDED entries.
20849 2012-04-05  Michael Matz  <matz@suse.de>
20851         [BZ #13592]
20852         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20854 2012-04-05  Andreas Jaeger  <aj@suse.de>
20856         [BZ #13908]
20857         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20858         comment.
20860 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20862         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20863         which ROUND is no valid rounding mode.
20865 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20867         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20868         read again.
20869         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20871 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20873         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20874         an exception using FPU order intentionally.
20876 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20878         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20879         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20880         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20881         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20883 2012-04-05  Simon Josefsson  <simon@josefsson.org>
20885         [BZ #12340]
20886         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20887         EINVAL when BUFLEN is too smal.
20889 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20891         [BZ #13553]
20892         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20893         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20895 2012-04-03  Andreas Jaeger  <aj@suse.de>
20897         [BZ #13938]
20898         * manual/setjmp.texi (System V contexts): Fix sentence.
20900         [BZ #13926]
20901         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20902         New macro for this case.
20903         [!__GNUC__] (__bswap_64): New inline function for this case.
20904         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20905         * bits/byteswap.h: Likewise.
20906         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20907         ull, guard with __GLIBC_HAVE_LONG_LONG.
20909         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20910         __GLIBC_HAVE_LONG_LONG.
20912         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20913         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20915 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20917         [BZ #13691]
20918         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20919         inptr and inend, rather than using last_ch.
20921 2012-04-02  David S. Miller  <davem@davemloft.net>
20923         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20924         * stdio-common/printf-parse.h (read_int): Change return type to
20925         'int', return -1 on INT_MAX overflow.
20926         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20927         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
20928         overflows INT_MAX.  Check for overflow of in-format-string precision
20929         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
20930         SIZE_MAX not INT_MAX for integer overflow test.
20931         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20932         skip the construct in the format string but do not record anything.
20933         * stdio-common/bug22.c: Adjust to test both width/prevision
20934         INT_MAX overflow as well as total length INT_MAX overflow.  Check
20935         explicitly for proper errno values.
20937 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20939         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20940         CHAR_MAX.
20941         * string/test-strcmp.c [! WIDE]: Likewise.
20942         * time/tst-mktime2.c: Likewise for INT_MAX.
20943         * string/test-string.h: #include <sys/param.h> for MIN.
20945         * csu/init-first.c (__libc_init_first): Call __ctype_init.
20946         * sysdeps/i386/init-first.c (init): Likewise.
20947         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20948         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20949         * sysdeps/sh/init-first.c (init): Likewise.
20951 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
20953         * po/ru.po: Update from translation team.
20954         * po/vi.po: Likewise.
20956 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20958         * resolv/nss_dns/dns-host.c: Merge copyright years.
20960 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20962         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20963         Optimize memcpy with prefetch if
20964         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
20965         src, dst pointers have unequal 16 byte alignments.
20967 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20969         [BZ #13928]
20970         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20971         from a CNAME entry and return the minimum ttl for the query.
20972         (gaih_getanswer_slice): Likewise.
20974 2012-03-30  Jeff Law  <law@redhat.com>
20976         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20977         due to long keys.
20978         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20979         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20981         * resolv/nss_dns/dns-host.c: Update copyright year.
20983 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
20985         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
20986         requests to save a system call.  Fix check that all bytes are sent.
20988         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20989         comments for sendmmsg.
20991 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20993         [BZ #13691]
20994         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20995         with only 1 character between 0x0041 and 0x01b0.
20996         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20997         * wcsmbs/tst-mbsnrtowcs.c: New file.
20999 2012-03-29  David S. Miller  <davem@davemloft.net>
21001         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21002         small copies by hand.
21004 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21006         [BZ #13761]
21007         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21008         _nss_compat_initgroups_dyn): Fall back to malloc/free
21009         for large group memberships.
21011 2012-03-28  David S. Miller  <davem@davemloft.net>
21013         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21014         that branches into memcpy.
21015         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21016         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21017         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21018         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21019         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21020         bits.
21021         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21022         implementation too.
21023         * sysdeps/sparc/mempcpy.S: New file.
21025         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21026         the IFUNC routine in the libc case.
21027         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21029         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21030         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21031         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21032         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21033         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21034         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21035         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21036         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21038         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21039         loop to 256 bytes instead of 64 bytes and fix test signedness.
21041         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21042         * sysdeps/sparc/sparc32/Makefile: rather than here...
21043         * sysdeps/sparc/sparc64/Makefile: and here.
21045 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
21047         * malloc/mallocbug.c: Avoid warnings about unused variables.
21049 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21051         [BZ #13760]
21052         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21053         in the right place. Discard and retry query if response is
21054         larger than input buffer size.
21056 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
21058         [BZ #369]
21059         [BZ #2678]
21060         [BZ #3866]
21061         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21062         x for large integer exponent.
21063         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21064         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
21065         sign of result as needed afterwards.
21066         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21067         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21068         result for underflowing pow the same as for overflow.
21069         (__kernel_standard_l): Handle powl overflow and underflow here
21070         rather than calling __kernel_standard.
21071         * math/libm-test.inc (pow_test): Add more tests.
21073         [BZ #3868]
21074         [BZ #13879]
21075         [BZ #13910]
21076         [BZ #13911]
21077         [BZ #13912]
21078         [BZ #13913]
21079         [BZ #13915]
21080         [BZ #13916]
21081         [BZ #13917]
21082         [BZ #13918]
21083         [BZ #13919]
21084         [BZ #13920]
21085         [BZ #13921]
21086         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21087         * sysdeps/ieee754/k_standard.c: Include <float.h>.
21088         (__kernel_standard_l): New function.
21089         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21090         __kernel_standard.
21091         * math/w_acosl.c (__acosl): Likewise.
21092         * math/w_asinl.c (__asinl): Likewise.
21093         * math/w_atan2l.c (__atan2l): Likewise.
21094         * math/w_atanhl.c (__atanhl): Likewise.
21095         * math/w_coshl.c (__coshl): Likewise.
21096         * math/w_exp10l.c (__exp10l): Likewise.
21097         * math/w_exp2l.c (__exp2l): Likewise.
21098         * math/w_fmodl.c (__fmodl): Likewise.
21099         * math/w_hypotl.c (__hypotl): Likewise.
21100         * math/w_j0l.c (__j0l, __y0l): Likewise.
21101         * math/w_j1l.c (__j1l, __y1l): Likewise.
21102         * math/w_jnl.c (__jnl, __ynl): Likewise.
21103         * math/w_lgammal.c (__lgammal): Likewise.
21104         * math/w_log10l.c (__log10l): Likewise.
21105         * math/w_log2l.c (__log2l): Likewise.
21106         * math/w_logl.c (__logl): Likewise.
21107         * math/w_powl.c (__powl): Likewise.
21108         * math/w_remainderl.c (__remainderl): Likewise.
21109         * math/w_scalbl.c (sysv_scalbl): Likewise.
21110         * math/w_sinhl.c (__sinhl): Likewise.
21111         * math/w_sqrtl.c (__sqrtl): Likewise.
21112         * math/w_tgammal.c (__tgammal): Likewise.
21113         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21114         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21115         * math/libm-test.inc (acos_test): Add more tests.
21116         (acosh_test): Likewise.
21117         (asin_test): Likewise.
21118         (atanh_test): Likewise.
21119         (exp_test): Likewise.
21120         (exp10_test): Likewise.
21121         (exp2_test): Likewise.
21122         (expm1_test): Likewise.
21123         (lgamma_test): Likewise.
21124         (log_test): Likewise.
21125         (log10_test): Likewise.
21126         (log1p_test): Likewise.
21127         (log2_test): Likewise.
21128         (pow_test): Do not allow some spurious overflow exceptions.
21129         (sqrt_test): Add more tests.
21130         (tgamma_test): Likewise.
21131         (y0_test): Likewise.
21132         (y1_test): Likewise.
21133         (yn_test): Likewise.
21135 2012-03-27  Anton Blanchard  <anton@samba.org>
21137         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21138         MAP_HUGETLB.
21139         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21140         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21141         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21143 2012-03-27  David S. Miller  <davem@davemloft.net>
21145         * conform/Makefile: Run run-conformtest.sh using $(BASH).
21147         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21148         have-as-vis3 check.
21150 2012-03-27  Andreas Jaeger  <aj@suse.de>
21152         * sysdeps/x86_64/elf/configure.in: Moved to ...
21153         * sysdeps/x86_64/configure.in: ... here.
21154         * sysdeps/x86_64/elf/start.S: Moved to ...
21155         * sysdeps/x86_64/start.S: ... here.
21156         * sysdeps/x86_64/elf/configure: Delete.
21158         * sysdeps/x86_64/configure.in: Merge contents from
21159         sysdeps/i386/configure.in (without i686 check).
21161         * sysdeps/i386/elf/Versions: Merge into ...
21162         * sysdeps/i386/Versions: ... this.
21163         * sysdeps/i386/elf/Versions: Delete file.
21164         * sysdeps/i386/elf/start.S: Moved to ...
21165         * sysdeps/i386/start.S: ...here.
21166         * sysdeps/i386/elf/configure.in: Merge into...
21167         * sysdeps/i386/configure.in: ...here.
21168         * sysdeps/i386/elf/configure.in: Delete file.
21169         * sysdeps/i386/elf/configure: Delete file.
21171         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21172         * debug/backtracesyms.c: ... here.
21173         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21174         * debug/backtracesymsfd.c: ... here.
21175         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21176         * sysdeps/generic/ifunc-sel.h: ... here.
21178         * sysdeps/unix/i386/start.c: Delete file.
21179         * sysdeps/unix/sparc/start.c: Delete file.
21180         * sysdeps/unix/start.c: Delete file.
21182         * sysdeps/sh/elf/configure.in: Moved to ...
21183         * sysdeps/sh/configure.in: ... here.
21184         * sysdeps/sh/elf/start.S: Moved to ...
21185         * sysdeps/sh/start.S: ... here.
21186         * sysdeps/sh/elf/configure: Delete file.
21188         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21189         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21190         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21191         * sysdeps/powerpc/powerpc64/entry.h: ... here.
21192         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21193         * sysdeps/powerpc/powerpc64/start.S: here.
21194         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21195         * sysdeps/powerpc/powerpc64/Makefile: ... this.
21196         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21197         * sysdeps/powerpc/powerpc64/configure.in: ... this.
21198         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21200         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21201         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21202         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21203         * sysdeps/powerpc/powerpc32/start.S: ... here.
21204         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21205         * sysdeps/powerpc/powerpc32/configure.in: ... this.
21206         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21208         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21209         * sysdeps/powerpc/ifunc-sel.h: ... here.
21210         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21211         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21213         * sysdeps/sparc/elf/configure.in: Moved to ...
21214         * sysdeps/sparc/configure.in: ... here.
21215         * sysdeps/sparc/elf/configure: Delete file.
21216         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21217         * sysdeps/sparc/sparc32/start.S: ... here.
21218         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21219         * sysdeps/sparc/sparc64/start.S: ... here.
21220         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21221         * sysdeps/sparc/sparc32/Makefile: ... this.
21222         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21223         * sysdeps/sparc/sparc64/Makefile: ... this.
21225         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21226         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21227         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21228         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21229         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21230         * sysdeps/s390/s390-32/setjmp.S: ... here.
21231         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21232         * sysdeps/s390/s390-32/configure.in: ... here.
21233         * sysdeps/s390/s390-32/elf/configure: Delete file.
21234         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21235         * sysdeps/s390/s390-32/start.S: ... here.
21237         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21238         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21239         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21240         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21241         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21242         * sysdeps/s390/s390-64/setjmp.S: ... here.
21243         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21244         * sysdeps/s390/s390-64/configure.in: ... here
21245         * sysdeps/s390/s390-64/elf/configure: Delete file.
21246         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21247         * sysdeps/s390/s390-64/start.S: ... here.
21248         * sysdeps/s390/s390-64/elf/configure: Delete.
21250         * configure.in: Remove support for elf directories in sysdeps.
21252         * configure: Regenerated.
21253         * sysdeps/i386/configure: Regenerated.
21254         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21255         * sysdeps/powerpc/powerpc64/configure: Regenerated.
21256         * sysdeps/s390/s390-32/configure: Regenerated.
21257         * sysdeps/s390/s390-64/configure: Regenerated.
21258         * sysdeps/sh/configure: Regenerated.
21259         * sysdeps/sparc/configure: Regenerated.
21260         * sysdeps/x86_64/configure: Regenerated.
21262 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
21264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21266         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21267         denormal result into account.
21269 2012-03-25  Roland McGrath  <roland@hack.frob.com>
21271         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21272         Reported by Allan McRae <allan@archlinux.org>.
21274 2012-03-23  Jeff Law  <law@redhat.com>
21276         * nss/getnssent.c (__nss_getent): Fix typo.
21278 2012-03-23  David S. Miller  <davem@davemloft.net>
21280         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21282 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
21284         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21285         to pad to uint64_t for each field.
21286         (dl_tls_index): Replace unsigned long with uint64_t.
21288 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
21289         Paul Pluzhnikov  <ppluzhnikov@google.com>
21291         [BZ #6528]
21292         * grp/Makefile (otherlibs): Don't set it.
21293         * inet/Makefile (otherlibs): Likewise.
21294         * login/Makefile (otherlibs): Likewise.
21295         * nscd/Makefile (otherlibs): Likewise.
21296         * posix/Makefile (otherlibs): Likewise.
21297         * pwd/Makefile (otherlibs): Likewise.
21298         * rt/Makefile (otherlibs): Likewise.
21299         * sunrpc/Makefile (otherlibs): Likewise.
21300         * nss/Makefile (otherlibs): Likewise.
21301         Add libnss_files to routines and static-only-routines.
21302         ($(objpfx)getent): Remove rule.
21303         * resolv/Makefile: Add libnss_dns and libresolv to routines and
21304         static-only-routines.
21306 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
21308         [BZ #13892]
21309         * math/s_cexp.c: Include <float.h>.
21310         (__cexp): Handle exp result overflowing not necessarily
21311         overflowing both real and imaginary parts of result.
21312         * math/s_cexpf.c: Likewise.
21313         * math/s_cexpl.c: Likewise.
21314         * math/libm-test.inc (cexp_test): Add more tests.
21315         * sysdeps/i386/fpu/libm-test-ulps: Update.
21316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21318 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21320         * include/link.h (ELFW): New macro.
21321         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21322         Replace ELF64_R_TYPE with ELFW(R_TYPE).
21324 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21326         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21327         with uint64_t.
21329 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21331         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21332         declaration.
21333         (struct La_x32_retval): Likewise.
21335 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21337         * sysdeps/x86_64/preconfigure.in: New file.
21338         * sysdeps/x86_64/preconfigure: New generated file.
21340 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
21342         [BZ #13824]
21343         * math/e_exp2l.c: Include <float.h>.
21344         (__ieee754_exp2l): Handle overflow and underflow cases
21345         separately.  Only pass fractional part of argument to
21346         __ieee754_expl.
21347         * math/libm-test.inc (exp2_test): Add more tests.
21349         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21350         negating x to take absolute value.
21351         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21352         Likewise.
21353         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21354         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21355         Likewise.
21356         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21357         computing low part if x was negated.
21358         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21360 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21362         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21363         la_x32_gnu_pltexit.
21364         (pltexit): Cast int_retval to ptrdiff_t.
21365         * elf/tst-auditmod3b.c: Likewise.
21366         * elf/tst-auditmod4b.c: Likewise.
21367         * elf/tst-auditmod5b.c: Likewise.
21368         * elf/tst-auditmod6b.c: Likewise.
21369         * elf/tst-auditmod6c.c: Likewise.
21370         * elf/tst-auditmod7b.c: Likewise.
21372         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21373         and x32_gnu_pltexit.
21375         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21376         __ELF_NATIVE_CLASS.
21377         (La_x32_regs): New macro.
21378         (La_x32_retval): Likewise.
21379         (la_x32_gnu_pltenter): New function prototype.
21380         (la_x32_gnu_pltexit): Likewise.
21382 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
21384         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21385         exponent.
21387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21389         * configure.in (libc_cv_cc_nofma): Check for option to disable
21390         generation of FMA instructions.
21391         * configure: Regenerate.
21392         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21393         * sysdeps/ieee754/dbl-64/Makefile: New file.
21394         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21395         Remove brandred-fma4.
21396         (CFLAGS-brandred-fma4.c): Remove.
21397         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21398         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21399         define.
21400         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21401         define.
21403 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21405         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21406         LLONG_MAX != LONG_MAX.
21407         (_itoa_word): Use _ITOA_WORD_TYPE on value.
21408         (_fitoa_word): Likewise.
21409         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21410         LLONG_MAX != LONG_MAX.
21411         * stdio-common/_itowa.h: Include <_itoa.h>.
21412         (_itowa_word): Use _ITOA_WORD_TYPE on value.
21413         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
21414         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
21415         only if not defined.
21416         (_ITOA_WORD_TYPE): Likewise.
21417         (_itoa_word): Use _ITOA_WORD_TYPE on value.
21418         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21420 2012-03-21  David S. Miller  <davem@davemloft.net>
21422         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21424 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21426         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21427         of x86_64 when setting libc_cv_slibdir, libdir and
21428         libc_cv_localedir.
21429         * sysdeps/unix/sysv/linux/configure: Regenerated.
21431 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21433         * manual/lang.texi (Old Varargs): Remove section.
21434         (How Variadic): Update menu.
21435         (va_start): Do not mention varargs.h.
21437 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21438             Joseph Myers  <joseph@codesourcery.com>
21440         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21441         link test.
21442         * configure: Regenerated.
21444 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21446         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21447         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21448         conformtest.pl
21450 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21452         * NOTES: Remove.
21453         * Makefile (files-for-dist): Remove NOTES.
21454         (NOTES): Remove rule.
21455         * README: Don't refer to NOTES.
21456         * manual/creature.texi: Don't include macros.texi.
21457         * manual/intro.texi (creature.texi): Remove comment referring to
21458         NOTES.
21460         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21461         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21462         * configure: Regenerated.
21463         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21464         LIBC_TRY_CC_OPTION.
21465         (libc_cv_as_i686): Likewise.
21466         (libc_cv_cc_avx): Likewise.
21467         (libc_cv_cc_sse2avx): Likewise.
21468         (libc_cv_cc_fma4): Likewise.
21469         (libc_cv_cc_novzeroupper): Likewise.
21470         * sysdeps/i386/configure: Regenerated.
21472         [BZ #13883]
21473         * sysdeps/i386/fpu/s_cexp.S: Remove.
21474         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21475         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21476         * math/libm-test.inc (cexp_test): Add more tests.
21477         * sysdeps/i386/fpu/libm-test-ulps: Update.
21478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21480 2012-03-21  Allan McRae  <allan@archlinux.org>
21482         * timezone/Makefile: Do not install iso3166.tab and zone.tab
21484 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21486         [BZ #13871]
21487         * math/w_exp2.c: Do not include <float.h>.
21488         (o_threshold, u_threshold): Remove.
21489         (__exp2): Calculate result before checking finiteness and calling
21490         __kernel_standard.
21491         * math/w_exp2f.c: Likewise.
21492         * math/w_exp2l.c: Likewise.
21493         * math/libm-test.inc (exp2_test): Require overflow exception for
21494         1e6 input.
21496         [BZ #3866]
21497         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21498         range of signed 64-bit integers before using fistpll.  Remove
21499         checks for whether integers fit in mantissa bits.
21500         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21501         the range of signed 32-bit integers before using fistpl.  Remove
21502         checks for whether integers fit in mantissa bits.
21503         * sysdeps/i386/fpu/e_powl.S (p64): New object.
21504         (__ieee754_powl): Test for y outside the range of signed 64-bit
21505         integers before using fistpll.  Reduce 64-bit values to 63-bit
21506         ones as needed.
21507         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21508         divide-by-zero is raised for zero to large negative powers.
21509         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21510         (__ieee754_powl): Test for y outside the range of signed 64-bit
21511         integers before using fistpll.  Reduce 64-bit values to 63-bit
21512         ones as needed.
21513         * math/libm-test.inc (pow_test): Add more tests.
21515 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21517         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21518         <stdio-common/_itoa.h>.
21519         * debug/segfault.c: Likewise.
21520         * elf/dl-cache.c: Likewise.
21521         * elf/dl-minimal.c: Likewise.
21522         * elf/dl-misc.c: Likewise.
21523         * elf/dl-sysdep.c: Likewise.
21524         * elf/dl-version.c: Likewise.
21525         * elf/rtld.c: Likewise.
21526         * hurd/hurdsock.c: Likewise.
21527         * hurd/lookup-retry.c: Likewise.
21528         * malloc/malloc.c: Likewise.
21529         * malloc/mtrace.c: Likewise.
21530         * nscd/nscd_getgr_r.c: Likewise.
21531         * nscd/nscd_getpw_r.c: Likewise.
21532         * nscd/nscd_getserv_r.c: Likewise.
21533         * posix/getopt_init.c: Likewise.
21534         * posix/wordexp.c: Likewise.
21535         * stdio-common/_itoa.c: Likewise.
21536         * stdio-common/printf_fphex.c: Likewise.
21537         * stdio-common/vfprintf.c: Likewise.
21538         * string/_strerror.c: Likewise.
21539         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21540         * sysdeps/i386/i686/hp-timing.h: Likewise.
21541         * sysdeps/mach/_strerror.c: Likewise.
21542         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21543         * sysdeps/mach/hurd/sethostid.c: Likewise.
21544         * sysdeps/mach/hurd/xmknodat.c: Likewise.
21545         * sysdeps/mach/xpg-strerror.c: Likewise.
21546         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21547         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21548         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21549         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21550         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21551         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21552         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21553         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21554         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21555         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21556         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21557         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21558         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21559         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21560         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21561         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21562         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21563         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21564         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21565         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21566         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21568         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21570         * stdio-common/_itoa.h: Moved to ...
21571         * sysdeps/generic/_itoa.h: Here.
21573         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21575         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21576         instead of "_itoa.h" and "_itowa.h".
21577         * stdio-common/vfprintf.: Likewise.
21579 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21581         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21582         <bits/wordsize.h>.
21583         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21584         (__signbit): Likwise.
21585         (llrintf): Likwise.
21586         (llrint): Likwise.
21588 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21590         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21591         __WORDSIZE != 64.
21593 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
21595         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21596         OVERFLOW_EXCEPTION_OK.
21597         * math/libm-test.inc ("Philosophy"): Update comment about
21598         exception testing.
21599         (OVERFLOW_EXCEPTION): Define.
21600         (OVERFLOW_EXCEPTION_OK): Likewise.
21601         (INVALID_EXCEPTION_OK): Renumber.
21602         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21603         (IGNORE_ZERO_INF_SIGN): Likewise.
21604         (test_exceptions): Handle FE_OVERFLOW.
21605         (exp10_test): Expect overflow exceptions.
21606         (exp2_test): Likewise.
21607         (expm1_test): Likewise.
21608         (nextafter_test): Likewise.
21609         (pow_test): Likewise.
21610         (scalbn_test): Likewise.
21611         (scalbln_test): Likewise.
21613 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21615         * sysdeps/x86_64/bits/atomic.h
21616         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21617         64bit integer.
21618         (atomic_exchange_acq): Likewise.
21619         (__arch_exchange_and_add_body): Likewise.
21620         (__arch_add_body): Likewise.
21621         (atomic_add_negative): Likewise.
21622         (atomic_add_zero): Likewise.
21624 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21626         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
21627         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21629 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21631         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21632         Check __x86_64__ instead of __WORDSIZE.
21634 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21636         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21638 2012-03-19  David S. Miller  <davem@davemloft.net>
21640         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21642         * sysdeps/sparc/fpu/fenv_private.h: New file.
21643         * sysdeps/sparc/fpu/math_private.h: Use it.
21644         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21645         Remove.
21646         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21647         (libc_feholdexcept_setroundl): Remove.
21648         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21649         Remove.
21650         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21651         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21653 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21655         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21656         int64_t instead of long int.
21657         (INSERT_WORDS64): Likwise.
21659 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21661         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21662         _Unwind_GetCFA return to _Unwind_Ptr first.
21664 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
21666         [BZ #13629]
21667         * math/s_clog.c: Include <float.h>.
21668         (__clog): Scale large or subnormal inputs.
21669         * math/s_clogf.c: Likewise.
21670         * math/s_clogl.c: Likewise.
21671         * math/s_clog10.c: Include <float.h>.
21672         (M_LOG10_2): Define.
21673         (__clog10): Scale large or subnormal inputs.
21674         * math/s_clog10f.c: Likewise.
21675         * math/s_clog10l.c: Likewise.
21676         * math/libm-test.inc (clog_test): Add more tests.
21677         (clog10_test): Likewise.
21678         * sysdeps/i386/fpu/libm-test-ulps: Update.
21679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21681         [BZ #11451]
21682         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21683         x and y.
21684         * math/libm-test.inc (atan2_test): Add another test.
21686         * Makerules (common-objdir-compile): Remove.
21687         * sysdeps/unix/Makefile (config-generated): Do not add
21688         $(unix-generated) to variable.
21689         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21690         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21691         Remove rule.
21692         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21693         Likewise.
21694         [generic bits/local_lim.h] (before-compile): Do not append to
21695         variable.
21696         [generic bits/local_lim.h] (common-generated): Likewise.
21697         [generic sys/param.h] (before-compile): Do not append to variable.
21698         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21699         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21700         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21701         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21702         include.
21703         [generic sys/param.h] (sys/param.h-includes): Remove variable.
21704         [generic sys/param.h] (sys/param.h-includes): Remove rule.
21705         [generic sys/param.h] ($(addprefix
21706         $(common-objpfx),$(sys/param.h-includes))): Likewise.
21707         [generic sys/param.h] (common-generated): Do not append to
21708         variable.
21709         [generic sys/param.h] (sysdep_headers): Likewise.
21710         [generic bits/errno.h] (before-compile): Do not append to
21711         variable.
21712         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21713         rule.
21714         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21715         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21716         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21717         [generic bits/errno.h] (common-generated): Do not append to
21718         variable.
21719         [generic bits/ioctls.h] (before-compile): Do not append to
21720         variable.
21721         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21722         rule.
21723         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21724         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21725         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21726         rule.
21727         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21728         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21729         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21730         [generic bits/ioctls.h] (common-generated): Do not append to
21731         variable.
21732         [generic sys/syscall.h] (syscall.h): Remove variable.
21733         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21734         rule.
21735         [generic sys/syscall.h] (before-compile): Do not append to
21736         variable.
21737         [generic sys/syscall.h] (common-generated): Likewise.
21738         * sysdeps/unix/errnos-tmpl.c: Remove file.
21739         * sysdeps/unix/errnos.awk: Likewise.
21740         * sysdeps/unix/ioctls-tmpl.c: Likewise.
21741         * sysdeps/unix/ioctls.awk: Likewise.
21742         * sysdeps/unix/mk-local_lim.c: Likewise.
21743         * sysdeps/unix/snarf-ioctls: Likewise.
21745 2012-03-19  Richard Henderson  <rth@twiddle.net>
21747         * sysdeps/i386/fpu/fenv_private.h: New file.
21748         * sysdeps/i386/fpu/math_private.h: Use it.
21749         (math_opt_barrier, math_force_eval): Remove.
21750         (libc_feholdexcept_setround_53bit): Remove.
21751         (libc_feupdateenv_53bit): Remove.
21752         * sysdeps/x86_64/fpu/math_private.h: Likewise.
21753         (math_opt_barrier, math_force_eval): Remove.
21754         (libc_feholdexcept): Remove.
21755         (libc_feholdexcept_setround): Remove.
21756         (libc_fetestexcept, libc_fesetenv): Remove.
21757         (libc_feupdateenv_test): Remove.
21758         (libc_feupdateenv, libc_feholdsetround): Remove.
21759         (libc_feresetround): Remove.
21761         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21762         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21764         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21765         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21766         (libc_feupdateenv_testl): New.
21767         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21768         (libc_feupdateenv_testf): New.
21769         (libc_feupdateenv): Use libc_feupdateenv_test.
21770         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21771         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21773         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21774         (libc_feholdsetroundf, libc_feholdsetroundl): New.
21775         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21776         (libc_feresetround_noex): New.
21777         (libc_feresetround_noexf): New.
21778         (libc_feresetround_noexl): New.
21779         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21780         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21781         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21782         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21783         SET_RESTORE_ROUND.
21784         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21785         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21786         (__cos): Likewise.
21787         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21788         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21789         SET_RESTORE_ROUND_NOEX.
21790         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21791         SET_RESTORE_ROUND_NOEXF.
21792         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21793         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21794         (libc_feholdsetroundf): New.
21795         (libc_feresetround, libc_feresetroundf): New.
21797         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21798         (libc_feholdexcept_setround_53bit): Convert from macro to function.
21799         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
21801         * sysdeps/generic/math_private.h: Include <fenv.h>.
21802         (default_libc_feholdexcept): New.
21803         (default_libc_feholdexcept_setround): New.
21804         (default_libc_fesetenv, default_libc_feupdateenv): New.
21805         (libc_feholdexcept): Only define if undefined.
21806         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21807         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21808         (libc_feholdexcept_setroundl): Likewise.
21809         (libc_feholdexcept_setround_53bit): Likewise.
21810         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21811         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21812         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21813         (libc_feupdateenv_53bit): Likewise.
21814         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21815         (libc_feholdexcept): Convert from macro to inline function.
21816         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21817         (libc_fesetenv, libc_feupdateenv): Likewise.
21819         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21820         not previously defined.
21821         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21822         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21823         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21824         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21825         * sysdeps/ieee754/flt-32/math_private.h: New file.
21826         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21827         math_private.h below SET_FLOAT_WORD.
21828         (__isnan, __isinf_ns, __finite): Remove.
21829         (__isnanf, __isinf_nsf, __finitef): Remove.
21831 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
21833         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21835 2012-03-17  David S. Miller  <davem@davemloft.net>
21837         [BZ #6471]
21838         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21839         for 2.16.
21841 2012-03-16  David S. Miller  <davem@davemloft.net>
21843         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21844         warnings.
21846         [BZ #6471]
21847         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21848         properly.
21849         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21850         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21851         sysdep_routines when subdir is sysvipc.
21852         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21853         __getshmlba helper.
21855         * sysdeps/sparc/fpu/libm-test/ulps: Update.
21857 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21859         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21860         [__LP64__].
21862 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21864         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21865         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21866         (__lround): Renamed to ...
21867         (__llround): This.  Replace long int with long long int.
21868         Define lround functions as aliases of llround functions.
21869         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21871 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21873         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21874         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
21875         adresses to uintptr_t.  Replace "long int" and "unsigned long
21876         int" with "greg_t" on va_arg.
21878 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21880         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21881         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21883         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21884         Move e_machine check before EI_CLASS check.  Handle x32
21885         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21886         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21887         SKIP_EM_IA_64 and include
21888         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21890         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21891         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21892         (add_system_dir): New macro.
21894         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21895         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21897 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
21899         [BZ #2551]
21900         [BZ #2552]
21901         [BZ #2553]
21902         [BZ #2554]
21903         [BZ #2562]
21904         [BZ #2563]
21905         [BZ #2565]
21906         [BZ #2566]
21907         [BZ #2576]
21908         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21909         (y0): Likewise.
21910         * math/w_j0f.c (j0f): Likewise.
21911         (y0f): Likewise.
21912         * math/w_j0l.c (__j0l): Likewise.
21913         (__y0l): Likewise.
21914         * math/w_j1.c (j1): Likewise.
21915         (y1): Likewise.
21916         * math/w_j1f.c (j1f): Likewise.
21917         (y1f): Likewise.
21918         * math/w_j1l.c (__j1l): Likewise.
21919         (__y1l): Likewise.
21920         * math/w_jn.c (jn): Likewise.
21921         (yn): Likewise.
21922         * math/w_jnf.c (jnf): Likewise.
21923         (ynf): Likewise.
21924         * math/w_jnl.c (__jnl): Likewise.
21925         (__ynl): Likewise.
21926         * math/libm-test.inc (j0_test): Add more tests.
21927         (j1_test): Likewise.
21928         (jn_test): Likewise.  Add trailing semicolon to existing test.
21929         (y0_test): Likewise.
21930         (y1_test): Likewise.
21931         * sysdeps/i386/fpu/libm-test-ulps: Update.
21932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21934         [BZ #13851]
21935         [BZ #13854]
21936         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21937         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21938         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21939         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21940         (__tanl): Set errno for infinite argument.
21941         * sysdeps/i386/fpu/mptan.c: Remove.
21942         * sysdeps/i386/fpu/s_tan.S: Likewise.
21943         * sysdeps/i386/fpu/s_tanl.S: Likewise.
21944         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21945         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21946         * math/libm-test.inc (tan_test): Add more tests and enable more
21947         tests for double and long double.
21948         * sysdeps/i386/fpu/libm-test-ulps: Update.
21949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21951 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
21953         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21954         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21956 2012-03-16  Roland McGrath  <roland@hack.frob.com>
21958         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21959         * configure.in: Use it for both main tree and add-ons.
21960         * configure: Regenerated.
21962 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21964         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21966 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
21968         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21969         in comment.
21971         [BZ #13851]
21972         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21973         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21974         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21975         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21976         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21977         infinite argument.
21978         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21979         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21980         != 0 for prec == 2.
21981         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21982         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21983         * sysdeps/i386/fpu/s_cosl.S: Likewise.
21984         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21985         * sysdeps/i386/fpu/s_sinl.S: Likewise.
21986         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21987         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21988         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21989         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21990         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21991         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21992         * math/libm-test.inc (cos_test): Add more tests and enable more
21993         tests for long double.
21994         (sin_test): Likewise.
21995         (sincos_test): Likewise.
21996         * sysdeps/i386/fpu/libm-test-ulps: Update.
21997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21999 2012-03-16  David S. Miller  <davem@davemloft.net>
22001         * sysdeps/sparc/fpu/math_private.h: New file.
22003 2012-03-15  David S. Miller  <davem@davemloft.net>
22005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22006         file.
22007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22009         file.
22010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22011         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22012         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22013         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22014         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22015         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22016         sysdep routines.
22017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22019         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22020         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22022         * sysdeps/sparc/sparc-ifunc.h: New file.
22023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22024         sparc-ifunc.h
22025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22027         Likewise.
22028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22029         Likewise.
22030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22034         Likewise.
22035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22040         Likewise.
22041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22042         Likewise.
22043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22047         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22048         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22049         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22050         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22051         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22052         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22053         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22054         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22055         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22056         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22057         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22058         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22059         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22060         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22061         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22062         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22063         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22064         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22065         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22066         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22068 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
22070         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22071         scaling.
22072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22074 2012-03-15  Andreas Jaeger  <aj@suse.de>
22076         [BZ #13852]
22077         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22078         ieee754/flt-32 implementation for sin, cos and sincos.
22079         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22080         * sysdeps/i386/fpu/s_cosf.S: Likewise.
22081         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22082         * sysdeps/i386/fpu/s_sinf.S: Likewise.
22083         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22084         ieee754/flt-32 implementation for tan.
22086         * math/libm-test.inc (cos_test): Enable some large input tests for
22087         float as well
22088         (sin_test): Likewise.
22089         (sincos_test): Likewise.
22090         (tan_test): Add tests for large input.
22092         * sysdeps/i386/fpu/libm-test-ulps: Update.
22094 2012-03-15  Andreas Jaeger  <aj@suse.de>
22096         [BZ #13658]
22097         * math/libm-test.inc (cos_test): Add more test cases.
22098         (sin_test): Likewise.
22099         (sincos_test): Likewise.
22101 2012-03-15  Andreas Jaeger  <aj@suse.de>
22103         [BZ #13837]
22104         * math/libm-test.inc (cos_test): Add a test case for large input
22105         value.
22106         (sin_test): Likewise.
22107         (sincos_test): Likewise.
22109 2012-03-15  Andreas Jaeger  <aj@suse.de>,
22110         Joseph Myers  <joseph@codesourcery.com>
22112         [BZ #13658]
22113         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22114         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22115         * sysdeps/i386/fpu/branred.c: Likewise.
22116         * sysdeps/i386/fpu/dosincos.c: Likewise.
22117         * sysdeps/i386/fpu/mpa.c: Likewise.
22118         * sysdeps/i386/fpu/s_cos.S: Likewise.
22119         * sysdeps/i386/fpu/s_sin.S: Likewise.
22120         * sysdeps/i386/fpu/s_sincos.S: Likewise.
22121         * sysdeps/i386/fpu/sincos32.c: Likewise.
22123         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22124         Define.
22125         (libc_feupdateenv_53bit): Define.
22126         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22127         Define.
22128         (libc_feupdateenv_53bit): Define.
22130         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22131         53 bit (without extend i386 double precision).
22133         * math/libm-test.inc (sincos_test): Add tests for large input.
22134         (sin): Likewise.
22135         (cos): Likewise.
22137         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22139 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
22141         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22143 2012-03-15  David S. Miller  <davem@davemloft.net>
22145         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22146         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22147         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22148         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22153         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22154         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22155         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22156         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22157         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22158         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22159         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22161         file.
22162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22164         file.
22165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22167         file.
22168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22170         file.
22171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22172         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22173         fmin/fmax sysdep routines.
22174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22176 2012-03-14  David S. Miller  <davem@davemloft.net>
22178         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22179         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22180         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22181         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22182         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22183         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22184         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22185         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22186         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22187         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22188         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22189         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22190         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22191         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22192         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22193         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22194         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22195         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22196         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22197         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22198         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22199         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22200         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22201         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22202         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22203         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22204         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22205         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22206         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22207         routines.
22208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22209         file.
22210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22212         file.
22213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22215         file.
22216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22218         file.
22219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22221         file.
22222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22224         file.
22225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22226         file.
22227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22228         file.
22229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22230         file.
22231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22232         New file.
22233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22234         file.
22235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22236         file.
22237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
22238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22239         file.
22240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
22241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22242         file.
22243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
22244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22245         file.
22246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
22247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22248         VIS3 routines.
22250         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22251         New file.
22253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22255         * sysdeps/sparc/configure.in: New file.
22256         * sysdeps/sparc/configure: Generate.
22257         * configure.in (libc_cv_sparc_as_vis3): Substitute.
22258         * configure: Regenerate.
22259         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22260         * config.make.in (have-as-vis3): New.
22261         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22262         available use -Av9d instead of -Av9a.
22263         * sysdeps/sparc/sparc64/Makefile: Likewise.
22264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
22265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22266         New file.
22267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22268         file.
22269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22270         New file.
22271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22272         file.
22273         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22274         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22275         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22276         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22277         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22279         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22280         fzeros/fnegs to load 0x80000000 into a float register instead of
22281         using the stack.
22282         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22284 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
22286         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22287         bits/syscall.h.
22288         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22289         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22290         ($(inst_includedir)/bits/syscall.h): Remove rule.
22291         ($(objpfx)bits/syscall.d): Include instead of
22292         $(objpfx)syscall-list.d.
22293         (generated): Change syscall-list.h and syscall-list.d to
22294         bits/syscall.h and bits/syscall.d.
22296 2012-03-14  Roland McGrath  <roland@hack.frob.com>
22298         [BZ #13846]
22299         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22301 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
22303         [BZ #13841]
22304         * math/s_csqrt.c: Include <float.h>.
22305         (__csqrt): Scale large or subnormal inputs.
22306         * math/s_csqrtf.c: Likewise.
22307         * math/s_csqrtl.c: Likewise.
22308         * math/libm-test.inc (csqrt_test): Add more tests.
22309         * sysdeps/i386/fpu/libm-test-ulps: Update.
22310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22312         [BZ #13840]
22313         * math/libm-test.inc (hypot_test): Add more tests.
22315 2012-03-13  David S. Miller  <davem@davemloft.net>
22317         [BZ #13840]
22318         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22319         double-precision for the calculation instead of scaling.
22321 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
22323         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22324         manipulate bits before adding and subtracting TWO52[sx].
22325         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22326         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22327         Likewise.
22328         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22330 2012-03-13  David S. Miller  <davem@davemloft.net>
22332         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22333         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22334         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22335         rtld-global-offsets.h
22336         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22338         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22339         large parameters.
22341         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22343         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22344         'err' in the ifdef scope in which it is actually used.
22346         * nss/nss_db/db-init.c: Include string.h
22348 2012-03-12  David S. Miller  <davem@davemloft.net>
22350         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22351         masking out of the most significant byte of random value used.
22352         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22353         Fix coding style in previous change.
22355         * sysdeps/unix/sysv/linux/kernel-features.h
22356         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22357         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22358         expression.
22359         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22360         later.
22362 2012-03-11  David S. Miller  <davem@davemloft.net>
22364         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22365         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22366         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22367         for 'resultvar' otherwise things get truncated on 64-bit.
22369         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22370         Fix masking out of the most significant byte of random value used.
22372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22374 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
22376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22378 2012-03-09  David S. Miller  <davem@davemloft.net>
22380         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22381         variables with appropriate CPP guards.
22382         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22383         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
22384         on resulting framesize and the management of the outregs buffer for pltexit.
22385         Preserve floating point return values across _dl_call_pltexit call.
22386         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22387         framesize and the management of the outregs buffer for pltexit.
22388         Preserve floating point return values across _dl_call_pltexit
22389         call.
22390         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22391         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22392         (print_exit): Fix format string for return register value.
22394 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
22396         * sunrpc/Makefile (others): Add rpcgen.
22397         ($(objpfx)rpcgen): Remove special build rule and dependency on
22398         libc.
22399         * sunrpc/rpcgen.c: New file.
22401 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
22403         [BZ #13673]
22404         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22405         * stdio-common/bug-vfprintf-nargs.c: Likewise.
22406         * sysdeps/i386/crti.S: Likewise.
22407         * sysdeps/i386/crtn.S: Likewise.
22408         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22409         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22410         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22411         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22412         * sysdeps/sh/crti.S: Likewise.
22413         * sysdeps/sh/crtn.S: Likewise.
22414         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22416         [BZ #13673]
22417         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22418         with URL.
22419         * locale/programs/locfile-kw.gperf: Likewise.
22420         * locale/programs/charmap-kw.h: Regenerated.
22421         * locale/programs/locfile-kw.h: Likewise.
22423         [BZ #13673]
22424         * intl/plural.y: Replace FSF snail mail address with URL.
22425         * intl/plural.c: Regenerated.
22427 2012-03-09  Richard Henderson  <rth@twiddle.net>
22429         * include/math_private.h: Remove file.
22430         * math/math_private.h: Move file ...
22431         * sysdeps/generic/math_private.h: ... here.
22433         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22434         * sysdeps/powerpc/fpu/math_private.h: Likewise.
22435         * sysdeps/x86_64/fpu/math_private.h: Likewise.
22437         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
22438         and <math_private.h>.
22439         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22440         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22441         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22442         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22443         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22444         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22445         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22446         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22447         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22448         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22449         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22450         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22451         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22452         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22453         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22454         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22455         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22456         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22457         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22458         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22459         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22460         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22461         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22462         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22463         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22464         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22465         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22466         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22467         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22468         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22469         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22470         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22471         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22472         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22473         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22474         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22475         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22476         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22477         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22478         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22479         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22480         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22481         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22482         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22483         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22484         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22485         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22486         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22487         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22488         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22489         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22490         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22491         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22492         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22493         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22494         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22495         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22496         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22497         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22498         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22499         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22500         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22501         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22502         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22503         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22504         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22505         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22506         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22507         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22508         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22509         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22510         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22511         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22512         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22513         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22514         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22515         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22516         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22517         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22518         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22519         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22520         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22521         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22522         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22523         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22524         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22525         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22526         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22527         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22528         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22529         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22530         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22531         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22532         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22533         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22534         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22535         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22536         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22537         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22538         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22539         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22540         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22541         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22542         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22543         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22544         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22545         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22546         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22547         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22548         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22549         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22550         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22551         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22552         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22553         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22554         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22555         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22556         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22557         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22558         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22559         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22560         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22561         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22562         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22563         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22564         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22565         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22566         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22567         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22568         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22569         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22570         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22571         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22572         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22573         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22574         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22575         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22576         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22577         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22578         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22579         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22580         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22581         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22582         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22583         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22584         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22585         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22586         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22587         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22588         * sysdeps/ieee754/k_standard.c: Likewise.
22589         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22590         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22591         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22592         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22593         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22594         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22595         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22596         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22597         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22598         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22599         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22600         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22601         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22602         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22603         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22604         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22605         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22606         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22607         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22608         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22609         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22610         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22611         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22612         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22613         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22614         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22615         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22616         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22617         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22618         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22619         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22620         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22621         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22622         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22623         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22624         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22625         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22626         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22627         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22628         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22629         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22630         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22631         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22632         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22633         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22634         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22635         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22636         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22637         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22638         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22639         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22640         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22641         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22642         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22643         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22644         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22645         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22646         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22647         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22648         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22649         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22650         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22651         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22652         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22653         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22654         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22655         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22656         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22657         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22658         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22659         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22660         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22661         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22662         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22663         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22664         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22665         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22666         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22667         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22668         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22669         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22670         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22671         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22672         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22673         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22674         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22675         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22676         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22677         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22678         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22679         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22680         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22681         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22682         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22683         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22684         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22685         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22686         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22687         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22688         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22689         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22690         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22691         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22692         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22693         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22694         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22695         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22696         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22697         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22698         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22699         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22700         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22701         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22702         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22703         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22704         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22705         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22706         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22707         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22708         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22709         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22710         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22711         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22712         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22713         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22714         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22715         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22716         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22717         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22718         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22719         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22720         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22721         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22722         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22723         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22724         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22725         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22726         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22727         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22728         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22729         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22730         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22731         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22732         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22733         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22734         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22735         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22736         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22737         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22738         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22739         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22740         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22741         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22742         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22743         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22744         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22745         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22746         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22747         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22748         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22749         * sysdeps/ieee754/s_lib_version.c: Likewise.
22750         * sysdeps/ieee754/s_matherr.c: Likewise.
22751         * sysdeps/ieee754/s_signgam.c: Likewise.
22752         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22753         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22754         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22755         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22756         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22757         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22758         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22759         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22760         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22761         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22762         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22763         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22764         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22765         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22766         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22767         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22768         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22769         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22770         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22771         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22772         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22774 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
22776         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22777         * sunrpc/rpc_main.c: Likewise.
22778         * sunrpc/rpc_svcout.c: Likewise.
22780 2012-03-09  David S. Miller  <davem@davemloft.net>
22782         * include/math_private.h: New file.
22784 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
22786         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22787         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22788         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22789         from <bits/socket_type.h>.
22790         (enum __socket_type): Don't define here.
22791         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22792         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22793         bits/socket_type.h.
22795         [BZ #13566]
22796         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22797         checking __USE_GNU.
22799         * Makerules ($(inst_includedir)/%.h): New rule.
22800         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22801         (install-others): Remove variable setting.
22802         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22804 2012-03-08  Richard Henderson  <rth@twiddle.net>
22806         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22807         from macro to inline function; merge with the
22808         !__LIBC_INTERNAL_MATH_INLINES version.
22809         (__ieee754_sqrtf): Likewise.
22811         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22812         to inline function.
22813         (__rintf, __floor, __floorf): Likewise.
22815         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22816         macro to inline function.
22817         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22819         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22820         not <math/math_private.h>.
22822 2012-03-08  David S. Miller  <davem@davemloft.net>
22824         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22825         copyright year.
22826         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22828 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
22830         * resolv/gai_misc.c (handle_requests): Fix struct timespec
22831         normalization.
22832         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22833         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22835 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
22837         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
22838         be defined individually, they must be defined as a block.  Define
22839         S for printing a string instead of hidint the different by using a
22840         macro for adding the 'l'.
22841         * stdio-common/tst-fphex-wide.c: Adjust.
22843 2012-03-07  Marek Polacek  <polacek@redhat.com>
22845         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22847 2012-03-08  Marek Polacek  <polacek@redhat.com>
22849         [BZ #13806]
22850         * stdio-common/Makefile (tests): Add tst-fphex-wide.
22851         * stdio-common/tst-fphex.c: Define a few macros to make the
22852         test reusable.  Use them.
22853         * stdio-common/tst-fphex-wide.c: New file.
22855 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
22857         [BZ #6911]
22858         * manual/macros.texi (gnusystems): New macro.
22859         (nongnusystems): Likewise.
22860         (gnulinuxhurdsystems): Likewise.
22861         (gnuhurdsystems): Likewise..
22862         (gnulinuxsystems): Likewise.
22863         * manual/charset.texi: Use new macros or @theglibc{} to refer to
22864         variants of the GNU system, not "GNU system".
22865         * manual/conf.texi: Likewise.
22866         * manual/errno.texi: Likewise.  Update example of errno macro
22867         expansion.
22868         * manual/filesys.texi: Likewise.
22869         (getumask): Document as specific to GNU/Hurd.
22870         * manual/install.texi: Likewise.  Reword some references to
22871         GNU/Linux.
22872         * manual/intro.texi: Likewise.
22873         * manual/io.texi: Likewise.
22874         (File Name Portability): Detail which constraints are inapplicable
22875         to all GNU systems and which are only inapplicable to GNU/Hurd.
22876         * manual/job.texi: Likewise.
22877         * manual/llio.texi: Likewise.
22878         (O_NOCTTY): Document as present on GNU/Linux.
22879         * manual/maint.texi: Likewise.
22880         * manual/memory.texi: Likewise.
22881         * manual/pattern.texi: Likewise.
22882         * manual/pipe.texi: Likewise.
22883         * manual/process.texi: Likewise.
22884         * manual/resource.texi: Likewise.
22885         (RUSAGE_CHILDREN): Remove statement about specifying a particular
22886         child on GNU/Hurd.
22887         * manual/setjmp.texi: Likewise.
22888         * manual/signal.texi: Likewise.
22889         * manual/startup.texi: Likewise.
22890         * manual/stdio.texi: Likewise.
22891         * manual/terminal.texi: Likewise.
22892         (ONLCR): Document as POSIX.
22893         (OXTABS): Document availability on GNU/Linux as XTABS.
22894         (ONOEOT): Document availability separately from other bits.
22895         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22896         * manual/time.texi: Likewise.
22897         * manual/users.texi: Likewise.
22898         * INSTALL: Regenerated.
22899         * sysdeps/gnu/errlist.c: Regenerated.
22901         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22902         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22903         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
22904         puts.
22905         * configure: Regenerated.
22907 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
22909         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22910         default includes instead of AC_HEADER_CHECK.
22911         * sysdeps/i386/configure: Regenerated.
22913         [BZ #10716]
22914         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22915         * math/s_cacoshf.c (__cacoshf): Likewise.
22916         * math/s_cacoshl.c (__cacoshl): Likewise.
22917         * math/s_casinh.c (__casinh): Set signs of result from argument.
22918         * math/s_casinhf.c (__casinhf): Likewise.
22919         * math/s_casinhl.c (__casinhl): Likewise.
22920         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22921         (casinh_test): Add more tests.
22922         * sysdeps/i386/fpu/libm-test-ulps: Update.
22923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22925 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
22927         * po/zh_TW.po: Update from translation team.
22929         * login/Makefile (distribute): Remove variable.
22930         * catgets/Makefile: Likewise.
22931         * mach/Makefile: Likewise.
22932         * malloc/Makefile: Likewise.
22933         * misc/Makefile: Likewise.
22934         * iconv/Makefile: Likewise.
22935         * nscd/Makefile: Likewise.
22936         * hurd/Makefile: Likewise.
22937         * manual/Makefile: Likewise.
22938         * locale/Makefile: Likewise.
22939         * intl/Makefile: Likewise.
22940         * conform/Makefile: Likewise.
22941         * nss/Makefile: Likewise.
22942         * time/Makefile: Likewise.
22943         * soft-fp/Makefile: Likewise.
22944         * dirent/Makefile: Likewise.
22945         * gmon/Makefile: Likewise.
22946         * po/Makefile: Likewise.
22947         * rt/Makefile: Likewise.
22948         * socket/Makefile: Likewise.
22949         * math/Makefile: Likewise.
22950         * signal/Makefile: Likewise.
22951         * debug/Makefile: Likewise.
22952         * elf/Makefile: Likewise.
22953         * timezone/Makefile: Likewise.
22954         * stdlib/Makefile: Likewise.
22955         * iconvdata/Makefile: Likewise.
22956         * sunrpc/Makefile: Likewise.
22957         * io/Makefile: Likewise.
22958         * argp/Makefile: Likewise.
22959         * inet/Makefile: Likewise.
22960         * hesiod/Makefile: Likewise.
22961         * grp/Makefile: Likewise.
22962         * csu/Makefile: Likewise.
22963         * wctype/Makefile: Likewise.
22964         * crypt/Makefile: Likewise.
22965         * libio/Makefile: Likewise.
22966         * string/Makefile: Likewise.
22967         * nis/Makefile: Likewise.
22968         * resolv/Makefile: Likewise.
22969         * stdio-common/Makefile: Likewise.
22970         * wcsmbs/Makefile: Likewise.
22971         * dlfcn/Makefile: Likewise.
22972         * posix/Makefile: Likewise.
22974         [BZ #6959]
22975         * timezone/Makefile: Don't install timezone files, just the programs
22976         and scripts.
22978 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
22980         * nss/databases.def: Add missing gshadow entry.
22982         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
22984 2012-03-06  Marek Polacek  <polacek@redhat.com>
22986         [BZ #13726]
22987         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22988         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22989         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22990         * stdio-common/tst-long-dbl-fphex.c: New file.
22992 2012-03-06  David S. Miller  <davem@davemloft.net>
22994         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22995         (set_obp_int): New function.
22996         (get_obp_int): New function.
22997         (__get_clockfreq_via_dev_openprom): Likewise.
22998         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22999         Avoid unused variable warnings on 'val' and use builtin_expect.
23000         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23001         __builtin_expect.
23002         (INLINE_CLONE_SYSCALL): Likewise.
23004 2012-03-05  David S. Miller  <davem@davemloft.net>
23006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23008 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
23010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23012         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23013         only for |x| >= 40.
23014         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23016 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
23018         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23019         Replace gettimeofday with __vdso_gettimeofday.
23021         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23022         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23023         __vdso_clock_gettime and __vdso_getcpu.
23025         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23026         time with __vdso_time.
23028 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
23030         * manual/lang.texi (size_t): Note types to which size_t may be
23031         equivalent with the GNU C Library, but do not describe when
23032         differences between them are significant.
23034 2012-03-05  Andreas Jaeger  <aj@suse.de>
23036         * sysdeps/i386/fpu/libm-test-ulps: Update.
23038 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
23040         [BZ #3976]
23041         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23042         (__ieee754_pow): Save and restore rounding mode and use
23043         round-to-nearest for main computations.
23044         * math/libm-test.inc (pow_test_tonearest): New function.
23045         (pow_test_towardzero): Likewise.
23046         (pow_test_downward): Likewise.
23047         (pow_test_upward): Likewise.
23048         (main): Call the new functions.
23049         * sysdeps/i386/fpu/libm-test-ulps: Update.
23050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23052         [BZ #3976]
23053         * math/libm-test.inc (cosh_test_tonearest): New function.
23054         (cosh_test_towardzero): Likewise.
23055         (cosh_test_downward): Likewise.
23056         (cosh_test_upward): Likewise.
23057         (sinh_test_tonearest): Likewise.
23058         (sinh_test_towardzero): Likewise.
23059         (sinh_test_downward): Likewise.
23060         (sinh_test_upward): Likewise.
23061         (main): Call the new functions.
23062         * sysdeps/i386/fpu/libm-test-ulps: Update.
23063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23065 2012-03-05  Tom de Vries  <tom@codesourcery.com>
23067         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23068         default stack guard is set in last bytes.
23069         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23071 2012-03-05  Kees Cook  <keescook@chromium.org>
23073         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23075         [BZ #13656]
23076         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23077         possibly allocate from heap instead of stack.
23078         * stdio-common/bug-vfprintf-nargs.c: New file.
23079         * stdio-common/Makefile (tests): Add nargs overflow test.
23081 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
23083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23085 2012-03-03  Marek Polacek  <polacek@redhat.com>
23087         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23088         * math/math_private.h: Likewise.
23089         * stdlib/tst-strtod.c: Likewise.
23090         * sysdeps/i386/i486/bits/atomic.h: Likewise.
23091         * sysdeps/x86_64/bits/atomic.h: Likewise.
23093 2012-03-02  David S. Miller  <davem@davemloft.net>
23095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23099         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23100         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23101         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23102         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23104 2012-03-02  Roland McGrath  <roland@hack.frob.com>
23106         [BZ #13792]
23107         * manual/examples/README: New file, says the example source files
23108         can be used under GPL>=2.
23109         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23110         line containing just "*/".
23111         * manual/examples/add.c: Add copyright header (GPL>=2).
23112         * manual/examples/argp-ex1.c: Likewise.
23113         * manual/examples/argp-ex2.c: Likewise.
23114         * manual/examples/argp-ex3.c: Likewise.
23115         * manual/examples/argp-ex4.c: Likewise.
23116         * manual/examples/atexit.c: Likewise.
23117         * manual/examples/db.c: Likewise.
23118         * manual/examples/dir.c: Likewise.
23119         * manual/examples/dir2.c: Likewise.
23120         * manual/examples/execinfo.c: Likewise.
23121         * manual/examples/filecli.c: Likewise.
23122         * manual/examples/filesrv.c: Likewise.
23123         * manual/examples/fmtmsgexpl.c: Likewise.
23124         * manual/examples/genpass.c: Likewise.
23125         * manual/examples/inetcli.c: Likewise.
23126         * manual/examples/inetsrv.c: Likewise.
23127         * manual/examples/isockad.c: Likewise.
23128         * manual/examples/longopt.c: Likewise.
23129         * manual/examples/memopen.c: Likewise.
23130         * manual/examples/memstrm.c: Likewise.
23131         * manual/examples/mkfsock.c: Likewise.
23132         * manual/examples/mkisock.c: Likewise.
23133         * manual/examples/mygetpass.c: Likewise.
23134         * manual/examples/pipe.c: Likewise.
23135         * manual/examples/popen.c: Likewise.
23136         * manual/examples/rprintf.c: Likewise.
23137         * manual/examples/search.c: Likewise.
23138         * manual/examples/select.c: Likewise.
23139         * manual/examples/setjmp.c: Likewise.
23140         * manual/examples/sigh1.c: Likewise.
23141         * manual/examples/sigusr.c: Likewise.
23142         * manual/examples/stpcpy.c: Likewise.
23143         * manual/examples/strdupa.c: Likewise.
23144         * manual/examples/strftim.c: Likewise.
23145         * manual/examples/strncat.c: Likewise.
23146         * manual/examples/subopt.c: Likewise.
23147         * manual/examples/swapcontext.c: Likewise.
23148         * manual/examples/termios.c: Likewise.
23149         * manual/examples/testopt.c: Likewise.
23150         * manual/examples/testpass.c: Likewise.
23151         * manual/examples/timeval_subtract.c: Likewise.
23153         [BZ #13792]
23154         * manual/time.texi (Elapsed Time): Move timeval_subtract example
23155         function to ...
23156         * manual/timeval_subtract.c.texi: ... here, new file.
23158 2012-03-02  David S. Miller  <davem@davemloft.net>
23160         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23162 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
23164         [BZ #3976]
23165         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23166         (__sin): Save and restore rounding mode and use round-to-nearest
23167         for all computations.
23168         (__cos): Save and restore rounding mode and use round-to-nearest
23169         for all computations.
23170         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23171         <fenv.h>.
23172         (tan): Save and restore rounding mode and use round-to-nearest for
23173         all computations.
23174         * math/libm-test.inc (cos_test_tonearest): New function.
23175         (cos_test_towardzero): Likewise.
23176         (cos_test_downward): Likewise.
23177         (cos_test_upward): Likewise.
23178         (sin_test_tonearest): Likewise.
23179         (sin_test_towardzero): Likewise.
23180         (sin_test_downward): Likewise.
23181         (sin_test_upward): Likewise.
23182         (tan_test_tonearest): Likewise.
23183         (tan_test_towardzero): Likewise.
23184         (tan_test_downward): Likewise.
23185         (tan_test_upward): Likewise.
23186         (main): Call the new functions.
23187         * sysdeps/i386/fpu/libm-test-ulps: Update.
23188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23190         [BZ #10135]
23191         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23192         small n, then large n, before computing and testing k+n.
23193         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23194         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23195         Likewise.
23196         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23197         Likewise.
23198         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23199         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23200         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23201         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23202         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23203         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23204         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23205         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23206         * math/libm-test.inc (scalbn_test): Add more tests.
23207         (scalbln_test): Likewise.
23209         * manual/filesys.texi (mode_t): Describe constraints on size and
23210         signedness, not exact equivalence to a particular type.
23211         (ino_t): Likewise.
23212         (ino64_t): Likewise.
23213         (dev_t): Likewise.
23214         (nlink_t): Likewise.
23215         (blkcnt_t): Likewise.
23216         (blkcnt64_t): Likewise.
23217         * manual/llio.texi (off_t): Likewise.
23219         [BZ #3976]
23220         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23221         (__ieee754_exp): Save and restore rounding mode and use
23222         round-to-nearest for all computations.
23223         * math/libm-test.inc (exp_test_tonearest): New function.
23224         (exp_test_towardzero): Likewise.
23225         (exp_test_downward): Likewise.
23226         (exp_test_upward): Likewise.
23227         (main): Call the new functions.
23228         * sysdeps/i386/fpu/libm-test-ulps: Update.
23229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23231 2012-03-01  Chris Demetriou  <cgd@google.com>
23233         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23234         have predictable order.
23236 2012-03-01  David S. Miller  <davem@davemloft.net>
23238         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23240         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23241         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23242         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23243         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23245         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23246         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23247         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23249         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23250         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23251         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23252         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23253         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23257         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23258         * sysdeps/sparc/fpu/libm-test-ulps: to here.
23259         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23261         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23262         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23263         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23264         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23265         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23266         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23267         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23268         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23269         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23270         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23271         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23272         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23273         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23274         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23275         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23276         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23277         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23278         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23279         * sysdeps/sparc/elf/configure: Regenerated.
23281 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
23283         * configure.in (AS, LD): Require binutils 2.20 or later.
23284         * configure: Regenerated.
23285         * manual/install.texi (Tools for Compilation): Give binutils 2.20
23286         as required minimum version.
23287         * INSTALL: Regenerated.
23289         [BZ #2541]
23290         [BZ #4108]
23291         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23292         before squaring exponent.
23293         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23294         bottom long double and 27 bits of top long double before squaring
23295         exponent.
23296         * math/libm-test.inc (erfc_test): Add more tests.
23297         * sysdeps/i386/fpu/libm-test-ulps: Update.
23298         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23301 2012-03-01  Kai Tietz  <ktietz@redhat.com>
23303         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23304         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23305         containing bit-fields.
23306         * soft-fp/extended.h (_FP_UNION_E): Likewise.
23307         * soft-fp/single.h (_FP_UNION_S): Likewise.
23308         * soft-fp/double.h (_FP_UNION_D): Likewise.
23310 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
23312         [BZ #13786]
23313         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23314         not include ../strcmp.S.
23315         [USE_AS_STRNCASECMP_L]: Likewise.
23316         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23317         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23318         * sysdeps/i386/i686/multiarch/strncase_l-c.c
23319         (__strncasecmp_l_ia32): Define as alias to
23320         __strncasecmp_l_nonascii.
23322         [BZ #5794]
23323         * math/libm-test.inc (expm1_test): Add test for bug 5794.
23324         * sysdeps/i386/fpu/libm-test-ulps: Update.
23325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23327         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23330 2012-02-29  Jeff Law  <law@redhat.com>
23332         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23333         out of bounds read.
23335 2012-02-29  Marek Polacek  <polacek@redhat.com>
23337         [BZ #13706]
23338         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23339         * elf/Makefile: Add rules to run tst-unused-dep.out.
23341 2012-02-28  David S. Miller  <davem@davemloft.net>
23343         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23344         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23345         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23346         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23347         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23348         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23350 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
23352         * math/libm-test.inc (llround_test): Move one test from
23353         lround_test.  Use TEST_f_L in moved test.
23354         (lround_test): Move misplaced test to llround_test.  Add testcase
23355         from bug 2561.
23357 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
23359         * sysdeps/x86_64/fpu/e_expf.S: New file.
23360         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23362 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
23364         [BZ #13637]
23365         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23366         of remain_len that may cause incomplete multi-byte character and
23367         false match.
23368         * posix/bug-regex33.c: New file.
23369         * posix/Makefile (tests): Add bug-regex33.
23371 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
23373         * manual/macros.texi: New file.
23374         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23375         * manual/libc.texinfo: Include macros.texi.
23376         * manual/creatute.texi: Likewise.
23377         * manual/install.texi: Likewise.
23378         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23379         @glibcadj{} in references to the GNU C Library.
23380         * manual/charset.texi: Likewise.
23381         * manual/conf.texi: Likewise.
23382         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
23383         when not using those macros.
23384         * manual/creature.texi: Likewise.
23385         * manual/crypt.texi: Likewise.
23386         * manual/errno.texi: Likewise.
23387         * manual/filesys.texi: Likewise.
23388         * manual/header.texi: Likewise.
23389         * manual/install.texi: Likewise.
23390         * manual/intro.texi: Likewise.
23391         * manual/io.texi: Likewise.
23392         * manual/job.texi: Likewise.
23393         * manual/lang.texi: Likewise.
23394         * manual/libc.texiinfo: Likewise.
23395         * manual/llio.texi: Likewise.
23396         * manual/locale.texi: Likewise.
23397         * manual/maint.texi: Likewise.
23398         * manual/math.texi: Likewise.
23399         * manual/memory.texi: Likewise.
23400         * manual/message.texi: Likewise.
23401         * manual/nss.texi: Likewise.
23402         * manual/pattern.texi: Likewise.
23403         * manual/process.texi: Likewise.
23404         * manual/resource.texi: Likewise.
23405         * manual/search.texi: Likewise.
23406         * manual/setjmp.texi: Likewise.
23407         * manual/signal.texi: Likewise.
23408         * manual/socket.texi: Likewise.
23409         * manual/startup.texi: Likewise.
23410         * manual/stdio.texi: Likewise.
23411         * manual/string.texi: Likewise.
23412         * manual/sysinfo.texi: Likewise.
23413         * manual/syslog.texi: Likewise.
23414         * manual/terminal.texi: Likewise.
23415         * manual/time.texi: Likewise.
23416         * manual/users.texi: Likewise.
23417         * INSTALL: Regenerated.
23418         * NOTES: Regenerated.
23419         * sysdeps/gnu/errlist.c: Regenerated.
23421 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
23423         * include/dirent.h: Include <dirstream.h> before
23424         <dirent/dirent.h>.
23426 2012-02-28  David S. Miller  <davem@davemloft.net>
23428         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23429         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23430         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23431         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23433 2012-02-27  David S. Miller  <davem@davemloft.net>
23435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23437         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23438         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23441         frame pointer instead of stack pointer relative arg slot.
23442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23443         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23444         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23446 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
23448         [BZ #3992]
23449         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23451 2012-02-27  David S. Miller  <davem@davemloft.net>
23453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23457         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23458         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23459         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23460         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23462 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
23464         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23465         later.  Allow versions 5-9.
23466         * configure: Regenerated.
23467         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23468         required minimum version and 4.6 as recommended version.  Do not
23469         mention bugs in GCC 2.7 and 2.8.
23470         * INSTALL: Regenerated.
23472 2012-02-27  David S. Miller  <davem@davemloft.net>
23474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23478         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23479         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23480         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23481         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23483         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23484         manipulate bits before adding and subtracting TWO112[sx].
23485         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23487 2012-02-27  Roland McGrath  <roland@hack.frob.com>
23489         [BZ #13775]
23490         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23491         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23492         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23493         being in POSIX, because they are in 1003.1-2008.
23495         * rt/tst-aio.c: Include <fcntl.h>.
23496         * rt/tst-aio7.c: Likewise.
23497         * rt/tst-aio64.c: Likewise.
23499         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23501 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
23503         * manual/install.texi (--with-headers): Describe headers as
23504         interface headers, not private headers.
23505         (Specific advice for GNU/Linux systems): Describe use of headers
23506         from "make headers_install", not private headers from older
23507         kernels.
23508         * INSTALL: Regenerated.
23509         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23510         Change to 2.6.19.
23511         * sysdeps/unix/sysv/linux/configure: Regenerated.
23513         * manual/llio.texi (fclean): Remove documentation.
23515         * manual/Makefile (libc-texi-generated): New variable.  Include
23516         version.texi.
23517         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23518         $(libc-texi-generated), not duplicated list of files.
23519         (version.texi, stamp-version): New rules.
23520         (realclean): Remove $(libc-texi-generated), not individual files
23521         from that list.  Do not remove dir-add.texinfo.
23522         * manual/libc.texinfo: Comment out uses of edition numbers and
23523         references to printed manual.  Remove last-updated dates.
23524         (EDITION): Comment out.
23525         (ISBN): Likewise.
23526         (VERSION, UPDATED): Remove.
23527         (version.texi): Include.
23529 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
23531         * sysdeps/posix/spawni.c: Include <signal.h>.
23532         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23533         * sysdeps/pthread/aio_fsync.c: Likewise.
23535 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
23537         * conform/Makefile (tests): Run only when not cross-compiling and
23538         when fast-check is not defined.
23540         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23541         * conform/data/limits.h-data: Fixes for POSIX2008.
23542         * conform/run-conformtest.sh: Run all tests.
23543         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23544         headers.
23545         * include/bits/dlfcn.h: Likewise.
23546         * include/langinfo.h: Likewise.
23547         * include/monetary.h: Likewise.
23548         * include/sys/poll.h: Likewise.
23550         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23551         for __USE_GNU.
23552         * posix/spawn.h: Define __need_sigset_t.
23553         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23554         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23555         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
23556         to get sigevent_t only.
23557         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23558         only for __USE_GNU.
23559         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23560         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23561         process_vm_writev only for __USE_GNU.
23562         * termios/termios.h: Declare tcgetsid also for POSIX2008.
23564         * conform/Makefile: For now ignore errors from run-conformtest.
23565         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
23566         POSIX to avoid namespace pollution.  Don't prepend headers.
23567         * conform/data/aio.h-data: Fixes for POSIX testing.
23568         * conform/data/fcntl.h-data: Likewise.
23569         * conform/data/glob.h-data: Likewise.
23570         * conform/data/grp.h-data: Likewise.
23571         * conform/data/pthread.h-data: Likewise.
23572         * conform/data/pwd.h-data: Likewise.
23573         * conform/data/signal.h-data: Likewise.
23574         * conform/data/spawn.h-data: Likewise.
23575         * conform/data/stdio.h-data: Likewise.
23576         * conform/data/stdlib.h-data: Likewise.
23577         * conform/data/stropts.h-data: Likewise.
23578         * conform/data/sys/mman.h-data: Likewise.
23579         * conform/data/sys/stat.h-data: Likewise.
23580         * conform/data/sys/types.h-data: Likewise.
23581         * conform/data/sys/wait.h-data: Likewise.
23582         * conform/data/time.h-data: Likewise.
23583         * conform/data/unistd.h-data: Likewise.
23584         * conform/data/utime.h-data: Likewise.
23586         * io/sys/stat.h: fchmod was always in POSIX.
23587         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23588         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23589         * rt/aio.h: Define __need_timespec before including <time.h>.
23590         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23591         struct.  Add forward declaration of pthread_attr_t and use it in
23592         sigevent.
23593         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23594         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23595         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23596         always remove CLK_TCK definition.
23598 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
23600         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23602 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
23604         * conform/run-conformtest.sh: New file.
23605         * conform/Makefile: Run run-conformtest for tests.
23606         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
23607         support.
23609         * conform/data/uchar.h-data: New file.
23610         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23611         * conform/data/arpa/inet.h-data: Likewise.
23612         * conform/data/assert.h-data: Likewise.
23613         * conform/data/complex.h-data: Likewise.
23614         * conform/data/cpio.h-data: Likewise.
23615         * conform/data/ctype.h-data: Likewise.
23616         * conform/data/dirent.h-data: Likewise.
23617         * conform/data/dlfcn.h-data: Likewise.
23618         * conform/data/errno.h-data: Likewise.
23619         * conform/data/fcntl.h-data: Likewise.
23620         * conform/data/float.h-data: Likewise.
23621         * conform/data/fmtmsg.h-data: Likewise.
23622         * conform/data/fnmatch.h-data: Likewise.
23623         * conform/data/ftw.h-data: Likewise.
23624         * conform/data/glob.h-data: Likewise.
23625         * conform/data/grp.h-data: Likewise.
23626         * conform/data/iconv.h-data: Likewise.
23627         * conform/data/inttypes.h-data: Likewise.
23628         * conform/data/langinfo.h-data: Likewise.
23629         * conform/data/libgen.h-data: Likewise.
23630         * conform/data/limits.h-data: Likewise.
23631         * conform/data/locale.h-data: Likewise.
23632         * conform/data/math.h-data: Likewise.
23633         * conform/data/monetary.h-data: Likewise.
23634         * conform/data/mqueue.h-data: Likewise.
23635         * conform/data/ndbm.h-data: Likewise.
23636         * conform/data/net/if.h-data: Likewise.
23637         * conform/data/netdb.h-data: Likewise.
23638         * conform/data/netinet/in.h-data: Likewise.
23639         * conform/data/nl_types.h-data: Likewise.
23640         * conform/data/poll.h-data: Likewise.
23641         * conform/data/pthread.h-data: Likewise.
23642         * conform/data/pwd.h-data: Likewise.
23643         * conform/data/regex.h-data: Likewise.
23644         * conform/data/sched.h-data: Likewise.
23645         * conform/data/search.h-data: Likewise.
23646         * conform/data/semaphore.h-data: Likewise.
23647         * conform/data/setjmp.h-data: Likewise.
23648         * conform/data/signal.h-data: Likewise.
23649         * conform/data/spawn.h-data: Likewise.
23650         * conform/data/stdarg.h-data: Likewise.
23651         * conform/data/stdio.h-data: Likewise.
23652         * conform/data/stdlib.h-data: Likewise.
23653         * conform/data/string.h-data: Likewise.
23654         * conform/data/strings.h-data: Likewise.
23655         * conform/data/stropts.h-data: Likewise.
23656         * conform/data/sys/ipc.h-data: Likewise.
23657         * conform/data/sys/mman.h-data: Likewise.
23658         * conform/data/sys/msg.h-data: Likewise.
23659         * conform/data/sys/resource.h-data: Likewise.
23660         * conform/data/sys/select.h-data: Likewise.
23661         * conform/data/sys/sem.h-data: Likewise.
23662         * conform/data/sys/shm.h-data: Likewise.
23663         * conform/data/sys/socket.h-data: Likewise.
23664         * conform/data/sys/stat.h-data: Likewise.
23665         * conform/data/sys/statvfs.h-data: Likewise.
23666         * conform/data/sys/time.h-data: Likewise.
23667         * conform/data/sys/timeb.h-data: Likewise.
23668         * conform/data/sys/times.h-data: Likewise.
23669         * conform/data/sys/types.h-data: Likewise.
23670         * conform/data/sys/uio.h-data: Likewise.
23671         * conform/data/sys/un.h-data: Likewise.
23672         * conform/data/sys/utsname.h-data: Likewise.
23673         * conform/data/sys/wait.h-data: Likewise.
23674         * conform/data/syslog.h-data: Likewise.
23675         * conform/data/tar.h-data: Likewise.
23676         * conform/data/termios.h-data: Likewise.
23677         * conform/data/utime.h-data: Likewise.
23678         * conform/data/utmpx.h-data: Likewise.
23679         * conform/data/varargs.h-data: Likewise.
23680         * conform/data/wchar.h-data: Likewise.
23681         * conform/data/wctype.h-data: Likewise.
23682         * conform/data/wordexp.h-data: Likewise.
23684         * include/stropts.h: New file.
23685         * include/uchar.h: New file.
23686         * include/aio.h: Changes to allow conformtest.pl to use the headers.
23687         * include/assert.h: Likewise.
23688         * include/ctype.h: Likewise.
23689         * include/dirent.h: Likewise.
23690         * include/dlfcn.h: Likewise.
23691         * include/fcntl.h: Likewise.
23692         * include/fnmatch.h: Likewise.
23693         * include/glob.h: Likewise.
23694         * include/grp.h: Likewise.
23695         * include/libio.h: Likewise.
23696         * include/locale.h: Likewise.
23697         * include/math.h: Likewise.
23698         * include/net/if.h: Likewise.
23699         * include/netdb.h: Likewise.
23700         * include/netinet/in.h: Likewise.
23701         * include/pthread.h: Likewise.
23702         * include/pwd.h: Likewise.
23703         * include/regex.h: Likewise.
23704         * include/sched.h: Likewise.
23705         * include/search.h: Likewise.
23706         * include/setjmp.h: Likewise.
23707         * include/signal.h: Likewise.
23708         * include/stdio.h: Likewise.
23709         * include/stdlib.h: Likewise.
23710         * include/string.h: Likewise.
23711         * include/sys/cdefs.h: Likewise.
23712         * include/sys/mman.h: Likewise.
23713         * include/sys/msg.h: Likewise.
23714         * include/sys/resource.h: Likewise.
23715         * include/sys/select.h: Likewise.
23716         * include/sys/socket.h: Likewise.
23717         * include/sys/stat.h: Likewise.
23718         * include/sys/statvfs.h: Likewise.
23719         * include/sys/time.h: Likewise.
23720         * include/sys/times.h: Likewise.
23721         * include/sys/uio.h: Likewise.
23722         * include/sys/utsname.h: Likewise.
23723         * include/sys/wait.h: Likewise.
23724         * include/termios.h: Likewise.
23725         * include/time.h: Likewise.
23726         * include/ulimit.h: Likewise.
23727         * include/unistd.h: Likewise.
23728         * include/utime.h: Likewise.
23729         * include/wchar.h: Likewise.
23730         * include/wctype.h: Likewise.
23731         * include/wordexp.h: Likewise.
23733         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23735         * time/time.h: TIME_UTC must be a macro.
23736         Make timespec_get available for ISO C11 only as well.
23738 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
23740         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23741         Reported by Peng Haitao <penght@cn.fujitsu.com>.
23743 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23745         * configure.in: Use -o not -a in test for unsupported multi-arch.
23747 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23749         * manual/texinfo.tex: Update to version 2012-01-19.16.
23751 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23753         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23755 2012-02-24  Roland McGrath  <roland@hack.frob.com>
23757         [BZ #13738]
23758         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23759         * manual/fdl-1.3.texi: New file.
23760         * manual/fdl-1.1.texi: File removed.
23762         [BZ #13738]
23763         * manual/libc.texinfo (FDL_VERSION): New @set.
23764         Use it for mention of FDL in cover text.
23765         (Documentation License): Use it in @include file name.
23767 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23768             Roland McGrath  <roland@hack.frob.com>
23770         [BZ #5461]
23771         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23772         not LONG_LONG_MAX and LONG_LONG_MIN.
23773         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23774         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
23775         name.
23776         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23778 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23780         [BZ #2547]
23781         [BZ #11365]
23782         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23783         manipulate bits before adding and subtracting TWO23[sx].
23784         * math/libm-test.inc (nearbyint_test): Add more tests.
23786 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23788         [BZ #2548]
23789         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23790         bits before adding and subtracting TWO23[sx].
23791         * math/libm-test.inc (rint_test): Add more tests.
23792         (rint_test_tonearest): Likewise.
23793         (rint_test_towardzero): Likewise.
23794         (rint_test_downward): Likewise.
23795         (rint_test_upward: Likewise.
23797 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23799         [BZ #10110]
23800         * include/stdc-predef.h: New file.  Extracted from features.h.
23801         * include/features.h: Include stdc-predef.h.
23802         * Makefile (headers): Add stdc-predef.h.
23803         * CONFORMANCE (Compiler limitations): Update.
23805 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23807         * manual/libc.texinfo (VERSION, UPDATED): Revert.
23809 2012-02-21  David S. Miller  <davem@davemloft.net>
23811         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23812         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23814 2012-02-20  David S. Miller  <davem@davemloft.net>
23816         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23817         using a normal save/restore sequence, rather than allocating a
23818         dummy stack frame just to store a frame pointer and restore.
23819         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23821 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23823         * manual/install.texi: Fix stray word in line-wrapped comment.
23825 2012-02-20  David S. Miller  <davem@davemloft.net>
23827         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23828         both binutils and gcc support GOTDATA.
23830         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23831         "rd %pc" in the PIC register setup sequences.
23833         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23834         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23835         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23836         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23837         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23838         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23839         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23840         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23841         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23842         (SYSCALL_ERROR_HANDLER): Likewise.
23843         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23844         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23845         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23846         (SYSCALL_ERROR_HANDLER): Likewise.
23848         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23849         (HAVE_GCC_GOTDATA): New.
23850         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23851         relocation support in both binutils and gcc.
23852         * sysdeps/sparc/elf/configure: Regenerate.
23854         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23855         * sysdeps/sparc/sparc32/elf/configure: Delete.
23856         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23857         * sysdeps/sparc/sparc64/elf/configure: Delete.
23858         * sysdeps/sparc/elf/configure.in: New file.
23859         * sysdeps/sparc/elf/configure: Generate.
23861         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23862         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23863         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23864         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23865         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23867 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23869         * manual/install.texi: Do not mention specific glibc version
23870         numbers.
23871         * manual/libc.texinfo (VERSION, UPDATED): Update.
23872         (@copying): Use @copyright{} and range of years.
23874 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23876         [BZ #13695]
23877         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23878         [crti.S not in sysdirs] (generated): Do not append.
23879         [crti.S not in sysdirs] (omit-deps): Likewise.
23880         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23881         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23882         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23883         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23884         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23885         Likewise.
23886         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23887         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23888         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23889         * csu/defs.awk: Remove file.
23890         * sysdeps/generic/initfini.c: Likewise.
23891         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23892         variable.
23893         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23894         Likewise.
23896 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23898         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23899         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23900         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23901         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23902         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23903         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23904         <bits/epoll.h>.
23905         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23906         (__EPOLL_PACKED): Define to empty if not defined by
23907         <bits/epoll.h>.
23908         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23909         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23910         bits/epoll.h.
23912 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23914         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23915         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23916         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23917         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23918         <bits/timerfd.h>.
23919         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23920         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23921         bits/timerfd.h.
23923 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23925         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23926         in C locale.
23927         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23928         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23929         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23932 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
23934         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23935         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23937 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
23939         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23940         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23941         defined.
23942         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23943         Likewise.
23944         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23945         entry for 2.16.
23947 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
23949         * math/w_acos.c: Use non-signaling floating-point comparisons.
23950         * math/w_acosf.c: Likewise.
23951         * math/w_acosh.c: Likewise.
23952         * math/w_acoshf.c: Likewise.
23953         * math/w_acoshl.c: Likewise.
23954         * math/w_acosl.c: Likewise.
23955         * math/w_asin.c: Likewise.
23956         * math/w_asinf.c: Likewise.
23957         * math/w_asinl.c: Likewise.
23958         * math/w_atanh.c: Likewise.
23959         * math/w_atanhf.c: Likewise.
23960         * math/w_atanhl.c: Likewise.
23961         * math/w_exp2.c: Likewise.
23962         * math/w_exp2f.c: Likewise.
23963         * math/w_exp2l.c: Likewise.
23964         * math/w_j0.c: Likewise.
23965         * math/w_j0f.c: Likewise.
23966         * math/w_j0l.c: Likewise.
23967         * math/w_j1.c: Likewise.
23968         * math/w_j1f.c: Likewise.
23969         * math/w_j1l.c: Likewise.
23970         * math/w_jn.c: Likewise.
23971         * math/w_jnf.c: Likewise.
23972         * math/w_log.c: Likewise.
23973         * math/w_log10.c: Likewise.
23974         * math/w_log10f.c: Likewise.
23975         * math/w_log10l.c: Likewise.
23976         * math/w_log2.c: Likewise.
23977         * math/w_log2f.c: Likewise.
23978         * math/w_log2l.c: Likewise.
23979         * math/w_logf.c: Likewise.
23980         * math/w_logl.c: Likewise.
23981         * math/w_sqrt.c: Likewise.
23982         * math/w_sqrtf.c: Likewise.
23983         * math/w_sqrtl.c: Likewise.
23984         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23985         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23986         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23987         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23988         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23990 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23992         [BZ #9739]
23993         * manual/string.texi (strnlen): Use correct parameter name in
23994         equivalent expression.
23996 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23998         [BZ #11174]
23999         * manual/users.texi (seteuid): Consistently use neweuid for
24000         argument name.
24002 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
24004         [BZ #13704]
24005         * manual/nss.texi (Services in the NSS configuration): Correct
24006         list of services in example configuration file.
24008 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
24010         [BZ #11322]
24011         * manual/arith.texi: Remove statements about negative zero
24012         behaving identically to zero.
24014 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
24016         [BZ #5993]
24017         * manual/install.texi: Do not document upgrading from libc5.
24019 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
24021         [BZ #4596]
24022         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24024 2012-02-18  David S. Miller  <davem@davemloft.net>
24026         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24027         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24028         %o7 across the call.
24029         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24030         instead.
24031         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24032         SETUP_PIC_REG_LEAF.
24033         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24034         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24035         * sysdeps/sparc/crtn.S: Likewise.
24037 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
24039         * aout/Makefile: Remove.
24041 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
24043         [BZ #13058]
24044         * manual/examples/argp-ex1.c (main): Format definition in GNU
24045         style.
24046         * manual/examples/argp-ex2.c (main): Likewise.
24047         * manual/examples/argp-ex3.c (main): Likewise.
24048         * manual/examples/argp-ex4.c (main): Likewise.
24049         * manual/examples/longopt.c (main): Use new-style prototype
24050         definition.
24051         * manual/examples/strncat.c (main): Specify return type and use
24052         (void) for arguments.
24053         * manual/examples/subopt.c (main): Use char **argv argument.
24055 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24057         [BZ #5077]
24058         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24059         rounding modes.
24061 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
24063         [BZ #6907]
24064         * manual/string.texi (strchr): Change when strchrnul is
24065         recommended.
24067 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
24069         [BZ #174]
24070         * manual/locale.texi (setlocale): Document LOCPATH.
24072 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24074         [BZ #10210]
24075         * manual/process.texi (execle): Move @dots{} before last argument.
24077 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
24079         [BZ #12047]
24080         * manual/charset.texi (Generic Charset Conversion): Fix typo
24081         (LC_TYPE -> LC_CTYPE).
24083 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
24085         [BZ #5805]
24086         * manual/arith.texi (scalbn): Use @var{} on parameter names.
24087         (scalbnf): Likewise.
24088         (scalbnl): Likewise.
24089         (scalbln): Likewise.
24090         (scalblnf): Likewise.
24091         (scalblnl): Likewise.
24092         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24093         (vwarnx): Likewise.
24094         (verr): Likewise.
24095         (verrx): Likewise.
24096         * manual/filesys.texi (telldir): Use braces around return type.
24097         * manual/llio.texi (mmap): Add space after comma.
24098         (mmap64): Likewise.
24099         * manual/math.texi (jn): Use @var{} on parameter names.
24100         (jnf): Likewise.
24101         (jnl): Likewise.
24102         (yn): Likewise.
24103         (ynf): Likewise.
24104         (ynl): Likewise.
24105         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24106         line.
24107         * manual/resource.texi (ulimit): Use @dots{} instead of literal
24108         "...".
24109         (sched_get_priority_min): Remove semicolon on @deftypefun line.
24110         (sched_get_priority_max): Likewise.
24111         * manual/signal.texi (sigvec): Add space after comma.
24112         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24113         names.
24114         (if_indextoname): Likewise.
24115         (if_freenameindex): Likewise.
24116         (sendto): Use ',' instead of '.' in prototype.
24117         * manual/startup.texi (syscall): Use @dots{} instead of literal
24118         "...".
24119         * manual/stdio.texi (__fpending): Separate initial words of
24120         paragraph from @deftypefun line.
24121         * manual/syslog.texi (syslog): Use @dots{} instead of literal
24122         "...".
24123         (vsyslog): Use @var{} on parameter names.
24124         * manual/terminal.texi (stty): Use @var{} on parameter names.
24125         * manual/users.texi (getutmp): Use @var{} on parameter names.
24126         (getutmpx): Likewise.
24128 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24130         [BZ #6884]
24131         * manual/stdio.texi (fopen): Fix typos in description of
24132         ",ccs=STRING".
24134 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
24136         [BZ #4026]
24137         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24138         get clock_id definition.
24140 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
24142         [BZ #4822]
24143         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24144         (madvise): Cast every argument to void on its own.
24146 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24148         [BZ #9902]
24149         * manual/startup.texi (Exit Status): Fix typo.
24151 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
24153         [BZ #10140]
24154         * manual/examples/argp-ex1.c: Include <stdlib.h>.
24155         * manual/examples/argp-ex2.c: Likewise.
24156         * manual/examples/argp-ex3.c: Likewise.
24158 2012-02-16  Richard Henderson  <rth@redhat.com>
24160         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24161         * sysdeps/s390/s390-32/initfini.c: Remove.
24162         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24163         * sysdeps/s390/s390-64/initfini.c: Remove.
24165 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24167         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24168         compiler output for sysdeps/generic/initfini.c.
24169         * sysdeps/sh/elf/initfini.c: Remove file.
24171 2012-02-16  David S. Miller  <davem@davemloft.net>
24173         [BZ #11494]
24174         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24176         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24177         * sysdeps/sparc/crti.S: New file.
24178         * sysdeps/sparc/crtn.S: New file.
24179         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24180         * sysdeps/sparc/sparc64/Makefile: Likewise.
24182 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
24184         [BZ #3335]
24185         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24187 2012-02-15  Roland McGrath  <roland@hack.frob.com>
24189         [BZ #4822]
24190         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24192         * mach/devstream.c (cookie_io_functions_t): Macro removed.
24193         (write, read, close): Likewise.
24194         Patch by Aurelien Jarno <aurelien@aurel32.net>.
24196 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
24198         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24199         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24200         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24201         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24202         <bits/signalfd.h>.
24203         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24204         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24205         bits/signalfd.h.
24207 2012-02-14  Marek Polacek  <polacek@redhat.com>
24209         * sysdeps/x86_64/crti.S: New file.
24210         * sysdeps/x86_64/crtn.S: New file.
24211         * sysdeps/x86_64/elf/initfini.c: Remove file.
24213 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
24215         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24216         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24217         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24218         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24219         <bits/inotify.h>.
24220         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24221         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24222         bits/inotify.h.
24224 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
24226         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24227         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24228         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24229         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24230         <bits/eventfd.h>.
24231         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24232         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24233         bits/eventfd.h.
24235 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
24237         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24238         __feraiseexcept instead of feraiseexcept.
24240         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24241         nanosleep invocations.
24242         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24243         strings, and add error checking for a nanosleep invocations.
24245 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
24247         Replace FSF snail mail address with URLs, as per GNU coding standards.
24248         Most of the snail mail addresses were wrong anyway, and omitting
24249         them makes the source code easier to maintain.  Almost all of the
24250         changes are to license notices and to locale LC_IDENTIFICATION
24251         addresses, except for this one:
24252         * manual/libc.texinfo: In "Published by", give the FSF's URL,
24253         not its snail mail address.
24255 2012-02-09  Richard Henderson  <rth@twiddle.net>
24257         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24258         of kernel-features.h.
24260         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24262 2012-02-08  Marek Polacek  <polacek@redhat.com>
24264         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24265         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24266         * sysdeps/gnu/_G_config.h: Likewise.
24267         * sysdeps/generic/_G_config.h: Likewise.
24269 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
24271         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24272         tests.
24273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24275         * sysdeps/powerpc/powerpc32/crti.S: New file.
24276         * sysdeps/powerpc/powerpc32/crtn.S: New file.
24277         * sysdeps/powerpc/powerpc64/crti.S: New file.
24278         * sysdeps/powerpc/powerpc64/crtn.S: New file.
24280         * Makeconfig (have-initfini): Don't set.
24281         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24282         * configure.in (nopic_initfini): Don't substitute.
24283         * config.h.in (HAVE_INITFINI): Don't #undef.
24284         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24285         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24287 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
24289         Support crti.S and crtn.S provided directly by architectures.
24290         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24291         [crti.S in sysdirs] (omit-deps): Likewise.
24292         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24293         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24294         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24295         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24296         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24297         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24298         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24299         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24300         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24301         compiler output for sysdeps/generic/initfini.c.
24302         * sysdeps/i386/elf/Makefile: Remove file.
24303         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24305 2012-02-07  Marek Polacek  <polacek@redhat.com>
24307         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24308         * sysdeps/gnu/_G_config.h: Likewise.
24309         * sysdeps/mach/hurd/_G_config.h: Likewise.
24311 2012-02-07  Marek Polacek  <polacek@redhat.com>
24313         * math/Makefile (tests): Add tst-CMPLX2.
24314         * math/tst-CMPLX2.c: New file.
24316 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
24318         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24320         * math/libm-test.inc (jn_test): Add missing L suffix.
24322 2012-02-06  Marek Polacek  <polacek@redhat.com>
24324         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24325         * sysdeps/i386/fpu/e_powf.S: Likewise.
24326         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24327         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24328         * sysdeps/i386/fpu/e_acosh.S: Likewise.
24329         * sysdeps/i386/fpu/e_pow.S: Likewise.
24330         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24331         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24332         * sysdeps/i386/fpu/s_expm1.S: Likewise.
24333         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24334         * sysdeps/i386/fpu/e_log2.S: Likewise.
24335         * sysdeps/i386/fpu/e_log2l.S: Likewise.
24336         * sysdeps/i386/fpu/e_scalb.S: Likewise.
24337         * sysdeps/i386/fpu/e_powl.S: Likewise.
24338         * sysdeps/i386/fpu/s_log1p.S: Likewise.
24339         * sysdeps/i386/fpu/e_log10f.S: Likewise.
24340         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24341         * sysdeps/i386/fpu/e_logl.S: Likewise.
24342         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24343         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24344         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24345         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24346         * sysdeps/i386/fpu/e_log2f.S: Likewise.
24347         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24348         * sysdeps/i386/fpu/e_log.S: Likewise.
24349         * sysdeps/i386/fpu/s_cexp.S: Likewise.
24350         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24351         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24352         * sysdeps/i386/fpu/e_logf.S: Likewise.
24353         * sysdeps/i386/fpu/e_log10l.S: Likewise.
24354         * sysdeps/i386/fpu/e_atanh.S: Likewise.
24355         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24356         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24357         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24358         * sysdeps/i386/fpu/e_log10.S: Likewise.
24359         * sysdeps/i386/fpu/s_frexp.S: Likewise.
24360         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24361         * sysdeps/i386/fpu/s_asinh.S: Likewise.
24362         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24363         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24364         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24365         * sysdeps/i386/asm-syntax.h: Likewise.
24366         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24367         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24368         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24369         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24370         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24371         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24372         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24373         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24374         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24375         * sysdeps/powerpc/sysdep.h: Likewise.
24376         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24377         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24379 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
24381         [BZ #411]
24382         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24384 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
24386         * sysdeps/i386/sysdep.h: Include <features.h>.
24387         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24388         version.
24390 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
24392         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24393         Define.
24394         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24395         LOAD_PIC_REG_STR.
24397 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24399         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24400         (SETUP_PIC_REG): Use GET_PC_THUNK.
24401         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24402         macro.
24404 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24406         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24407         for non-PIC compilation.
24408         (SETUP_PIC_REG): Add .p2align directive.
24409         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24410         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24411         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24412         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24413         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24414         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24415         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24416         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24417         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24418         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24419         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24420         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24421         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24422         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24423         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24424         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24425         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24426         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24427         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24428         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24429         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24430         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24431         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24432         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24433         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24434         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24435         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24436         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24437         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24438         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24439         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24440         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24441         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24442         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24443         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24444         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24445         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24446         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24447         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24448         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24449         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24451 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24453         * math/tst-CMPLX.c: Include <stdio.h>.
24455 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
24457         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24458         float.
24459         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24460         * sysdeps/sparc/bits/mathdef.h: Likewise.
24462 2012-01-31  Marek Polacek  <polacek@redhat.com>
24464         * libio/libio.h: Don't define _PARAMS.
24465         * locale/programs/config.h: Don't define PARAMS.
24466         * stdlib/strtol_l.c: Likewise.
24467         (__strtol_l): Remove PARAMS from the prototype.
24469 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
24471         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
24472         names.  Just use the correct names.  Remove unnecessary wrapper
24473         functions.
24474         * malloc/arena.c: Likewise.
24475         * malloc/hooks.c: Likewise.
24477         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24478         ARENA_TEST says not to.  Simplify test for creation of a new arena.
24479         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24481 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
24483         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24484         into tail calls.
24485         (update_get_addr): New function.
24486         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24487         GET_ADDR_MODULE parameter.
24489 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
24491         * crypt/cert.c: Remove __STDC__ conditionals.
24492         * crypt/crypt-entry.c: Likewise.
24493         * crypt/crypt_util.c: Likewise.
24494         * libio/filedoalloc.c: Likewise.
24495         * libio/fileops.c: Likewise.
24496         * libio/genops.c: Likewise.
24497         * libio/iofclose.c: Likewise.
24498         * libio/iofdopen.c: Likewise.
24499         * libio/iofopen.c: Likewise.
24500         * libio/iofopen64.c: Likewise.
24501         * libio/iogetdelim.c: Likewise.
24502         * libio/iopopen.c: Likewise.
24503         * libio/obprintf.c: Likewise.
24504         * libio/oldfileops.c: Likewise.
24505         * libio/oldiofclose.c: Likewise.
24506         * libio/oldiofdopen.c: Likewise.
24507         * libio/oldiofopen.c: Likewise.
24508         * libio/oldiopopen.c: Likewise.
24509         * libio/wfiledoalloc.c: Likewise.
24510         * libio/wgenops.c: Likewise.
24511         * locale/programs/xmalloc.c: Likewise.
24512         * misc/syslog.c: Likewise.
24513         * stdio-common/xbug.c: Likewise.
24514         * string/memchr.c: Likewise.
24515         * string/memcmp.c: Likewise.
24516         * string/memrchr.c: Likewise.
24517         * string/rawmemchr.c: Likewise.
24518         * sysdeps/posix/getcwd.c: Likewise.
24519         * time/strftime_l.c: Likewise.
24521 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
24523         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
24524         * config.make.in (config-cflags-sse2avx): Define.
24525         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24526         Fix typo.
24528 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
24530         * scripts/config.guess: Update from upstream config git repository.
24531         * scripts/config.sub: Likewise.
24533 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
24535         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24536         (EM_NUM): Update.
24537         (R_TILEPRO_*, R_TILEGX_*): New macros.
24539         * scripts/firstversions.awk: Fix bug in version range handling.
24541         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24543         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24545         * include/sys/epoll.h: New file.
24546         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24547         libc_hidden_def.
24549 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
24551         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24552         Avoid unnecessary __WORDSIZE == 64 test.
24553         (fmaxf): Use VEX format if possible.
24554         (fmax): Likewise.
24555         (fminf): Likewise.
24556         (fmin): Likewise.
24558         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24559         * math/math_private.h: Remove libc_fegetround* and
24560         libc_fesetround*.
24561         * sysdeps/i386/configure.in: Check for -msse2avx.
24562         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24563         also if SSE2AVX is defined.
24564         Remove libc_fegetround* and libc_fesetround*.
24565         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24566         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
24567         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24568         of HAS_YMM_USABLE.
24569         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24570         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24571         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24572         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24573         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24575         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24577 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24579         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24580         size is not set.
24581         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24583 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
24585         [BZ #13618]
24586         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24587         relocation.
24588         * Makeconfig (libm): Define.
24589         * elf/Makefile: Add rules to build and run tst-relsort1.
24590         * elf/tst-relsort1.c: New file.
24591         * elf/tst-relsort1mod1.c: New file.
24592         * elf/tst-relsort1mod2.c: New file.
24594 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
24596         * math/s_ldexp.c: Remove __STDC__ conditionals.
24597         * math/s_ldexpf.c: Likewise.
24598         * math/s_ldexpl.c: Likewise.
24599         * math/s_nextafter.c: Likewise.
24600         * math/s_nexttowardf.c: Likewise.
24601         * math/s_significand.c: Likewise.
24602         * math/s_significandf.c: Likewise.
24603         * math/s_significandl.c: Likewise.
24604         * math/w_jnl.c: Likewise.
24605         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24606         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24607         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24608         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24609         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24610         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24611         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24612         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24613         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24614         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24615         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24616         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24617         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24618         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24619         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24620         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24621         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24622         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24623         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24624         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24625         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24626         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24627         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24628         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24629         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24630         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24631         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24632         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24633         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24634         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24635         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24636         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24637         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24638         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24639         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24640         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24641         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24642         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24643         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24644         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24645         * sysdeps/ieee754/k_standard.c: Likewise.
24646         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24647         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24648         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24649         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24650         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24651         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24652         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24653         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24654         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24655         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24656         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24657         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24658         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24659         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24660         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24661         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24662         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24663         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24664         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24665         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24666         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24667         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24668         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24669         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24670         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24671         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24672         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24673         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24674         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24675         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24676         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24677         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24678         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24679         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24680         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24681         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24682         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24683         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24684         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24685         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24686         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24687         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24688         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24689         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24690         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24691         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24692         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24693         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24694         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24695         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24696         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24697         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24698         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24699         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24700         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24701         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24702         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24703         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24704         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24705         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24706         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24707         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24708         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24709         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24710         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24711         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24712         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24713         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24714         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24715         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24716         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24717         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24718         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24719         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24720         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24721         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24722         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24723         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24724         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24725         * sysdeps/ieee754/s_matherr.c: Likewise.
24726         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24727         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24728         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24729         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24731 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
24733         * crypt/md5.h: Remove __STDC__ conditionals.
24734         * libio/libioP.h: Likewise.
24735         * locale/programs/config.h: Likewise.
24736         * sysdeps/generic/sysdep.h: Likewise.
24737         * sysdeps/i386/asm-syntax.h: Likewise.
24738         * sysdeps/s390/asm-syntax.h: Likewise.
24739         * sysdeps/unix/sysdep.h: Likewise.
24740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24743 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
24745         * libio/libio.h: Remove __STDC__ conditionals.
24746         * malloc/obstack.h: Likewise.
24747         * math/complex.h: Likewise.
24748         * math/math.h: Likewise.
24749         * sysdeps/generic/_G_config.h: Likewise.
24750         * sysdeps/gnu/_G_config.h: Likewise.
24751         * sysdeps/mach/hurd/_G_config.h: Likewise.
24752         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24753         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24754         * sysdeps/sparc/bits/mathdef.h: Likewise.
24756 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
24758         [BZ #13583]
24759         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
24760         Clean up HAS_* macros.
24761         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
24762         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24763         possible.
24764         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24765         HAS_AVX.
24766         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24767         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24768         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24769         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24770         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24772 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
24774         * elf/tst-unique3.cc (gets): Remove declaration.
24775         * elf/tst-unique3lib.cc (gets): Likewise.
24776         * elf/tst-unique3lib2.cc (gets): Likewise.
24777         * elf/tst-unique4.cc (gets): Likewise.
24779 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
24781         * include/stdio.h: Add C++ protection.  Add gets declarations and
24782         definitions.
24783         * debug/tst-chk1.c: Don't declare gets here.
24784         * stdio-common/tst-gets.c: Likewise.
24786 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
24788         * posix/glob: Remove directory.
24790 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
24792         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24794 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
24796         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24797         of the non-standard EPFNOSUPPORT.
24799 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24801         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24802         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24803         ANYWHERE set to 1 only on KERN_NO_SPACE error.
24805 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
24807         * wcsmbs/uchar.h: Test __STDC_VERSION__.
24809 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
24811         * nscd/aicache.c (addhstaiX): Do not cache negative results of
24812         transient errors.
24813         * nscd/grpcache.c (cache_addgr): Likewise.
24814         * nscd/hstcache.c (cache_addhst): Likewise.
24815         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24816         * nscd/pwdcache.c (cache_addpw): Likewise.
24817         * nscd/servicescache.c (cache_addserv): Likewise.
24819 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
24821         * malloc/malloc.c: Various cleanups.
24822         * malloc/hooks.c: Likewise.
24824         * stdlib/Makefile (tests): Add bug-fmtmsg1.
24825         * stdlib/bug-fmtmsg1.c: New file.
24827         * stdlib/fmtmsg.c (init): Add missing unlock.
24828         Patch by Peng Haitao <penght@cn.fujitsu.com>.
24830 2012-01-12  Marek Polacek  <polacek@redhat.com>
24832         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24833         and _GNU_SOURCE.
24835 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
24837         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24838         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24839         macro to ensure uniqueness of label name.
24840         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24841         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24843 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
24845         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24847         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24848         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24849         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24850         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24852 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
24854         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24856         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24857         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24858         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24860         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24862         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
24863         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24864         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24865         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
24867         * math/bits/math-finite.h: Add ldexp support.
24869 2012-01-10  Marek Polacek  <polacek@redhat.com>
24871         * locale/programs/localedef.h (show_archive_content): Add noreturn
24872         attribute.
24874 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
24876         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24878 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24880         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24882         * io/Makefile (headers): Add bits/poll2.h.
24884 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
24886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24887         typo #include statement.
24889 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24891         * include/sys/cdefs.h: Define __attribute_alloc_size.
24892         * catgets/gencat.c: Add alloc_size attribute and apply consistently
24893         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24894         * elf/pldd.c: Likewise.
24895         * iconv/iconv_charmap.c: Likewise.
24896         * iconv/iconvconfig.c: Likewise.
24897         * iconv/strtab.c: Likewise.
24898         * locale/programs/locale.c: Likewise.
24899         * locale/programs/localedef.h: Likewise.
24900         * locale/programs/simple-hash.c: Likewise.
24901         * nscd/nscd.h: Likewise.
24902         * nss/makedb.c: Likewise.
24903         * sysdeps/generic/ldconfig.h: Likewise.
24904         * locale/programs/localedef.c: Remove xmalloc prototype.
24905         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24907 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24909         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24910         appropriate.
24912 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24914         * math/Makefile (tests): Add tst-CMPLX.
24915         * math/tst-CMPLX.c: New file.
24917         * math/complex.h (CMPLXL): Fix typo.
24919         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24920         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24921         GLIBC_2.16.
24922         * debug/tst-chk1.c: Add poll and ppoll tests.
24923         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24924         * include/sys/poll.h: Add hidden proto for ppoll.
24925         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24926         * sysdeps/mach/hurd/ppoll.c: Likewise.
24927         * io/ppoll.c: Likewise.
24928         * debug/poll_chk.c: New file.
24929         * debug/ppoll_chk.c: New file.
24930         * include/bits/poll2.h: New file.
24931         * io/bits/poll2.h: New file.
24933         [BZ #1350]
24934         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24936         * configure.in: static is always set to yes.  Remove.
24937         * config.make.in: Don't set build-static.
24938         * Makeconfig: Remove use of build-static.
24939         * dlfcn/Makefile: Likewise.
24940         * elf/Makefile: Likewise.
24941         * math/Makefile: Likewise.
24942         * misc/Makefile: Likewise.
24943         * nptl/Makefile: Likewise.
24944         * sysdeps/mach/hurd/Makefile: Likewise.
24946         * configure.in: PWD_P is not used anymore.
24947         * config.make.in: Remove PWD_P entry.
24949         * configure.in: Remove last remnants of RANLIB.
24950         No need to check for signed size_t anymore.
24951         Don't set libc_commonpagesize and libc_relro_required here for Alpha
24952         and IA-64.
24953         Remove __builtin_expect test because we require at least gcc 3.4.
24954         * aclocal.m4: Likewise.
24956         * wcsmbs/mbrtoc16.c: Implement using towc function.
24957         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24958         * wcsmbs/wcsmbsload.c: Likewise.
24959         * iconv/gconv_simple.c: Likewise.
24960         * iconv/gconv_int.h: Likewise.
24961         * iconv/gconv_builtin.h: Likewise.
24962         * iconv/iconv_prog.c: Remove CHAR16 handling.
24964         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24966         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24968         * configure.in: Remove --with-elf and --enable-bounded options.
24969         Dont set base_machine for ia64.  More non-ELF conditions removed.
24970         Remove testing and setting of leading underscore information.
24971         * config.make.in (build-bounded): Set to no.
24972         * config.h.in: Remove NO_UNDERSCORES entry.
24973         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
24974         them.
24975         * csu/start.c: Remove !NO_UNDERSCORE code.
24976         * locale/localeinfo.h: Likewise.
24977         * sysdeps/generic/machine-gmon.h: Likewise.
24978         * sysdeps/generic/sysdep.h: Likewise.
24979         * sysdeps/i386/sysdep.h: Likewise.
24980         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24981         * sysdeps/mach/sysdep.h: Likewise.
24982         * sysdeps/s390/s390-32/sysdep.h: Likewise.
24983         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24984         * sysdeps/sh/sysdep.h: Likewise.
24985         * sysdeps/sparc/sparc32/alloca.S: Likewise.
24986         * sysdeps/unix/i386/sysdep.S: Likewise.
24987         * sysdeps/unix/sparc/start.c: Likewise.
24988         * sysdeps/unix/sparc/sysdep.S: Likewise.
24989         * sysdeps/unix/sparc/sysdep.h: Likewise.
24990         * sysdeps/unix/start.c: Likewise.
24991         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24992         * sysdeps/x86_64/sysdep.h: Likewise.
24994 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
24996         [BZ #13553]
24997         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24998         for non-gcc.
24999         * argp/argp-fmtstream.h: Use const instead __const.
25000         * argp/argp.h: Likewise.
25001         * assert/assert.h: Likewise.
25002         * bits/fenv.h: Likewise.
25003         * bits/sched.h: Likewise.
25004         * bits/sigset.h: Likewise.
25005         * bits/sigthread.h: Likewise.
25006         * catgets/nl_types.h: Likewise.
25007         * conform/data/pthread.h-data: Likewise.
25008         * crypt/crypt-private.h: Likewise.
25009         * crypt/crypt.h: Likewise.
25010         * crypt/crypt_util.c: Likewise.
25011         * ctype/ctype.h: Likewise.
25012         * debug/execinfo.h: Likewise.
25013         * debug/mbsnrtowcs_chk.c: Likewise.
25014         * debug/mbsrtowcs_chk.c: Likewise.
25015         * debug/wcsnrtombs_chk.c: Likewise.
25016         * debug/wcsrtombs_chk.c: Likewise.
25017         * debug/wcstombs_chk.c: Likewise.
25018         * dirent/dirent.h: Likewise.
25019         * dlfcn/dlfcn.h: Likewise.
25020         * elf/neededtest4.c: Likewise.
25021         * grp/grp.h: Likewise.
25022         * gshadow/gshadow.h: Likewise.
25023         * iconv/gconv.h: Likewise.
25024         * iconv/gconv_int.h: Likewise.
25025         * iconv/gconv_simple.c: Likewise.
25026         * iconv/iconv.h: Likewise.
25027         * iconv/loop.c: Likewise.
25028         * iconv/skeleton.c: Likewise.
25029         * include/aio.h: Likewise.
25030         * include/aliases.h: Likewise.
25031         * include/argz.h: Likewise.
25032         * include/arpa/inet.h: Likewise.
25033         * include/assert.h: Likewise.
25034         * include/dirent.h: Likewise.
25035         * include/dlfcn.h: Likewise.
25036         * include/execinfo.h: Likewise.
25037         * include/fcntl.h: Likewise.
25038         * include/fenv.h: Likewise.
25039         * include/glob.h: Likewise.
25040         * include/grp.h: Likewise.
25041         * include/libintl.h: Likewise.
25042         * include/mntent.h: Likewise.
25043         * include/netdb.h: Likewise.
25044         * include/pwd.h: Likewise.
25045         * include/rpc/netdb.h: Likewise.
25046         * include/sched.h: Likewise.
25047         * include/search.h: Likewise.
25048         * include/shadow.h: Likewise.
25049         * include/signal.h: Likewise.
25050         * include/stdio.h: Likewise.
25051         * include/stdlib.h: Likewise.
25052         * include/string.h: Likewise.
25053         * include/sys/socket.h: Likewise.
25054         * include/sys/stat.h: Likewise.
25055         * include/sys/statfs.h: Likewise.
25056         * include/sys/statvfs.h: Likewise.
25057         * include/sys/syslog.h: Likewise.
25058         * include/sys/time.h: Likewise.
25059         * include/sys/uio.h: Likewise.
25060         * include/time.h: Likewise.
25061         * include/unistd.h: Likewise.
25062         * include/utmp.h: Likewise.
25063         * include/wchar.h: Likewise.
25064         * include/wctype.h: Likewise.
25065         * inet/aliases.h: Likewise.
25066         * inet/arpa/inet.h: Likewise.
25067         * inet/netinet/ether.h: Likewise.
25068         * inet/netinet/in.h: Likewise.
25069         * intl/libintl.h: Likewise.
25070         * io/bits/fcntl2.h: Likewise.
25071         * io/fcntl.h: Likewise.
25072         * io/ftw.h: Likewise.
25073         * io/sys/poll.h: Likewise.
25074         * io/sys/stat.h: Likewise.
25075         * io/sys/statfs.h: Likewise.
25076         * io/sys/statvfs.h: Likewise.
25077         * io/utime.h: Likewise.
25078         * libio/bits/stdio.h: Likewise.
25079         * libio/bits/stdio2.h: Likewise.
25080         * libio/libio.h: Likewise.
25081         * libio/libioP.h: Likewise.
25082         * libio/stdio.h: Likewise.
25083         * locale/lc-ctype.c: Likewise.
25084         * locale/locale.h: Likewise.
25085         * login/utmp.h: Likewise.
25086         * malloc/arena.c: Likewise.
25087         * malloc/malloc.c: Likewise.
25088         * malloc/malloc.h: Likewise.
25089         * malloc/mcheck.c: Likewise.
25090         * malloc/mtrace.c: Likewise.
25091         * math/bits/mathcalls.h: Likewise.
25092         * math/fenv.h: Likewise.
25093         * math/math_private.h: Likewise.
25094         * misc/bits/error.h: Likewise.
25095         * misc/bits/syslog.h: Likewise.
25096         * misc/err.h: Likewise.
25097         * misc/error.h: Likewise.
25098         * misc/fstab.h: Likewise.
25099         * misc/mntent.h: Likewise.
25100         * misc/regexp.h: Likewise.
25101         * misc/search.h: Likewise.
25102         * misc/sgtty.h: Likewise.
25103         * misc/sys/mman.h: Likewise.
25104         * misc/sys/syslog.h: Likewise.
25105         * misc/sys/uio.h: Likewise.
25106         * misc/sys/xattr.h: Likewise.
25107         * misc/ttyent.h: Likewise.
25108         * nis/rpcsvc/ypclnt.h: Likewise.
25109         * nss/nss.h: Likewise.
25110         * posix/bits/unistd.h: Likewise.
25111         * posix/fnmatch.h: Likewise.
25112         * posix/glob.h: Likewise.
25113         * posix/sched.h: Likewise.
25114         * posix/spawn.h: Likewise.
25115         * posix/sys/wait.h: Likewise.
25116         * posix/unistd.h: Likewise.
25117         * posix/wordexp.h: Likewise.
25118         * pwd/pwd.h: Likewise.
25119         * resolv/netdb.h: Likewise.
25120         * resource/sys/resource.h: Likewise.
25121         * rt/aio.h: Likewise.
25122         * rt/bits/mqueue2.h: Likewise.
25123         * rt/mqueue.h: Likewise.
25124         * shadow/shadow.h: Likewise.
25125         * signal/signal.h: Likewise.
25126         * socket/send.c: Likewise.
25127         * socket/sendto.c: Likewise.
25128         * socket/sys/socket.h: Likewise.
25129         * stdio-common/printf.h: Likewise.
25130         * stdlib/bits/stdlib.h: Likewise.
25131         * stdlib/fmtmsg.h: Likewise.
25132         * stdlib/monetary.h: Likewise.
25133         * stdlib/stdlib.h: Likewise.
25134         * stdlib/ucontext.h: Likewise.
25135         * streams/stropts.h: Likewise.
25136         * string/argz.h: Likewise.
25137         * string/bits/string2.h: Likewise.
25138         * string/string.h: Likewise.
25139         * string/strings.h: Likewise.
25140         * sunrpc/rpc/auth.h: Likewise.
25141         * sunrpc/rpc/auth_des.h: Likewise.
25142         * sunrpc/rpc/clnt.h: Likewise.
25143         * sunrpc/rpc/netdb.h: Likewise.
25144         * sunrpc/rpc/pmap_clnt.h: Likewise.
25145         * sunrpc/rpc/xdr.h: Likewise.
25146         * sysdeps/generic/inttypes.h: Likewise.
25147         * sysdeps/generic/net/if.h: Likewise.
25148         * sysdeps/generic/sys/swap.h: Likewise.
25149         * sysdeps/gnu/net/if.h: Likewise.
25150         * sysdeps/gnu/utmpx.h: Likewise.
25151         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25152         * sysdeps/i386/i486/bits/string.h: Likewise.
25153         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25154         * sysdeps/s390/bits/string.h: Likewise.
25155         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25156         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25157         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25158         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25159         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25160         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25161         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25162         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25163         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25164         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25165         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25166         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25167         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25168         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25169         * sysdeps/unix/sysv/linux/readv.c: Likewise.
25170         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25171         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25172         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25173         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25174         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25175         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25176         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25177         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25178         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25179         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25180         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25181         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25182         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25183         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25184         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25185         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25186         * sysvipc/sys/ipc.h: Likewise.
25187         * sysvipc/sys/msg.h: Likewise.
25188         * sysvipc/sys/sem.h: Likewise.
25189         * sysvipc/sys/shm.h: Likewise.
25190         * termios/termios.h: Likewise.
25191         * time/sys/time.h: Likewise.
25192         * time/time.h: Likewise.
25193         * wcsmbs/bits/wchar2.h: Likewise.
25194         * wcsmbs/uchar.h: Likewise.
25195         * wcsmbs/wchar.h: Likewise.
25196         * wctype/wctype.h: Likewise.
25198         [BZ #13551]
25199         * Makeconfig: Remove all but ELF support including AIX support.
25200         * Makerules: Likewise.
25201         * config.h.in: Likewise.
25202         * config.make.in: Likewise.
25203         * configure: Likewise.
25204         * configure.in: Likewise.
25205         * csu/Makefile: Likewise.
25206         * csu/version.c: Likewise.
25207         * debug/Makefile: Likewise.
25208         * dlfcn/Makefile: Likewise.
25209         * elf/Makefile: Likewise.
25210         * extra-lib.mk: Likewise.
25211         * iconv/Makefile: Likewise.
25212         * include/libc-symbols.h: Likewise.
25213         * include/shlib-compat.h: Likewise.
25214         * resolv/Makefile: Likewise.
25215         * resolv/res_libc.c: Likewise.
25216         * rt/Makefile: Likewise.
25217         * sysdeps/i386/asm-syntax.h: Likewise.
25218         * sysdeps/i386/sysdep.h: Likewise.
25219         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25220         * sysdeps/mach/sysdep.h: Likewise.
25221         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25222         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25223         * sysdeps/s390/asm-syntax.h: Likewise.
25224         * sysdeps/s390/s390-32/sysdep.h: Likewise.
25225         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25226         * sysdeps/sh/sysdep.h: Likewise.
25227         * sysdeps/unix/sparc/sysdep.h: Likewise.
25228         * sysdeps/wordsize-32/divdi3.c: Likewise.
25229         * sysdeps/x86_64/sysdep.h: Likewise.
25231         * argp/Versions: Remove _argp_unlock_xxx.
25233         [BZ #13559]
25234         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
25235         * abilist/libBrokenLocale.abilist: Likewise.
25236         * abilist/libanl.abilist: Likewise.
25237         * abilist/libc.abilist: Likewise.
25238         * abilist/libcrypt.abilist: Likewise.
25239         * abilist/libdl.abilist: Likewise.
25240         * abilist/libm.abilist: Likewise.
25241         * abilist/libnsl.abilist: Likewise.
25242         * abilist/libpthread.abilist: Likewise.
25243         * abilist/libresolv.abilist: Likewise.
25244         * abilist/librt.abilist: Likewise.
25245         * abilist/libthread_db.abilist: Likewise.
25246         * abilist/libutil.abilist: Likewise.
25247         * abilist/libnss_db.abilist: New file.
25249         * scripts/abilist.awk: Add support for indirect functions.
25251         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25253         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25255         * shlib-versions: Remove entries for ports architectures.
25257         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
25258         files in ports.
25259         * elf/stackguard-macros.h: Remove support for IA-64.
25260         * elf/tst-auditmod1.c: Likewise.
25261         * sysdeps/generic/ldsodefs.h: Likewise.
25263         * sysdeps/unix/sysv/linux/configure.in: Ports should define
25264         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25265         configure files.
25267         [BZ #13552]
25268         * configure.in: Remove --enable-omitfp support.
25269         * FAQ.in: Adjust.
25270         * config.make.in: Likewise.
25271         * Makeconfig: Likewise.
25272         * manual/install.texi: Likewise.
25274         In case anyone cares, the IA-64 architecture could move to ports.
25275         * sysdeps/ia64/*: Removed.
25276         * sysdeps/unix/sysv/linux/ia64/*: Removed.
25277         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
25279         [BZ #13555]
25280         * configure.in: Remove entries for unsupported architectures.
25282         [BZ #13533]
25283         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25284         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
25285         routines.
25286         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25287         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25288         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
25289         fall back to using wcrtomb.
25290         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25291         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
25292         renaming.
25293         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25294         * wcsmbs/tst-c16c32-1.c: New file.
25296         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25297         local variable.
25299         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25301         * elf/tst-unique3.cc: Add explicit declaration of gets.
25302         * elf/tst-unique3lib.cc: Likewise.
25303         * elf/tst-unique3lib2.cc: Likewise.
25304         * elf/tst-unique4.cc: Likewise.
25306         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25308 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
25310         [BZ #13566]
25311         * assert/assert.h (static_assert): Don't define for C++.
25312         * libio/stdio.h (gets): Do declare for C++ <= C++11.
25313         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25315 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
25317         * iconv/loop.c (single loop): Fix assertion in storing of
25318         remaining bytes.
25320         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25322 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
25324         * posix/getconf.c: Update copyright year.
25325         * nss/getent.c: Likewise.
25326         * nss/makedb.c: Likewise.
25327         * iconv/iconvconfig.c: Likewise.
25328         * iconv/iconv_prog.c: Likewise.
25329         * elf/ldconfig.c: Likewise.
25330         * elf/pldd.c: Likewise.
25331         * elf/sotruss.ksh: Likewise.
25332         * catgets/gencat.c: Likewise.
25333         * csu/version.c: Likewise.
25334         * elf/ldd.bash.in: Likewise.
25335         * elf/sprof.c (print_version): Likewise.
25336         * locale/programs/locale.c: Likewise.
25337         * locale/programs/localedef.c: Likewise.
25338         * login/programs/pt_chown.c: Likewise.
25339         * nscd/nscd.c (print_version): Likewise.
25340         * debug/xtrace.sh: Likewise.
25341         * malloc/memusage.sh: Likewise.
25342         * malloc/mtrace.pl: Likewise.
25343         * debug/catchsegv.sh: Likewise.
25345 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
25347         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25348         pure attribute.
25350 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
25352         [BZ #13533]
25353         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25354         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25355         transformations.
25356         * iconv/gconv_int.h: Likewise.
25357         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25358         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25359         from libc for GLIBC_2.16.
25360         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25361         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25362         * wcsmbs/uchar.h: Really define mbstate_t.
25363         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25364         * wcsmbs/c16rtomb.c: New file.
25365         * wcsmbs/mbrtoc16.c: New file.
25366         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25367         for C/POSIX locale.
25368         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25369         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25371         * wcsmbs/wchar.h: Add missing __restrict.
25373 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
25375         [BZ #13532]
25376         * time/Makefile (routines): Add timespec_get.
25377         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25378         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
25379         timespec for ISO C11.
25380         * time/timespec_get.c: New file.
25381         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25382         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25384         [BZ #13531]
25385         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25386         * stdlib/stdlib.h: Declare aligned_alloc.
25387         * Versions.def: Add GLIBC_2.16 for libc.
25388         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25390         [BZ 13527]
25391         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25392         ISO C11.
25394         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
25395         code.
25397         [BZ #13528]
25398         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25400         [BZ #13529]
25401         * assert/assert.h (static_assert): Define.
25403         * version.h: Update for 2.16 development version.
25405         [BZ #13526]
25406         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25407         _ISOC11_SOURCE.
25409         * version.h (RELEASE): Bump for 2.15 release.
25410         * include/features.h (__GLIBC_MINOR__): Bump to 15.
25412         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25413         Patch by Marek Polacek <mpolacek@redhat.com>.
25415         * bits/byteswap.h: Protect long long constants with __extension__.
25416         * sysdeps/i386/bits/byteswap.h: Likewise.
25417         * sysdeps/ia64/bits/byteswap.h: Likewise.
25418         * sysdeps/s390/bits/byteswap.h: Likewise.
25419         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25421 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25423         [BZ #13540]
25424         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25425         destination buffer.
25426         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25428 2011-12-23  Marek Polacek  <polacek@redhat.com>
25430         * elf/dl-addr.c (determine_info): Add inline keyword.
25431         * elf/tst-auditmod4b.c (check_avx): Likewise.
25432         * elf/tst-auditmod6b.c (check_avx): Likewise.
25433         * elf/tst-auditmod6c.c (check_avx): Likewise.
25434         * elf/tst-auditmod7b.c (check_avx): Likewise.
25436 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
25438         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25439         !__SSE_MATH__.
25441 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25443         [BZ #13540]
25444         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25445         processing for last bytes.
25447 2011-08-06  Bruno Haible  <bruno@clisp.org>
25449         [BZ #13061]
25450         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25451         U+0385, not to U+1FEE.
25453         [BZ #13062]
25454         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25455         entry for U+00A5 U+0301.
25457 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
25459         [BZ #13166]
25460         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25461         buffer for the output is too small.
25463         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25464         optimization.
25466         [BZ #13185]
25467         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25468         SSE flags if possible.
25470 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25472         [BZ #13540]
25473         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25474         processing for last bytes.
25476 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
25478         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25479         (syscall-list-default-options, syscall-list-default-condition)
25480         (syscall-list-includes): Define.
25481         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25482         list of ABIs and options and #if conditions for each ABI.  Do not
25483         handle common syscalls between ABIs specially.
25484         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25485         Remove.
25486         (syscall-list-variants, syscall-list-32bit-options)
25487         (syscall-list-32bit-condition, syscall-list-64bit-options)
25488         (syscall-list-64bit-condition): Define.
25489         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25490         (syscall-list-variants, syscall-list-32bit-options)
25491         (syscall-list-32bit-condition, syscall-list-64bit-options)
25492         (syscall-list-64bit-condition): Define.
25493         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25494         Remove.
25495         (syscall-list-variants, syscall-list-32bit-options)
25496         (syscall-list-32bit-condition, syscall-list-64bit-options)
25497         (syscall-list-64bit-condition): Define.
25498         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25499         Remove.
25500         (syscall-list-variants, syscall-list-32bit-options)
25501         (syscall-list-32bit-condition, syscall-list-64bit-options)
25502         (syscall-list-64bit-condition): Define.
25504 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
25506         * locale/iso-639.def: Add brx entry.
25508         [BZ #13328]
25509         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25510         Proposed by Mariusz_Cukr <marcukr@op.pl>.
25512         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25513         __feraiseexcept_renamed.
25515 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
25517         [BZ #13538]
25518         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25519         EPOLLET with unsigned values.
25520         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25521         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25523         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25524         to large cancellation.
25525         * math/s_cacoshf.c: Likewise.
25526         * math/s_cacoshl.c: Likewise.
25528 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
25530         [BZ #13305]
25531         [BZ #12786]
25532         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25533         * math/s_cacoshf.c: Likewise.
25534         * math/s_cacoshl.c: Likewise.
25536 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
25538         [BZ #13439]
25539         * iconv/gconv.h: Define __GCONV_SWAP.
25540         * iconvdata/unicode.c: The swap bit must be stored in __flags.
25541         * iconvdata/utf-16.c: Likewise.
25542         * iconvdata/utf-32.c: Likewise.
25544 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25546         [BZ #13524]
25547         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25548         numerator after shifting it by one limb.
25550 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
25552         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25553         under [__USE_EXTERN_INLINES].
25555 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
25557         [BZ #13446]
25558         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25560 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25562         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25563         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25564         optimized code.
25565         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25566         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25567         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25568         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25569         for strncasecmp/strncasecmp_l compilation.
25570         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25571         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25573 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
25575         [BZ #13484]
25576         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25577         of __asm__.
25579 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
25581         [BZ #13506]
25582         * time/tzfile.c (__tzfile_read): Check values from file header.
25584 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
25586         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25587         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25588         * powerpc/powerpc32/dl-start.S: Likewise.
25589         * powerpc/powerpc32/elf/start.S: Likewise.
25590         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25591         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25592         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25593         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25594         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25595         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25596         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25597         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25598         * powerpc/powerpc32/fpu/s_round.S: Likewise.
25599         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25600         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25601         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25602         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25603         * powerpc/powerpc32/memset.S: Likewise.
25604         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25605         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25606         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25607         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25608         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25609         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25610         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25611         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25612         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25613         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25614         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25615         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25616         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25618 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25620         * math/libm-test.inc: Added more nearbyint tests.
25621         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25622         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25623         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25624         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25626 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
25628         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25629         FD_CLOEXEC.
25631 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25633         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25634         Add wcscpy-ssse3 wcscpy-c.
25635         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25636         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25637         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25638         * sysdeps/x86_64/wcschr.S: New file.
25639         * sysdeps/x86_64/wcsrchr.S: New file.
25640         * string/test-strcmp.c: Remove checking of wcscmp function for
25641         wrong alignments.
25642         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25643         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25644         wcsrchr-sse2 wcsrchr-c.
25645         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25646         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25647         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25648         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25649         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25650         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25651         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25652         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25653         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25654         * wcsmbc/wcschr.c (WCSCHR): New macro.
25656 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25658         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25659         * wcsmbs/test-wcsrchr.c: New file.
25660         * string/test-strrchr.c: Add wcsrchr support.
25661         (WIDE): New macro.
25662         * wcsmbs/test-wcscpy.c: New file.
25663         * string/test-strcpy.c: Add wcscpy support.
25664         (WIDE): New macro.
25666 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
25668         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25669         the inner loop.
25671 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
25673         [BZ #13472]
25674         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25676 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
25678         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
25679         Minor optimizations.
25681         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25682         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25683         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25685 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
25687         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25688         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25689         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25690         for gcc to avoid warnings.
25691         * inet/Makefile (tests): Add tst-checks.
25692         * inet/tst-checks.c: New file.
25694         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25695         warning.
25697         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25698         __wmemcmp_sse2.
25700         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25701         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25703         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25705 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
25707         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25708         problem.
25710         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25712 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
25714         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25715         conditional on GCC version.
25716         (__arch_compare_and_exchange_val_8_acq)
25717         (__arch_compare_and_exchange_val_16_acq)
25718         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25719         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25720         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25722 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
25724         * sysdeps/sh/backtrace.c: New file.
25726 2011-12-02  Andreas Schwab  <schwab@redhat.com>
25728         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
25729         parenthesis.
25731 2011-12-01  Andreas Schwab  <schwab@redhat.com>
25733         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25734         falling back to utime.
25736 2011-11-30  Andreas Schwab  <schwab@redhat.com>
25738         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25739         expectations for float.
25741 2011-11-29  Andreas Schwab  <schwab@redhat.com>
25743         * locale/weight.h (findidx): Add parameter len.
25744         * locale/weightwc.h (findidx): Likewise.
25745         * posix/fnmatch_loop.c (FCT): Adjust caller.
25746         * posix/regcomp.c (build_equiv_class): Likewise.
25747         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25748         * posix/regexec.c (check_node_accept_bytes): Likewise.
25749         * string/strcoll_l.c (STRCOLL): Likewise.
25750         * string/strxfrm_l.c (STRXFRM): Likewise.
25752 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
25754         * Makefile.in: Remove CVSOPT handling.
25755         * configure.in: Remove use of AC_REVISION.
25756         * iconvdata/Makefile (distribute): No need to filter out CVS.
25757         * scripts/list-sources.sh: Remove CVS, subversion and monotone
25758         handling.
25760 2011-11-16  Andreas Schwab  <schwab@redhat.com>
25762         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25763         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25764         [USE_AS_STRNCASECMP_L]: Likewise.
25765         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25766         NO_TLS_DIRECT_SEG_REFS.
25767         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25768         Fix argument offsets for non-PIC.
25769         [USE_AS_STRNCASECMP_L]: Likewise.
25770         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25771         NO_TLS_DIRECT_SEG_REFS.
25773 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
25775         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
25776         O_CLOEXEC.
25777         * locale/loadlocale.c (_nl_load_locale): Likewise.
25779 2011-11-15  Andreas Schwab  <schwab@redhat.com>
25781         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25782         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25783         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25784         (SYSCALL_GETTIME): Set errno on error.
25786         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25787         count references to noai6ai_cached.
25789 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
25791         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25793         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25794         FD_CLOEXEC for /proc/self/maps.
25796         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25797         FD_CLOEXEC for /proc/meminfo.
25799         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25800         gai.conf.
25802         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
25803         FD_CLOEXEC for given file.
25805         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25807         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25808         FD_CLOEXEC for /etc/hosts.
25809         (_gethtent): Likewise.
25811         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25813         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25814         cancellation and set FD_CLOEXEC for /etc/netgroup.
25816         * nss/nss_files/files-key.c (search): Don't allow cancellation when
25817         reading /etc/publickey.
25819         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25820         allow cancellation when reading /etc/group.
25822         * nss/nss_files/files-alias.c (internal_setent): Don't allow
25823         cancellation.
25824         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
25826         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25827         when using data file.
25829         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25831         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25832         (write_nis_obj): Use "c" and "e" in fopen.
25834         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25836         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25838         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25840         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25842         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25843         locale.alias.
25845         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25847         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25849         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25851         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25852         file parsing and set FD_CLOEXEC.
25854 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
25856         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25858 2011-11-14  Andreas Schwab  <schwab@redhat.com>
25860         * malloc/arena.c (arena_get2): Don't call reused_arena when
25861         _int_new_arena failed.
25863 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
25865         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25866         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25867         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25868         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25869         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25870         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25871         to compile strcasecmp and strncasecmp.
25872         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25873         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25875         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25877 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
25879         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25880         locale-defines.sym to gen-as-const-headers.
25881         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25882         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25883         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25884         to compile strcasecmp and strncasecmp.
25885         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25886         strcasecmp_l and strncasecmp_l.
25887         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25888         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25889         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25890         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25891         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25892         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25893         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25894         * sysdeps/i386/i686/multiarch/strncase.S: New file.
25895         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25896         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25897         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25899 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
25901         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25902         result of SYSDEP_GETTIME_CPU to retval.
25903         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25904         parameter list to macro.  Remove trailing semicolon.  Adjust users.
25906         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25907         variable.
25909         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25910         mantissa words.
25911         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25913         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25914         from unused variable.
25916         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25917         DWARF definitions.
25918         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25919         for assembling.
25921         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25922         over namespaces.
25924         * sunrpc/rpc_prot.c (rejected): Fix case value.
25926         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25927         unsigned long long int to avoid warnings in shift.
25929         * posix/regex_internal.c (re_string_reconstruct): Actually use result
25930         of use of trans.
25931         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25932         variable tmp.
25934         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25935         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25936         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25938         * nis/nis_table.c (nis_list): Use variable of correct type for
25939         result of __follow_path call.
25941 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25943         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25944         of math functions ceil, trunc, floor, round, and sqrt, when
25945         avaliable on the platform.
25946         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25947         name clash.
25948         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25949         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25950         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25952 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
25954         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25955         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25957 2011-11-11  Roland McGrath  <roland@hack.frob.com>
25959         * include/unistd.h: Fix __readlink return type.
25960         Reported by Chris Metcalf <cmetcalf@tilera.com>.
25962 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
25964         * stdlib/ucontext.h: Undo last change for makecontext.
25966 2011-11-11  Andreas Schwab  <schwab@redhat.com>
25968         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25970         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25971         * setjmp/setjmp.h: Mark functions as non-leaf.
25972         * setjmp/bits/setjmp2.h: Likewise.
25973         * stdlib/ucontext.h: Likewise.
25975 2011-11-10  Andreas Schwab  <schwab@redhat.com>
25977         * malloc/arena.c (_int_new_arena): Don't increment narenas.
25978         (reused_arena): Don't check arena limit.
25979         (arena_get2): Atomically check arena limit.
25981 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
25983         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25984         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25986         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25987         instructions.
25989 2011-11-07  Andreas Schwab  <schwab@redhat.com>
25991         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25992         handler when locking.
25994         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25995         Fix size of allocated buffer.
25997 2011-11-04  Andreas Schwab  <schwab@redhat.com>
25999         [BZ #10103]
26000         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26001         declarations for long double functions.
26002         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26004         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26006 2011-11-03  Andreas Schwab  <schwab@redhat.com>
26008         * nscd/nscd.c (main): Don't start AVC thread until credentials are
26009         installed.
26011         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26012         is disabled.
26014 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26016         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26018 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26020         * include/alloca.h (stackinfo_alloca_round): Define.
26021         (extend_alloca): Use it.
26022         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26023         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26024         here.
26026         * scripts/check-local-headers.sh: Ignore libaudit.h.
26028         * nscd/Makefile (extra-objs): Make recursively expanded.
26030 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
26032         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26033         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26035         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26036         * posix/tst-rfc3484-2.c: Likewise.
26037         * posix/tst-rfc3484-3.c: Likewise.
26039         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26040         process_vm_writev.
26041         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26042         process_vm_writev.
26043         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26044         process_vm_writev from libc using GLIBC_2.15 version.
26046         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26048 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
26050         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26051         stack usage.
26053 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
26055         [BZ #13367]
26056         * nss/getent.c (initgroups_keys): Show error message in case no group
26057         names are given.
26059         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26060         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26061         __bump_nl_timestamp.
26062         * nscd/connections (nscd_init): When host database is served open
26063         netlink socket and request notification about configuration changes.
26064         (main_loop_poll): Track netlink file descriptor and bump timestamp
26065         in case data becomes available.
26066         (main_loop_epoll): Likewise.
26067         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26068         (database_pers_head): Add extra_data fileds.
26069         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26070         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26071         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26072         Adjust caller.
26073         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26074         in6ai data, call __free_in6ai.
26075         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26076         Add -DHAVE_NETLINK.
26077         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
26078         interface information.  Reuse previous data if netlink timestamp
26079         is not changed.
26080         (__bump_nl_timestamp): New function.
26081         (__free_in6ai): New function.
26083 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
26085         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26086         close_not_cancel_no_status here.
26087         (__check_pf): Reorganize code a bit to not call close twice if OOM.
26089 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
26091         [BZ #13276]
26092         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26093         return value.
26095         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26096         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26097         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26099 2011-07-03  Andreas Jaeger  <aj@suse.de>
26101         [BZ #10709]
26102         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26103         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26104         * math/libm-test.inc (sin_test): Add test case.
26106 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
26108         [BZ #13337]
26109         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26110         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26112         * elf/chroot_canon.c (chroot_canon): Cleanups.
26114         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26116         [BZ #13335]
26117         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26118         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26120         * string/test-strchr.c: Make usable for strchrnul testing.
26121         * string/test-strchrnul.c: New file.
26122         * string/Makefile (strop-tests): Add strchrnul.
26124         * po/it.po: Update from translation team.
26125         * po/es.po: Likewise.
26127 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
26129         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26130         the three constants needed as parameters.  Drop the others.
26131         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26132         __m128i_strloadu_tolower.
26133         Create and initialize variable zero and use it in all the places
26134         where _mm_setzero_si128 was used.
26136         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26137         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26138         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26139         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26140         anymore.
26141         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26142         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26143         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26144         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26145         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26146         __mpranred, __mptan.
26147         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26148         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26149         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26150         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26151         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26152         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26153         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26154         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26155         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26157 2011-10-28  Andreas Schwab  <schwab@redhat.com>
26159         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26160         redefine if SHARED.
26161         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26163         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26164         wide char related routines to wcsmbs subdir.
26166 2011-10-27  Andreas Schwab  <schwab@redhat.com>
26168         [BZ #13344]
26169         * misc/sys/cdefs.h (__THROWNL): Define.
26170         * posix/unistd.h: Use __THREADNL instead of __THREAD
26171         for memory synchronization functions.
26173 2011-10-26  Roland McGrath  <roland@hack.frob.com>
26175         [BZ #13349]
26176         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26177         doesn't exist.
26178         * manual/stdio.texi (Obstack Streams): Node removed.
26180 2011-10-26  Andreas Schwab  <schwab@redhat.com>
26182         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26183         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26184         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26186         * math/math_private.h (math_force_eval): Allow non-addressable
26187         arguments.
26188         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26190 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
26192         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26193         file is not needed.
26195         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26196         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26197         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26198         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26199         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26200         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26201         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26202         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26203         Add AVX variants.
26204         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26205         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26206         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26207         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26208         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26209         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26210         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26211         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26212         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26213         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26214         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26215         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26216         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26217         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26218         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26219         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26220         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26221         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26222         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26224         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26225         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
26227         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26228         place.  Use VEX encoding when compiling for AVX.
26230 2011-10-25  Andreas Schwab  <schwab@redhat.com>
26232         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26233         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26235         * string/test-strchr.c (do_test): Don't generate NUL bytes.
26237 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
26239         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
26240         useless if() expression.
26241         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26242         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26243         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26244         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26245         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26246         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26247         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26248         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26249         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26250         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26251         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26252         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26253         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26254         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26255         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26256         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26257         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26258         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26259         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26261         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26263 2011-10-25  Andreas Schwab  <schwab@redhat.com>
26265         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26266         condition.
26267         * elf/dl-fini.c (_dl_sort_fini): Likewise.
26269 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
26271         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26272         .text section.  Avoid duplicate constants.
26273         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26274         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26275         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26276         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26277         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26278         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26279         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26280         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26281         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26282         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26283         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26284         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26285         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26286         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26287         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26288         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26289         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26290         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26291         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26292         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26293         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26294         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26295         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26296         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26297         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26298         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26299         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26300         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26301         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26302         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26303         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26304         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26305         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26306         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26307         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26308         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26309         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26310         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26311         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26312         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26313         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26314         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26315         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26316         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26317         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26319 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
26321         * sysdeps/x86_64/dla.h: Move to ...
26322         * sysdeps/x86_64/fpu/dla.h: ...here.
26323         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26324         situations.  Use __builtin_fma only for gcc 4.6 and up.
26326         * config.make.in: Add have-mfma4 entry.
26327         * configure.in: Substitute libc_cv_cc_fma4.
26328         * math/Makefile (dbl-only-routines): Add sincostab.
26329         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26330         Use __sincostab not sincos.
26331         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26332         name is a macro.
26333         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26334         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26335         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26336         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
26337         using __copysign.
26338         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
26339         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
26340         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26341         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26342         and __inv.
26343         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26344         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26345         __copysign.
26346         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
26347         define aliases when function name is a macro.
26348         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26349         sysdeps/ieee754/dbl-64/sincos.tbl.
26350         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26351         fma4-enabled routines.
26352         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26353         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26354         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26355         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26356         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26357         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26358         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26359         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26360         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26361         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26362         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26363         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26364         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26365         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26366         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26367         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26368         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26369         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26370         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26371         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26372         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26373         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26374         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26375         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26376         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26377         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26378         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26379         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26380         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26381         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26383         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26384         rename.
26385         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26386         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26387         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26388         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26389         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26390         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26391         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26392         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26394 2011-10-24  Andreas Schwab  <schwab@redhat.com>
26396         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26398 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26400         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26402         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26403         prediction.
26404         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26406         * string/strnlen.c: Don't define STRNLEN, reverse logic.
26407         Remove unused variable magic_bits.
26408         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26410         * string/strnlen.c: Define and use STRNLEN macro.
26411         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26412         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26413         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26414         * wcsmbs/wcslen.c: Define and use WCSLEN.
26415         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26416         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26417         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26418         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26419         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26420         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26421         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26423 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26425         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26426         strnlen-sse2-no-bsf.
26427         Rename strlen-no-bsf to strlen-sse2-no-bsf.
26428         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26429         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26430         Add strnlen support.
26431         (USE_AS_STRNLEN): New macro.
26432         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26433         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26434         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26435         * sysdeps/x86_64/wcslen.S: New file.
26437 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
26439         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26440         XMM-moves are used for copying on small sizes.
26442 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26444         * wcsmbs/Makefile (strop-tests): Add wcschr.
26445         * wcsmbs/test-wcschr.c: New file.
26446         * string/test-strchr.c: Update.
26447         Add wcschr support.
26448         (WIDE): New macro.
26450 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26452         * wcsmbs/Makefile (strop-tests): Add wcslen.
26453         * wcsmbs/test-wcslen.c: New file.
26454         * string/test-strlen.c: Update.
26455         Add wcslen support.
26456         (WIDE): New macro.
26458 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26460         * po/it.po: Update from translation team.
26462 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26464         * sysdeps/x86_64/wcscmp.S: Update.
26465         Fix wrong comparison semantics.
26466         wcscmp shall use signed comparison not unsigned.
26467         Don't use substraction to avoid overflow bug.
26468         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26469         * wcsmbc/wcscmp.c: Likewise.
26470         * string/test-strcmp.c: Likewise.
26471         Add new tests to check cases with negative values.
26473 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26475         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26476         * sysdeps/x86_64/dla.h: ...here.  New file.
26477         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26478         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26479         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26480         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26481         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26482         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26483         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26484         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26485         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26487 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
26489         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26490         __ynl_finite aliases.
26492 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
26494         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26496         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26497         define DLA_FMA.
26498         [DLA_FMA] (EMULV): Use DLA_FMA.
26499         [DLA_FMA] (MUL12): Use EMULV.
26500         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26501         that are not needed.
26502         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26503         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26504         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26505         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26506         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26507         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26508         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26510 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
26512         * math/s_nan.c: Undef __nan.
26513         * math/s_nanf.c: Undef __nanf.
26514         * math/s_nanl.c: Undef __nanl.
26515         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26516         "math_private.h".
26518 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
26520         * math/s_catan.c: Add branch predictions.
26521         * math/s_catanf.c: Likewise.
26522         * math/s_catanh.c: Likewise.
26523         * math/s_catanhf.c: Likewise.
26524         * math/s_catanhl.c: Likewise.
26525         * math/s_catanl.c: Likewise.
26526         * math/s_cexp.c: Likewise.
26527         * math/s_cexpf.c: Likewise.
26528         * math/s_cexpl.c: Likewise.
26529         * math/s_clog.c: Likewise.
26530         * math/s_clog10.c: Likewise.
26531         * math/s_clog10f.c: Likewise.
26532         * math/s_clog10l.c: Likewise.
26533         * math/s_clogf.c: Likewise.
26534         * math/s_clogl.c: Likewise.
26535         * math/s_csqrt.c: Likewise.
26536         * math/s_csqrtf.c: Likewise.
26537         * math/s_csqrtl.c: Likewise.
26538         * math/s_ctanf.c: Likewise.
26539         * math/s_ctanh.c: Likewise.
26540         * math/s_ctanhf.c: Likewise.
26541         * math/s_ctanhl.c: Likewise.
26542         * math/s_ctanl.c: Likewise.
26544         * math/math_private.h: Define __nan, __nanf, __nanl.
26545         * math/s_cacosh.c: Include <math_private.h>.
26546         * math/s_cacoshl.c: Likewise.
26547         * math/s_casinh.c: Likewise.
26548         * math/s_casinhf.c: Likewise.
26549         * math/s_casinhl.c: Likewise.
26550         * math/s_ccos.c: Rely entire on ccosh.
26551         * math/s_ccosf.c: Rely entire on ccoshf.
26552         * math/s_ccosl.c: Rely entirely on ccoshl.
26553         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
26554         Remove tests for FE_INVALID.
26555         * math/s_ccoshf.c: Likewise.
26556         * math/s_ccoshl.c: Likewise.
26557         * math/s_csin.c: Likewise.
26558         * math/s_csinf.c: Likewise.
26559         * math/s_csinh.c Likewise.
26560         * math/s_csinhf.c: Likewise.
26561         * math/s_csinhl.c: Likewise.
26562         * math/s_csinl.c: Likewise.
26563         * math/s_ctan.c: Likewise.
26564         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26565         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26566         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26568 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
26570         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26571         compilation problems.
26573         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26574         __builtin_expect.
26576 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
26578         * sysdeps/i386/configure.in: Test for -mfma4 option.
26579         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26580         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26581         COMMON_CPUID_INDEX_80000001.
26582         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26583         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26584         use it if FMA3 is not supported.
26585         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26587         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26588         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26590 2011-10-20  Andreas Schwab  <schwab@redhat.com>
26592         [BZ #12892]
26593         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26594         it would create a cycle with a link time dependency.
26596 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
26598         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26599         instruction.
26600         * string/Makefile (strop-tests): Add rawmemchr.
26601         * string/test-rawmemchr.c: New file.
26603         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26604         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
26605         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
26606         when compiling str{,n}casecmp and when AVX is available.  Hook up
26607         new optimized code in initializers.
26609 2011-10-19  Andreas Schwab  <schwab@redhat.com>
26611         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26612         __feraiseexcept instead of feraiseexcept.
26614 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
26616         * math/math_private.h: Define defaults for libc_fetestexcept and
26617         libc_feupdateenv.
26618         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26619         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26620         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26621         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26622         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26623         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26624         libc_fetestexcept and libc_feupdateenv.
26626         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26627         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26628         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26629         * sysdeps/x86_64/fpu/math_private.h: Define special version of
26630         libc_feholdexcept_setround.
26632         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26633         Add s_nearbyint-c and s_nearbyintf-c.
26634         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26635         nearbyintf inlines.
26636         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26637         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26638         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26639         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26641         * math/math_private.h: Define defaults for libc_fegetround,
26642         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26643         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26644         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26645         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26646         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26647         standard functions.
26648         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26649         Remove comments and hacks for old compiler versions.
26650         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26651         libc_fegetround, libc_fesetround, libc_feholdexcept, and
26652         libc_feholdexceptl.
26654 2011-10-18  Andreas Schwab  <schwab@redhat.com>
26656         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
26657         (__feraiseexcept_renamed): Add __NTH.
26658         (feraiseexcept): Add __NTH.  Rename local variables to fix
26659         namespace violations.
26661 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
26663         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26665         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26667         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26668         recently added interfaces.
26669         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26671         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26672         about macro parameter expansion.
26674         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26675         __NO_MATH_INLINES is defined.  Cleanups.
26677         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26678         and __floorf is target has SSE4.1.
26679         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26680         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26681         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26682         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26684         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26685         name.
26686         (floorf): Likewise.
26688         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26690 2011-10-17  Andreas Schwab  <schwab@redhat.com>
26692         * misc/sys/cdefs.h: Fix last change.
26694         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26695         database lookup.
26697 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
26699         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26701         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26702         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26703         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26704         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26705         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26706         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26707         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26708         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26709         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26710         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26711         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26712         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26713         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26714         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26715         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26716         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26717         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26718         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26719         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26720         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26721         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26722         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26724         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26725         ceil, ceilf, floor, floorf.
26727         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26728         Perform IRELATIVE relocations last.
26730         * elf/do-rel.h: Add another parameter nrelative, replacing the
26731         local variable with the same name.  Change name of the function
26732         to end in Rel or Rela (uppercase).
26733         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26734         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
26735         elf_dynamic_do_##reloc function.
26737 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
26739         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26740         is sufficient, at least on modern CPUs.
26742         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26744         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26745         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26747         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26748         __expl_finite.
26749         * math/bits/math-finite.h: Add entries for exp.
26750         * math/e_expl.c: Add __*_finite alias.
26751         * sysdeps/i386/fpu/e_exp.S: Likewise.
26752         * sysdeps/i386/fpu/e_expf.S: Likewise.
26753         * sysdeps/i386/fpu/e_expl.c: Likewise.
26754         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26755         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26756         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26757         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26758         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26759         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26760         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26762         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26763         is sufficient, at least on modern CPUs.
26765         * ctype/ctype-info.c (__ctype_init): Define.
26766         * include/ctype.h (__ctype_init): Declare.
26767         (__ctype_b_loc): The variable is always initialized.
26768         (__ctype_toupper_loc): Likewise.
26769         (__ctype_tolower_loc): Likewise.
26770         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26771         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26773 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
26775         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26777         * configure.in: Also look in $cxxmachine/include for C++ system
26778         headers.
26780 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26782         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26783         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26784         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26785         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
26786         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26787         (USE_AS_WMEMCMP): New macro.
26788         Fixing indents.
26789         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26790         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26791         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26792         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26793         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26794         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26795         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26796         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26797         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26798         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26799         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26800         (USE_AS_WMEMCMP): New macro.
26801         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26802         * sysdeps/string/test-memcmp.c: Update.
26803         Fix simple_wmemcmp.
26804         Add new tests.
26805         * wcsmbs/wmemcmp.c: Update.
26806         (WMEMCMP): New macro.
26807         Fix overflow bug.
26809 2011-10-12  Andreas Jaeger  <aj@suse.de>
26811         [BZ #13268]
26812         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26814 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
26816         * libio/iofwide.c (do_length): Avoid warning.
26818         * ctype/ctype.h (__isctype_f): Add missing __THROW.
26820 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
26822         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26824         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26825         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26826         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26827         * sysdeps/i386/i686/fpu/e_log.S: New file.
26828         * sysdeps/i386/i686/fpu/e_logf.S: New file.
26829         * sysdeps/i386/i686/fpu/e_logl.S: New file.
26831         * ctype/ctype.h: Add support for inlined isXXX functions when
26832         compiling C++ code.
26834 2011-10-14  Andreas Schwab  <schwab@redhat.com>
26836         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26838         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26840 2011-10-13  Roland McGrath  <roland@hack.frob.com>
26842         [BZ #13291]
26843         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26845 2011-10-13  Andreas Schwab  <schwab@redhat.com>
26847         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26848         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26849         feraiseexcept.
26851         * sysdeps/x86_64/memrchr.S: Check for zero size.
26853         * string/stratcliff.c: Add memrchr tests.
26855 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26857         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26858         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26859         rawmemchr-sse2 rawmemchr-sse2-bsf.
26860         * sysdeps/i386/i686/multiarch/memchr.S: New file.
26861         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26862         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26863         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26864         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26865         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26866         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26867         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26868         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26869         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26870         * string/memrchr.c (MEMRCHR): New macro.
26872 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
26874         Add integration with gcc's -ffinite-math-only and optimize wrapper
26875         functions in libm.
26876         * Versions.def: Define GLIBC_2.15 version for libm.
26877         * math/Makefile (headers): Add bits/math-finite.h.
26878         * math/bits/math-finite.h: New file.
26879         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26880         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26881         * math/e_acoshl.c: Add __*_finite alias.
26882         * math/e_acosl.c: Likewise.
26883         * math/e_asinl.c: Likewise.
26884         * math/e_atan2l.c: Likewise.
26885         * math/e_atanhl.c: Likewise.
26886         * math/e_coshl.c: Likewise.
26887         * math/e_exp10.c: Likewise.
26888         * math/e_exp10f.c: Likewise.
26889         * math/e_exp10l.c: Likewise.
26890         * math/e_exp2l.c: Likewise.
26891         * math/e_fmodl.c: Likewise.
26892         * math/e_gammal_r.c: Likewise.
26893         * math/e_hypotl.c: Likewise.
26894         * math/e_j0l.c: Likewise.
26895         * math/e_j1l.c: Likewise.
26896         * math/e_jnl.c: Likewise.
26897         * math/e_lgammal_r.c: Likewise.
26898         * math/e_log10l.c: Likewise.
26899         * math/e_log2l.c: Likewise.
26900         * math/e_logl.c: Likewise.
26901         * math/e_powl.c: Likewise.
26902         * math/e_sinhl.c: Likewise.
26903         * math/e_sqrtl.c: Likewise.
26904         * math/e_scalb.c: Completely rewritten and optimized.
26905         * math/e_scalbf.c: Likewise.
26906         * math/e_scalbl.c: Likewise.
26907         * math/w_acos.c: Likewise.
26908         * math/w_acosf.c: Likewise.
26909         * math/w_acosl.c: Likewise.
26910         * math/w_acosh.c: Likewise.
26911         * math/w_acoshf.c: Likewise.
26912         * math/w_acoshl.c: Likewise.
26913         * math/w_asin.c: Likewise.
26914         * math/w_asinf.c: Likewise.
26915         * math/w_asinl.c: Likewise.
26916         * math/w_atan2.c: Likewise.
26917         * math/w_atan2f.c: Likewise.
26918         * math/w_atan2l.c: Likewise.
26919         * math/w_atanh.c: Likewise.
26920         * math/w_atanhf.c: Likewise.
26921         * math/w_atanhl.c: Likewise.
26922         * math/w_exp10.c: Likewise.
26923         * math/w_exp10f.c: Likewise.
26924         * math/w_exp10l.c: Likewise.
26925         * math/w_fmod.c: Likewise.
26926         * math/w_fmodf.c: Likewise.
26927         * math/w_fmodl.c: Likewise.
26928         * math/w_j0.c: Likewise.
26929         * math/w_j0f.c: Likewise.
26930         * math/w_j0l.c: Likewise.
26931         * math/w_j1.c: Likewise.
26932         * math/w_j1f.c: Likewise.
26933         * math/w_j1l.c: Likewise.
26934         * math/w_jn.c: Likewise.
26935         * math/w_jnf.c: Likewise.
26936         * math/w_log.c: Likewise.
26937         * math/w_logf.c: Likewise.
26938         * math/w_logl.c: Likewise.
26939         * math/w_log10.c: Likewise.
26940         * math/w_log10f.c: Likewise.
26941         * math/w_log10l.c: Likewise.
26942         * math/w_log2.c: Likewise.
26943         * math/w_log2f.c: Likewise.
26944         * math/w_log2l.c: Likewise.
26945         * math/w_pow.c: Likewise.
26946         * math/w_powf.c: Likewise.
26947         * math/w_powl.c: Likewise.
26948         * math/w_remainder.c: Likewise.
26949         * math/w_remainderf.c: Likewise.
26950         * math/w_remainderl.c: Likewise.
26951         * math/w_scalb.c: Likewise.
26952         * math/w_scalbf.c: Likewise.
26953         * math/w_scalbl.c: Likewise.
26954         * math/w_sqrt.c: Likewise.
26955         * math/w_sqrtf.c: Likewise.
26956         * math/w_sqrtl.c: Likewise.
26957         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26958         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
26959         used.
26960         * math/math_private.h: Declare __kernel_standard_f.
26961         * math/w_cosh.c: Remove cruft and optimize a bit.
26962         * math/w_coshf.c: Likewise.
26963         * math/w_coshl.c: Likewise.
26964         * math/w_exp2.c: Likewise.
26965         * math/w_exp2f.c: Likewise.
26966         * math/w_exp2l.c: Likewise.
26967         * math/w_hypot.c: Likewise.
26968         * math/w_hypotf.c: Likewise.
26969         * math/w_hypotl.c: Likewise.
26970         * math/w_lgamma.c: Likewise.
26971         * math/w_lgamma_r.c: Likewise.
26972         * math/w_lgammaf.c: Likewise.
26973         * math/w_lgammaf_r.c: Likewise.
26974         * math/w_lgammal.c: Likewise.
26975         * math/w_lgammal_r.c: Likewise.
26976         * math/w_sinh.c: Likewise.
26977         * math/w_sinhf.c: Likewise.
26978         * math/w_sinhl.c: Likewise.
26979         * math/w_tgamma.c: Likewise.
26980         * math/w_tgammaf.c: Likewise.
26981         * math/w_tgammal.c: Likewise.
26982         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26983         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26984         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26985         Minor optimizations.  Pretty printing.  Remove cruft.
26986         * sysdeps/i386/fpu/e_acosf.S: Likewise.
26987         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26988         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26989         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26990         * sysdeps/i386/fpu/e_acosl.c: Likewise.
26991         * sysdeps/i386/fpu/e_asin.S: Likewise.
26992         * sysdeps/i386/fpu/e_asinf.S: Likewise.
26993         * sysdeps/i386/fpu/e_atan2.S: Likewise.
26994         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26995         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26996         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26997         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26998         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26999         * sysdeps/i386/fpu/e_exp10.S: Likewise.
27000         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27001         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27002         * sysdeps/i386/fpu/e_exp2.S: Likewise.
27003         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27004         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27005         * sysdeps/i386/fpu/e_fmod.S: Likewise.
27006         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27007         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27008         * sysdeps/i386/fpu/e_hypot.S: Likewise.
27009         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27010         * sysdeps/i386/fpu/e_log.S: Likewise.
27011         * sysdeps/i386/fpu/e_log10.S: Likewise.
27012         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27013         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27014         * sysdeps/i386/fpu/e_log2.S: Likewise.
27015         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27016         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27017         * sysdeps/i386/fpu/e_logf.S: Likewise.
27018         * sysdeps/i386/fpu/e_logl.S: Likewise.
27019         * sysdeps/i386/fpu/e_pow.S: Likewise.
27020         * sysdeps/i386/fpu/e_powf.S: Likewise.
27021         * sysdeps/i386/fpu/e_powl.S: Likewise.
27022         * sysdeps/i386/fpu/e_remainder.S: Likewise.
27023         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27024         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27025         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27026         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27027         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27028         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27029         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27030         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27031         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27032         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27033         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27034         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27035         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27036         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27037         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27038         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27039         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27040         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27041         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27042         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27043         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27044         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27045         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27046         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27047         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27048         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27049         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27050         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27051         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27052         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27053         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27054         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27055         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27056         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27057         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27058         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27059         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27060         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27061         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27062         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27063         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27064         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27065         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27066         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27067         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27068         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27069         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27070         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27071         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27072         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27073         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27074         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27075         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27076         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27077         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27078         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27079         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27080         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27081         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27082         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27083         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27084         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27085         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27086         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27087         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27088         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27089         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27090         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27091         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27092         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27093         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27094         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27095         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27096         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27097         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27098         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27099         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27100         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27101         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27102         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27103         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27104         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27105         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27106         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27107         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27108         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27109         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27110         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27111         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27112         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27113         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27114         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27115         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27116         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27117         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27118         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27119         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27120         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27121         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27122         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27123         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27124         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27125         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27126         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27127         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27128         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27129         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27130         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27131         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27132         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27133         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27134         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27135         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27136         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27137         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27138         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27139         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27140         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27141         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
27142         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27143         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27144         (__isnanf): Likewise.
27145         (__isinf_ns): Likewise.
27146         (__isinf_nsf): Likewise.
27147         (__finite): Likewise.
27148         (__finitef): Likewise.
27149         (__ieee754_sqrt): Define as macro.
27150         (__ieee754_sqrtf): Define as macro.
27151         (__ieee754_sqrtl): Define as macro.
27152         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27153         inlined copy.
27154         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27155         __FINITE_MATH_ONLY__ consistent.
27156         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27158 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
27160         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27161         of rawmemchr.
27163         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27165 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
27167         * po/ja.po: Update from translation team.
27169 2011-10-08  Roland McGrath  <roland@hack.frob.com>
27171         * locale/programs/locarchive.c (prepare_address_space): New function.
27172         (create_archive, enlarge_archive, open_archive): Use it.
27174         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27175         inside [SHARED], where it is used.
27177         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27179         * nss/getent.c (netgroup_keys): Remove unused variable.
27180         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27182 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
27184         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27185         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27186         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27187         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27188         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27189         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27190         * math/Makefile (libm-calls): Add s_isinf_ns.
27191         * math/divtc3.c: Use __isinf_nsl instead of isinf.
27192         * math/multc3.c: Likewise.
27193         * math/s_casin.c: Likewise.
27194         * math/s_casinf.c: Likewise.
27195         * math/s_casinl.c: Likewise.
27196         * math/s_ccos.c: Likewise.
27197         * math/s_ccosf.c: Likewise.
27198         * math/s_ccosl.c: Likewise.
27199         * math/s_ctan.c: Likewise.
27200         * math/s_ctanf.c: Likewise.
27201         * math/s_ctanh.c: Likewise.
27202         * math/s_ctanhf.c: Likewise.
27203         * math/s_ctanhl.c: Likewise.
27204         * math/s_ctanl.c: Likewise.
27205         * math/w_fmod.c: Likewise.
27206         * math/w_fmodf.c: Likewise.
27207         * math/w_fmodl.c: Likewise.
27208         * math/w_remainder.c: Likewise.
27209         * math/w_remainderf.c: Likewise.
27210         * math/w_remainderl.c: Likewise.
27211         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27212         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27213         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27214         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27215         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27216         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27217         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27218         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27220         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27221         of the number.
27222         * stdio-common/printf_fphex.c: Likewise.
27223         * stdio-common/printf_size.c: Likewise.
27225         * math/e_exp10.c: Include math_private.h using <...> not "...".
27226         * math/e_exp10f.c: Likewise.
27227         * math/e_exp10l.c: Likewise.
27228         * math/e_exp2l.c: Likewise.
27229         * math/e_j0l.c: Likewise.
27230         * math/e_j1l.c: Likewise.
27231         * math/e_jnl.c: Likewise.
27232         * math/e_lgammal_r.c: Likewise.
27233         * math/e_rem_pio2l.c: Likewise.
27234         * math/e_scalb.c: Likewise.
27235         * math/e_scalbf.c: Likewise.
27236         * math/e_scalbl.c: Likewise.
27237         * math/k_cosl.c: Likewise.
27238         * math/k_sinl.c: Likewise.
27239         * math/k_tanl.c: Likewise.
27240         * math/s_cacoshf.c: Likewise.
27241         * math/s_catan.c: Likewise.
27242         * math/s_catanf.c: Likewise.
27243         * math/s_catanh.c: Likewise.
27244         * math/s_catanhf.c: Likewise.
27245         * math/s_catanhl.c: Likewise.
27246         * math/s_catanl.c: Likewise.
27247         * math/s_ccosh.c: Likewise.
27248         * math/s_ccoshf.c: Likewise.
27249         * math/s_ccoshl.c: Likewise.
27250         * math/s_cexp.c: Likewise.
27251         * math/s_cexpf.c: Likewise.
27252         * math/s_cexpl.c: Likewise.
27253         * math/s_clog.c: Likewise.
27254         * math/s_clog10.c: Likewise.
27255         * math/s_clog10f.c: Likewise.
27256         * math/s_clog10l.c: Likewise.
27257         * math/s_clogf.c: Likewise.
27258         * math/s_clogl.c: Likewise.
27259         * math/s_csin.c: Likewise.
27260         * math/s_csinf.c: Likewise.
27261         * math/s_csinh.c: Likewise.
27262         * math/s_csinhf.c: Likewise.
27263         * math/s_csinhl.c: Likewise.
27264         * math/s_csinl.c: Likewise.
27265         * math/s_csqrt.c: Likewise.
27266         * math/s_csqrtf.c: Likewise.
27267         * math/s_csqrtl.c: Likewise.
27268         * math/s_ctan.c: Likewise.
27269         * math/s_ctanf.c: Likewise.
27270         * math/s_ctanh.c: Likewise.
27271         * math/s_ctanhf.c: Likewise.
27272         * math/s_ctanhl.c: Likewise.
27273         * math/s_ctanl.c: Likewise.
27274         * math/s_ldexp.c: Likewise.
27275         * math/s_ldexpf.c: Likewise.
27276         * math/s_ldexpl.c: Likewise.
27277         * math/s_significand.c: Likewise.
27278         * math/s_significandf.c: Likewise.
27279         * math/s_significandl.c: Likewise.
27280         * math/w_acos.c: Likewise.
27281         * math/w_acosf.c: Likewise.
27282         * math/w_acosh.c: Likewise.
27283         * math/w_acoshf.c: Likewise.
27284         * math/w_acoshl.c: Likewise.
27285         * math/w_acosl.c: Likewise.
27286         * math/w_asin.c: Likewise.
27287         * math/w_asinf.c: Likewise.
27288         * math/w_asinl.c: Likewise.
27289         * math/w_atan2.c: Likewise.
27290         * math/w_atan2f.c: Likewise.
27291         * math/w_atan2l.c: Likewise.
27292         * math/w_atanh.c: Likewise.
27293         * math/w_atanhf.c: Likewise.
27294         * math/w_atanhl.c: Likewise.
27295         * math/w_cosh.c: Likewise.
27296         * math/w_coshf.c: Likewise.
27297         * math/w_coshl.c: Likewise.
27298         * math/w_dremf.c: Likewise.
27299         * math/w_exp10.c: Likewise.
27300         * math/w_exp10f.c: Likewise.
27301         * math/w_exp10l.c: Likewise.
27302         * math/w_exp2.c: Likewise.
27303         * math/w_exp2f.c: Likewise.
27304         * math/w_fmod.c: Likewise.
27305         * math/w_fmodf.c: Likewise.
27306         * math/w_fmodl.c: Likewise.
27307         * math/w_hypot.c: Likewise.
27308         * math/w_hypotf.c: Likewise.
27309         * math/w_hypotl.c: Likewise.
27310         * math/w_j0.c: Likewise.
27311         * math/w_j0f.c: Likewise.
27312         * math/w_j0l.c: Likewise.
27313         * math/w_j1.c: Likewise.
27314         * math/w_j1f.c: Likewise.
27315         * math/w_j1l.c: Likewise.
27316         * math/w_jn.c: Likewise.
27317         * math/w_jnf.c: Likewise.
27318         * math/w_jnl.c: Likewise.
27319         * math/w_lgamma.c: Likewise.
27320         * math/w_lgamma_r.c: Likewise.
27321         * math/w_lgammaf.c: Likewise.
27322         * math/w_lgammaf_r.c: Likewise.
27323         * math/w_lgammal.c: Likewise.
27324         * math/w_lgammal_r.c: Likewise.
27325         * math/w_log.c: Likewise.
27326         * math/w_log10.c: Likewise.
27327         * math/w_log10f.c: Likewise.
27328         * math/w_log10l.c: Likewise.
27329         * math/w_log2.c: Likewise.
27330         * math/w_log2f.c: Likewise.
27331         * math/w_log2l.c: Likewise.
27332         * math/w_logf.c: Likewise.
27333         * math/w_logl.c: Likewise.
27334         * math/w_pow.c: Likewise.
27335         * math/w_powf.c: Likewise.
27336         * math/w_powl.c: Likewise.
27337         * math/w_remainder.c: Likewise.
27338         * math/w_remainderf.c: Likewise.
27339         * math/w_remainderl.c: Likewise.
27340         * math/w_scalb.c: Likewise.
27341         * math/w_scalbf.c: Likewise.
27342         * math/w_scalbl.c: Likewise.
27343         * math/w_sinh.c: Likewise.
27344         * math/w_sinhf.c: Likewise.
27345         * math/w_sinhl.c: Likewise.
27346         * math/w_sqrt.c: Likewise.
27347         * math/w_sqrtf.c: Likewise.
27348         * math/w_sqrtl.c: Likewise.
27349         * math/w_tgamma.c: Likewise.
27350         * math/w_tgammaf.c: Likewise.
27351         * math/w_tgammal.c: Likewise.
27353         * po/ja.po: Update from translation team.
27355 2011-09-29  Andreas Jaeger  <aj@suse.de>
27357         [BZ #13179]
27358         * sunrpc/netname.c (netname2host): Fix logic.
27360         [BZ #6779]
27361         [BZ #6783]
27362         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27363         correctly.
27364         * math/w_remainder.c (__remainder): Likewise.
27365         * math/w_remainderf.c (__remainderf): Likewise.
27366         * math/libm-test.inc (remainder_test): Add test cases.
27368 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27370         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
27371         sdiv_qrnnd.
27373 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
27375         * string/test-memcmp.c: Avoid unncessary #defines.
27376         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27378 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27380         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27381         Use new sse2 version for core i3 - i7 as it's faster
27382         than sse42 version.
27383         (bit_Prefer_PMINUB_for_stringop): New.
27384         * sysdeps/x86_64/rawmemchr.S: Update.
27385         Replace with faster SSE2 version.
27386         * sysdeps/x86_64/memrchr.S: New file.
27387         * sysdeps/x86_64/memchr.S: Update.
27388         Replace with faster SSE2 version.
27390 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
27392         * elf/dl-load.c (lose): Add cast to avoid warning.
27394 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
27396         * po/ca.po: Update from translation team.
27398         * inet/getnetgrent_r.c: Hook up nscd.
27399         * nscd/Makefile (routines): Add nscd_netgroup.
27400         (nscd-modules): Add netgroupcache.
27401         (CFLAGS-netgroupcache.c): Define.
27402         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27403         (cache_search): Add const to second parameter.
27404         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27405         INNETGR.
27406         (dbs): Add netgrdb entry.
27407         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27408         (verify_persistent_db): Handle netgrdb.
27409         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27410         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27411         GETFDNETGR.
27412         (netgroup_response_header): Define.
27413         (innetgroup_response_header): Define.
27414         (datahead): Add netgroup_response_header and innetgroup_response_header
27415         elements.
27416         * nscd/nscd.conf: Add entries for netgroup cache.
27417         * nscd/nscd.h (dbtype): Add netgrdb.
27418         (_PATH_NSCD_NETGROUP_DB): Define.
27419         (netgroup_iov_disabled): Declare.
27420         (xmalloc, xcalloc, xrealloc): Move declarations here.
27421         (cache_search): Adjust prototype.
27422         Add netgroup-related prototypes.
27423         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27424         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27425         (__nscd_innetgr): Declare.
27426         * nscd/selinux.c (perms): Use access_vector_t as element type and
27427         add netgroup-related initializers.
27428         * nscd/netgroupcache.c: New file.
27429         * nscd/nscd_netgroup.c: New file.
27430         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27431         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27432         For four parameters use innetgr.
27433         * nss/nss_files/files-init.c: Add definition and callback for netgr.
27434         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27435         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27436         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27438         * nscd/connections.c (register_traced_file): Don't register file
27439         for disabled databases.
27441 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
27443         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27445         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27446         from tree and freeing node.
27448 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
27450         * nss/nsswitch.c (__nss_database_lookup): Handle
27451         nss_parse_service_list out of memory case.
27453 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
27455         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27456         out of memory case.
27458 2011-10-04  Andreas Schwab  <schwab@redhat.com>
27460         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27461         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27462         pass it down.
27463         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27464         elf_machine_rela, elf_machine_lazy_rel.
27465         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27466         (ELF_DYNAMIC_DO_REL): Likewise.
27467         (ELF_DYNAMIC_DO_RELA): Likewise.
27468         (ELF_DYNAMIC_RELOCATE): Likewise.
27469         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27470         to ELF_DYNAMIC_DO_REL.
27471         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27472         (dl_main): In trace mode always set __RTLD_NOIFUNC.
27473         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27474         elf_machine_rela.
27475         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27476         skip_ifunc, don't call ifunc function if non-zero.
27477         (elf_machine_rela): Likewise.
27478         (elf_machine_lazy_rel): Likewise.
27479         (elf_machine_lazy_rela): Likewise.
27480         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27481         (elf_machine_lazy_rel): Likewise.
27482         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27483         Likewise.
27484         (elf_machine_lazy_rel): Likewise.
27485         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27486         Likewise.
27487         (elf_machine_lazy_rel): Likewise.
27488         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27489         (elf_machine_lazy_rel): Likewise.
27490         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27491         (elf_machine_lazy_rel): Likewise.
27492         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27493         (elf_machine_lazy_rel): Likewise.
27494         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27495         (elf_machine_lazy_rel): Likewise.
27496         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27497         (elf_machine_lazy_rel): Likewise.
27498         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27499         (elf_machine_lazy_rel): Likewise.
27501 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
27503         * nss/nss_files/files-init.c (_nss_files_init): Use static
27504         initialization for all the *_traced_file variables.
27506 2011-09-28  Andreas Schwab  <schwab@redhat.com>
27508         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27510 2011-09-27  Roland McGrath  <roland@hack.frob.com>
27512         [BZ #13226]
27513         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27515 2011-09-27  Andreas Schwab  <schwab@redhat.com>
27517         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27518         Reread the line before reparsing it.
27520 2011-09-26  Andreas Schwab  <schwab@redhat.com>
27522         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27524 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
27525             Maxim Kuvyrkov  <maxim@codesourcery.com>
27526             Joseph Myers  <joseph@codesourcery.com>
27528         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27529         if needed for __stack_chk_guard.
27531 2011-09-19  Roland McGrath  <roland@hack.frob.com>
27533         * sysdeps/posix/spawni.c (script_execute): Always define it.
27534         It will be optimized away if unused.
27535         (maybe_script_execute): New function.
27536         (__spawni): Call it.
27538         * Makerules: Don't include tls.make.
27539         (config-tls): Always set to thread.
27540         * tls.make.c: File removed.
27542 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
27544         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27545         * config.make.in (CPPFLAGS-config): New substituted variable.
27547 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
27549         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27551         [BZ #13192]
27552         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27553         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27555 2011-09-15  Roland McGrath  <roland@hack.frob.com>
27557         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27558         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27559         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27560         (CALL_FAIL): Likewise.
27561         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27562         (CALL_FAIL): Macro removed.
27563         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27565 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
27567         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27568         for __FINITE_MATH_ONLY__ == 1.
27570 2011-09-15  Andreas Schwab  <schwab@redhat.com>
27572         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27573         __ieee754_sqrt instead of sqrt.
27574         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27575         __ieee754_sqrtf instead of sqrtf.
27576         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27577         __floorf instead of floorf.
27578         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27579         __floorf, __truncf instead of floorf, truncf.
27581 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
27583         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27585         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27586         __extern_always_inline.
27587         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27588         32-bit.
27590 2011-09-14  Andreas Schwab  <schwab@redhat.com>
27592         * elf/rtld.c (dl_main): Also relocate in dependency order when
27593         doing symbol dependency testing.
27595 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
27597         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27598         Always define `refsym'.
27600 2011-09-13  Andreas Schwab  <schwab@redhat.com>
27602         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27603         (__FD_ELT): Renamed from __FDELT.
27604         * misc/bits/select2.h (__FD_ELT): Likewise.
27605         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27606         __FD_MASK instead of __FDELT, __FDMASK.
27607         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27608         Likewise.
27609         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27610         Likewise.
27612         * elf/Makefile (gen-ldd): Fix pattern.
27614         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27615         (init_tls): Likewise.
27617 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
27619         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27621 2011-09-12  Andreas Schwab  <schwab@redhat.com>
27623         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27624         `struct cmsghdr *' instead of `void *'.
27625         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27626         Likewise.
27628 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
27630         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27631         if non-absolute.
27632         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27633         ldd_rewrite_script.
27635 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
27637         * configure.in: Remove --with-tls option.
27638         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27639         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27640         out in case it is missing.
27641         * sysdeps/ia64/elf/configure.in: Likewise.
27642         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27643         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27644         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27645         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27646         * sysdeps/sh/elf/configure.in: Likewise.
27647         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27648         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27649         * sysdeps/x86_64/elf/configure.in: Likewise.
27650         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27651         * sysdeps/mach/hurd/tls.h: Likewise.
27653         [BZ #13067]
27654         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27656         [BZ #13090]
27657         * configure.in: Fix use of AC_INIT.
27659         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27661 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
27663         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27664         __set_errno.
27665         * malloc/hooks.c: Likewise.
27667         [BZ #11929]
27668         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
27669         variables statically.
27670         (narenas): Initialize.
27671         (list_lock): Initialize.
27672         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
27673         initializtion of main_arena and list_lock.  Small cleanups.
27674         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27675         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
27676         Add initializers to main_arena and mp_.
27677         (malloc_state): Remove pagesize member.  Change all users to use
27678         GLRO(dl_pagesize).
27680         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27681         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
27682         is always initialized.
27684         * malloc/malloc.c: Removed unused configurations and dead code.
27685         * malloc/arena.c: Likewise.
27686         * malloc/hooks.c: Likewise.
27687         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
27689         * include/tls.h: Removed.  USE___THREAD must always be defined.
27690         * bits/libc-tsd.h: Don't handle !USE___THREAD.
27691         * elf/dl-libc.c: Likewise.
27692         * elf/dl-tsd.c: Likewise.
27693         * include/errno.h: Likewise.
27694         * include/netdb.h: Likewise.
27695         * include/resolv.h: Likewise.
27696         * inet/herrno-loc.c: Likewise.
27697         * inet/herrno.c: Likewise.
27698         * malloc/arena.c: Likewise.
27699         * malloc/hooks.c: Likewise.
27700         * malloc/malloc.c: Likewise.
27701         * resolv/res-state.c: Likewise.
27702         * resolv/res_libc.c: Likewise.
27703         * sysdeps/i386/dl-machine.h: Likewise.
27704         * sysdeps/ia64/dl-machine.h: Likewise.
27705         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27706         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27707         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27708         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27709         * sysdeps/sh/dl-machine.h: Likewise.
27710         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27711         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27712         * sysdeps/unix/i386/sysdep.S: Likewise.
27713         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27714         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27715         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27716         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27717         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27718         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27719         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27720         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27721         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27722         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27723         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27724         * sysdeps/x86_64/dl-machine.h: Likewise.
27725         * tls.make.c: Likewise.
27727         * configure.in: Remove --with-__thread option.  Make tests for
27728         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27729         tls_model attribute fail if no support is available.  Remove
27730         USE_IN_LIBIO.
27731         * Makeconfig: Adjust for dropped configure option.  All features are
27732         now mandatory.
27733         * Makerules: Likewise.
27734         * Versions.def: Likewise.
27735         * argp/argp-fmtstream.c: Likewise.
27736         * argp/argp-fmtstream.h: Likewise.
27737         * argp/argp-help.c: Likewise.
27738         * assert/assert.c: Likewise.
27739         * config.h.in: Likewise.
27740         * config.make.in: Likewise.
27741         * configure: Likewise.
27742         * configure.in: Likewise.
27743         * csu/Versions: Likewise.
27744         * csu/init.c: Likewise.
27745         * elf/tst-audit2.c: Likewise.
27746         * elf/tst-tls10.c: Likewise.
27747         * elf/tst-tls10.h: Likewise.
27748         * elf/tst-tls11.c: Likewise.
27749         * elf/tst-tls12.c: Likewise.
27750         * elf/tst-tls14.c: Likewise.
27751         * elf/tst-tlsmod11.c: Likewise.
27752         * elf/tst-tlsmod12.c: Likewise.
27753         * elf/tst-tlsmod13.c: Likewise.
27754         * elf/tst-tlsmod13a.c: Likewise.
27755         * elf/tst-tlsmod14a.c: Likewise.
27756         * elf/tst-tlsmod15b.c: Likewise.
27757         * elf/tst-tlsmod16a.c: Likewise.
27758         * elf/tst-tlsmod16b.c: Likewise.
27759         * elf/tst-tlsmod7.c: Likewise.
27760         * elf/tst-tlsmod8.c: Likewise.
27761         * elf/tst-tlsmod9.c: Likewise.
27762         * gmon/gmon.c: Likewise.
27763         * grp/fgetgrent_r.c: Likewise.
27764         * grp/putgrent.c: Likewise.
27765         * hurd/fopenport.c: Likewise.
27766         * include/libc-symbols.h: Likewise.
27767         * include/tls.h: Likewise.
27768         * intl/gettextP.h: Likewise.
27769         * intl/loadinfo.h: Likewise.
27770         * locale/global-locale.c: Likewise.
27771         * locale/localeinfo.h: Likewise.
27772         * mach/devstream.c: Likewise.
27773         * malloc/arena.c: Likewise.
27774         * malloc/set-freeres.c: Likewise.
27775         * misc/err.c: Likewise.
27776         * misc/getttyent.c: Likewise.
27777         * misc/mntent_r.c: Likewise.
27778         * posix/getopt.c: Likewise.
27779         * posix/wordexp.c: Likewise.
27780         * pwd/fgetpwent_r.c: Likewise.
27781         * resolv/Versions: Likewise.
27782         * resolv/res_hconf.c: Likewise.
27783         * shadow/fgetspent_r.c: Likewise.
27784         * shadow/putspent.c: Likewise.
27785         * stdio-common/printf_fphex.c: Likewise.
27786         * stdio-common/tmpfile.c: Likewise.
27787         * stdlib/abort.c: Likewise.
27788         * stdlib/fmtmsg.c: Likewise.
27789         * sunrpc/auth_unix.c: Likewise.
27790         * sunrpc/clnt_perr.c: Likewise.
27791         * sunrpc/clnt_tcp.c: Likewise.
27792         * sunrpc/clnt_udp.c: Likewise.
27793         * sunrpc/clnt_unix.c: Likewise.
27794         * sunrpc/openchild.c: Likewise.
27795         * sunrpc/svc_simple.c: Likewise.
27796         * sunrpc/svc_tcp.c: Likewise.
27797         * sunrpc/svc_udp.c: Likewise.
27798         * sunrpc/svc_unix.c: Likewise.
27799         * sunrpc/xdr.c: Likewise.
27800         * sunrpc/xdr_array.c: Likewise.
27801         * sunrpc/xdr_rec.c: Likewise.
27802         * sunrpc/xdr_ref.c: Likewise.
27803         * sunrpc/xdr_stdio.c: Likewise.
27805 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27807         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27809 2011-07-03  Andreas Jaeger  <aj@suse.de>
27811         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27812         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27813         regenerate with gen-libm-tests.pl.
27815 2010-05-12  Petr Baudis  <pasky@suse.cz>
27817         [BZ #11589]
27818         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27819         around j0() zero points by switching to j1().
27820         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27821         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27822         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27823         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27825 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27827         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27828         instead of 0.
27829         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
27830         instead of 0.
27831         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27832         Patch in part by Pavel Roskin <proski@gnu.org>.
27834         [BZ #13138]
27835         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27836         realloc.
27837         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
27838         Free memory block if necessary.
27840         [BZ #12847]
27841         * libio/genops.c (INTDEF): For string streams the _lock pointer can
27842         be NULL.  Don't lock in this case.
27844 2011-09-09  Roland McGrath  <roland@hack.frob.com>
27846         * elf/elf.h (ELFOSABI_GNU): New macro.
27847         (ELFOSABI_LINUX): Define to that.
27849 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
27851         * string/strncat.c (strncat): Undef the symbol in case it has been
27852         defined in bits/string.h.
27854 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27856         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27858         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
27859         link map.
27861 2011-08-17  Andreas Jaeger  <aj@suse.de>
27863         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27865 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27866             Ian Lance Taylor  <iant@google.com>
27868         * math/libm-test.inc (lround_test): New testcase.
27869         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27871 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
27873         * Makefile: Remove support for automatic cvs check-ins.
27874         * Makerules: Likewise.
27875         * config.make.in: Likewise.
27876         * configure.in: Likewise.
27877         * intl/Makefile: Likewise.
27878         * locale/Makefile: Likewise.
27879         * po/Makefile: Likewise.
27880         * posix/Makefile: Likewise.
27881         * sysdeps/gnu/Makefile: Likewise.
27882         * sysdeps/mach/hurd/Makefile: Likewise.
27883         * sysdeps/sparc/sparc32/Makefile: Likewise.
27885         [BZ #13118]
27886         * posix/Makefile (bug-regex32-ENV): Define.
27887         Patch by John Stanley <jpsinthemix@verizon.net>.
27889         * misc/Makefile (headers): Add bits/select2.h.
27890         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27891         * misc/bits/select2.h: New file.
27892         * include/bits/select2.h: New file.
27893         * debug/Makefile (routines): Add fdelt_chk.
27894         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27895         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27896         FD_ISSET.
27897         * debug/fdelt_chk.c: New file.
27899         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
27900         * wcsmbs/test-wmemcmp.c: Likewise.
27901         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
27902         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
27904 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27906         * string/Makefile (strop-tests): Add memcmp.
27907         * string/test-wmemcmp.c: New file.
27908         * string/test-memcmp.c: Add wmemcmp support.
27910 2011-09-08  Roland McGrath  <roland@hack.frob.com>
27912         [BZ #13153]
27913         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27914         2011-07-19 change.
27916         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27917         garbage value in a __mach_port_mod_refs call in the cases of the
27918         task-self and thread-self ports.
27920 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27922         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27924 2011-09-08  Andreas Schwab  <schwab@redhat.com>
27926         * elf/dl-load.c (lose): Check for non-null L.
27928 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
27930         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27932         * elf/dl-libc.c (dlerror_run): Pass back error code from
27933         dl_catch_error.
27935         [BZ #13123]
27936         * elf/dl-load.c (lose): Free l_origin if it is valid.
27938         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27939         names.
27940         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27941         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27942         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27943         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27944         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27945         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27947 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27949         * sysdeps/powerpc/fpu/e_hypot.c: New file.
27950         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27951         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27952         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27953         * sysdeps/powerpc/fpu/k_cosf.c: New file.
27954         * sysdeps/powerpc/fpu/k_sinf.c: New file.
27955         * sysdeps/powerpc/fpu/s_cosf.c: New file.
27956         * sysdeps/powerpc/fpu/s_sinf.c: New file.
27957         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27958         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27960 2011-08-15  Alan Modra  <amodra@gmail.com>
27962         [BZ #13092]
27963         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27964         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27965         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
27966         ppc_mcount to static-only-routines.
27967         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27968         __mcount_internal.
27969         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27970         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
27972 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
27974         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27975         for finite and infinity parameters.
27977 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
27979         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27980         and add nop instructions for throughput optimization.
27981         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27983 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
27985         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27986         aligned copy for power7 with vector-scalar instructions.
27987         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27989 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
27991         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27992         AVX check.
27994 2011-09-07  Andreas Schwab  <schwab@redhat.com>
27996         [BZ #13144]
27997         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27998         last change.
28000 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
28002         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28003         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28004         syscall wrapper around clock_gettime in __vdso_clock_gettime.
28005         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28006         clock_gettime.
28008 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
28010         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28011         Forgot to demangle the pointer.
28013         * sysdeps/i386/sysdep.h: Define atom_text_section.
28014         * sysdeps/x86_64/sysdep.h: Likewise.
28015         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28016         section with atom_text_section.
28017         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28018         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28019         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28020         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28021         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28023         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28024         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28025         already be defined.  Change to take two parameters and don't assign
28026         result to variable.  Adjust all users.
28027         Define INTERNAL_GETTIME if not already defined.
28028         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28029         call.
28030         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28031         HAVE_CLOCK_GETTIME_VSYSCALL.
28032         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28034         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28035         gettimeofday vsyscall, just use time.
28037 2011-09-06  Andreas Schwab  <schwab@redhat.com>
28039         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28040         <errno.h>.
28042 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
28044         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28045         syscall on x86-64.
28046         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28047         syscall.
28048         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28049         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28050         syscall if possible.
28052 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
28054         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28055         e_ident.  Don't pass to find_mapsXX.
28056         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28058 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28060         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28061         strchr-sse2-no-bsf strrchr-sse2-no-bsf
28062         * sysdeps/x86_64/multiarch/strchr.S: Update.
28063         Check bit_slow_BSF bit.
28064         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28065         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28066         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28068 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
28070         [BZ #13134]
28071         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28072         before glibc 2.15.
28073         (tryshell): Define.
28074         (__spawni): Change last parameter to be flag.  Test
28075         SPAWN_XFLAGS_USE_PATH flag to use path or not.
28076         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28077         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28078         * posix/spawni.c: Likewise.
28079         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28080         * posix/spawnp.c: Likewise.  Change normal version to use
28081         SPAWN_XFLAGS_USE_PATH.
28082         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28083         SPAWN_XFLAGS_TRY_SHELL.
28085         [BZ #13150]
28086         * posix/glob.h: Remove gcc 1.x support.
28088         [BZ #13068]
28089         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28091 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28093         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28094         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28095         strrchr-sse2-bsf
28096         * sysdeps/i386/i686/multiarch/strchr.S: New file.
28097         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28098         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28099         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28100         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28101         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28103 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28105         * sysdeps/x86_64/wcscmp.S: New file.
28107         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28108         wcscmp-c wcscmp-sse2
28109         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28110         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28111         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28112         * wcsmbs/wcscmp.c: Allow renaming.
28114 2011-09-05  David S. Miller  <davem@davemloft.net>
28116         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28117         stack slot, rather than the struct return pointer slot.
28118         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28119         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28121         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28123 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
28125         * po/ja.po: Update from translation team.
28127         [BZ #13144]
28128         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28129         kernel in 64-bit binaries.
28131 2011-09-01  David S. Miller  <davem@davemloft.net>
28133         * elf/elf.h (HWCAP_SPARC_*): Move to..
28134         * sysdeps/sparc/sysdep.h: this new file and add new values.
28135         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28136         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28137         _DL_HWCAP_COUNT to 24.
28138         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28139         entries.
28140         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28141         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28142         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28143         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28144         instead of magic constants.
28145         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28147 2011-08-31  David S. Miller  <davem@davemloft.net>
28149         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28150         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28151         Reimplement to do errno handling inline.
28152         (SYSCALL_ERROR_HANDLER): New macro.
28153         (__SYSCALL_STRING): Do not do errno handling in asm.
28154         (__CLONE_SYSCALL_STRING): Delete.
28155         (__INTERNAL_SYSCALL_STRING): Delete.
28156         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28157         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28158         (PSEUDO): Reimplement to do errno handling inline.
28159         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28160         (SYSCALL_ERROR_HANDLER): New macro.
28161         (__SYSCALL_STRING): Do not do errno handling in asm.
28162         (__CLONE_SYSCALL_STRING): Delete.
28163         (__INTERNAL_SYSCALL_STRING): Delete.
28164         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28165         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28166         i386.
28167         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28168         (inline_syscall*): Add 'err' argument.
28169         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28170         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28171         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28172         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28174         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28175         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28177 2011-08-30  Andreas Schwab  <schwab@redhat.com>
28179         * elf/rtld.c (dl_main): Relocate objects in dependency order.
28181 2011-08-29  Jiri Olsa <jolsa@redhat.com>
28183         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28184         directive.
28186 2011-08-24  David S. Miller  <davem@davemloft.net>
28188         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28190 2011-08-24  Andreas Schwab  <schwab@redhat.com>
28192         * elf/Makefile: Add rules to build and run unload8 test.
28193         * elf/unload8.c: New file.
28194         * elf/unload8mod1.c: New file.
28195         * elf/unload8mod1x.c: New file.
28196         * elf/unload8mod2.c: New file.
28197         * elf/unload8mod3.c: New file.
28199         * elf/dl-close.c (_dl_close_worker): Reset private search list if
28200         it wasn't used.
28202 2011-08-23  David S. Miller  <davem@davemloft.net>
28204         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28205         subtract stack bias.
28206         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28207         %sp not %fp in calculations.
28208         (_JMPBUF_UNWINDS_ADJ): Likewise.
28210         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28211         (aio_suspend): Call it to force an exception region around the
28212         AIO_MISC_WAIT() invocation.
28214 2011-08-23  Andreas Schwab  <schwab@redhat.com>
28216         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28217         backslash.
28219 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
28221         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28222         protection macro.
28223         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28224         and <dl-machine.h>.
28225         (Elf64_FuncDesc): Remove.
28227 2011-08-22  David S. Miller  <davem@davemloft.net>
28229         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28230         sigaltstack check, add missing cfi directives.
28231         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28232         missing cfi directives, and sigaltstack handling.
28234 2011-08-16  Andreas Schwab  <schwab@redhat.com>
28236         [BZ #11724]
28237         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28238         object is seen twice.
28239         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28241         * elf/Makefile (distribute): Add tst-initorder2.c.
28242         (tests): Add tst-initorder2.
28243         (modules-names): Add tst-initorder2a tst-initorder2b
28244         tst-initorder2c tst-initorder2d.  Add rules to build them.
28245         ($(objpfx)tst-initorder2.out): New rule.
28246         * elf/tst-initorder2.c: New file.
28247         * elf/tst-initorder2.exp: New file.
28249 2011-08-22  Andreas Schwab  <schwab@redhat.com>
28251         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28253         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28254         dependencies back to end of function.
28256         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28257         $(elfobjdir)/ld.so.
28259 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
28261         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28262         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28263         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28264         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28265         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28266         of __vdso_gettimeofday.
28267         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28268         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
28269         attribute_hidden.
28270         (_libc_vdso_platform_setup): Remove initialization of
28271         __vdso_gettimeofday and __vdso_time.
28273 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
28275         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28276         and fgetc_unlocked.
28277         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28278         getc_unlocked.
28280         * elf/dl-open.c (add_to_global): Report additions to the global scope
28281         for LD_DEBUG=scopes.
28282         (dl_open_worker): Also print scope of newly loaded dependencies.
28283         (_dl_show_scope): Indicate if there is no scope.
28285         [BZ #13114]
28286         * stdio-common/Makefile (tests): Add bug24.
28287         * stdio-common/bug24.c: New file.
28289 2011-08-19  Andreas Jaeger  <aj@suse.de>
28291         [BZ #13114]
28292         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28293         non-existant file when using close-on-exec mode.
28295 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
28297         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28298         the very first instruction.
28300         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28301         the CFI state in the end.
28302         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28303         inclusion of dl-trampoline.h.
28304         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28306 2011-08-19  Andreas Schwab  <schwab@redhat.com>
28308         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28309         expectations for long double.
28311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28312         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28314 2011-08-14  David S. Miller  <davem@davemloft.net>
28316         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28317         artificual limit depends upon the system page size.
28319 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
28321         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28322         * resolv/Makefile: Define CFLAGS-libresolv.
28324 2011-08-17  Andreas Schwab  <schwab@redhat.com>
28326         * nss/makedb.c (compute_tables): Make variables used in nested
28327         function static.
28329 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
28331         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28332         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28333         if buffer was too small.
28335         * elf/pldd.c (main): Attach to all threads in the process.
28336         Rewrite /proc handling to use *at functions.
28338 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
28340         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28341         specifies first scope to show.
28342         (dl_open_worker): Update callers.  Move printing scope of new
28343         object to before the relocation.
28344         * elf/rtld.c (dl_main): Update _dl_show_scope call.
28345         * sysdeps/generic/ldsodefs.h: Update declaration.
28347         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28348         string for the scope number.
28350 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
28352         * nscd/servicescache.c (cache_addserv): Make sure written is always
28353         initialized.
28355 2011-08-14  Roland McGrath  <roland@hack.frob.com>
28357         * sysdeps/i386/i486/bits/atomic.h
28358         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28359         statement expression, so as to suppress "set but not used" warning.
28360         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28362         * string/strncat.c (STRNCAT): Use prototype definition.
28364         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28365         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28366         -Iprograms here.
28367         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28368         (localedef-modules): Add localedef.
28369         (locale-modules): Add locale.
28371         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28372         * elf/rtld.c (dl_main): Invert order of assignment in last change,
28373         to avoid a warning.
28375 2011-08-14  David S. Miller  <davem@davemloft.net>
28377         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28378         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28380 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
28382         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
28383         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28384         * elf/rtld.c (dl_main): Set l_name of vDSO.
28385         Call _dl_show_scope when DL_DEBUG_SCOPES.
28386         (process_dl_debug): Recognize scopes flag and also set it for all.
28387         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28388         Declare _dl_show_scope.
28390         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28391         (do_dlopen): Pass caller_dlopen to dl_open.
28392         (__libc_dlopen_mode): Initialize caller_dlopen.
28394         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28395         of libc.  Make tolower call locale-independent.  Optimize a bit by
28396         using isdigit instead of isalnum.
28397         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28399 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
28401         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28402         was a dependency or dynamically loaded.
28404 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
28406         * intl/l10nflist.c: Allow architecture-specific pop function.
28407         * sysdeps/x86_64/l10nflist.c: New file.
28409         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28410         classification.
28412 2011-08-10  Andreas Schwab  <schwab@redhat.com>
28414         * include/dirent.h: Add libc_hidden_proto for scandirat and
28415         scandirat64.  Don't declare __scandirat64.
28416         * dirent/scandirat.c: Add libc_hidden_def.
28417         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28418         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28420 2011-08-10  David S. Miller  <davem@davemloft.net>
28422         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28423         enum.
28424         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28425         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28426         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28428 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
28430         * Versions.def [libc]: Add GLIBC_2.15.
28431         * dirent/Makefile (routines): Add scandirat and scandirat64.
28432         * dirent/Versions [libc]: Export scandirat and scandirat64 for
28433         GLIBC_2.15.
28434         * dirent/dirent.h: Declare scandirat and scandirat64.
28435         * dirent/scandirat.c: New file.
28436         * dirent/scandirat64.c: New file.
28437         * sysdeps/wordsize-64/scandirat.c: New file.
28438         * sysdeps/wordsize-64/scandirat64.c: New file.
28439         * dirent/opendir.c: Define opendirat.
28440         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
28441         using scandirat.
28442         * dirent/scandir64.c: Adjust for scandir.c change.
28443         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
28444         __scandirat64, and __scandir_cancel_handler.
28445         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
28446         additional parameter and use openat instead of open (outside of ld.so).
28447         Add new __opendir as wrapper around __opendirat.
28448         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28449         here without requiring old scandirat implementation.
28451 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
28453         * dirent/scandir.c (cancel_handler): Renamed to
28454         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
28455         defined.  Adjust users.
28456         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28457         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28459 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
28461         * string/test-string.h (IMPL): Use __STRING to expand name and then
28462         stringify it.
28464         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
28465         of cleanups.
28467 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28469         * string/Makefile: Update.
28470         (strop-tests): Append strncat.
28471         * string/test-wcscmp.c: New file.
28472         New comprehensive test for wcscmp.
28473         * string/test-strcmp.c: Update.
28474         (WIDE): New define.
28476 2011-07-22  Andreas Schwab  <schwab@redhat.com>
28478         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28479         line.
28481 2011-07-26  Andreas Schwab  <schwab@redhat.com>
28483         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28484         encoding to ACE if AI_IDN.
28486 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
28488         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28489         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28491 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28493         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28494         Fix overflow bug in strncat.
28495         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28497         * string/test-strncat.c: Update.
28498         Add new tests for checking overflow bugs.
28500 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28502         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28503         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28504         * sysdeps/i386/i686/multiarch/strcat.S: New file.
28505         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28506         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28507         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28508         * sysdeps/i386/i686/multiarch/strncat.S: New file.
28509         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28510         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28512         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28513         (USE_AS_STRCAT): Define.
28514         Add strcat and strncat support.
28515         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28517 2011-07-25  Andreas Schwab  <schwab@redhat.com>
28519         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28520         __n bigger than INT_MAX+1.
28521         (__strncmp_g): Likewise.
28523 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
28525         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28526         * libio/stido.h: Likewise.
28528         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28529         (AF_NFC): Define.
28530         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28531         (AF_NFC): Define.
28533         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28534         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28535         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28536         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28537         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28539         [BZ #13021]
28540         * scripts/test-installation.pl: Don't expect libnss_test1 to be
28541         installed.
28543         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28544         typo.
28545         (_dl_x86_64_save_sse): Likewise.
28547 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
28549         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28550         OSXSAVE.
28551         (_dl_x86_64_save_sse): Likewise.
28553         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28555         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28557 2011-07-21  Andreas Schwab  <schwab@redhat.com>
28559         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28560         change.
28561         (_dl_x86_64_save_sse): Use correct AVX check.
28563 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28565         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28566         bug in strncpy/strncat.
28567         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28569 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
28571         * string/tester.c (test_strcat): Add tests for different alignments
28572         of source and destination.
28573         (test_strncat): Likewise.
28575 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
28577         [BZ #12852]
28578         * posix/glob.c (glob): Check passed in values before using them in
28579         expressions to avoid some overflows.
28580         (glob_in_dir): Likewise.
28582         [BZ #13007]
28583         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28584         check for AVX enablement so that we don't crash with old kernels and
28585         new hardware.
28586         * elf/tst-audit4.c: Add same checks here.
28587         * elf/tst-audit6.c: Likewise.
28589         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
28591 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
28593         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28595 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
28597         * po/cs.po: Update from translation team.
28598         * po/bg.po: Likewise.
28600 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
28602         * misc/sys/cdefs.h: Add support for const attribute.
28603         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28604         to gnu_dev_{major,minor,makedev} functions.
28606 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
28608         * intl/dcigettext.c (get_output_charset): Add missing bracket.
28610 2011-07-20  Andreas Schwab  <schwab@redhat.com>
28612         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28613         strlen results.
28615 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28617         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28618         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28619         register in order to avoid conflicts with the soft frame pointer
28620         being held in r11 when necessary.
28621         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28622         (INTERNAL_VSYSCALL_NCS): Likewise.
28624 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
28626         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28627         * elf/dl-fini.c (_dl_fini): Adjust caller.
28628         * elf/dl-close.c (_dl_close_worker): Likewise.
28629         * sysdeps/generic/ldsodefs.h: Adjust declaration.
28631 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
28633         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28634         "aux_cache->nlibs < 0".
28636         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28637         in the reload-count case.
28639 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28641         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28642         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28643         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28644         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28645         * sysdeps/x86_64/multiarch/strcat.S: New file.
28646         * sysdeps/x86_64/multiarch/strncat.S: New file.
28647         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28648         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28649         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28650         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28651         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28652         (USE_AS_STRCAT): Define.
28653         Add strcat and strncat support.
28654         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28655         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28656         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28657         * string/strncat.c: Update.
28658         (USE_AS_STRNCAT): Define.
28659         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28660         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28661         and i7.
28662         * sysdeps/x86_64/multiarch/init-arch.h
28663         (bit_Prefer_PMINUB_for_stringop): New.
28664         (index_Prefer_PMINUB_for_stringop): Likewise.
28665         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28666         bit_Prefer_PMINUB_for_stringop.
28668 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
28670         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28671         buffer64.
28672         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28673         of casting of buffer.
28674         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28675         buffer32 and buffer64.
28676         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28677         writes instead of casting of buffer.
28678         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28679         buffer32.
28680         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28681         casting of buffer.
28683 2011-07-19  Andreas Schwab  <schwab@redhat.com>
28685         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28687 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
28689         * nscd/nscd.c (termination_handler): Don't do anything for a database
28690         if it has not yet been initialized.
28692 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
28694         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28696 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
28698         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28700 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
28702         * po/nl.po: Update from translation team.
28703         * po/sv.po: Likewise.
28705 2011-07-16  Roland McGrath  <roland@hack.frob.com>
28707         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28708         now disallowed by GCC.
28710         * configure.in (use-default-link): Default to yes if a test -shared
28711         link meets our qualifications.
28712         * configure: Regenerated.
28714         * config.make.in (output-format): New variable.
28715         * configure.in: Check for ld --print-output-format support.
28716         * configure: Regenerated.
28717         * Makerules ($(common-objpfx)format.lds)
28718         [$(output-format) != unknown]: Just use $(output-format),
28719         instead of the linker-script munging.
28721 2011-07-14  Roland McGrath  <roland@hack.frob.com>
28723         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28724         of $(common-objpfx)shlib.lds.
28725         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28727         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28728         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28730         * configure.in (-z relro check): Adjust test code to add a large
28731         writable data section after it.
28732         * configure: Regenerated.
28734 2011-07-11  Roland McGrath  <roland@hack.frob.com>
28736         * configure.in (-z relro check): Fix test code to make the variable
28737         truly const.
28738         * configure: Regenerated.
28740 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
28742         * nscd/nscd.h (struct traced_file): Define.
28743         (struct database_dyn): Remove inotify_descr, reset_res, and filename
28744         elements.  Add traced_files.
28745         (inotify_fd): Declare.
28746         (register_traced_file): Declare.
28747         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28748         (inotify_fd): Export.
28749         (resolv_conf_descr): Remove.
28750         (nscd_init): Move inotify descriptor creation to main.
28751         Don't register files for notification here.
28752         (register_traced_file): New function.
28753         (invalidate_cache): Don't use reset_res to determine whether to call
28754         res_init, go through the list of registered files.
28755         (main_loop_poll): The inotify descriptors are now stored in the
28756         structures for the traced files.
28757         (main_loop_epoll): Likewise
28758         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
28759         to __nss_disable_nscd.
28760         * nscd/cache.c (prune_cache): There is no single inotify descriptor
28761         for a database anymore.  Check the records for all the registered
28762         files instead.
28763         * nss/Makefile (libnss_files-routines): Add files-init.
28764         (libnss_db-routines): Add db-init.
28765         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28766         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28767         * nss/nss_db/db-init.c: New file.
28768         * nss/nss_files/files-init.c: New file.
28769         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
28770         __nss_lookup_function.
28771         (__nss_lookup_function): Call nss_load_library.
28772         (nss_load_all_libraries): New function.
28773         (__nss_disable_nscd): Take parameter with callback function for files
28774         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
28775         used for the cached services.
28776         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28777         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28778         options for features to all the files in nscd.
28780         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28782 2011-07-10  Roland McGrath  <roland@hack.frob.com>
28784         * csu/elf-init.c (__libc_csu_init): Comment typo.
28786 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
28788         * po/pl.po: Update from translation team.
28789         * po/ja.po: Likewise.
28790         * po/ru.po: Likewise.
28791         * po/ko.po: Likewise.
28792         * po/fr.po: Likewise.
28794 2011-07-09  Roland McGrath  <roland@hack.frob.com>
28796         * configure.in (.ctors/.dtors header and trailer check):
28797         Use an empirical test on a built program.
28798         * configure: Regenerated.
28800         * configure.in (-z relro check): Use an empirical test on a built DSO.
28801         Detect, but do not require, on ia64.
28802         * configure: Regenerated.
28804         * configure.in (READELF): Find it with AC_CHECK_TOOL.
28805         Update tests that use readelf to use $READELF instead.
28806         * configure: Regenerated.
28808 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
28810         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28811         if the result is not used.
28813 2011-07-05  Andreas Jaeger  <aj@suse.de>
28815         [BZ#9696]
28816         * stdlib/tst-strtod.c: Add testcase.
28818 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
28820         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
28821         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
28822         The latter has a higher limit.  Take additional parameter to pass to
28823         the new function.
28824         (__pathconf): Pass file to __statfs_link_max.
28825         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28826         __statfs_link_max.
28827         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28828         __statfs_link_max.
28830         [BZ #12868]
28831         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28832         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28833         Handle Lustre.
28834         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28835         (__statfs_filesize_max): Likewise.
28836         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28838 2011-07-05  Andreas Jaeger  <aj@suse.de>
28840         * resolv/res_comp.c (dn_skipname): Remove unused variable.
28842 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
28844         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28845         `status' variable.
28846         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28847         Likewise.
28849 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
28851         * Makefile (strop-tests): Add strncat.
28852         * string/test-strncat.c: New file.
28854 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
28856         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28858 2011-06-21  Andreas Jaeger  <aj@suse.de>
28860         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28861         Copy rule from iconvdata/Makefile.
28863 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
28865         [BZ #12922]
28866         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28867         but no long options are defined, just return 'W'.
28869 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
28871         [BZ #9696]
28872         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28874 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
28876         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28877         netgroups to read.
28878         (innetgr): Likewise.
28880 2011-07-05  Roland McGrath  <roland@hack.frob.com>
28882         * config.make.in (install_root): Default to $(DESTDIR).
28884 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
28886         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28888 2011-07-02  Roland McGrath  <roland@hack.frob.com>
28890         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28892         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28893         containing directory rather than embedding absolute directory names.
28895         * scripts/check-local-headers.sh: Rewritten using awk.
28896         Match by word, not by line.  Print error messages for matches.
28897         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28899         * Makerules [shlib-lds-flags empty]:
28900         ($(common-objpfx)libc_pic.opts): New target.
28901         ($(common-objpfx)libc_pic.os.clean): New target.
28902         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28904         * config.make.in (OBJCOPY): New variable.
28905         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28906         * configure: Regenerated.
28908         * config.make.in (use-default-link): New variable.
28909         * configure.in (use_default_link): Grok --with-default-link to set it.
28910         * configure: Regenerated.
28911         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28912         (shlib-lds, shlib-lds-flags): Define to empty.
28914         * Makerules (shlib-lds): New variable.
28915         (shlib-lds-flags): New variable.
28916         (build-shlib, build-moduile, build-module-asneeded): Use it.
28917         ($(common-objpfx)libc.so): Use $(shlib-lds).
28918         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28919         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28921         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28922         DT_FLAGS/DT_FLAGS_1 with zero flags.
28924         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28925         linker script munging.
28927 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
28929         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28930         as 128-bit value.
28931         * crypt/sha512.c (sha512_process_block): Perform total addition using
28932         128-bit if possible.
28933         (__sha512_finish_ctx): Likewise.
28934         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28935         as 64-bit value.
28936         * crypt/sha256.c (SWAP64): Define.
28937         (sha256_process_block): Perform total addition using 64-bit if
28938         possible.
28939         (__sha256_finish_ctx): Likewise.
28941 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
28943         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
28944         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28945         * nscd/hstcache.c (cache_addhst): Likewise.
28946         * nscd/grpcache.c (cache_addgr): Likewise.
28947         * nscd/aicache.c (addhstaiX): Likewise
28948         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28950 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
28952         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28953         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28954         * nscd/hstcache.c (cache_addhst): Likewise.
28955         * nscd/grpcache.c (cache_addgr): Likewise.
28956         * nscd/aicache.c (addhstaiX): Likewise
28958 2011-07-01  Andreas Schwab  <schwab@redhat.com>
28960         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28961         domain only when needed.
28963 2011-06-30  Andreas Schwab  <schwab@redhat.com>
28965         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28966         is always restored.
28968 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
28970         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28971         are re-adding the entry.
28972         * nscd/servicescache.c (cache_addserv): Likewise.
28974 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
28976         * sysdeps/generic/dl-irel.h: fix protection against multiple
28977         inclusions.
28978         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28980 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
28982         [BZ #12935]
28983         * malloc/memusage.sh: Fix quoting in message.
28984         * debug/xtrace.sh: Likewise.
28986         * configure.in: Remove support for --experimental-malloc option, make
28987         it the default.
28988         * config.make.in: Likewise.
28989         * malloc/Makefile: Likewise.
28991 2011-06-27  Andreas Schwab  <schwab@redhat.com>
28993         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28994         two-byte characters.
28996 2011-06-27  Roland McGrath  <roland@hack.frob.com>
28998         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28999         AC_CACHE_CHECK invocation.
29000         * configure: Regenerated.
29002         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29004 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
29006         [BZ #12350]
29007         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
29008         bit from old_res_options.
29010         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29012         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29013         value type for setfct.
29015 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
29017         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29018         __gettimeofday instead of gettimeofday.
29020 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
29022         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29024 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29026         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29028         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29029         info.
29031 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
29033         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29034         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29035         strcpy-sse2-unaligned strncpy-sse2-unaligned
29036         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29037         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29038         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29039         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29040         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29041         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29042         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29043         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29044         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29045         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29046         (STRCPY): Support SSE2 and SSSE3 versions.
29048 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
29050         [BZ #12874]
29051         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29052         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29053         kernels which artificially limit size of requests.
29055 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
29057         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29058         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29059         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29060         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29061         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29062         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29063         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29064         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29065         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29066         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29067         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29068         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29069         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29070         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29071         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29072         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29073         Enable unaligned load optimization for Intel Core i3, i5 and i7
29074         processors.
29075         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29076         Define.
29077         (index_Fast_Unaligned_Load): Define.
29078         (HAS_FAST_UNALIGNED_LOAD): Define.
29080 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
29082         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29084 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
29086         [BZ #12907]
29087         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29088         until it is clear that the information is realy needed.
29089         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29091 2011-06-22  Andreas Schwab  <schwab@redhat.com>
29093         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29095 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
29097         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29098         /sys/devices/system/cpu/online if it is usable.
29100         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29101         reading the information from the /proc filesystem to once a second.
29103 2011-06-21  Andreas Jaeger  <aj@suse.de>
29105         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29106         NULL after inclusion of kernel headers.
29108 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
29110         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29111         calls to internal_setent.
29113         [BZ #12885]
29114         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29115         addresses using gethostbyname4_r ignore IPv4 addresses.
29117         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29118         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
29120         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29122 2011-06-20  David S. Miller  <davem@davemloft.net>
29124         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29125         inclusions.
29126         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29128         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29129         (elf_irel): Use it.
29130         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29131         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29132         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29133         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29134         * sysdeps/x86_64/dl-irel.h: Likewise.
29136         * elf/dl-runtime.c: Use elf_ifunc_invoke.
29137         * elf/dl-sym.c: Likewise.
29139 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
29141         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
29142         need to dereference resplen2.
29144 2011-06-14  Andreas Schwab  <schwab@redhat.com>
29146         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29148 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
29150         * Makeconfig: Define vardbdir and inst_vardbdir.
29151         * nss/Makefile: Add rules to install db-Makefile.
29153         * nss/nss_db/db-XXX.c: Cleanup.
29155         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29156         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29157         GLIBC_PRIVATE.
29158         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29159         * nss/makedb.c: Implement -g option to specify that value strings
29160         are generated and should not be added to table iterated over for
29161         get*ent calls.
29162         * nss/nss_db/db-initgroups.c: New file.
29164         * nss/getent.c: Add support for initgroups lookups through getgrouplist
29165         interface.
29167         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29168         (internal_getgrouplist): Adjust to name change.
29169         Update use_initgroups_entry if this is not the first call.
29170         * nss/databases.def: Add initgroups entry.
29172         * nss/makedb.c (compute_tables): Check result of multiple hash table
29173         sizes to minimize maximum chain length.
29175 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
29177         * Versions.def: Add entry for libnss_db.
29178         * shlib-versions: Likewise.
29179         * nss/Makefile: Add rules to build libnss_db.
29180         * nss/Versions: Add libnss_db information.  Organize libnss_files
29181         entries better.
29182         * nss/db-Makefile: Add gshadow support.  Change rules for the new
29183         makedb progra.  Some minor improvements to generate smaller files.
29184         * nss/nss_db/nss_db.h: Move NSS database header data structures to
29185         here from...
29186         * nss/makedb.c: ...here.
29187         Improve database format to be smaller and require less memory at
29188         runtime.
29189         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
29190         db anymore.
29191         * nss/nss_db/db-netgrp.c: Likewise.
29192         * nss/nss_db/db-open.c: Likewise.
29193         * nss/nss_files/flies-XXX.x: Adjust comments.
29194         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29195         * nss/nss_files/files-grp.c: Likewise.
29196         * nss/nss_files/files-hosts.c: Likewise.
29197         * nss/nss_files/files-network.c: Likewise.
29198         * nss/nss_files/files-proto.c: Likewise.
29199         * nss/nss_files/files-pwd.c: Likewise.
29200         * nss/nss_files/files-rpc.c: Likewise.
29201         * nss/nss_files/files-service.c: Likewise.
29202         * nss/nss_files/files-sgrp.c: Likewise.
29203         * nss/nss_files/files-spwd.c: Likewise.
29204         * nss/nss_db/db-alias.c: Removed.
29205         * nss/nss_db/dummy-db.h: Removed.
29207 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
29209         * nss/makedb.c: Rewritten to not use database library.
29210         * nss/Makefile: Update to build new makedb program.
29212 2011-06-14  Andreas Jaeger  <aj@suse.de>
29214         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29215         memset declaration.
29217 2011-06-10  Andreas Schwab  <schwab@redhat.com>
29219         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29220         tmpbuf.
29222 2011-06-10  Roland McGrath  <roland@hack.frob.com>
29224         * Makerules (shlib.lds): Fail if the linker script comes out empty.
29225         * elf/Makefile ($(objpfx)ld.so): Likewise.
29227         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29228         Don't list ld.so twice in dependencies.
29230         * posix/bug-regex31.c: Include <stdlib.h>.
29232         * nscd/hstcache.c (cache_addhst): Remove unused variable.
29234         * nis/nss_compat/compat-spwd.c
29235         (getspent_next_nss_netgr): Remove unused variable.
29236         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29238         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29239         nonmembers" output to use the right array.
29241         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29243         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29245         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29246         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29247         * catgets/gencat.c (read_input_file): Likewise.
29248         * locale/programs/locarchive.c (enlarge_archive): Likewise.
29250         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29251         variable definition inside #if's controlling its use.
29253         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29255         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29257         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29259         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29260         unreachable code.
29262         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29264         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29265         * configure: Regenerated.
29267         * Makerules: Revert last change.
29268         * elf/Makefile: Likewise.
29270 2011-06-09  Roland McGrath  <roland@hack.frob.com>
29272         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29273         * elf/Makefile ($(objpfx)librtld.os): Likewise.
29274         (reloc-link): Likewise.
29276 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
29278         * elf/Makefile: Add rules to build pldd.
29279         * elf/pldd.c: New file.
29280         * elf/pldd-xx.c: New file.
29282 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
29284         * version.h: Update for 2.15 development version.
29286 2011-06-07  David S. Miller  <davem@davemloft.net>
29288         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29289         ifuncs.
29290         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29291         elf_machine_lazy_rel): Likewise.
29292         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29293         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29294         elf_machine_lazy_rel): Likewise.
29295         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29296         dl_hwcap via passed in argument.
29297         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29298         Likewise.
29300 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29302         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
29304 2011-06-06  Roland McGrath  <roland@hack.frob.com>
29306         [BZ #12849]
29307         * manual/fdl-1.1.texi: New file, verbatim from:
29308         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29309         * manual/lgpl-2.1.texi: New file, verbatim from:
29310         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29311         * manual/Makefile (licenses): New variable, list those new file names.
29312         (texis): Use it.
29313         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29315         * manual/fdl.texi: File removed.
29316         * manual/lesser.texi: File removed.
29317         * manual/libc.texinfo (Copying, Documentation License):
29318         Use new @include file names, put @appendix directive before @include.
29320 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
29322         [BZ #12841]
29323         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29324         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29325         (mq_open): Add __NTH.
29327 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
29329         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29330         Assume Intel Core i3/i5/i7 processor if AVX is available.
29332 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
29334         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29335         typo.
29337 2011-05-31  Andreas Schwab  <schwab@redhat.com>
29339         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29340         memory.  Use alloca_account.  Fix memory leak when retrying.
29342 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
29344         * version.h (RELEASE): Bump for 2.14 release.
29345         * include/features.h (__GLIBC_MINOR__): Bump to 14.
29347         * config.make.in (RANLIB): Remove entry.
29349 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
29351         * po/Makefile (po-sed-cmd): Add ksh to extensions.
29352         (libc.pot): Work around missing support for .ksh extension in xgettext.
29354         [BZ #12684]
29355         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29356         if both request failed.
29357         (send_dg): In case of server errors clear resplen or *resplen2.
29359         [BZ #12454]
29360         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29361         when there are multiple maps.
29362         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29363         (_dl_fini): Remove test here.
29365         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29367 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
29369         [BZ #12350]
29370         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29371         bit from old_res_options.
29372         (gaih_inet): Likewise.
29374         [BZ #11099]
29375         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
29376         as signed.
29378         * resolv/res_init.c (res_setoptions): Make the code more compact.
29380         [BZ #11558]
29381         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29382         set RES_USEVC.
29384         [BZ #11634]
29385         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29387         * malloc/malloc.h: Mark malloc hook variables as deprecated.
29389         [BZ #11781]
29390         * malloc/malloc.h: Declare malloc hook variables as volatile.
29392         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29393         in last patch.
29395         [BZ #11799]
29396         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
29397         raise in the comment.
29398         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29399         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29400         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
29402 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
29404         [BZ #12811]
29405         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29406         grow the buffers more if it already has to be sufficient.
29407         (build_wcs_upper_buffer): Likewise.
29408         * posix/regexec.c (check_matching): Likewise.
29409         (clean_state_log_if_needed): Likewise.
29410         (extend_buffers): Don't enlarge buffers beyond size of the input
29411         buffer.
29412         Patches mostly by Emil Wojak <emil@wojak.eu>.
29413         * posix/bug-regex32.c: New file.
29414         * posix/Makefile (tests): Add bug-regex32.
29416         * locale/findlocale.c (_nl_find_locale): Return right away if
29417         _nl_explode_name failed.
29418         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29420         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29422         * debug/xtrace.sh: Unify messages.
29423         * malloc/memusage.sh: Likewise.
29425         [BZ #12813]
29426         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29427         time symbol from vDSO.  Substitute with vsyscall if not available.
29428         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29429         __vdso_time.
29431         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29432         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29433         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29434         Add sendmmsg and internal_sendmmsg.
29435         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29436         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29437         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29439         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29440         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29441         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29443 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
29445         [BZ #12813]
29446         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29447         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
29448         available.
29449         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29450         __vdso_getcpu.
29452         [BZ #12814]
29453         * iconvdata/Makefile (tests): Add bug-iconv9.
29454         * iconvdata/bug-iconv9.c: New file.
29456 2011-05-27  Andreas Schwab  <schwab@redhat.com>
29458         [BZ #12814]
29459         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29461 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
29463         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29464         (struct user_regs_struct): Change intcs field back to cs.
29466 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
29468         * po/ja.po: Update from translation team.
29470 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
29472         [BZ #12795]
29473         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29474         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29476 2011-05-20  Andreas Schwab  <schwab@redhat.com>
29478         * stdlib/longlong.h: Update from GCC.
29480 2011-05-23  Andreas Schwab  <schwab@redhat.com>
29482         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29483         parameter name.
29484         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29485         Add parameter name.
29486         (__sysconf): Pass it down.
29488 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
29490         [BZ #12671]
29491         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29492         some situations.
29493         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29494         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29495         add in in __libc_use_alloca calls.  Adjust callers.
29496         (glob): Use malloc in some situations.
29498         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29499         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29500         pltexit.
29502 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
29504         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29505         and CLOCK_BOOTTIME_ALARM.
29507         [BZ #12782]
29508         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29509         is returned.
29511         * string/_strerror.c (__strerror_r): Print negative errors as signed
29512         numbers.
29514         [BZ #12777]
29515         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29516         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29517         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29519         * configure.in: Fix typo in redirection and correct removal of test
29520         files in two cases.
29522         [BZ #12788]
29523         * locale/setlocale.c (new_composite_name): Fix test to check for
29524         identical name of all categories.
29526         [BZ #12792]
29527         * libio/filedoalloc.c (local_isatty): New function.
29528         (_IO_file_doallocate): Use local_isatty.
29529         * stdio-common/perror.c (perror): In case a new stream is used
29530         forward the stream error.
29531         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29532         error flag.
29534 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
29536         [BZ #11869]
29537         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29538         alloca.
29539         * include/alloca.h (extend_alloca_account): Define.
29541         [BZ #11857]
29542         * posix/regex.h: Fix comments with documentation of user-accessible
29543         fields after compilation and describe correct free'ing of pattern
29544         after re_compile_pattern.
29545         Patch by Reuben Thomas <rrt@sc3d.org>.
29547 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
29549         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29550         and -mno-altivec to prevent the compiler from using Altivec and/or
29551         VSX instructions when the corresponding registers are not available.
29553 2011-05-19  Andreas Schwab  <schwab@redhat.com>
29555         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29557 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
29559         * libio/freopen.c (freopen): Use __dup2, not dup2.
29560         * libio/freopen64.c (freopen64): Likewise.
29562 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29564         [BZ #12775]
29565         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29566         * math/Makefile (tests): Add test-powl.
29567         (CFLAGS-test-powl.c): Define.
29568         * math/test-powl.c: New file.
29570 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29572         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29574 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
29576         [BZ #11837]
29577         * iconvdata/gb18030.c: Update to GB18020-2005.
29579 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
29581         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29582         RE_SYNTAX_POSIX_AWK): Update to match recent development.
29583         Patch by Aharon Robbins <arnold@skeeve.com>.
29585         [BZ #11892]
29586         * stdlib/putenv.c (putenv): Don't always create copy of the variable
29587         on the stack.
29589         [BZ #11895]
29590         * misc/pselect.c (__pselect): Handle timeout value errors hidden
29591         through underflows.
29593         [BZ #12766]
29594         * misc/error.c (error_at_line): Ensure file_name and old_file_name
29595         point to strings before performing equality test for error_one_per_line
29596         mode.
29598         [BZ #11697]
29599         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29601         [BZ #11820]
29602         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29603         (struct user_fpregs_struct): Avoid __uint*_t types.
29605         [BZ #6420]
29606         * malloc/mtrace.c (tr_where): Add additional parameter to point to
29607         symbol info.  Use it instead of calling _dl_addr locally.
29608         (lock_and_info): New function.
29609         (tr_freehook): Call lock_and_info and pass symbol info as additional
29610         parameter to tr_where.
29611         (tr_mallochook): Likewise.
29612         (tr_reallochook): Likewise.
29613         (tr_memalignhook): Likewise.
29615         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
29616         used and couldn't be at all thread-safe.
29618 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
29620         * libio/freopen.c (freopen): Don't close old file descriptor
29621         before the new one is opened.  Instead dup the new file descriptor
29622         to the old one after the new stream is created.
29623         * libio/freopen64.c (freopen64): Likewise.
29624         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29625         * libio/fileops.c (_IO_new_file_close_it): Handle new
29626         _IO_FLAGS2_NOCLOSE flag.
29627         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29628         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29629         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29630         _IO_FLAGS2_NOCLOSE flag.
29631         * include/unistd.h: Add hidden_proto for dup3.
29632         Define __have_dup3.
29633         * io/dup3.c: Define hidden symbol.
29634         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29636         [BZ #7101]
29637         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29638         when an incomplete long option is used.
29639         * posix/tst-getopt_long1.c: New file.
29640         * posix/Makefile (tests): Add tst-getopt_long1.
29642         [BZ #10138]
29643         * scripts/config.guess: Update from autoconf-2.68.
29644         * scripts/config.sub: Likewise.
29646         [BZ #10157]
29647         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29648         tests into ...
29649         (has_cpuclock): ...this.  New function.
29650         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29651         macro here based on has_cpuclock code.
29653         [BZ #10149]
29654         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29655         First byte (not low byte) is now always NUL.
29656         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29658         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29659         Use non-cancelable interfaces.
29661         [BZ #9809]
29662         * locale/iso-639.def: Add entry for Sorani.
29664         [BZ #11901]
29665         * include/stdlib.h: Move include protection to the right place.
29666         Define abort_msg_s.  Declare __abort_msg with it.
29667         * stdlib/abort.c (__abort_msg): Adjust type.
29668         * assert/assert.c (__assert_fail_base): New function.  Majority
29669         of code from __assert_fail.  Allocate memory for __abort_msg with
29670         mmap.
29671         (__assert_fail): Now call __assert_fail_base.
29672         * assert/assert-perr.c: Remove bulk of implementation.  Use
29673         __assert_fail_base.
29674         * include/assert.hL Declare __assert_fail_base.
29675         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29676         mmap.
29677         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29679 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
29681         [BZ #11952]
29682         [BZ #12453]
29683         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29684         until all modules are registered in the DTV.
29685         * elf/Makefile: Add rules to build and run tst-tls19.
29686         * elf/tst-tls19.c: New file.
29687         * elf/tst-tls19mod1.c: New file.
29688         * elf/tst-tls19mod2.c: New file.
29689         * elf/tst-tls19mod3.c: New file.
29690         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29692         [BZ #12083]
29693         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29694         correctly.
29696         [BZ #12601]
29697         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29698         two-byte sequence errors.
29699         * iconvdata/Makefile (tests): Add bug-iconv8.
29700         * iconvdata/bug-iconv8.c: New file.
29702         [BZ #12626]
29703         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29704         buf2 definition.
29706         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29708         [BZ #12432]
29709         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29710         (dummy_getcfa): New function.
29711         (init): Get _Unwind_GetCFA address, use dummy if not found.
29712         (backtrace_helper): In recursion check, also check whether CFA changes.
29713         (__backtrace): Completely initialize arg.
29715         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
29716         storing incomplete byte sequence in state object.  Avoid testing for
29717         guaranteed too small input if we know there is enough data available.
29719 2011-05-11  Andreas Schwab  <schwab@redhat.com>
29721         * Makeconfig (+link-pie): Indent.
29722         * Rules (binaries-pie): Define if $(have-fpie) and
29723         $(build-shared).
29724         (binaries-shared): Also filter out $(binaries-pie).
29725         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29726         * nscd/Makefile (others-pie): Add nscd.
29727         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29728         ($(objpfx)nscd): Remove command override.
29729         * login/Makefile (others-pie): Add pt_chown.
29730         ($(objpfx)pt_chown): Remove command override.
29731         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29732         remove command overrides.
29734 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
29736         * libio/tst_putwc.c: Fix error messages.
29738         [BZ #12724]
29739         * libio/fileops.c (_IO_new_file_close_it): Always flush when
29740         currently writing and seek to current position when not.
29741         * libio/Makefile (tests): Add bug-fclose1.
29742         * libio/bug-fclose1.c: New file.
29744 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
29746         [BZ #12511]
29747         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29748         don't set DF_1_NODELETE here.
29749         (do_lookup_x): When entering new entry test for copy relocation
29750         and if necessary set DF_1_NODELETE flag.
29751         * elf/tst-unique4.cc: New file.
29752         * elf/tst-unique4.h: New file.
29753         * elf/tst-unique4lib.cc: New file.
29754         * elf/Makefile: Add rules to build and run tst-unique4.
29755         Patch by Piotr Bury <pbury@goahead.com>.
29757 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
29759         [BZ #12052]
29760         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29762         [BZ #12625]
29763         * misc/mntent_r.c (addmntent): Flush the stream after the output
29765         [BZ #12393]
29766         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29767         (is_trusted_path_normalize): Skip initial colon.  Append slash
29768         to empty buffer.  Duplicate is_trusted_path code but allow
29769         constructed patch to be prefix.
29770         (is_dst): Allow $ORIGIN followed by /.
29771         (_dl_dst_substitute): Correct clearing of check_for_trusted.
29772         Correct testing of result of is_trusted_path_normalize
29773         (decompose_rpath): Fix warning.
29775 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
29777         [BZ #11257]
29778         * grp/initgroups.c (internal_getgrouplist): When we found the service
29779         list through the initgroups entry in nsswitch.conf do not always
29780         continue on a successful lookup.  Don't always use the
29781         __nss_group_database value if it is set.
29782         * nss/nsswitch.conf (initgroups): Change action for successful db
29783         lookup to continue for compatibility.
29785 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
29787         [BZ #11532]
29788         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29789         and CP774 modules.
29790         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29791         and CP774 modules.
29792         * iconvdata/tst-tables.sh: Likewise.
29793         * iconvdata/cp770.c: New file.
29794         * iconvdata/cp771.c: New file.
29795         * iconvdata/cp772.c: New file.
29796         * iconvdata/cp773.c: New file.
29797         * iconvdata/cp774.c: New file.
29798         * iconvdata/testdata/CP770: New file.
29799         * iconvdata/testdata/CP770..UTF8: New file.
29800         * iconvdata/testdata/CP771: New file.
29801         * iconvdata/testdata/CP771..UTF8: New file.
29802         * iconvdata/testdata/CP772: New file.
29803         * iconvdata/testdata/CP772..UTF8: New file.
29804         * iconvdata/testdata/CP773: New file.
29805         * iconvdata/testdata/CP773..UTF8: New file.
29806         * iconvdata/testdata/CP774: New file.
29807         * iconvdata/testdata/CP774..UTF8: New file.
29809         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29810         END CHARMAP line.
29811         * iconvdata/gen-8bit-gap.sh: Likewise.
29812         * iconvdata/gen-8bit.sh: Likewise.
29814         * locale/iso-639.def: Add ary entry.
29816         [BZ #11258]
29817         * locale/C-translit.h.in: Add U20A1 transliteration.
29819         [BZ #12178]
29820         * locale/iso-639.def: Add wae entry.
29821         Patch by Kevin Bortis <bortis@translate-wae.ch>.
29823         [BZ #12545]
29824         * locale/programs/localedef.c (construct_output_path): Use ssize_t
29825         for n.
29827         [BZ #12711]
29828         * locale/C-translit.h.in: Add entry for U20B9.
29829         Patch by pravin.d.s@gmail.com.
29831 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
29833         [BZ #12713]
29834         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29835         ENAMETOOLONG use generic getcwd.
29836         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
29837         in rtld.  Use *stat64.
29838         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
29839         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
29840         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
29841         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29842         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29843         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29844         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29845         __fstatat64 macros.
29846         * include/dirent.h: Add libc_hidden_proto for rewinddir.
29847         * dirent/rewinddir.c: Add libc_hidden_def.
29848         * sysdeps/mach/hurd/rewinddir.c: Likewise.
29849         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
29851         * include/dirent.h (__alloc_dir): Add flags parameter.
29852         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29853         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29854         __alloc_dir.
29855         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
29856         from fdopendir if O_CLOEXEC is already set.
29858 2011-03-15  Alan Modra  <amodra@gmail.com>
29860         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29861         l_tls_firstbyte_offset non-zero.  Save padding offset in
29862         l_tls_firstbyte_offset for later use.
29863         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29864         freeing static tls block.
29866 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
29868         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29869         where #ifdef was intended.  The intent is to prevent ARG_MAX from
29870         being defined by the kernel headers.
29872 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
29874         [BZ #12734]
29875         * resolv/resolv.h: Define RES_NOTLDQUERY.
29876         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29877         no-tld-query and set RES_NOTLDQUERY.
29878         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29879         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29880         modern BIND to search name as TLD unless forbidden.
29882 2011-05-07  Petr Baudis  <pasky@suse.cz>
29883             Ulrich Drepper  <drepper@gmail.com>
29885         [BZ #12393]
29886         * elf/dl-load.c (fillin_rpath): Move trusted path check...
29887         (is_trusted_path): ...to here.
29888         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
29889         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
29890         using is_trusted_path_normalize() in setuid scripts.
29892 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29894         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29895         __BEGIN/__END_DECLS.
29897 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
29899         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29900         NSS_STATUS_NOTFOUND if no record was found.
29902 2011-05-05  Andreas Schwab  <schwab@redhat.com>
29904         * sunrpc/Makefile (headers): Add rpc/netdb.h.
29905         (headers-not-in-tirpc): Remove rpc/netdb.h
29906         * resolv/netdb.h: Revert last change.
29908 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29910         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29911         circular dependency between libgcc.a and libc.a.
29913 2011-05-05  Andreas Schwab  <schwab@redhat.com>
29915         * resolv/netdb.h: Don't include <rpc/netdb.h>.
29916         * nis/Makefile: Don't install rpcsvc/*.
29917         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29918         instead of <rpc/types.h>.
29919         (MAXHOSTNAMELEN): Define.
29921 2011-05-03  Andreas Schwab  <schwab@redhat.com>
29923         * elf/ldconfig.c (add_dir): Don't crash on empty path.
29925 2011-04-28  Maciej Babinski  <mbabinski@google.com>
29927         [BZ #12714]
29928         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29929         gethostbyname4_r when IPv6 results are possible.
29931 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
29933         [BZ #12723]
29934         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29935         _PC_PIPE_BUF handling.
29937 2011-04-30  Bruno Haible  <bruno@clisp.org>
29939         [BZ #12717]
29940         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29941         * resolv/netdb.h (getnameinfo): Change type of flags parameter
29942         to 'int'.
29943         * inet/getnameinfo.c (getnameinfo): Likewise.
29945 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
29947         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29948         to groups setting in database lookup.
29949         * nss/nsswitch.conf: Add initgroups entry.
29951 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
29953         [BZ #12685]
29954         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29955         mode string.
29956         Patch by Eric Blake <eblake@redhat.com>.
29958 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
29960         * sunrpc/Makefile (need-export-routines): Add svc_run.
29961         (routines): Remove svc_run.
29962         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29963         * sunrpc/clnt_perr.c (clnt_perrno): Export.
29964         * sunrpc/svc_run.c (svc_run): Likewise.
29965         * sunrpc/svc_udp.c (svcudp_create): Likewise.
29967 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
29969         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29970         problem in reallocation in last patch.
29972 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
29974         * sunrpc/Makefile: Move inclusion of Rules.
29976 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29978         * nss/nss_files/files-initgroups.c: New file.
29979         * nss/Makefile (libnss_files-routines): Add files-initgroups.
29980         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29981         _nss_files_initgroups_dyn.
29983 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
29985         * elf/elf.h (R_ARM_IRELATIVE): Define.
29987 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29989         * po/ru.po: Update from translation team.
29991 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
29993         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29994         dependencies.
29996 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
29998         [BZ #12653]
29999         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30000         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30001         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30002         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30003         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30005 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
30007         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30008         differing bytes.
30009         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30010         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30011         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30013 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
30015         [BZ #12420]
30016         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30017         storing it.
30018         * stdlib/bug-getcontext.c: New file.
30019         * stdlib/Makefile: Add rules to build and run bug-getcontext.
30021 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30023         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30024         instructions into .machine "z9-109".
30025         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30026         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30028 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30030         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30031         between environment variables and auxiliary vector.
30033 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
30035         * Makefile: Add rules to build linkobj/libc.so.
30036         * include/libc-symbols.h: Define libc_hidden_nolink.
30037         * include/rpc/auth.h: Mark functions which are to be hidden.
30038         * include/rpc/auth_des.h: Likewise.
30039         * include/rpc/auth_unix.h: Likewise.
30040         * include/rpc/clnt.h: Likewise.
30041         * include/rpc/des_crypt.h: Likewise.
30042         * include/rpc/key_prot.h: Likewise.
30043         * include/rpc/pmap_clnt.h: Likewise.
30044         * include/rpc/pmap_prot.h: Likewise.
30045         * include/rpc/pmap_rmt.h: Likewise.
30046         * include/rpc/rpc_msg.h: Likewise.
30047         * include/rpc/svc.h: Likewise.
30048         * include/rpc/svc_auth.h: Likewise.
30049         * include/rpc/xdr.h: Likewise.
30050         * nis/Makefile: Link all DSOs against linkobj/libc.so.
30051         * nss/Makefile: Likewise.
30052         * sunrpc/Makefile: Don't install headers.  Build library with normal
30053         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
30054         * sunrpc/auth_des.c: Hide exported symbols by default, export some
30055         for the compat linking library.  Remove use of INTDEF/INTUSE.
30056         * sunrpc/auth_none.c: Likewise.
30057         * sunrpc/auth_unix.c: Likewise.
30058         * sunrpc/authdes_prot.c: Likewise.
30059         * sunrpc/authuxprot.c: Likewise.
30060         * sunrpc/clnt_gen.c: Likewise.
30061         * sunrpc/clnt_perr.c: Likewise.
30062         * sunrpc/clnt_raw.c: Likewise.
30063         * sunrpc/clnt_simp.c: Likewise.
30064         * sunrpc/clnt_tcp.c: Likewise.
30065         * sunrpc/clnt_udp.c: Likewise.
30066         * sunrpc/clnt_unix.c: Likewise.
30067         * sunrpc/des_crypt.c: Likewise.
30068         * sunrpc/des_soft.c: Likewise.
30069         * sunrpc/get_myaddr.c: Likewise.
30070         * sunrpc/key_call.c: Likewise.
30071         * sunrpc/key_prot.c: Likewise.
30072         * sunrpc/netname.c: Likewise.
30073         * sunrpc/pm_getmaps.c: Likewise.
30074         * sunrpc/pm_getport.c: Likewise.
30075         * sunrpc/pmap_clnt.c: Likewise.
30076         * sunrpc/pmap_prot.c: Likewise.
30077         * sunrpc/pmap_prot2.c: Likewise.
30078         * sunrpc/pmap_rmt.c: Likewise.
30079         * sunrpc/publickey.c: Likewise.
30080         * sunrpc/rpc_cmsg.c: Likewise.
30081         * sunrpc/rpc_common.c: Likewise.
30082         * sunrpc/rpc_dtable.c: Likewise.
30083         * sunrpc/rpc_prot.c: Likewise.
30084         * sunrpc/rpc_thread.c: Likewise.
30085         * sunrpc/rtime.c: Likewise.
30086         * sunrpc/svc.c: Likewise.
30087         * sunrpc/svc_auth.c: Likewise.
30088         * sunrpc/svc_authux.c: Likewise.
30089         * sunrpc/svc_raw.c: Likewise.
30090         * sunrpc/svc_run.c: Likewise.
30091         * sunrpc/svc_simple.c: Likewise.
30092         * sunrpc/svc_tcp.c: Likewise.
30093         * sunrpc/svc_udp.c: Likewise.
30094         * sunrpc/svc_unix.c: Likewise.
30095         * sunrpc/svcauth_des.c: Likewise.
30096         * sunrpc/xcrypt.c: Likewise.
30097         * sunrpc/xdr.c: Likewise.
30098         * sunrpc/xdr_array.c: Likewise.
30099         * sunrpc/xdr_float.c: Likewise.
30100         * sunrpc/xdr_intXX_t.c: Likewise.
30101         * sunrpc/xdr_mem.c: Likewise.
30102         * sunrpc/xdr_rec.c: Likewise.
30103         * sunrpc/xdr_ref.c: Likewise.
30104         * sunrpc/xdr_sizeof.c: Likewise.
30105         * sunrpc/xdr_stdio.c: Likewise.
30107 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
30109         [BZ #12650]
30110         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30111         * sysdeps/ia64/dl-tls.h: Likewise.
30112         * sysdeps/powerpc/dl-tls.h: Likewise.
30113         * sysdeps/s390/dl-tls.h: Likewise.
30114         * sysdeps/sh/dl-tls.h: Likewise.
30115         * sysdeps/sparc/dl-tls.h: Likewise.
30116         * sysdeps/x86_64/dl-tls.h: Likewise.
30117         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30119 2011-03-14  Andreas Schwab  <schwab@redhat.com>
30121         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30122         rpath element also skip the following colon.
30123         (expand_dynamic_string_token): Add is_path parameter and pass
30124         down to DL_DST_REQUIRED and _dl_dst_substitute.
30125         (decompose_rpath): Call expand_dynamic_string_token with
30126         non-zero is_path.  Ignore empty rpaths.
30127         (_dl_map_object_from_fd): Call expand_dynamic_string_token
30128         with zero is_path.
30130 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
30132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30133         Make cancelable.
30135 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
30137         [BZ #12655]
30138         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30139         Patch by Filipe David Manana <fdmanana@apache.org>.
30141 2011-04-07  Andreas Schwab  <schwab@redhat.com>
30143         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30144         Maintain aligned stack.
30145         (CHECK_RSP): Remove unused macro.
30147 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
30149         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30150         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30152 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
30154         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30156         * include/features.h: Mention __USE_XOPEN2K8 in comment.
30158 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
30160         [BZ #12518]
30161         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30162         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30163         * sysdeps/x86_64/memmove.c: New file.
30164         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30165         (memcpy): Renamed to ...
30166         (__new_memcpy): This.
30167         (memcpy): Provide GLIBC_2_14 memcpy.
30168         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30169         (memcpy): Provide GLIBC_2_2_5 memcpy.
30171 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30173         [BZ #12631]
30174         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30176 2011-03-30  Andreas Schwab  <schwab@redhat.com>
30178         * misc/syncfs.c: New file.
30179         * misc/Makefile (routines): Add syncfs.
30180         * posix/unistd.h: Declare syncfs.
30181         * sysdeps/unix/syscalls.list: Add syncfs.
30183 2011-04-01  Andreas Schwab  <schwab@redhat.com>
30185         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30186         open_by_handle_at.
30187         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30188         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30189         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30190         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30191         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30192         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30193         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30195 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30197         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30198         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30199         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30200         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30201         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30202         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30203         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30205         * io/Makefile: Compile fallocate.c, fallocate64.c, and
30206         sync_file_range.c with -fexceptions.
30207         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30208         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30209         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30210         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30211         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30212         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30213         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30214         sync_file_range as cancellation point
30215         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
30216         now a wrapper around __call_sync_file_range with cancellation handling.
30217         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30218         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
30219         function name to __call_sync_file_range.
30220         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30221         Add call_sync_file_range.
30223 2011-04-01  Andreas Schwab  <schwab@redhat.com>
30225         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30226         bits/timex.h.
30228 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
30230         * iconv/iconv.h: Fix typo in comment.
30231         * io/fcntl.h: Likewise.
30232         * libio/stdio.h: Likewise.
30233         * posix/spawn.h: Likewise.
30234         * posix/unistd.h: Likewise.
30235         * stdlib/stdlib.h: Likewise.
30236         * time/time.h: Likewise.
30237         * wcsmbs/wchar.h: Likewise.
30239         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30240         open_by_handle): Add.
30241         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30242         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
30243         Augment a few comments.
30244         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30245         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30246         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30247         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30248         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30249         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30250         open_by_handle.
30252         * io/fcntl.h (AT_EMPTY_PATH): Define.
30254 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
30256         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30257         * sysdeps/unix/sysv/linux/bits/time.h: New file.
30258         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30259         to...
30260         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
30261         * Versions.def: Add GLIBC_2.14.
30262         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30263         Export.
30265 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
30267         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30268         round counter.
30269         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30271 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
30273         [BZ #12597]
30274         * string/test-strncmp.c (do_page_test): New function.
30275         (check2): Likewise.
30276         (test_main): Call check2.
30277         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30279 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
30281         [BZ #12587]
30282         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30283         Handle cache information in CPU leaf 4.
30284         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30286 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
30288         [BZ #12583]
30289         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30290         character representation.
30291         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30293 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
30295         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30296         END(__isnan) to END(__isnanf) to match function entry point/label
30297         EALIGN(__isnanf,...).
30299 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
30301         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30303 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
30305         [BZ #12510]
30306         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30307         copy from the symbol referenced in the relocation to initialize the
30308         used variable.
30309         Patch by Piotr Bury <pbury@goahead.com>.
30310         * elf/Makefile: Add rules to build and tst-unique3.
30311         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30312         * elf/tst-unique3.cc: New file.
30313         * elf/tst-unique3.h: New file.
30314         * elf/tst-unique3lib.cc: New file.
30315         * elf/tst-unique3lib2.cc: New file.
30317         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30319 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
30321         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30322         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
30323         to _start.
30325 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
30327         * elf/dl-load.c (_dl_map_object): If we are looking for the first
30328         to-be-loaded object along a path to loader is ld.so.
30330 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
30331             Ulrich Drepper  <drepper@gmail.com>
30333         * sysdeps/x86_64/memset.S: After aligning destination, code
30334         branches to different locations depending on the value of
30335         misalignment, when multiarch is enabled. Fix this.
30337 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
30339         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30340         Set _x86_64_preferred_memory_instruction for AMD processsors.
30341         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30342         Set bit_Prefer_SSE_for_memop for AMD processors.
30344 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
30346         * libio/fmemopen.c (fmemopen): Optimize a bit.
30348 2011-03-03  Andreas Schwab  <schwab@redhat.com>
30350         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30352 2011-03-03  Roland McGrath  <roland@redhat.com>
30354         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30356 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
30358         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
30359         __bzero_ultra1 instead of __memset_ultra1.
30361 2011-02-23  Andreas Schwab  <schwab@redhat.com>
30362             Ulrich Drepper  <drepper@gmail.com>
30364         [BZ #12509]
30365         * include/link.h (struct link_map): Add l_orig_initfini.
30366         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30367         returning unsuccessfully.
30368         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30369         close of a file loaded at startup, restore the original l_initfini
30370         list.
30371         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30372         list, store the pointer.
30373         * elf/Makefile ($(objpfx)noload-mem): New rule.
30374         (noload-ENV): Define.
30375         (tests): Add $(objpfx)noload-mem.
30376         * elf/noload.c: Include <memcheck.h>.
30377         (main): Call mtrace.  Close all opened handles.
30379 2011-02-17  Andreas Schwab  <schwab@redhat.com>
30381         [BZ #12454]
30382         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30383         dependencies are missing.
30385 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30387         Fix __if_freereq crash: Unlike the generic version which uses free,
30388         Hurd needs munmap.
30389         * sysdeps/mach/hurd/ifreq.h: New file.
30391 2011-01-27  Petr Baudis  <pasky@suse.cz>
30392             Ulrich Drepper  <drepper@gmail.com>
30394         [BZ 12445]#
30395         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30396         to extend_alloca().
30397         * stdio-common/bug23.c: New file.
30398         * stdio-common/Makefile (tests): Add bug23.
30400 2010-09-28  Andreas Schwab  <schwab@redhat.com>
30401             Ulrich Drepper  <drepper@gmail.com>
30403         [BZ #12489]
30404         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30405         before performing relro protection.  At old place add assertion
30406         to make sure nothing changed.
30408 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
30409             Glauber de Oliveira Costa  <glommer@gmail.com>
30411         * elf/elf.h: Add new ARM TLS relocs.
30413 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
30415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30416         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30417         cast from r3.
30418         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
30419         'tests' variable.
30420         * sysdeps/wordsize-64/tst-writev.c: New file.
30422 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
30424         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30425         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30426         insns in _dl_start to prevent a TOC reference before relocs are
30427         resolved.
30429 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
30431         [BZ #12469]
30432         * Makeconfig: Remove RANLIB definition.
30433         * Makerules: Don't use RANLIB.
30434         * aclocal.m4: Remove ranlib test.
30435         * configure.in: No need to check for ranlib.
30436         * elf/rtld-Rules: Don't use RANLIB.
30438 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30440         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30441         protection macro.
30442         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30443         inclusion protection macro.
30445         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30446         SIGRTMIN and SIGRTMAX and print information in that case only when
30447         SIGRTMIN is defined.
30449 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
30451         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30452         arginfo fn returning -1.
30454         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30455         and thousands string is zero terminated.
30457 2011-02-03  Andreas Schwab  <schwab@redhat.com>
30459         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30460         sysdeps/unix/sysv/linux/bits/socket.h.
30462 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30464         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30465         (__CPU_COUNT): Remove old macros.
30466         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30467         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30468         (__CPU_ALLOC, __CPU_FREE): Add macros.
30469         (__sched_cpualloc, __sched_cpufree): Add declarations.
30471 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
30473         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30474         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30475         * nscd/aicache.c (addhstaiX): Return timeout of added value.
30476         (readdhstai): Return value of addhstaiX call.
30477         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30478         (addgrbyX): Return value returned by cache_addgr.
30479         (readdgrbyname): Return value returned by addgrbyX.
30480         (readdgrbygid): Likewise.
30481         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30482         (addpwbyX): Return value returned by cache_addpw.
30483         (readdpwbyname): Return value returned by addhstbyX.
30484         (readdpwbyuid): Likewise.
30485         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30486         (addservbyX): Return value returned by cache_addserv.
30487         (readdservbyname): Return value returned by addservbyX:
30488         (readdservbyport): Likewise.
30489         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30490         (addhstbyX): Return value returned by cache_addhst.
30491         (readdhstbyname): Return value returned by addhstbyX.
30492         (readdhstbyaddr): Likewise.
30493         (readdhstbynamev6): Likewise.
30494         (readdhstbyaddrv6): Likewise.
30495         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30496         (readdinitgroups): Return value returned by addinitgroupsX.
30497         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30498         (prune_cache): Keep track of timeout value of re-added entries.
30499         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30500         * nscd/nscd.h: Adjust prototypes of readd* functions.
30502 2011-02-04  Roland McGrath  <roland@redhat.com>
30504         * nis/nis_server.c (nis_servstate): Use the right name for 0.
30505         (nis_stats): Likewise.
30506         * nis/nis_modify.c (nis_modify): Likewise.
30507         * nis/nis_remove.c (nis_remove): Likewise.
30508         * nis/nis_add.c (nis_add): Likewise.
30510         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30512         * posix/fnmatch_loop.c: Add some consts.
30514         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30516 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
30518         [BZ #12460]
30519         * config.make.in (config-cflags-novzeroupper): Define.
30520         * configure.in: Substitute libc_cv_cc_novzeroupper.
30521         * elf/Makefile (AVX-CFLAGS): Define.
30522         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30523         (CFLAGS-tst-auditmod4a.c): Likewise.
30524         (CFLAGS-tst-auditmod4b.c): Likewise.
30525         (CFLAGS-tst-auditmod6b.c): Likewise.
30526         (CFLAGS-tst-auditmod6c.c): Likewise.
30527         (CFLAGS-tst-auditmod7b.c): Likewise.
30528         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30530 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
30532         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30533         function to the callback.
30534         Patch partly by Jiri Olsa <jolsa@redhat.com>.
30536 2011-02-02  Andreas Schwab  <schwab@redhat.com>
30538         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30539         of errno.
30541 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
30543         [BZ #11724]
30544         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30545         of constructors.
30546         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30547         of destructors.
30548         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30550         [BZ #11724]
30551         * elf/Makefile: Add rules to build and run new test.
30552         * elf/tst-initorder.c: New file.
30553         * elf/tst-initorder.exp: New file.
30554         * elf/tst-initordera1.c: New file.
30555         * elf/tst-initordera2.c: New file.
30556         * elf/tst-initordera3.c: New file.
30557         * elf/tst-initordera4.c: New file.
30558         * elf/tst-initorderb1.c: New file.
30559         * elf/tst-initorderb2.c: New file.
30560         * elf/tst-order-a1.c: New file.
30561         * elf/tst-order-a2.c: New file.
30562         * elf/tst-order-a3.c: New file.
30563         * elf/tst-order-a4.c: New file.
30564         * elf/tst-order-b1.c: New file.
30565         * elf/tst-order-b2.c: New file.
30566         * elf/tst-order-main.c: New file.
30567         New test case by George Gensure <werkt0@gmail.com>.
30569 2010-10-01  Andreas Schwab  <schwab@redhat.com>
30571         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30572         decoding ACE if AI_CANONIDN.
30574 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
30576         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30578 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
30580         * version.h (RELEASE): Bump for 2.13 release.
30581         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30583         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30585         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30586         MADV_NOHUGEPAGE.
30587         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30588         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30589         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30590         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30591         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30592         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30594         * posix/getconf.c: Update copyright year.
30595         * catgets/gencat.c: Likewise.
30596         * csu/version.c: Likewise.
30597         * debug/catchsegv.sh: Likewise.
30598         * debug/xtrace.sh: Likewise.
30599         * elf/ldconfig.c: Likewise.
30600         * elf/ldd.bash.in: Likewise.
30601         * elf/sprof.c (print_version): Likewise.
30602         * iconv/iconv_prog.c: Likewise.
30603         * iconv/iconvconfig.c: Likewise.
30604         * locale/programs/locale.c: Likewise.
30605         * locale/programs/localedef.c: Likewise.
30606         * malloc/memusage.sh: Likewise.
30607         * malloc/mtrace.pl: Likewise.
30608         * nscd/nscd.c (print_version): Likewise.
30609         * nss/getent.c: Likewise.
30611         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30612         PF_CAIF, and PF_ALG.
30613         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30615 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
30617         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30618         (modules-names): Use them.
30619         (ifunc-test-modules, ifunc-pie-tests): Define.
30620         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30621         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30622         (test-extras): Likewise.
30623         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30624         $(compile-command.c).
30625         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30626         (all-built-dso): Define.
30627         (check-textrel.out, check-execstack.out): Depend on it.
30629         * configure.in: Don't override --enable-multi-arch.
30631 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
30633         [BZ #6812]
30634         * nscd/hstcache.c (tryagain): Define.
30635         (cache_addhst): Return tryagain not notfound for temporary errors.
30636         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30637         failed.
30639 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
30641         [BZ #10563]
30642         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30643         to make the syscall.
30644         * sysdeps/unix/sysv/linux/setgroups.c: New file.
30646         [BZ #12378]
30647         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30648         and fall back to matching as normal character if the string ends before
30649         the matching ']' is found.  This is what POSIX requires.
30650         * posix/testfnm.c: Adjust test result.
30651         * posix/globtest.sh: Adjust test result.  Add new test.
30652         * posix/tst-fnmatch.input: Likewise.
30653         * posix/tst-fnmatch2.c: Add new test.
30655 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
30657         * elf/Makefile (check-execstack): Revert last change.  Depend on
30658         check-execstack.h.
30659         (check-execstack.h): New target.
30660         (generated): Add check-execstack.h.
30661         * elf/check-execstack.c: Include "check-execstack.h".
30662         (main): Revert last change.
30663         (handle_file): Return zero if GNU_STACK is absent and
30664         DEFAULT_STACK_PERMS doesn't include PF_X.
30666 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
30668         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30669         in child fails because the descriptor is already closed.
30670         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30671         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30672         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
30674         [BZ #12397]
30675         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30676         syscall.
30678         [BZ #10484]
30679         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30680         temporary buffer used to handle multi lookups locally.
30681         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
30683 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
30685         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30686         loader is ld.so.
30688 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
30690         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30691         alignment for SSE2.
30693 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
30695         [BZ #12394]
30696         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30697         characters.  When rounding increased number of integer digits recompute
30698         number of groups.
30699         * stdio-common/tst-grouping.c: New file.
30700         * stdio-common/Makefile: Add rules to build and run tst-grouping.
30702 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
30704         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30705         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
30707         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30708         void.
30709         * bits/select.h: Likewise.
30711 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
30713         * po/ja.po: Update from translation team.
30715 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
30717         [BZ #11155]
30718         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30719         implementation just like for lxstat, fxstatat, et al.
30721 2010-12-27  Jim Meyering  <meyering@redhat.com>
30723         [BZ #12348]
30724         * posix/regexec.c (build_trtable): Return failure indication upon
30725         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
30727 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
30729         [BZ #12201]
30730         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30731         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30732         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30733         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30735         [BZ #12207]
30736         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30738         [BZ #12204]
30739         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30740         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30742 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
30744         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30745         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30746         script has SORT_BY_INIT_PRIORITY.
30747         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30748         NO_CTORS_DTORS_SECTIONS is defined.
30749         * elf/soinit.c: Likewise.
30750         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30751         NO_CTORS_DTORS_SECTIONS is defined.
30752         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30753         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30754         * sysdeps/sh/init-first.c: Likewise.
30755         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30757 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
30759         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30760         always use the slow path.
30762 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
30764         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30765         similar rule which adds the sysdep directories to the header search in
30766         order to pick up the correct platform stackinfo.h.
30767         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30768         perform test if it is, otherwise return successfully without testing.
30769         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30770         DEFAULT_STACK_PERMS define in stackinfo.h.
30771         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30772         defined in stackinfo.h.
30773         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30774         DEFAULT_STACK_PERMS defined in stackinfo.h.
30775         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30776         * sysdeps/ia64/stackinfo.h: Likewise.
30777         * sysdeps/s390/stackinfo.h: Likewise.
30778         * sysdeps/sh/stackinfo.h: Likewise.
30779         * sysdeps/sparc/stackinfo.h: Likewise.
30780         * sysdeps/x86_64/stackinfo.h: Likewise.
30781         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30782         PF_X for powerpc64.  Retain PF_X for powerpc32.
30784 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
30786         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30787         accurately.
30788         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30789         GETDENTS_64BIT_ALIGNED.
30791 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
30793         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
30795 2010-12-10  Andreas Schwab  <schwab@redhat.com>
30797         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30798         _GNU_SOURCE.
30800         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30801         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30802         Remove __restrict.
30803         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30804         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30806 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
30808         [BZ #11655]
30809         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30810         are initialized.
30812 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
30814         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30816 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
30818         * po/it.po: Update from translation team.
30820 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
30822         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30823         unused codes.
30825 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
30827         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30829 2010-11-24  Andreas Schwab  <schwab@redhat.com>
30831         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30832         specially.
30833         (gaih_getanswer_slice): Likewise.
30835 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
30837         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30839 2010-05-31  Petr Baudis  <pasky@suse.cz>
30841         [BZ #11149]
30842         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30843         silently even in the chroot mode.
30845 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
30847         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30848         last patch a bit.  Pretty printing
30850 2010-05-31  Petr Baudis <pasky@suse.cz>
30852         [BZ #10085]
30853         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30854         initialization of skip_initgroups_dyn.
30856 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
30858         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30859         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30861 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
30863         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30865 2010-11-11  Andreas Schwab  <schwab@redhat.com>
30867         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30868         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30869         (tst-fnmatch-ENV): Set MALLOC_TRACE.
30870         ($(objpfx)tst-fnmatch-mem): New rule.
30871         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30872         * posix/tst-fnmatch.c (main): Call mtrace.
30874 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
30876         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30877         Support Intel processor model 6 and model 0x2c.
30879 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
30881         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30882           signed comparison.
30884 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
30886         [BZ #12205]
30887         * string/test-strncasecmp.c (check_result): New function.
30888         (do_one_test): Use it.
30889         (check1): New function.
30890         (test_main): Use it.
30891         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30892         Support strcasecmp and strncasecmp.
30894 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
30896         [BZ #12194]
30897         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30898         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30900 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
30902         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30903         IFUNC support.
30904         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30905         memset-x86-64.
30906         * sysdeps/x86_64/multiarch/bzero.S: New file.
30907         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30908         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30909         * sysdeps/x86_64/multiarch/memset.S: New file.
30910         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30911         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30912         Set bit_Prefer_SSE_for_memop for Intel processors.
30913         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30914         Define.
30915         (index_Prefer_SSE_for_memop): Define.
30916         (HAS_PREFER_SSE_FOR_MEMOP): Define.
30918 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
30920         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30921         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30923 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
30925         [BZ #12191]
30926         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30927         (__x86_64_raw_data_cache_size_half): Likewise.
30928         (__x86_64_raw_shared_cache_size): Likewise.
30929         (__x86_64_raw_shared_cache_size_half): Likewise.
30931         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30932         (__x86_64_raw_data_cache_size_half): Likewise.
30933         (__x86_64_raw_shared_cache_size): Likewise.
30934         (__x86_64_raw_shared_cache_size_half): Likewise.
30935         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30936         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30937         and __x86_64_raw_shared_cache_size_half.  Round
30938         __x86_64_data_cache_size_half, __x86_64_data_cache_size
30939         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30940         to multiple of 256 bytes.
30942 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
30944         [BZ #12167]
30945         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30946         of inacessible symlinks.  Verify result of symlink before returning it.
30947         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30948         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30950 2010-10-28  Erich Ritz  <erichritz@gmail.com>
30952         * math/math.h (isinf): Fix typo in comment.
30954 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
30956         * po/da.po: Update from translation team.
30958 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
30960         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30961         is added to the list.
30963 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30964             Ulrich Drepper  <drepper@gmail.com>
30966         * elf/dl-object.c (_dl_new_object): Don't append the new object to
30967         the global list here.  Move code to...
30968         (_dl_add_to_namespace_list): ...here.  New function.
30969         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30970         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30971         * elf/dl-load.c (lose): Don't remove the element from the list.
30972         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30973         (_dl_map_object): Likewise.
30975 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
30977         [BZ #12159]
30978         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30979         into all bytes of SSE register.
30980         Patch by Richard Li <richardpku@gmail.com>.
30982 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
30984         [BZ #12140]
30985         * malloc/malloc.c (_int_free): Fill correct number of bytes when
30986         perturbing.
30988 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
30990         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30991         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30992         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30993         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30995         submachine.
30996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30998 2010-10-22  Andreas Schwab  <schwab@redhat.com>
31000         * include/dlfcn.h (__RTLD_SECURE): Define.
31001         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
31002         mode & __RTLD_SECURE instead.
31003         (open_path): Rename preloaded parameter to secure.
31004         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31005         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31006         * elf/dl-deps.c (openaux): Likewise.
31007         * elf/rtld.c (struct map_args): Remove is_preloaded.
31008         (map_doit): Don't use it.
31009         (dl_main): Likewise.
31010         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31011         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31013 2010-09-09  Andreas Schwab  <schwab@redhat.com>
31015         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31016         (sysd-rules-targets): Remove duplicates.
31017         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31018         rtld-%.$o dependency.
31020 2010-10-18  Andreas Schwab  <schwab@redhat.com>
31022         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31023         _dl_map_object do it.
31025 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
31027         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31028         fast fma builtins, define the macros in the C99 standard.
31029         (FP_FAST_FMAF): Likewise.
31030         (FP_FAST_FMAL): Likewise.
31031         * sysdeps/x86_64/bits/mathdef.h: Likewise.
31033         * bits/mathdef.h: Update copyright year.
31034         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31036 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
31038         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31039         builtins, define the macros in the C99 standard.
31040         (FP_FAST_FMAF): Likewise.
31041         (FP_FAST_FMAL): Likewise.
31042         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31043         multiply/add.
31044         (FP_FAST_FMAF): Likewise.
31046 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
31048         [BZ #3268]
31049         * math/libm-test.inc (fma_test): Some new testcases.
31050         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31051         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31052         y and infinite z.  Do multiplication by C already in long double.
31053         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31054         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31055         y and infinite z.  Do bitwise or of inexact bit into u.d.
31056         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31057         * sysdeps/i386/fpu/s_fmaf.S: Removed.
31058         * sysdeps/i386/fpu/s_fma.S: Removed.
31059         * sysdeps/i386/fpu/s_fmal.S: Removed.
31061 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
31063         [BZ #3268]
31064         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31065         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31066         computation is not scheduled after fetestexcept.  Fix value
31067         of minimum denormal long double.
31069 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
31071         [BZ #3268]
31072         * math/libm-test.inc (fma_test): Add some more tests.
31073         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31074         correctly.
31076 2010-10-15  Andreas Schwab  <schwab@redhat.com>
31078         * scripts/data/localplt-s390-linux-gnu.data: New file.
31079         * scripts/data/localplt-s390x-linux-gnu.data: New file.
31081 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
31083         [BZ #3268]
31084         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31085         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31086         instead of dbl-64.
31087         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31088         inlines.
31089         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31090         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31091         if one of x and y is very large and the other is subnormal.
31092         * sysdeps/s390/fpu/s_fmaf.c: New file.
31093         * sysdeps/s390/fpu/s_fma.c: New file.
31094         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31095         * sysdeps/powerpc/fpu/s_fma.S: New file.
31096         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31097         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31098         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31100 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
31102         [BZ #3268]
31103         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31104         fma tests.
31105         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31106         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31107         * sysdeps/i386/i686/multiarch/s_fma.c: Include
31108         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31109         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31110         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31111         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31113 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
31115         [BZ #12078]
31116         * posix/regcomp.c (parse_branch): One more memory leak plugged.
31117         * posix/bug-regex31.input: Add test case.
31119 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
31121         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31122         * posix/bug-regex31.input: New file.
31124         [BZ #12078]
31125         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31126         (parse_sub_exp): Fix last change, use postorder.
31128         * posix/bug-regex31.c: New file.
31129         * posix/Makefile: Add rules to build and run bug-regex31.
31131         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31133         [BZ #12078]
31134         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31136         [BZ #12108]
31137         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31138         to have entries in sys_siglist.
31140         [BZ #12093]
31141         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31142         be NULL.
31144 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
31146         [BZ #3268]
31147         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31148         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31149         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31150         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31151         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31152         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31153         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31154         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31155         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31156         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31157         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31158         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31159         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31160         * math/ftestexcept.c (fetestexcept): Likewise.
31161         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31162         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31163         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31164         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31165         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31166         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31167         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31169 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
31171         [BZ #12107]
31172         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31173         newline.
31175 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
31177         * string/bug-strstr1.c: New file.
31178         * string/Makefile: Add rules to build and run bug-strstr1.
31180 2010-10-05  Eric Blake  <eblake@redhat.com>
31182         [BZ #12092]
31183         * string/str-two-way.h (two_way_long_needle): Always clear memory
31184         when skipping input due to the shift table.
31186 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
31188         [BZ #12005]
31189         * malloc/mcheck.c: Handle large requests.
31191         [BZ #12077]
31192         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31193         for strncmp and strncasecmp.
31194         * string/stratcliff.c: Add tests for strcmp and strncmp.
31195         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31197 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31199         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31200         __set_fpscr.
31202 2010-09-30  Andreas Jaeger  <aj@suse.de>
31204         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31205         (CGROUP_SUPER_MAGIC): Define.
31206         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31207         Handle btrfs and cgroup file systems.
31208         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31209         Likewise.
31211 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
31213         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31214         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31216 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31218         [BZ #12067]
31219         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31220         trying to locate the ELF header.
31222 2010-09-27  Andreas Schwab  <schwab@redhat.com>
31224         [BZ #11611]
31225         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31226         Mask out sign-bit copies when constructing f_fsid.
31228 2010-09-24  Petr Baudis <pasky@suse.cz>
31230         * debug/stack_chk_fail_local.c: Add missing licence exception.
31231         * debug/warning-nop.c: Likewise.
31233 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
31235         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31236         implementing getdents64 using getdents syscall, set d_type if
31237         __ASSUME_GETDENTS32_D_TYPE.
31239 2010-09-16  Andreas Schwab  <schwab@redhat.com>
31241         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31242         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31244 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
31246         [BZ #12037]
31247         * posix/unistd.h: Undo change of feature selection for ftruncate from
31248         2010-01-11.
31250 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
31252         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
31253         detection.
31255 2010-09-20  Andreas Schwab  <schwab@redhat.com>
31257         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31258         fanotify_mark.
31259         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31261 2010-09-14  Andreas Schwab  <schwab@redhat.com>
31263         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31264         variables after CHECK_SP call.
31265         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31267 2010-09-13  Andreas Schwab  <schwab@redhat.com>
31268             Ulrich Drepper  <drepper@redhat.com>
31270         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31271         re-relocationg ld.so.
31272         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31273         _dl_init_paths call.
31274         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
31275         here anymore.
31277 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
31279         * resolv/res_init.c (__res_vinit): Count the default server we added.
31281 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
31282             Ulrich Drepper  <drepper@redhat.com>
31284         [BZ #11968]
31285         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31286         (____longjmp_chk): Use %ebx for saving value across system call.
31287         Add unwind info.
31289 2010-09-06  Andreas Schwab  <schwab@redhat.com>
31291         * manual/Makefile: Don't mix pattern rules with normal rules.
31293 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31295         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31296         operation.
31297         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31298         * libio/iofopncook.c (_IO_cookie_init): Likewise.
31299         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31300         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31301         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31302         Likewise.
31304 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
31306         [BZ #11979]
31307         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31308         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31310 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
31312         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31313         * sysdeps/x86_64/addmul_1.S: Likewise.
31314         * sysdeps/x86_64/lshift.S: Likewise.
31315         * sysdeps/x86_64/mul_1.S: Likewise.
31316         * sysdeps/x86_64/rshift.S: Likewise.
31317         * sysdeps/x86_64/sub_n.S: Likewise.
31318         * sysdeps/x86_64/submul_1.S: Likewise.
31320 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31322         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31323         Define __sched_param instead of SCHED_* and sched_param when
31324         <bits/sched.h> is included with __need_schedparam defined.
31325         * bits/sched.h [__need_schedparam]
31326         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
31327         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31328         (__defined_schedparam): Define to 1.
31329         (__sched_param): New structure, identical to sched_param.
31330         (__need_schedparam): Undefine.
31332 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
31334         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31335         (epoll_create1): Declare.
31337         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31339 2010-08-31  Andreas Schwab  <schwab@redhat.com>
31341         [BZ #7066]
31342         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31343         shifting retval into place.
31345 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
31347         * nis/rpcsvc/nis.h: Update copyright notice.
31348         * nis/rpcsvc/nis.x: Likewise.
31349         * nis/rpcsvc/nis_callback.h: Likewise.
31350         * nis/rpcsvc/nis_callback.x: Likewise.
31351         * nis/rpcsvc/nis_object.x: Likewise.
31352         * nis/rpcsvc/nis_tags.h: Likewise.
31353         * nis/rpcsvc/yp.h: Likewise.
31354         * nis/rpcsvc/yp.x: Likewise.
31355         * nis/rpcsvc/ypupd.h: Likewise.
31356         * nis/yp_xdr.c: Likewise.
31357         * nis/ypupdate_xdr.c: Likewise.
31359         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
31360         mainly the body of pmap_getport.  Add parameters to specify timeouts.
31361         (pmap_getport): Use __libc_rpc_getport.
31362         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31363         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31364         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31366 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
31368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31369         fanotify_mark.
31371 2010-08-27  Roland McGrath  <roland@redhat.com>
31373         * sysdeps/i386/i686/multiarch/Makefile
31374         (CFLAGS-varshift.c): New variable.
31376 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
31378         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31379         * sysdeps/i386/i686/multiarch/varshift.c: New file.
31381         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31383         * sysdeps/x86_64/strlen.S: Minimal code improvement.
31385 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
31387         * sysdeps/x86_64/strlen.S: Unroll the loop.
31388         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31389         strlen-sse2 strlen-sse2-bsf.
31390         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31391         __strlen_no_bsf if bit_Slow_BSF is set.
31392         (__strlen_sse42): Removed.
31393         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31394         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31396 2010-08-25  Roland McGrath  <roland@redhat.com>
31398         * sysdeps/x86_64/multiarch/varshift.S: File removed.
31399         * sysdeps/x86_64/multiarch/varshift.c: New file.
31400         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31401         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31402         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31403         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31405 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31407         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31408         strlen-sse2 strlen-sse2-bsf.
31409         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31410         __strlen_sse2_bsf if bit_Slow_BSF is unset.
31411         (__strlen_sse2): Removed.
31412         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31413         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31414         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31415         bit_Slow_BSF for Atom.
31416         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31417         (index_Slow_BSF): Define.
31418         (HAS_SLOW_BSF): Define.
31420 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
31422         [BZ #10851]
31423         * resolv/res_init.c (__res_vinit): When no server address at all
31424         is given default to loopback.
31426 2010-08-24  Roland McGrath  <roland@redhat.com>
31428         * configure.in: Remove config-name.h generation.
31429         * configure: Regenerated.
31430         * config-name.in: File removed.
31431         * scripts/config-uname.sh: New file.
31432         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31433         ($(objdir)config-name.h): New target.
31435         * sunrpc/rpc_parse.h: Avoid nested comment.
31437 2010-08-24  Richard Henderson  <rth@redhat.com>
31438             Ulrich Drepper  <drepper@redhat.com>
31439             H.J. Lu  <hongjiu.lu@intel.com>
31441         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31442         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31443         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31444         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
31445         _mm_alignr_epi8 with _mm_loadu_si128.
31446         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31447         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31448         (__m128i_shift_right): Removed.
31449         * sysdeps/i386/i686/multiarch/varshift.h: New file.
31450         * sysdeps/i386/i686/multiarch/varshift.S: New file.
31451         * sysdeps/x86_64/multiarch/varshift.h: New file.
31452         * sysdeps/x86_64/multiarch/varshift.S: New file.
31454 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
31456         * configure.in: Move assembler checks to before sysdep dir checking.
31458 2010-08-20  Petr Baudis  <pasky@suse.cz>
31460         * LICENSES: Sync the sunrpc license.
31462 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
31464         * sunrpc/auth_des.c: Update copyright notice once again.
31465         * sunrpc/auth_none.c: Likewise.
31466         * sunrpc/auth_unix.c: Likewise.
31467         * sunrpc/authdes_prot.c: Likewise.
31468         * sunrpc/authuxprot.c: Likewise.
31469         * sunrpc/bindrsvprt.c: Likewise.
31470         * sunrpc/clnt_gen.c: Likewise.
31471         * sunrpc/clnt_perr.c: Likewise.
31472         * sunrpc/clnt_raw.c: Likewise.
31473         * sunrpc/clnt_simp.c: Likewise.
31474         * sunrpc/clnt_tcp.c: Likewise.
31475         * sunrpc/clnt_udp.c: Likewise.
31476         * sunrpc/clnt_unix.c: Likewise.
31477         * sunrpc/des_crypt.c: Likewise.
31478         * sunrpc/des_soft.c: Likewise.
31479         * sunrpc/get_myaddr.c: Likewise.
31480         * sunrpc/getrpcport.c: Likewise.
31481         * sunrpc/key_call.c: Likewise.
31482         * sunrpc/key_prot.c: Likewise.
31483         * sunrpc/openchild.c: Likewise.
31484         * sunrpc/pm_getmaps.c: Likewise.
31485         * sunrpc/pm_getport.c: Likewise.
31486         * sunrpc/pmap_clnt.c: Likewise.
31487         * sunrpc/pmap_prot.c: Likewise.
31488         * sunrpc/pmap_prot2.c: Likewise.
31489         * sunrpc/pmap_rmt.c: Likewise.
31490         * sunrpc/rpc/auth.h: Likewise.
31491         * sunrpc/rpc/auth_unix.h: Likewise.
31492         * sunrpc/rpc/clnt.h: Likewise.
31493         * sunrpc/rpc/des_crypt.h: Likewise.
31494         * sunrpc/rpc/key_prot.h: Likewise.
31495         * sunrpc/rpc/netdb.h: Likewise.
31496         * sunrpc/rpc/pmap_clnt.h: Likewise.
31497         * sunrpc/rpc/pmap_prot.h: Likewise.
31498         * sunrpc/rpc/pmap_rmt.h: Likewise.
31499         * sunrpc/rpc/rpc.h: Likewise.
31500         * sunrpc/rpc/rpc_des.h: Likewise.
31501         * sunrpc/rpc/rpc_msg.h: Likewise.
31502         * sunrpc/rpc/svc.h: Likewise.
31503         * sunrpc/rpc/svc_auth.h: Likewise.
31504         * sunrpc/rpc/types.h: Likewise.
31505         * sunrpc/rpc/xdr.h: Likewise.
31506         * sunrpc/rpc_clntout.c: Likewise.
31507         * sunrpc/rpc_cmsg.c: Likewise.
31508         * sunrpc/rpc_common.c: Likewise.
31509         * sunrpc/rpc_cout.c: Likewise.
31510         * sunrpc/rpc_dtable.c: Likewise.
31511         * sunrpc/rpc_hout.c: Likewise.
31512         * sunrpc/rpc_main.c: Likewise.
31513         * sunrpc/rpc_parse.c: Likewise.
31514         * sunrpc/rpc_parse.h: Likewise.
31515         * sunrpc/rpc_prot.c: Likewise.
31516         * sunrpc/rpc_sample.c: Likewise.
31517         * sunrpc/rpc_scan.c: Likewise.
31518         * sunrpc/rpc_scan.h: Likewise.
31519         * sunrpc/rpc_svcout.c: Likewise.
31520         * sunrpc/rpc_tblout.c: Likewise.
31521         * sunrpc/rpc_util.c: Likewise.
31522         * sunrpc/rpc_util.h: Likewise.
31523         * sunrpc/rpcinfo.c: Likewise.
31524         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31525         * sunrpc/rpcsvc/key_prot.x: Likewise.
31526         * sunrpc/rpcsvc/klm_prot.x: Likewise.
31527         * sunrpc/rpcsvc/mount.x: Likewise.
31528         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31529         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31530         * sunrpc/rpcsvc/rex.x: Likewise.
31531         * sunrpc/rpcsvc/rstat.x: Likewise.
31532         * sunrpc/rpcsvc/rusers.x: Likewise.
31533         * sunrpc/rpcsvc/sm_inter.x: Likewise.
31534         * sunrpc/rpcsvc/spray.x: Likewise.
31535         * sunrpc/rpcsvc/yppasswd.x: Likewise.
31536         * sunrpc/rtime.c: Likewise.
31537         * sunrpc/svc.c: Likewise.
31538         * sunrpc/svc_auth.c: Likewise.
31539         * sunrpc/svc_authux.c: Likewise.
31540         * sunrpc/svc_raw.c: Likewise.
31541         * sunrpc/svc_run.c: Likewise.
31542         * sunrpc/svc_simple.c: Likewise.
31543         * sunrpc/svc_tcp.c: Likewise.
31544         * sunrpc/svc_udp.c: Likewise.
31545         * sunrpc/svc_unix.c: Likewise.
31546         * sunrpc/svcauth_des.c: Likewise.
31547         * sunrpc/xcrypt.c: Likewise.
31548         * sunrpc/xdr.c: Likewise.
31549         * sunrpc/xdr_array.c: Likewise.
31550         * sunrpc/xdr_float.c: Likewise.
31551         * sunrpc/xdr_mem.c: Likewise.
31552         * sunrpc/xdr_rec.c: Likewise.
31553         * sunrpc/xdr_ref.c: Likewise.
31554         * sunrpc/xdr_sizeof.c: Likewise.
31555         * sunrpc/xdr_stdio.c: Likewise.
31557         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31558         handling.
31560 2010-08-19  Andreas Schwab  <schwab@redhat.com>
31562         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31564 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
31566         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31567         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31568         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31569         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31570         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31571         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31572         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31573         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31574         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31575         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31576         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31577         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31578         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31579         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31581 2010-07-26  Anton Blanchard  <anton@samba.org>
31583         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31584         * malloc/arena.c (heap_trim): Likewise.
31586 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
31588         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31589         here.  Not...
31590         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31591         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31593 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31595         * sysdeps/i386/elf/Makefile: New file.
31597 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
31599         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31600         from fanotify_init.
31601         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31602         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31604 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
31606         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31607         of strncasecmp_l.
31608         * sysdeps/multiarch/strcmp.S: Likewise.
31610 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
31612         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31613         strncase_l-nonascii.
31614         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31615         Add strncase_l-ssse3.
31616         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31617         * sysdeps/x86_64/strcmp.S: Likewise.
31618         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31619         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31620         * sysdeps/x86_64/strncase.S: New file.
31621         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31622         * sysdeps/x86_64/strncase_l.S: New file.
31623         * string/Makefile (strop-tests): Add strncasecmp.
31624         * string/test-strncasecmp.c: New file.
31626         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31627         warning.
31629         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31630         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31632 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
31634         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31636 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
31638         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31639         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31640         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31642 2010-05-01  Alan Modra  <amodra@gmail.com>
31644         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31645         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31646         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31647         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31648         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31649         tidying.  Don't tail-call __sigjmp_save for static lib.
31650         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31651         save location.
31652         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31653         (CALL_MCOUNT): Add eh info, and nop after bl.
31654         (TAIL_CALL_SYSCALL_ERROR): New macro.
31655         (PSEUDO_RET): Use it.
31656         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31657         Correct save location of integer regs and cr.
31658         (_dl_profile_resolve): Correct cr save location.  Delete nops
31659         after bl when SHARED.  Reduce cfi size a little by better
31660         placement of cfi directives.
31661         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31662         make a stack frame.  Instead use parm save area as a temp.
31663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31664         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
31665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31666         Don't make a stack frame for parent, use parm save area.
31667         Increase child stack frame to 112 bytes.  Don't save unused reg,
31668         and adjust reg usage.  Set up cfi on error recovery and
31669         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31671         (__makecontext): Add dummy nop after jump to exit.
31672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31673         Use correct parm save area and cr save, reduce stack frame.
31674         Correct cfi for possible PSEUDO_RET frame setup.
31675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31676         Branch to local label emitted by PSEUDO_RET rather than
31677         __syscall_error.
31679 2010-08-12  Andreas Schwab  <schwab@redhat.com>
31681         [BZ #11904]
31682         * locale/programs/locale.c (print_assignment): New function.
31683         (show_locale_vars): Use it.
31685 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
31687         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31688         field.
31689         (struct statfs64): Likewise.
31690         (_STATFS_F_FLAGS): Define.
31691         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31692         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31693         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31694         (ST_VALID): Define locally.
31695         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31696         __statvfs_getflags, use the provided value.
31697         * sysdeps/unix/sysv/linux/kernel-features.h: Define
31698         __ASSUME_STATFS_F_FLAGS.
31700         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31702         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31703         Add sys/fanotify.h.
31704         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31705         fanotify_mask for GLIBC_2.13.
31706         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31707         fanotify_init and fanotify_mark.
31708         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31709         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31711         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31712         Add prlimit.
31713         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31714         prlimit64 for GLIBC_2.13.
31715         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31716         prlimit64.
31717         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31718         syscall.
31719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31720         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31721         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31722         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31723         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
31724         add prlimit alias.
31725         * sysdeps/unix/sysv/linux/prlimit.c: New file.
31727         [BZ #11903]
31728         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31729         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31731         * nss/Makefile: Add rules to build and run tst-nss-test1.
31732         * shlib-versions: Add entry for libnss_test1.
31733         * nss/nss_test1.c: New file.
31734         * nss/tst-nss-test1.c: New file.
31736         * nss/nsswitch.c (__nss_database_custom): Define new variable.
31737         (__nss_configure_lookup): Set appropriate entry in
31738         __nss_configure_lookup to true.
31739         * nss/nsswitch.h: Define enum with indeces of databases in
31740         databases and __nss_database_custom arrays.  Declare
31741         __nss_database_custom.
31742         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31743         to avoid using nscd when custom rules are installed.
31744         * nss/getXXbyYY_r.c: Likewise.
31745         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31747         * nss/nss_files/files-parse.c: Whitespace fixes.
31749 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
31751         [BZ #11883]
31752         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31753         * posix/fnmatch_loop.c: Likewise.
31755 2010-07-17  Andi Kleen  <ak@linux.intel.com>
31757         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31758         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31759         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31760         * Versions.def [GLIBC_2.13]: Add.
31762 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
31764         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31765         Also fail if tpwd after pwuid call is NULL.
31767 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31769         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31770         when converting to ms.
31772 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31774         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31775         EOPNOTSUPP errors with ENOTTY.
31776         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31777         EOPNOTSUPP errors with ENOTTY.
31779 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
31781         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31782         Add strcasecmp_l-ssse3.
31783         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31784         strcasecmp.
31785         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31786         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31787         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31789 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
31791         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31793         * string/Makefile (strop-tests): Add strcasecmp.
31794         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31795         strcasecmp_l-nonascii.
31796         (gen-as-const-headers): Add locale-defines.sym.
31797         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31798         * sysdeps/x86_64/strcasecmp.S: New file.
31799         * sysdeps/x86_64/strcasecmp_l.S: New file.
31800         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31801         * sysdeps/x86_64/locale-defines.sym: New file.
31802         * string/test-strcasecmp.c: New file.
31804         * string/test-strcasestr.c: Test both ends of the range of characters.
31805         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31807 2010-07-29  Roland McGrath  <roland@redhat.com>
31809         [BZ #11856]
31810         * manual/locale.texi (Yes-or-No Questions): Fix example code.
31812 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
31814         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31815         for ld.so.
31817 2010-07-27  Andreas Schwab  <schwab@redhat.com>
31819         * manual/memory.texi (Malloc Tunable Parameters): Document
31820         M_PERTURB.
31822 2010-07-26  Roland McGrath  <roland@redhat.com>
31824         [BZ #11840]
31825         * configure.in (-fgnu89-inline check): Set and substitute
31826         gnu89_inline, not libc_cv_gnu89_inline.
31827         * configure: Regenerated.
31828         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31830 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
31832         * string/test-strnlen.c: New file.
31833         * string/Makefile (strop-tests): Add strnlen.
31834         * string/tester.c (test_strnlen): Add a few more test cases.
31835         * string/tst-strlen.c: Better error reporting.
31837         * sysdeps/x86_64/strnlen.S: New file.
31839 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
31841         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31842         lower-latency instructions.
31844 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
31846         * string/test-strcasestr.c: New file.
31847         * string/test-strstr.c: New file.
31848         * string/Makefile (strop-tests): Add strstr and strcasestr.
31849         * string/str-two-way.h: Don't undefine MAX.
31850         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31852 2010-07-21  Andreas Schwab  <schwab@redhat.com>
31854         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31855         strcasestr-nonascii.
31856         (CFLAGS-strcasestr-nonascii.c): Define.
31857         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31858         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31859         Remove unused attribute.
31861 2010-07-20  Roland McGrath  <roland@redhat.com>
31863         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31864         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
31865         ld.so.cache was broken.  With it, there is no way to disable dsocaps
31866         like LD_HWCAP_MASK can disable hwcaps.
31868 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
31870         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31872 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
31874         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31875         call in strcasestr.
31876         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31877         __strcasestr_sse42_nonascii.
31878         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31879         strcasestr-nonascii.c.
31880         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31882 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
31884         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31885         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31886         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31887         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31889 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
31891         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31892         fcntl.
31894 2010-07-06  Andreas Schwab  <schwab@redhat.com>
31896         [BZ #11577]
31897         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31898         dl_signal_cerror.
31900 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
31902         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31903         _PC_PIPE_BUF using F_GETPIPE_SZ.
31905 2010-07-05  Roland McGrath  <roland@redhat.com>
31907         * manual/arith.texi (Rounding Functions): Fix rint description
31908         implicit in round description.
31910 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
31912         * elf/Makefile: Fix linking for a few tests to make recent linker
31913         happy.
31915 2010-06-30  Andreas Schwab  <schwab@redhat.com>
31917         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31918         $(common-objpfx)libc_nonshared.a.
31920 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
31922         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31923         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31924         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31925         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31926         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31927         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31928         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31929         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31944         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31945         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31946         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31947         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31948         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31949         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31950         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31951         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31952         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31953         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31954         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31955         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31971 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
31973         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31974         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
31975         * string/memmove.c (memmove): Renamed to ...
31976         (MEMMOVE): ...this.  Default to memmove.
31977         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31978         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31979         (END_CHK): Define.
31980         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31981         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31982         mempcpy-ssse3-back memmove-ssse3-back.
31983         * sysdeps/x86_64/multiarch/bcopy.S: New file .
31984         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31985         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31986         * sysdeps/x86_64/multiarch/memcpy.S: New file.
31987         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31988         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31989         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31990         * sysdeps/x86_64/multiarch/memmove.c: New file.
31991         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31992         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31993         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31994         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31995         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31996         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31997         Define.
31998         (index_Fast_Copy_Backward): Define.
31999         (HAS_ARCH_FEATURE): Define.
32000         (HAS_FAST_REP_STRING): Define.
32001         (HAS_FAST_COPY_BACKWARD): Define.
32003 2010-06-21  Andreas Schwab  <schwab@redhat.com>
32005         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32006         Restore proper fallback handling.
32008 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
32010         [BZ #11701]
32011         * posix/group_member.c (__group_member): Correct checking loop.
32013         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32014         OOM in getpwuid_r correctly.  Return error number when the caller
32015         should return, otherwise -1.
32016         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32017         call returning > 0 value.
32018         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32020 2010-06-07  Andreas Schwab  <schwab@redhat.com>
32022         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32023         libc_nonshared.a from targets in modules-names.
32025 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
32027         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32028         requires it.
32030 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
32032         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32033         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32034         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32035         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32037 2010-06-02  Andreas Schwab  <schwab@redhat.com>
32039         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32041 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
32043         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32044         and F_GETPIPE_SZ.
32045         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32046         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32047         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32048         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32049         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32050         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32052 2010-06-14  Roland McGrath  <roland@redhat.com>
32054         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32056 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
32058         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32059         __REDIRECT followed by __THROW.
32060         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32061         * posix/getopt.h (getopt): Likewise.
32063 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
32065         * hurd/lookup-at.c (__file_name_lookup_at): Accept
32066         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
32067         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32068         in AT_FLAGS.
32069         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32070         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32072 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
32074         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32076 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
32078         [BZ #11640]
32079         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32080         Properly check family and model.
32082 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
32084         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32086 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
32088         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32090 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
32092         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32093         symbol reference.
32095 2010-05-19  Andreas Schwab  <schwab@redhat.com>
32097         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32098         symbol reference.
32100 2010-05-21  Andreas Schwab  <schwab@redhat.com>
32102         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32103         and internal_recvmmsg.
32104         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32105         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32106         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32107         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32109         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32110         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32111         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32113 2010-05-20  Andreas Schwab  <schwab@redhat.com>
32115         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32117 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
32119         POWER7 optimizations.
32120         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32121         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32123 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
32125         * version.h: Update for 2.13 development version.
32127 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
32129         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32130         exceptions.  Return 0.
32132 2010-05-07  Roland McGrath  <roland@redhat.com>
32134         * elf/ldconfig.c (main): Add a const.
32136 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
32138         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32139         (args_options): Add no-idn option.
32140         (ahosts_keys_int): Add idn_flags to ai_flags.
32141         (parse_option): Handle 'i' option to clear idn_flags.
32143         * malloc/malloc.c (_int_free): Possible race in the most recently
32144         added check.  Only act on the data if no current modification
32145         happened.
32147 See ChangeLog.17 for earlier changes.